this.wp=this.wp||{},this.wp.plugins=function(e){vart={};functionn(r){if(t[r])returnt[r].exports;vari=t[r]={i:r,l:!1,exports:{}};returne[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}returnn.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(variine)n.d(r,i,function(t){returne[t]}.bind(null,i));returnr},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="ey5A")}({"4eJC":function(e,t,n){e.exports=function(e,t){varn,r,i=0;functiono(){varo,u,l=n,s=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(u=0;u<s;u++)if(l.args[u]!==arguments[u]){l=l.next;continuee}returnl!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(o=newArray(s),u=0;u<s;u++)o[u]=arguments[u];returnl={args:o,val:e.apply(null,o)},n?(n.prev=l,l.next=n):r=l,i===t.maxSize?(r=r.prev).next=null:i++,n=l,l.val}returnt=t||{},o.clear=function(){n=null,r=null,i=0},o}},GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},Tqx9:function(e,t){e.exports=window.wp.primitives},YLtl:function(e,t){e.exports=window.lodash},ey5A:function(e,t,n){"use strict";n.r(t),n.d(t,"PluginArea",(function(){returnj})),n.d(t,"withPluginContext",(function(){returng})),n.d(t,"registerPlugin",(function(){returnv})),n.d(t,"unregisterPlugin",(function(){returnh})),n.d(t,"getPlugin",(function(){returnb})),n.d(t,"getPlugins",(function(){returnx}));varr=n("GRId"),i=n("YLtl"),o=n("4eJC"),u=n.n(o),l=n("g56x"),s=n("wx14"),c=n("K9lf");const{Consumer:a,Provider:p}=Object(r.createContext)({name:null,icon:null}),g=e=>Object(c.createHigherOrderComponent)(t=>n=>Object(r.createElement)(a,null,i=>Object(r.createElement)(t,Object(s.a)({},n,e(i,n)))),"withPluginContext");vard=n("Tqx9");varf=Object(r.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(d.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));constm={};functionv(e,t){if("object"!=typeoft)returnconsole.error("No settings object provided!"),null;if("string"!=typeofe)returnconsole.error("Plugin name must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(e))returnconsole.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;m[e]&&console.error(`Plugin "${e}" is already registered.`),t=Object(l.applyFilters)("plugins.registerPlugin",t,e);const{render:n,scope:r}=t;if(!Object(i.isFunction)(n))returnconsole.error('The "render" property must be specified and must be a valid function.'),null;if(r){if("string"!=typeofr)returnconsole.error("Plugin scope must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(r))returnconsole.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".'),null}returnm[e]={name:e,icon:f,...t},Object(l.doAction)("plugins.pluginRegistered",t,e),t}functionh(e){if(!m[e])returnvoidconsole.error('Plugin "'+e+'" is not registered.');constt=m[e];returndeletem[e],Object(l.doAction)("plugins.pluginUnregistered",t,e),t}functionb(e){returnm[e]}functionx(e){returnObject.values(m).filter(t=>t.scope===e)}classwextendsr.Component{constructor(){super(...arguments),this.setPlugins=this.setPlugins.bind(this),this.memoizedContext=u()((e,t)=>({name:e,icon:t})),this.state=this.getCurrentPluginsState()}getCurrentPlugin