(()=>{function e(){return e=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},e.apply(null,arguments)}!function(a,t,n){n=wp.blockEditor||wp.editor;var r=t.addFilter,d=a.sprintf,c=a.__,s=n.InspectorControls,g=["advgb/accordion-item","advgb/accordions","advgb/adv-tabs","advgb/adv-tab","advgb/recent-posts","advgb/images-slider","advgb/button","advgb/list","advgb/count-up","advgb/testimonial","advgb/image"];function o(e){switch(e){case"advgb/accordion-item":case"advgb/accordions":return c("Accordion","advanced-gutenberg");case"advgb/adv-tabs":case"advgb/tab":return c("Tabs","advanced-gutenberg");case"advgb/recent-posts":return c("Content Display","advanced-gutenberg");case"advgb/images-slider":return c("Images Slider","advanced-gutenberg");case"advgb/button":return c("Button","advanced-gutenberg");case"advgb/list":return c("List","advanced-gutenberg");case"advgb/count-up":return c("Count Up","advanced-gutenberg");case"advgb/testimonial":return c("Testimonial","advanced-gutenberg");case"advgb/image":return c("Image","advanced-gutenberg");default:return c("PublishPress","advanced-gutenberg")}}r("editor.BlockEdit","advgb/proAd",(function(a){return function(t){return[t.isSelected&&g.includes(t.name)&&React.createElement(s,{key:"advgb-custom-controls"},React.createElement("div",{className:"components-panel__body advgb-pro-ad-wrapper"},d(c("Want more features in your %s blocks?","advanced-gutenberg"),o(t.name)),React.createElement("br",null),React.createElement("a",{href:"https://publishpress.com/links/blocks",class:"advgb-pro-ad-btn",target:"_blank"},c("Upgrade to Pro","advanced-gutenberg")))),React.createElement(a,e({key:"block-edit-custom-class-name"},t))]}}))}(wp.i18n,wp.hooks,wp.blockEditor)})();
//# sourceMappingURL=pro-ad.js.map