!function(){"use strict";var e,r={7005:function(e,r,n){var t=n(1609),o=Symbol.for("react.element"),c=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,n){var t,a={},s=null,l=null;for(t in void 0!==n&&(s=""+n),void 0!==r.key&&(s=""+r.key),void 0!==r.ref&&(l=r.ref),r)c.call(r,t)&&!u.hasOwnProperty(t)&&(a[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===a[t]&&(a[t]=r[t]);return{$$typeof:o,type:e,key:s,ref:l,props:a,_owner:i.current}}},9255:function(e,r,n){e.exports=n(7005)},3749:function(e,r,n){var t=window.wp.blocks,o=window.wp.primitives,c=n(9255),i=(0,c.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,c.jsx)(o.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})}),u=window.wp.blockEditor,a=n(1609),s=n.n(a);function l(e){let{name:r,...n}=e;const[t,o]=(0,a.useState)(null),c=window?.scData?.plugin_url+"/dist/icon-assets";if((0,a.useEffect)((()=>{fetch(`${c}/${r}.svg`).then((e=>e.text())).then((e=>{const r=(new DOMParser).parseFromString(e,"image/svg+xml");o(r?.documentElement)})).catch(console.error)}),[r]),!t)return null;const i={...Array.from(t.attributes).reduce(((e,r)=>(e[r.name]=r.value,e)),{}),...n};return s().createElement(t.tagName,{...i,dangerouslySetInnerHTML:{__html:t.innerHTML}})}window.wp.i18n;var f=JSON.parse('{"UU":"surecart/product-quick-view-close"}');(0,t.registerBlockType)(f.UU,{icon:i,edit:()=>{const e=(0,u.useBlockProps)({});return React.createElement("a",e,React.createElement(l,{name:"x"}))}})},1609:function(e){e.exports=window.React}},n={};function t(e){var o=n[e];if(void 0!==o)return o.exports;var c=n[e]={exports:{}};return r[e](c,c.exports,t),c.exports}t.m=r,e=[],t.O=function(r,n,o,c){if(!n){var i=1/0;for(l=0;l<e.length;l++){n=e[l][0],o=e[l][1],c=e[l][2];for(var u=!0,a=0;a<n.length;a++)(!1&c||i>=c)&&Object.keys(t.O).every((function(e){return t.O[e](n[a])}))?n.splice(a--,1):(u=!1,c<i&&(i=c));if(u){e.splice(l--,1);var s=o();void 0!==s&&(r=s)}}return r}c=c||0;for(var l=e.length;l>0&&e[l-1][2]>c;l--)e[l]=e[l-1];e[l]=[n,o,c]},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,{a:r}),r},t.d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},function(){var e={4025:0,9453:0};t.O.j=function(r){return 0===e[r]};var r=function(r,n){var o,c,i=n[0],u=n[1],a=n[2],s=0;if(i.some((function(r){return 0!==e[r]}))){for(o in u)t.o(u,o)&&(t.m[o]=u[o]);if(a)var l=a(t)}for(r&&r(n);s<i.length;s++)c=i[s],t.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return t.O(l)},n=self.webpackChunk_surecart_blocks_next=self.webpackChunk_surecart_blocks_next||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))}();var o=t.O(void 0,[9453],(function(){return t(3749)}));o=t.O(o)}();