index.js
1 lines
| 1 | !function(){"use strict";var e={7005:function(e,t,r){var o=r(1609),n=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var o,c={},s=null,p=null;for(o in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(p=t.ref),t)i.call(t,o)&&!a.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:n,type:e,key:s,ref:p,props:c,_owner:l.current}}},9255:function(e,t,r){e.exports=r(7005)},1609:function(e){e.exports=window.React}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}!function(){var e=window.wp.blocks,t=window.wp.primitives,o=r(9255),n=(0,o.jsx)(t.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(t.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"})}),i=window.wp.blockEditor;window.wp.i18n;const l=[["surecart/product-list-sidebar",{style:{layout:{selfStretch:"fixed",flexSize:"300px",type:"flex",orientation:"vertical"}},layout:{type:"flex",orientation:"vertical"}}],["surecart/product-template",{style:{spacing:{blockGap:"30px"},layout:{selfStretch:"fit",flexSize:null}},layout:{type:"grid",columnCount:4}}]];var a=JSON.parse('{"UU":"surecart/product-list-content"}');(0,e.registerBlockType)(a.UU,{icon:n,edit:()=>{const e=(0,i.useBlockProps)(),t=(0,i.useInnerBlocksProps)(e,{template:l});return React.createElement("div",t)},save:function(){return React.createElement(i.InnerBlocks.Content,null)}})}()}(); |