(()=>{"use strict";const e=window.wp.element;window.wp.compose,function(t,o,i,n,l,r,s,a){if(console.log(i),void 0!==i){i.createElement;var __=o.__,c=(n.AlignmentToolbar,l.ToggleControl,l.Dropdown,l.Button),d=(n.BlockControls,n.Disabled,l.__experimentalInputControl,l.SelectControl),w=(r.withState,s.translations);s.editor_pro_settings,s.fe_show_warning_message&&a.data.dispatch("core/notices").createNotice("error",w.fe_edit_message,{isDismissible:!1,actions:[{url:s.fe_edit_link,label:w.fe_edit_link_text}]}),t.registerBlockType("bfe/bfe-block",{title:__("Front Editor","front-editor"),icon:"edit",category:"common",multiple:!1,html:!1,attributes:{id:{type:"string",default:"false"}},edit:function(t){return console.log(t.attributes.id),(0,e.createElement)("div",{className:"editor-block-settings"},(0,e.createElement)("h3",{className:"title"},w.title),(0,e.createElement)("div",{className:"setting-wrap header-settings"},(0,e.createElement)(d,{label:w.form_builder_id,value:t.attributes.id,onChange:e=>{t.setAttributes({id:e})},options:s.post_form_list}),(0,e.createElement)(c,{isSecondary:!0,href:s.create_new_post_form_link,target:"_blank"},w.create_new_form)))},save:function(e){return null}})}}(window.wp.blocks,window.wp.i18n,window.wp.element,wp.blockEditor,window.wp.components,window.wp.compose,window.editor_block_data,window.wp)})();