!function(){"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&(t=r.currentScript.src),!t)){var n=r.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&!t;)t=n[i--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../../../"}();var t=window.wp.element,r=e.p+"images/favicon-32x32.3e9100dc.png";const{registerPlugin:n}=wp.plugins,{PluginSidebar:i}=wp.editPost||wp.editSite,l=()=>wp.element.createElement("img",{src:r,alt:"DragBlock",style:{width:20,height:20}});n("dragblock-global",{render(){const e=wp.hooks.applyFilters("dragblock.global.sidebar.panels",[]);return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(i,{name:"dragblock/dragblock-sidebar",title:"DragBlock",icon:(0,t.createElement)(l,null)},e.map(((e,r)=>(0,t.createElement)(e,{key:r})))))}})}();