(()=>{"use strict";const t=window.ReactJSXRuntime,{__}=wp.i18n,{registerBlockType:e}=wp.blocks,{RichText:o,InspectorControls:n}=wp.blockEditor,{Button:r,PanelBody:u,SelectControl:a,TextControl:s}=wp.components;e("xgate/quote",{title:__("Quote","xgate"),icon:"format-quote",category:"xgate-blocks",attributes:{quote:{type:"string"},author:{type:"string"}},edit:function(e){const{attributes:n,setAttributes:r}=e,{quote:u,author:a}=n;return(0,t.jsxs)("div",{children:[(0,t.jsx)(o,{tagName:"p",placeholder:__("Add Quote","xgate"),value:u,onChange:t=>{r({quote:t})}}),(0,t.jsx)(s,{value:a,onChange:t=>{r({author:t})}})]})},save:function(){return null}})})();