(()=>{"use strict";const t=window.ReactJSXRuntime,{__}=wp.i18n,{registerBlockType:e}=wp.blocks,{RichText:o,MediaUpload:s,InspectorControls:l,InnerBlocks:a}=wp.blockEditor,{Button:c,PanelBody:n,SelectControl:i}=wp.components;e("xgate/gallery",{title:__("Xgate Gallery","xgate"),icon:"smiley",category:"xgate-blocks",attributes:{},edit:function(e){const{attributes:o,setAttributes:s,className:l}=e;return(0,t.jsx)("div",{className:l,children:(0,t.jsx)(a,{allowedBlocks:["xgate/image-block"]})})},save:e=>(0,t.jsx)(a.Content,{})})})();