plugins.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  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. // EXTERNAL MODULE: ./node_modules/memize/index.js
  224. var memize = __webpack_require__(9756);
  225. var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
  226. ;// CONCATENATED MODULE: external ["wp","hooks"]
  227. var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
  228. ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
  229. function _extends() {
  230. _extends = Object.assign ? Object.assign.bind() : function (target) {
  231. for (var i = 1; i < arguments.length; i++) {
  232. var source = arguments[i];
  233. for (var key in source) {
  234. if (Object.prototype.hasOwnProperty.call(source, key)) {
  235. target[key] = source[key];
  236. }
  237. }
  238. }
  239. return target;
  240. };
  241. return _extends.apply(this, arguments);
  242. }
  243. ;// CONCATENATED MODULE: external ["wp","compose"]
  244. var external_wp_compose_namespaceObject = window["wp"]["compose"];
  245. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
  246. /**
  247. * WordPress dependencies
  248. */
  249. const {
  250. Consumer,
  251. Provider
  252. } = (0,external_wp_element_namespaceObject.createContext)({
  253. name: null,
  254. icon: null
  255. });
  256. /**
  257. * A Higher Order Component used to inject Plugin context to the
  258. * wrapped component.
  259. *
  260. * @param {Function} mapContextToProps Function called on every context change,
  261. * expected to return object of props to
  262. * merge with the component's own props.
  263. *
  264. * @return {WPComponent} Enhanced component with injected context as props.
  265. */
  266. const withPluginContext = mapContextToProps => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => {
  267. return props => (0,external_wp_element_namespaceObject.createElement)(Consumer, null, context => (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, _extends({}, props, mapContextToProps(context, props))));
  268. }, 'withPluginContext');
  269. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-error-boundary/index.js
  270. /**
  271. * WordPress dependencies
  272. */
  273. class PluginErrorBoundary extends external_wp_element_namespaceObject.Component {
  274. constructor(props) {
  275. super(props);
  276. this.state = {
  277. hasError: false
  278. };
  279. }
  280. static getDerivedStateFromError() {
  281. return {
  282. hasError: true
  283. };
  284. }
  285. componentDidCatch(error) {
  286. const {
  287. name,
  288. onError
  289. } = this.props;
  290. if (onError) {
  291. onError(name, error);
  292. }
  293. }
  294. render() {
  295. if (!this.state.hasError) {
  296. return this.props.children;
  297. }
  298. return null;
  299. }
  300. }
  301. ;// CONCATENATED MODULE: external ["wp","primitives"]
  302. var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
  303. ;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
  304. /**
  305. * WordPress dependencies
  306. */
  307. const plugins = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
  308. xmlns: "http://www.w3.org/2000/svg",
  309. viewBox: "0 0 24 24"
  310. }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
  311. 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"
  312. }));
  313. /* harmony default export */ var library_plugins = (plugins);
  314. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
  315. /* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */
  316. /**
  317. * WordPress dependencies
  318. */
  319. /**
  320. * Defined behavior of a plugin type.
  321. *
  322. * @typedef {Object} WPPlugin
  323. *
  324. * @property {string} name A string identifying the plugin. Must be
  325. * unique across all registered plugins.
  326. * @property {string|WPElement|Function} [icon] An icon to be shown in the UI. It can
  327. * be a slug of the Dashicon, or an element
  328. * (or function returning an element) if you
  329. * choose to render your own SVG.
  330. * @property {Function} render A component containing the UI elements
  331. * to be rendered.
  332. * @property {string} [scope] The optional scope to be used when rendering inside
  333. * a plugin area. No scope by default.
  334. */
  335. /**
  336. * Plugin definitions keyed by plugin name.
  337. *
  338. * @type {Object.<string,WPPlugin>}
  339. */
  340. const api_plugins = {};
  341. /**
  342. * Registers a plugin to the editor.
  343. *
  344. * @param {string} name A string identifying the plugin.Must be
  345. * unique across all registered plugins.
  346. * @param {Omit<WPPlugin, 'name'>} settings The settings for this plugin.
  347. *
  348. * @example
  349. * ```js
  350. * // Using ES5 syntax
  351. * var el = wp.element.createElement;
  352. * var Fragment = wp.element.Fragment;
  353. * var PluginSidebar = wp.editPost.PluginSidebar;
  354. * var PluginSidebarMoreMenuItem = wp.editPost.PluginSidebarMoreMenuItem;
  355. * var registerPlugin = wp.plugins.registerPlugin;
  356. * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
  357. *
  358. * function Component() {
  359. * return el(
  360. * Fragment,
  361. * {},
  362. * el(
  363. * PluginSidebarMoreMenuItem,
  364. * {
  365. * target: 'sidebar-name',
  366. * },
  367. * 'My Sidebar'
  368. * ),
  369. * el(
  370. * PluginSidebar,
  371. * {
  372. * name: 'sidebar-name',
  373. * title: 'My Sidebar',
  374. * },
  375. * 'Content of the sidebar'
  376. * )
  377. * );
  378. * }
  379. * registerPlugin( 'plugin-name', {
  380. * icon: moreIcon,
  381. * render: Component,
  382. * scope: 'my-page',
  383. * } );
  384. * ```
  385. *
  386. * @example
  387. * ```js
  388. * // Using ESNext syntax
  389. * import { PluginSidebar, PluginSidebarMoreMenuItem } from '@wordpress/edit-post';
  390. * import { registerPlugin } from '@wordpress/plugins';
  391. * import { more } from '@wordpress/icons';
  392. *
  393. * const Component = () => (
  394. * <>
  395. * <PluginSidebarMoreMenuItem
  396. * target="sidebar-name"
  397. * >
  398. * My Sidebar
  399. * </PluginSidebarMoreMenuItem>
  400. * <PluginSidebar
  401. * name="sidebar-name"
  402. * title="My Sidebar"
  403. * >
  404. * Content of the sidebar
  405. * </PluginSidebar>
  406. * </>
  407. * );
  408. *
  409. * registerPlugin( 'plugin-name', {
  410. * icon: more,
  411. * render: Component,
  412. * scope: 'my-page',
  413. * } );
  414. * ```
  415. *
  416. * @return {WPPlugin} The final plugin settings object.
  417. */
  418. function registerPlugin(name, settings) {
  419. if (typeof settings !== 'object') {
  420. console.error('No settings object provided!');
  421. return null;
  422. }
  423. if (typeof name !== 'string') {
  424. console.error('Plugin name must be string.');
  425. return null;
  426. }
  427. if (!/^[a-z][a-z0-9-]*$/.test(name)) {
  428. console.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".');
  429. return null;
  430. }
  431. if (api_plugins[name]) {
  432. console.error(`Plugin "${name}" is already registered.`);
  433. }
  434. settings = (0,external_wp_hooks_namespaceObject.applyFilters)('plugins.registerPlugin', settings, name);
  435. const {
  436. render,
  437. scope
  438. } = settings;
  439. if (typeof render !== 'function') {
  440. console.error('The "render" property must be specified and must be a valid function.');
  441. return null;
  442. }
  443. if (scope) {
  444. if (typeof scope !== 'string') {
  445. console.error('Plugin scope must be string.');
  446. return null;
  447. }
  448. if (!/^[a-z][a-z0-9-]*$/.test(scope)) {
  449. console.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".');
  450. return null;
  451. }
  452. }
  453. api_plugins[name] = {
  454. name,
  455. icon: library_plugins,
  456. ...settings
  457. };
  458. (0,external_wp_hooks_namespaceObject.doAction)('plugins.pluginRegistered', settings, name);
  459. return settings;
  460. }
  461. /**
  462. * Unregisters a plugin by name.
  463. *
  464. * @param {string} name Plugin name.
  465. *
  466. * @example
  467. * ```js
  468. * // Using ES5 syntax
  469. * var unregisterPlugin = wp.plugins.unregisterPlugin;
  470. *
  471. * unregisterPlugin( 'plugin-name' );
  472. * ```
  473. *
  474. * @example
  475. * ```js
  476. * // Using ESNext syntax
  477. * import { unregisterPlugin } from '@wordpress/plugins';
  478. *
  479. * unregisterPlugin( 'plugin-name' );
  480. * ```
  481. *
  482. * @return {?WPPlugin} The previous plugin settings object, if it has been
  483. * successfully unregistered; otherwise `undefined`.
  484. */
  485. function unregisterPlugin(name) {
  486. if (!api_plugins[name]) {
  487. console.error('Plugin "' + name + '" is not registered.');
  488. return;
  489. }
  490. const oldPlugin = api_plugins[name];
  491. delete api_plugins[name];
  492. (0,external_wp_hooks_namespaceObject.doAction)('plugins.pluginUnregistered', oldPlugin, name);
  493. return oldPlugin;
  494. }
  495. /**
  496. * Returns a registered plugin settings.
  497. *
  498. * @param {string} name Plugin name.
  499. *
  500. * @return {?WPPlugin} Plugin setting.
  501. */
  502. function getPlugin(name) {
  503. return api_plugins[name];
  504. }
  505. /**
  506. * Returns all registered plugins without a scope or for a given scope.
  507. *
  508. * @param {string} [scope] The scope to be used when rendering inside
  509. * a plugin area. No scope by default.
  510. *
  511. * @return {WPPlugin[]} The list of plugins without a scope or for a given scope.
  512. */
  513. function getPlugins(scope) {
  514. return Object.values(api_plugins).filter(plugin => plugin.scope === scope);
  515. }
  516. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-area/index.js
  517. /**
  518. * External dependencies
  519. */
  520. /**
  521. * WordPress dependencies
  522. */
  523. /**
  524. * Internal dependencies
  525. */
  526. /**
  527. * A component that renders all plugin fills in a hidden div.
  528. *
  529. * @example
  530. * ```js
  531. * // Using ES5 syntax
  532. * var el = wp.element.createElement;
  533. * var PluginArea = wp.plugins.PluginArea;
  534. *
  535. * function Layout() {
  536. * return el(
  537. * 'div',
  538. * { scope: 'my-page' },
  539. * 'Content of the page',
  540. * PluginArea
  541. * );
  542. * }
  543. * ```
  544. *
  545. * @example
  546. * ```js
  547. * // Using ESNext syntax
  548. * import { PluginArea } from '@wordpress/plugins';
  549. *
  550. * const Layout = () => (
  551. * <div>
  552. * Content of the page
  553. * <PluginArea scope="my-page" />
  554. * </div>
  555. * );
  556. * ```
  557. *
  558. * @return {WPComponent} The component to be rendered.
  559. */
  560. class PluginArea extends external_wp_element_namespaceObject.Component {
  561. constructor() {
  562. super(...arguments);
  563. this.setPlugins = this.setPlugins.bind(this);
  564. this.memoizedContext = memize_default()((name, icon) => {
  565. return {
  566. name,
  567. icon
  568. };
  569. });
  570. this.state = this.getCurrentPluginsState();
  571. }
  572. getCurrentPluginsState() {
  573. return {
  574. plugins: getPlugins(this.props.scope).map(_ref => {
  575. let {
  576. icon,
  577. name,
  578. render
  579. } = _ref;
  580. return {
  581. Plugin: render,
  582. context: this.memoizedContext(name, icon)
  583. };
  584. })
  585. };
  586. }
  587. componentDidMount() {
  588. (0,external_wp_hooks_namespaceObject.addAction)('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered', this.setPlugins);
  589. (0,external_wp_hooks_namespaceObject.addAction)('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered', this.setPlugins);
  590. }
  591. componentWillUnmount() {
  592. (0,external_wp_hooks_namespaceObject.removeAction)('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered');
  593. (0,external_wp_hooks_namespaceObject.removeAction)('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered');
  594. }
  595. setPlugins() {
  596. this.setState(this.getCurrentPluginsState);
  597. }
  598. render() {
  599. return (0,external_wp_element_namespaceObject.createElement)("div", {
  600. style: {
  601. display: 'none'
  602. }
  603. }, this.state.plugins.map(_ref2 => {
  604. let {
  605. context,
  606. Plugin
  607. } = _ref2;
  608. return (0,external_wp_element_namespaceObject.createElement)(Provider, {
  609. key: context.name,
  610. value: context
  611. }, (0,external_wp_element_namespaceObject.createElement)(PluginErrorBoundary, {
  612. name: context.name,
  613. onError: this.props.onError
  614. }, (0,external_wp_element_namespaceObject.createElement)(Plugin, null)));
  615. }));
  616. }
  617. }
  618. /* harmony default export */ var plugin_area = (PluginArea);
  619. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/index.js
  620. ;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/index.js
  621. }();
  622. (window.wp = window.wp || {}).plugins = __webpack_exports__;
  623. /******/ })()
  624. ;