!function(){"use strict";var e,t,r,n,o,a,i,c={1513:function(e){var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var s in a=Object(arguments[l]))r.call(a,s)&&(c[s]=a[s]);if(t){i=t(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(c[i[u]]=a[i[u]])}}return c}},3335:function(e,t,r){r(1513);var n=r(1609),o=60103;if("function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var n,a={},s=null,u=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)c.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:s,ref:u,props:a,_owner:i.current}}},1085:function(e,t,r){e.exports=r(3335)},1609:function(e){e.exports=window.React}},l={};e=window.wp.blocks,t=window.wp.primitives,r=function e(t){var r=l[t];if(void 0!==r)return r.exports;var n=l[t]={exports:{}};return c[t](n,n.exports,e),n.exports}(1085),n=(0,r.jsx)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(t.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})}),o=window.wp.i18n,a=window.wp.blockEditor,i=JSON.parse('{"UU":"surecart/product-list-filter-tags-label"}'),(0,e.registerBlockType)(i.UU,{icon:n,edit:e=>{let{setAttributes:t,attributes:{label:r}}=e;const n=(0,a.useBlockProps)();return React.createElement("div",n,React.createElement(a.RichText,{tagName:"span","aria-label":(0,o.__)("Label text","surecart"),placeholder:(0,o.__)("Add label…","surecart"),value:r,onChange:e=>t({label:e}),withoutInteractiveFormatting:!0,allowedFormats:[]}))}})}();