(()=>{"use strict";const e=window.ReactJSXRuntime,{__}=wp.i18n,{registerBlockType:t}=wp.blocks,{RichText:s,MediaUpload:i,InspectorControls:a,InnerBlocks:n}=wp.blockEditor,{Button:l,PanelBody:r,SelectControl:o}=wp.components;t("xgate/expanded-service-list",{title:__("Expanded service List","xgate"),icon:"excerpt-view",category:"xgate-blocks",attributes:{variant:{type:"string",default:"services"}},providesContext:{"xgate/service-list-variant":"variant"},edit:function(t){const{attributes:s,setAttributes:i}=t,{variant:l}=s;return(0,e.jsxs)("div",{style:{border:"1px solid black",padding:"10px"},children:[(0,e.jsx)("h1",{children:"Service item Container "}),(0,e.jsx)(a,{children:(0,e.jsx)(r,{title:__("Block Settings","xgate"),children:(0,e.jsx)(o,{label:__("Content Variant","xgate"),value:l,options:[{label:__("","xgate"),value:""},{label:__("Services","xgate"),value:"services"},{label:__("Assets","xgate"),value:"assets"}],onChange:e=>{i({variant:e})}})})}),(0,e.jsx)(n,{allowedBlocks:["xgate/expanded-service-list-item"]})]})},save:t=>(0,e.jsx)(n.Content,{})})})();