(()=>{"use strict";const e=window.React,t=window.wp.hooks,n=window.wp.element,o=window.wp.compose,i=window.wp.components,r=window.wp.blockEditor,l=window.wp.i18n,a="gutenify",c=window?.[`_${a}_vars`]?window[`_${a}_vars`]:{},{is_pro_activated:s,pro_account_url:d,pro_license_status:p,title:u,prefix:w,slug:m,authorWebSite:_,authorDemoWebSite:g,authorWebSiteProPage:b,defaultTheme:y,authorWebSiteSupport:f,plugin_directory_url:h,brand_color:k,plugin_main_version:v,documentationsURL:E,pro_title:$,active_blocks:S,plugin_main_camel_case_name:W}=c,x=(c?.siteUrl?c.siteUrl:c.site_url,(0,l.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'<a href="'+b+'" target="_blank">',$,"</a>")),C=()=>(0,e.createElement)("div",{className:`${m}--pro-notice--inline`,style:{padding:"10px",background:"#edfff8",border:"2px solid var(--wp--preset--color--vivid-green-cyan)",borderRadius:"4px"}},(0,e.createElement)("i",{className:"fa fa-envelope-open"})," ",(0,n.RawHTML)({children:x,style:{display:"inline"}})),P=(0,o.createHigherOrderComponent)((t=>n=>{const o=n?.name.split("/"),l=o?.[1];return!S.includes(l)||p?(0,e.createElement)(t,{key:"edit",...n}):(0,e.createElement)(e.Fragment,null,n?.isSelected&&(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(i.PanelBody,null,(0,e.createElement)(C,{key:`${m}-block-${m}--inspector-controls--pro-notice`}))),(0,e.createElement)(t,{key:"edit",...n}))}),"withMyPluginControls");(0,t.addFilter)("editor.BlockEdit","my-plugin/with-inspector-controls",P,1)})();