(()=>{"use strict";var e,s,r,o,t,n,d={"./src/slide/edit.js":(e,s,r)=>{r.d(s,{default:()=>d});var o=r("@wordpress/data"),t=r("@wordpress/block-editor"),n=r("react/jsx-runtime");function d({clientId:e}){const{hasChildBlocks:s}=(0,o.useSelect)((s=>{const{getBlockOrder:r}=s(t.store);return{hasChildBlocks:r(e).length>0}}),[e]),r=(0,t.useBlockProps)({className:"swiper-slide"}),d=(0,t.useInnerBlocksProps)(r,{renderAppender:s?void 0:t.InnerBlocks.ButtonBlockAppender});return(0,n.jsx)("div",{...d})}},"./src/slide/save.js":(e,s,r)=>{r.d(s,{default:()=>n});var o=r("@wordpress/block-editor"),t=r("react/jsx-runtime");function n(){return(0,t.jsx)("div",{...o.useBlockProps.save({className:"swiper-slide"}),children:(0,t.jsx)(o.InnerBlocks.Content,{})})}},"react/jsx-runtime":e=>{e.exports=window.ReactJSXRuntime},"@wordpress/block-editor":e=>{e.exports=window.wp.blockEditor},"@wordpress/blocks":e=>{e.exports=window.wp.blocks},"@wordpress/components":e=>{e.exports=window.wp.components},"@wordpress/data":e=>{e.exports=window.wp.data},"./src/slide/block.json":e=>{e.exports=JSON.parse('{"name":"blablablocks/slide"}')}},l={};function i(e){var s=l[e];if(void 0!==s)return s.exports;var r=l[e]={exports:{}};return d[e](r,r.exports,i),r.exports}i.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return i.d(s,{a:s}),s},i.d=(e,s)=>{for(var r in s)i.o(s,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},i.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),e=i("@wordpress/blocks"),s=i("@wordpress/components"),r=i("./src/slide/edit.js"),o=i("./src/slide/save.js"),t=i("./src/slide/block.json"),n=i("react/jsx-runtime"),(0,e.registerBlockType)(t.name,{icon:(0,n.jsx)(s.SVG,{width:"800px",height:"800px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:{fill:"none"},children:(0,n.jsx)(s.Path,{d:"M8 21.25H16C17.66 21.25 19 19.91 19 18.25V5.75C19 4.09 17.66 2.75 16 2.75H8C6.34 2.75 5 4.09 5 5.75V18.25C5 19.91 6.34 21.25 8 21.25Z",stroke:"#292D32","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),edit:r.default,save:o.default})})();
//# sourceMappingURL=index.js.map