(()=>{"use strict";const e=window.wp.blocks,t=window.wp.i18n,s=window.wp.blockEditor,o=JSON.parse('{"UU":"cozy-block/carousel","DD":"Carousel Item"}'),i=window.ReactJSXRuntime,r=(0,i.jsxs)("svg",{width:"51",height:"36",viewBox:"0 0 51 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"1",y:"1.58594",width:"14.1707",height:"14.1707",rx:"5",stroke:"#2874FF",strokeWidth:"2",fill:"none"}),(0,i.jsx)("rect",{x:"18.415",y:"1.58594",width:"14.1707",height:"14.1707",rx:"5",stroke:"#2874FF",strokeWidth:"2",fill:"none"}),(0,i.jsx)("rect",{x:"35.8291",y:"1.58594",width:"14.1707",height:"14.1707",rx:"5",stroke:"#2874FF",strokeWidth:"2",fill:"none"}),(0,i.jsx)("rect",{x:"1",y:"20.2461",width:"14.1707",height:"14.1707",rx:"5",stroke:"#2874FF",strokeWidth:"2",fill:"none"}),(0,i.jsx)("rect",{x:"18.415",y:"20.2461",width:"14.1707",height:"14.1707",rx:"5",stroke:"#2874FF",strokeWidth:"2",fill:"none"}),(0,i.jsx)("rect",{x:"35.8291",y:"20.2461",width:"14.1707",height:"14.1707",rx:"5",stroke:"#2874FF",strokeWidth:"2",fill:"none"})]});(0,e.registerBlockType)(o.UU,{title:(0,t.__)(o.DD,"cozy-addons"),description:(0,t.__)("Supportive carousel block.","cozy-addons"),icon:{src:r},edit:function(){const e=(0,s.useBlockProps)();return(0,i.jsx)("div",{className:"cozy-block-carousel swiper-slide",children:(0,i.jsx)("div",{...e,children:(0,i.jsx)(s.InnerBlocks,{})})})},save:function(){return(0,i.jsx)("div",{className:"cozy-block-carousel swiper-slide",children:(0,i.jsx)(s.InnerBlocks.Content,{})})},supports:{inserter:!1}})})();