index.js
1 lines
| 1 | !function(){"use strict";var e,r={7005:function(e,r,t){var n=t(1609),o=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,t){var n,l={},u=null,s=null;for(n in void 0!==t&&(u=""+t),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(s=r.ref),r)i.call(r,n)&&!c.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:u,ref:s,props:l,_owner:a.current}}},9255:function(e,r,t){e.exports=t(7005)},1390:function(e,r,t){var n=window.wp.blocks,o=window.wp.primitives,i=t(9255),a=(0,i.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})}),c=window.wp.i18n,l=window.wp.blockEditor;const u=[["surecart/product-template",{style:{spacing:{blockGap:"30px"},layout:{selfStretch:"fit",flexSize:null}},layout:{type:"grid",columnCount:4}}]];var s=JSON.parse('{"UU":"surecart/product-template-container"}');(0,n.registerBlockType)(s.UU,{icon:a,edit:()=>{const e=(0,l.useBlockProps)(),r=(0,l.useInnerBlocksProps)(e,{template:u});return React.createElement("div",r)},save:function(){return React.createElement(l.InnerBlocks.Content,null)},__experimentalLabel:()=>(0,c.__)("Main","surecart")})},1609:function(e){e.exports=window.React}},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var i=t[e]={exports:{}};return r[e](i,i.exports,n),i.exports}n.m=r,e=[],n.O=function(r,t,o,i){if(!t){var a=1/0;for(s=0;s<e.length;s++){t=e[s][0],o=e[s][1],i=e[s][2];for(var c=!0,l=0;l<t.length;l++)(!1&i||a>=i)&&Object.keys(n.O).every((function(e){return n.O[e](t[l])}))?t.splice(l--,1):(c=!1,i<a&&(a=i));if(c){e.splice(s--,1);var u=o();void 0!==u&&(r=u)}}return r}i=i||0;for(var s=e.length;s>0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[t,o,i]},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},function(){var e={259:0,6091:0};n.O.j=function(r){return 0===e[r]};var r=function(r,t){var o,i,a=t[0],c=t[1],l=t[2],u=0;if(a.some((function(r){return 0!==e[r]}))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(l)var s=l(n)}for(r&&r(t);u<a.length;u++)i=a[u],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(s)},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,[6091],(function(){return n(1390)}));o=n.O(o)}(); |