plugins.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. /******/ (function() { // webpackBootstrap
  2. /******/ var __webpack_modules__ = ({
  3. /***/ 9756:
  4. /***/ (function(module) {
  5. /**
  6. * Memize options object.
  7. *
  8. * @typedef MemizeOptions
  9. *
  10. * @property {number} [maxSize] Maximum size of the cache.
  11. */
  12. /**
  13. * Internal cache entry.
  14. *
  15. * @typedef MemizeCacheNode
  16. *
  17. * @property {?MemizeCacheNode|undefined} [prev] Previous node.
  18. * @property {?MemizeCacheNode|undefined} [next] Next node.
  19. * @property {Array<*>} args Function arguments for cache
  20. * entry.
  21. * @property {*} val Function result.
  22. */
  23. /**
  24. * Properties of the enhanced function for controlling cache.
  25. *
  26. * @typedef MemizeMemoizedFunction
  27. *
  28. * @property {()=>void} clear Clear the cache.
  29. */
  30. /**
  31. * Accepts a function to be memoized, and returns a new memoized function, with
  32. * optional options.
  33. *
  34. * @template {Function} F
  35. *
  36. * @param {F} fn Function to memoize.
  37. * @param {MemizeOptions} [options] Options object.
  38. *
  39. * @return {F & MemizeMemoizedFunction} Memoized function.
  40. */
  41. function memize( fn, options ) {
  42. var size = 0;
  43. /** @type {?MemizeCacheNode|undefined} */
  44. var head;
  45. /** @type {?MemizeCacheNode|undefined} */
  46. var tail;
  47. options = options || {};
  48. function memoized( /* ...args */ ) {
  49. var node = head,
  50. len = arguments.length,
  51. args, i;
  52. searchCache: while ( node ) {
  53. // Perform a shallow equality test to confirm that whether the node
  54. // under test is a candidate for the arguments passed. Two arrays
  55. // are shallowly equal if their length matches and each entry is
  56. // strictly equal between the two sets. Avoid abstracting to a
  57. // function which could incur an arguments leaking deoptimization.
  58. // Check whether node arguments match arguments length
  59. if ( node.args.length !== arguments.length ) {
  60. node = node.next;
  61. continue;
  62. }
  63. // Check whether node arguments match arguments values
  64. for ( i = 0; i < len; i++ ) {
  65. if ( node.args[ i ] !== arguments[ i ] ) {
  66. node = node.next;
  67. continue searchCache;
  68. }
  69. }
  70. // At this point we can assume we've found a match
  71. // Surface matched node to head if not already
  72. if ( node !== head ) {
  73. // As tail, shift to previous. Must only shift if not also
  74. // head, since if both head and tail, there is no previous.
  75. if ( node === tail ) {
  76. tail = node.prev;
  77. }
  78. // Adjust siblings to point to each other. If node was tail,
  79. // this also handles new tail's empty `next` assignment.
  80. /** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
  81. if ( node.next ) {
  82. node.next.prev = node.prev;
  83. }
  84. node.next = head;
  85. node.prev = null;
  86. /** @type {MemizeCacheNode} */ ( head ).prev = node;
  87. head = node;
  88. }
  89. // Return immediately
  90. return node.val;
  91. }
  92. // No cached value found. Continue to insertion phase:
  93. // Create a copy of arguments (avoid leaking deoptimization)
  94. args = new Array( len );
  95. for ( i = 0; i < len; i++ ) {
  96. args[ i ] = arguments[ i ];
  97. }
  98. node = {
  99. args: args,
  100. // Generate the result from original function
  101. val: fn.apply( null, args ),
  102. };
  103. // Don't need to check whether node is already head, since it would
  104. // have been returned above already if it was
  105. // Shift existing head down list
  106. if ( head ) {
  107. head.prev = node;
  108. node.next = head;
  109. } else {
  110. // If no head, follows that there's no tail (at initial or reset)
  111. tail = node;
  112. }
  113. // Trim tail if we're reached max size and are pending cache insertion
  114. if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
  115. tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
  116. /** @type {MemizeCacheNode} */ ( tail ).next = null;
  117. } else {
  118. size++;
  119. }
  120. head = node;
  121. return node.val;
  122. }
  123. memoized.clear = function() {
  124. head = null;
  125. tail = null;
  126. size = 0;
  127. };
  128. if ( false ) {}
  129. // Ignore reason: There's not a clear solution to create an intersection of
  130. // the function with additional properties, where the goal is to retain the
  131. // function signature of the incoming argument and add control properties
  132. // on the return value.
  133. // @ts-ignore
  134. return memoized;
  135. }
  136. module.exports = memize;
  137. /***/ })
  138. /******/ });
  139. /************************************************************************/
  140. /******/ // The module cache
  141. /******/ var __webpack_module_cache__ = {};
  142. /******/
  143. /******/ // The require function
  144. /******/ function __webpack_require__(moduleId) {
  145. /******/ // Check if module is in cache
  146. /******/ var cachedModule = __webpack_module_cache__[moduleId];
  147. /******/ if (cachedModule !== undefined) {
  148. /******/ return cachedModule.exports;
  149. /******/ }
  150. /******/ // Create a new module (and put it into the cache)
  151. /******/ var module = __webpack_module_cache__[moduleId] = {
  152. /******/ // no module.id needed
  153. /******/ // no module.loaded needed
  154. /******/ exports: {}
  155. /******/ };
  156. /******/
  157. /******/ // Execute the module function
  158. /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
  159. /******/
  160. /******/ // Return the exports of the module
  161. /******/ return module.exports;
  162. /******/ }
  163. /******/
  164. /************************************************************************/
  165. /******/ /* webpack/runtime/compat get default export */
  166. /******/ !function() {
  167. /******/ // getDefaultExport function for compatibility with non-harmony modules
  168. /******/ __webpack_require__.n = function(module) {
  169. /******/ var getter = module && module.__esModule ?
  170. /******/ function() { return module['default']; } :
  171. /******/ function() { return module; };
  172. /******/ __webpack_require__.d(getter, { a: getter });
  173. /******/ return getter;
  174. /******/ };
  175. /******/ }();
  176. /******/
  177. /******/ /* webpack/runtime/define property getters */
  178. /******/ !function() {
  179. /******/ // define getter functions for harmony exports
  180. /******/ __webpack_require__.d = function(exports, definition) {
  181. /******/ for(var key in definition) {
  182. /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
  183. /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
  184. /******/ }
  185. /******/ }
  186. /******/ };
  187. /******/ }();
  188. /******/
  189. /******/ /* webpack/runtime/hasOwnProperty shorthand */
  190. /******/ !function() {
  191. /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
  192. /******/ }();
  193. /******/
  194. /******/ /* webpack/runtime/make namespace object */
  195. /******/ !function() {
  196. /******/ // define __esModule on exports
  197. /******/ __webpack_require__.r = function(exports) {
  198. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  199. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  200. /******/ }
  201. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  202. /******/ };
  203. /******/ }();
  204. /******/
  205. /************************************************************************/
  206. var __webpack_exports__ = {};
  207. // This entry need to be wrapped in an IIFE because it need to be in strict mode.
  208. !function() {
  209. "use strict";
  210. // ESM COMPAT FLAG
  211. __webpack_require__.r(__webpack_exports__);
  212. // EXPORTS
  213. __webpack_require__.d(__webpack_exports__, {
  214. "PluginArea": function() { return /* reexport */ plugin_area; },
  215. "getPlugin": function() { return /* reexport */ getPlugin; },
  216. "getPlugins": function() { return /* reexport */ getPlugins; },
  217. "registerPlugin": function() { return /* reexport */ registerPlugin; },
  218. "unregisterPlugin": function() { return /* reexport */ unregisterPlugin; },
  219. "withPluginContext": function() { return /* reexport */ withPluginContext; }
  220. });
  221. ;// CONCATENATED MODULE: external ["wp","element"]
  222. var external_wp_element_namespaceObject = window["wp"]["element"];
  223. ;// CONCATENATED MODULE: external "lodash"
  224. var external_lodash_namespaceObject = window["lodash"];
  225. // EXTERNAL MODULE: ./node_modules/memize/index.js
  226. var memize = __webpack_require__(9756);
  227. var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
  228. ;// CONCATENATED MODULE: external ["wp","hooks"]
  229. var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
  230. ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
  231. function _extends() {
  232. _extends = Object.assign ? Object.assign.bind() : function (target) {
  233. for (var i = 1; i < arguments.length; i++) {
  234. var source = arguments[i];
  235. for (var key in source) {
  236. if (Object.prototype.hasOwnProperty.call(source, key)) {
  237. target[key] = source[key];
  238. }
  239. }
  240. }
  241. return target;
  242. };
  243. return _extends.apply(this, arguments);
  244. }
  245. ;// CONCATENATED MODULE: external ["wp","compose"]
  246. var external_wp_compose_namespaceObject = window["wp"]["compose"];
  247. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
  248. /**
  249. * WordPress dependencies
  250. */
  251. const {
  252. Consumer,
  253. Provider
  254. } = (0,external_wp_element_namespaceObject.createContext)({
  255. name: null,
  256. icon: null
  257. });
  258. /**
  259. * A Higher Order Component used to inject Plugin context to the
  260. * wrapped component.
  261. *
  262. * @param {Function} mapContextToProps Function called on every context change,
  263. * expected to return object of props to
  264. * merge with the component's own props.
  265. *
  266. * @return {WPComponent} Enhanced component with injected context as props.
  267. */
  268. const withPluginContext = mapContextToProps => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => {
  269. return props => (0,external_wp_element_namespaceObject.createElement)(Consumer, null, context => (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, _extends({}, props, mapContextToProps(context, props))));
  270. }, 'withPluginContext');
  271. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-error-boundary/index.js
  272. /**
  273. * WordPress dependencies
  274. */
  275. class PluginErrorBoundary extends external_wp_element_namespaceObject.Component {
  276. constructor(props) {
  277. super(props);
  278. this.state = {
  279. hasError: false
  280. };
  281. }
  282. static getDerivedStateFromError() {
  283. return {
  284. hasError: true
  285. };
  286. }
  287. componentDidCatch(error) {
  288. const {
  289. name,
  290. onError
  291. } = this.props;
  292. if (onError) {
  293. onError(name, error);
  294. }
  295. }
  296. render() {
  297. if (!this.state.hasError) {
  298. return this.props.children;
  299. }
  300. return null;
  301. }
  302. }
  303. ;// CONCATENATED MODULE: external ["wp","primitives"]
  304. var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
  305. ;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
  306. /**
  307. * WordPress dependencies
  308. */
  309. const plugins = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
  310. xmlns: "http://www.w3.org/2000/svg",
  311. viewBox: "0 0 24 24"
  312. }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
  313. 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"
  314. }));
  315. /* harmony default export */ var library_plugins = (plugins);
  316. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
  317. /* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */
  318. /**
  319. * WordPress dependencies
  320. */
  321. /**
  322. * External dependencies
  323. */
  324. /**
  325. * Defined behavior of a plugin type.
  326. *
  327. * @typedef {Object} WPPlugin
  328. *
  329. * @property {string} name A string identifying the plugin. Must be
  330. * unique across all registered plugins.
  331. * @property {string|WPElement|Function} [icon] An icon to be shown in the UI. It can
  332. * be a slug of the Dashicon, or an element
  333. * (or function returning an element) if you
  334. * choose to render your own SVG.
  335. * @property {Function} render A component containing the UI elements
  336. * to be rendered.
  337. * @property {string} [scope] The optional scope to be used when rendering inside
  338. * a plugin area. No scope by default.
  339. */
  340. /**
  341. * Plugin definitions keyed by plugin name.
  342. *
  343. * @type {Object.<string,WPPlugin>}
  344. */
  345. const api_plugins = {};
  346. /**
  347. * Registers a plugin to the editor.
  348. *
  349. * @param {string} name A string identifying the plugin.Must be
  350. * unique across all registered plugins.
  351. * @param {WPPlugin} settings The settings for this plugin.
  352. *
  353. * @example
  354. * ```js
  355. * // Using ES5 syntax
  356. * var el = wp.element.createElement;
  357. * var Fragment = wp.element.Fragment;
  358. * var PluginSidebar = wp.editPost.PluginSidebar;
  359. * var PluginSidebarMoreMenuItem = wp.editPost.PluginSidebarMoreMenuItem;
  360. * var registerPlugin = wp.plugins.registerPlugin;
  361. * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
  362. *
  363. * function Component() {
  364. * return el(
  365. * Fragment,
  366. * {},
  367. * el(
  368. * PluginSidebarMoreMenuItem,
  369. * {
  370. * target: 'sidebar-name',
  371. * },
  372. * 'My Sidebar'
  373. * ),
  374. * el(
  375. * PluginSidebar,
  376. * {
  377. * name: 'sidebar-name',
  378. * title: 'My Sidebar',
  379. * },
  380. * 'Content of the sidebar'
  381. * )
  382. * );
  383. * }
  384. * registerPlugin( 'plugin-name', {
  385. * icon: moreIcon,
  386. * render: Component,
  387. * scope: 'my-page',
  388. * } );
  389. * ```
  390. *
  391. * @example
  392. * ```js
  393. * // Using ESNext syntax
  394. * import { PluginSidebar, PluginSidebarMoreMenuItem } from '@wordpress/edit-post';
  395. * import { registerPlugin } from '@wordpress/plugins';
  396. * import { more } from '@wordpress/icons';
  397. *
  398. * const Component = () => (
  399. * <>
  400. * <PluginSidebarMoreMenuItem
  401. * target="sidebar-name"
  402. * >
  403. * My Sidebar
  404. * </PluginSidebarMoreMenuItem>
  405. * <PluginSidebar
  406. * name="sidebar-name"
  407. * title="My Sidebar"
  408. * >
  409. * Content of the sidebar
  410. * </PluginSidebar>
  411. * </>
  412. * );
  413. *
  414. * registerPlugin( 'plugin-name', {
  415. * icon: more,
  416. * render: Component,
  417. * scope: 'my-page',
  418. * } );
  419. * ```
  420. *
  421. * @return {WPPlugin} The final plugin settings object.
  422. */
  423. function registerPlugin(name, settings) {
  424. if (typeof settings !== 'object') {
  425. console.error('No settings object provided!');
  426. return null;
  427. }
  428. if (typeof name !== 'string') {
  429. console.error('Plugin name must be string.');
  430. return null;
  431. }
  432. if (!/^[a-z][a-z0-9-]*$/.test(name)) {
  433. console.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".');
  434. return null;
  435. }
  436. if (api_plugins[name]) {
  437. console.error(`Plugin "${name}" is already registered.`);
  438. }
  439. settings = (0,external_wp_hooks_namespaceObject.applyFilters)('plugins.registerPlugin', settings, name);
  440. const {
  441. render,
  442. scope
  443. } = settings;
  444. if (!(0,external_lodash_namespaceObject.isFunction)(render)) {
  445. console.error('The "render" property must be specified and must be a valid function.');
  446. return null;
  447. }
  448. if (scope) {
  449. if (typeof scope !== 'string') {
  450. console.error('Plugin scope must be string.');
  451. return null;
  452. }
  453. if (!/^[a-z][a-z0-9-]*$/.test(scope)) {
  454. console.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".');
  455. return null;
  456. }
  457. }
  458. api_plugins[name] = {
  459. name,
  460. icon: library_plugins,
  461. ...settings
  462. };
  463. (0,external_wp_hooks_namespaceObject.doAction)('plugins.pluginRegistered', settings, name);
  464. return settings;
  465. }
  466. /**
  467. * Unregisters a plugin by name.
  468. *
  469. * @param {string} name Plugin name.
  470. *
  471. * @example
  472. * ```js
  473. * // Using ES5 syntax
  474. * var unregisterPlugin = wp.plugins.unregisterPlugin;
  475. *
  476. * unregisterPlugin( 'plugin-name' );
  477. * ```
  478. *
  479. * @example
  480. * ```js
  481. * // Using ESNext syntax
  482. * import { unregisterPlugin } from '@wordpress/plugins';
  483. *
  484. * unregisterPlugin( 'plugin-name' );
  485. * ```
  486. *
  487. * @return {?WPPlugin} The previous plugin settings object, if it has been
  488. * successfully unregistered; otherwise `undefined`.
  489. */
  490. function unregisterPlugin(name) {
  491. if (!api_plugins[name]) {
  492. console.error('Plugin "' + name + '" is not registered.');
  493. return;
  494. }
  495. const oldPlugin = api_plugins[name];
  496. delete api_plugins[name];
  497. (0,external_wp_hooks_namespaceObject.doAction)('plugins.pluginUnregistered', oldPlugin, name);
  498. return oldPlugin;
  499. }
  500. /**
  501. * Returns a registered plugin settings.
  502. *
  503. * @param {string} name Plugin name.
  504. *
  505. * @return {?WPPlugin} Plugin setting.
  506. */
  507. function getPlugin(name) {
  508. return api_plugins[name];
  509. }
  510. /**
  511. * Returns all registered plugins without a scope or for a given scope.
  512. *
  513. * @param {string} [scope] The scope to be used when rendering inside
  514. * a plugin area. No scope by default.
  515. *
  516. * @return {WPPlugin[]} The list of plugins without a scope or for a given scope.
  517. */
  518. function getPlugins(scope) {
  519. return Object.values(api_plugins).filter(plugin => plugin.scope === scope);
  520. }
  521. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-area/index.js
  522. /**
  523. * External dependencies
  524. */
  525. /**
  526. * WordPress dependencies
  527. */
  528. /**
  529. * Internal dependencies
  530. */
  531. /**
  532. * A component that renders all plugin fills in a hidden div.
  533. *
  534. * @example
  535. * ```js
  536. * // Using ES5 syntax
  537. * var el = wp.element.createElement;
  538. * var PluginArea = wp.plugins.PluginArea;
  539. *
  540. * function Layout() {
  541. * return el(
  542. * 'div',
  543. * { scope: 'my-page' },
  544. * 'Content of the page',
  545. * PluginArea
  546. * );
  547. * }
  548. * ```
  549. *
  550. * @example
  551. * ```js
  552. * // Using ESNext syntax
  553. * import { PluginArea } from '@wordpress/plugins';
  554. *
  555. * const Layout = () => (
  556. * <div>
  557. * Content of the page
  558. * <PluginArea scope="my-page" />
  559. * </div>
  560. * );
  561. * ```
  562. *
  563. * @return {WPComponent} The component to be rendered.
  564. */
  565. class PluginArea extends external_wp_element_namespaceObject.Component {
  566. constructor() {
  567. super(...arguments);
  568. this.setPlugins = this.setPlugins.bind(this);
  569. this.memoizedContext = memize_default()((name, icon) => {
  570. return {
  571. name,
  572. icon
  573. };
  574. });
  575. this.state = this.getCurrentPluginsState();
  576. }
  577. getCurrentPluginsState() {
  578. return {
  579. plugins: (0,external_lodash_namespaceObject.map)(getPlugins(this.props.scope), _ref => {
  580. let {
  581. icon,
  582. name,
  583. render
  584. } = _ref;
  585. return {
  586. Plugin: render,
  587. context: this.memoizedContext(name, icon)
  588. };
  589. })
  590. };
  591. }
  592. componentDidMount() {
  593. (0,external_wp_hooks_namespaceObject.addAction)('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered', this.setPlugins);
  594. (0,external_wp_hooks_namespaceObject.addAction)('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered', this.setPlugins);
  595. }
  596. componentWillUnmount() {
  597. (0,external_wp_hooks_namespaceObject.removeAction)('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered');
  598. (0,external_wp_hooks_namespaceObject.removeAction)('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered');
  599. }
  600. setPlugins() {
  601. this.setState(this.getCurrentPluginsState);
  602. }
  603. render() {
  604. return (0,external_wp_element_namespaceObject.createElement)("div", {
  605. style: {
  606. display: 'none'
  607. }
  608. }, (0,external_lodash_namespaceObject.map)(this.state.plugins, _ref2 => {
  609. let {
  610. context,
  611. Plugin
  612. } = _ref2;
  613. return (0,external_wp_element_namespaceObject.createElement)(Provider, {
  614. key: context.name,
  615. value: context
  616. }, (0,external_wp_element_namespaceObject.createElement)(PluginErrorBoundary, {
  617. name: context.name,
  618. onError: this.props.onError
  619. }, (0,external_wp_element_namespaceObject.createElement)(Plugin, null)));
  620. }));
  621. }
  622. }
  623. /* harmony default export */ var plugin_area = (PluginArea);
  624. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/index.js
  625. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/index.js
  626. }();
  627. (window.wp = window.wp || {}).plugins = __webpack_exports__;
  628. /******/ })()
  629. ;