!function(){"use strict";var e,r,t,o,n,c,s,i={7005:function(e,r,t){var o=t(1609),n=Symbol.for("react.element"),c=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,t){var o,a={},l=null,p=null;for(o in void 0!==t&&(l=""+t),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(p=r.ref),r)c.call(r,o)&&!i.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:n,type:e,key:l,ref:p,props:a,_owner:s.current}}},9255:function(e,r,t){e.exports=t(7005)},1609:function(e){e.exports=window.React}},a={};e=window.wp.blocks,r=window.wp.primitives,t=function e(r){var t=a[r];if(void 0!==t)return t.exports;var o=a[r]={exports:{}};return i[r](o,o.exports,e),o.exports}(9255),o=(0,t.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)(r.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})}),n=window.wp.i18n,c=window.wp.blockEditor,s=JSON.parse('{"UU":"surecart/product-list-search"}'),(0,e.registerBlockType)(s.UU,{icon:o,edit:e=>{let{attributes:{placeholder:r}}=e;const t=(0,c.useBlockProps)({className:"sc-input-group sc-input-group-sm"});return React.createElement("div",t,React.createElement("span",{className:"sc-input-group-text"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("circle",{cx:"11",cy:"11",r:"8"}),React.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))),React.createElement("input",{className:"sc-form-control",type:"search",placeholder:(0,n.__)("Search","surecart")}))}})}();