!function(){"use strict";var e,r={7005:function(e,r,t){var n=t(1609),o=Symbol.for("react.element"),c=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,t){var n,l={},s=null,u=null;for(n in void 0!==t&&(s=""+t),void 0!==r.key&&(s=""+r.key),void 0!==r.ref&&(u=r.ref),r)c.call(r,n)&&!a.hasOwnProperty(n)&&(l[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===l[n]&&(l[n]=r[n]);return{$$typeof:o,type:e,key:s,ref:u,props:l,_owner:i.current}}},9255:function(e,r,t){e.exports=t(7005)},235:function(e,r,t){var n=window.wp.blocks,o=window.wp.primitives,c=t(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:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})}),a=window.wp.i18n,l=window.wp.blockEditor,s=JSON.parse('{"UU":"surecart/cart-order-bump-template"}');(0,n.registerBlockType)(s.UU,{icon:i,edit:()=>{const e=(0,l.useBlockProps)();return React.createElement("ul",e,React.createElement("li",{className:"sc-cart-order-bump-item"},React.createElement(l.InnerBlocks,null)),React.createElement("li",{className:"sc-cart-order-bump-item sc-cart-order-bump-item--preview","aria-hidden":"true",style:{opacity:.5,pointerEvents:"none"}},React.createElement("div",{style:{display:"flex",alignItems:"center",gap:"0.75em",padding:"0.75em",border:"1px dashed #ccc",borderRadius:"12px",background:"#f9f9f9",height:"100%"}},React.createElement("div",{style:{width:"72px",height:"72px",background:"#e0e0e0",borderRadius:"8px",flexShrink:0}}),React.createElement("div",{style:{flex:1}},React.createElement("div",{style:{width:"80%",height:"14px",background:"#d0d0d0",borderRadius:"4px",marginBottom:"8px"}}),React.createElement("div",{style:{width:"50%",height:"12px",background:"#e0e0e0",borderRadius:"4px"}})))))},save:function(){return React.createElement(l.InnerBlocks.Content,null)},__experimentalLabel:()=>(0,a.__)("Template","surecart")})},1609:function(e){e.exports=window.React}},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var c=t[e]={exports:{}};return r[e](c,c.exports,n),c.exports}n.m=r,e=[],n.O=function(r,t,o,c){if(!t){var i=1/0;for(u=0;u<e.length;u++){t=e[u][0],o=e[u][1],c=e[u][2];for(var a=!0,l=0;l<t.length;l++)(!1&c||i>=c)&&Object.keys(n.O).every((function(e){return n.O[e](t[l])}))?t.splice(l--,1):(a=!1,c<i&&(i=c));if(a){e.splice(u--,1);var s=o();void 0!==s&&(r=s)}}return r}c=c||0;for(var u=e.length;u>0&&e[u-1][2]>c;u--)e[u]=e[u-1];e[u]=[t,o,c]},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},function(){var e={2532:0,6684:0};n.O.j=function(r){return 0===e[r]};var r=function(r,t){var o,c,i=t[0],a=t[1],l=t[2],s=0;if(i.some((function(r){return 0!==e[r]}))){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(l)var u=l(n)}for(r&&r(t);s<i.length;s++)c=i[s],n.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return n.O(u)},t=self.webpackChunk_surecart_blocks_next=self.webpackChunk_surecart_blocks_next||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))}();var o=n.O(void 0,[6684],(function(){return n(235)}));o=n.O(o)}();