← Back
Editing: wp-editor.bundle.js
/* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./src/wp/wp-editor/css-js-panel/index.js": /*!************************************************!*\ !*** ./src/wp/wp-editor/css-js-panel/index.js ***! \************************************************/ /***/ (() => { eval("{const {\n cssJsPanel\n} = FLBuilderConfig;\nif (cssJsPanel) {\n const {\n PluginDocumentSettingPanel\n } = wp.editor || wp.editPost;\n const {\n useEntityProp\n } = wp.coreData;\n const {\n TextareaControl\n } = wp.components;\n const {\n __\n } = wp.i18n;\n const {\n registerPlugin\n } = wp.plugins;\n const CssJsPanel = () => {\n const postType = wp.data.useSelect(select => select('core/editor').getCurrentPostType(), []);\n const [meta, setMeta] = useEntityProp('postType', postType, 'fl_builder_css_js');\n\n // Both hooks above run unconditionally (rules of hooks); bail out of\n // rendering until the editor has loaded the post type into the store.\n if (!postType) {\n return null;\n }\n const css = meta ? meta.css : '';\n const js = meta ? meta.js : '';\n return wp.element.createElement(PluginDocumentSettingPanel, {\n name: 'fl-builder-css-js',\n title: __('Builder CSS/JS', 'fl-builder')\n }, wp.element.createElement(TextareaControl, {\n label: __('CSS', 'fl-builder'),\n value: css,\n onChange: value => setMeta({\n ...(meta || {}),\n css: value\n }),\n rows: 10\n }), wp.element.createElement(TextareaControl, {\n label: __('JS', 'fl-builder'),\n value: js,\n onChange: value => setMeta({\n ...(meta || {}),\n js: value\n }),\n rows: 10\n }));\n };\n registerPlugin('fl-builder-css-js-panel', {\n render: CssJsPanel\n });\n}\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/css-js-panel/index.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/index.js": /*!***********************************!*\ !*** ./src/wp/wp-editor/index.js ***! \***********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wordpress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wordpress */ \"./src/wp/wp-editor/wordpress/index.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./store */ \"./src/wp/wp-editor/store/index.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_store__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _layout_block__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./layout-block */ \"./src/wp/wp-editor/layout-block/index.js\");\n/* harmony import */ var _more_menu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./more-menu */ \"./src/wp/wp-editor/more-menu/index.js\");\n/* harmony import */ var _css_js_panel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./css-js-panel */ \"./src/wp/wp-editor/css-js-panel/index.js\");\n/* harmony import */ var _css_js_panel__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_css_js_panel__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/index.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/layout-block/edit.js": /*!***********************************************!*\ !*** ./src/wp/wp-editor/layout-block/edit.js ***! \***********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ LayoutBlockEditConnected: () => (/* binding */ LayoutBlockEditConnected)\n/* harmony export */ });\n/* harmony import */ var _utils_ds_block_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/ds-block-guard */ \"./src/wp/wp-editor/utils/ds-block-guard.js\");\n\nconst {\n builder,\n strings,\n urls\n} = FLBuilderConfig;\nconst {\n rawHandler,\n serialize\n} = wp.blocks;\nconst {\n Button,\n Placeholder,\n Spinner\n} = wp.components;\nconst {\n compose\n} = wp.compose;\nconst {\n withDispatch,\n withSelect\n} = wp.data;\nconst {\n Component\n} = wp.element;\n\n/**\n * Edit Component\n */\nclass LayoutBlockEdit extends Component {\n constructor() {\n super(...arguments);\n }\n componentDidMount() {\n const {\n blockCount\n } = this.props;\n if (1 === blockCount) {\n this.toggleEditor('disable');\n }\n }\n componentWillUnmount() {\n this.toggleEditor('enable');\n }\n render() {\n const {\n blockCount,\n onReplace,\n isLaunching\n } = this.props;\n let label, callback, description;\n if (1 === blockCount) {\n label = builder.access ? strings.launch : strings.view;\n callback = this.launchBuilder.bind(this);\n } else {\n label = strings.convert;\n callback = this.convertToBuilder.bind(this);\n }\n if (builder.enabled) {\n description = strings.active;\n } else {\n description = strings.description;\n }\n if (false === builder.showui) {\n return '';\n }\n return /*#__PURE__*/React.createElement(Placeholder, {\n key: \"placeholder\",\n instructions: description,\n label: strings.title,\n className: \"fl-builder-layout-launch-view\"\n }, isLaunching && /*#__PURE__*/React.createElement(Spinner, null), !isLaunching && /*#__PURE__*/React.createElement(Button, {\n isLarge: true,\n isPrimary: true,\n type: \"submit\",\n onClick: callback\n }, label), !isLaunching && /*#__PURE__*/React.createElement(Button, {\n isLarge: true,\n type: \"submit\",\n onClick: this.convertToBlocks.bind(this)\n }, strings.editor));\n }\n toggleEditor(method = 'enable') {\n // With apiVersion: 3 the edit component renders inside the editor iframe,\n // so document.body is the iframe body. Target the top window's body so\n // the parent-page CSS selectors still match.\n const {\n classList\n } = window.top.document.body;\n const enabledClass = 'fl-builder-layout-enabled';\n if ('enable' === method) {\n if (classList.contains(enabledClass)) {\n classList.remove(enabledClass);\n }\n } else {\n if (!classList.contains(enabledClass)) {\n classList.add(enabledClass);\n }\n }\n }\n launchBuilder() {\n const {\n savePost,\n setLaunching\n } = this.props;\n setLaunching(true);\n /**\n * WP 6.4 will NOT save a post with no title.\n */\n const title = wp.data.select(\"core/editor\").getEditedPostAttribute('title');\n if (!title) {\n wp.data.dispatch('core/editor').editPost({\n title: wp.i18n.__('(no title)')\n });\n }\n savePost().then(() => {\n setTimeout(function () {\n window.top.location.href = builder.access ? urls.edit : urls.view;\n }, 2000);\n });\n }\n convertToBuilder() {\n const {\n clientId,\n blocks,\n setAttributes,\n removeBlocks\n } = this.props;\n if (!(0,_utils_ds_block_guard__WEBPACK_IMPORTED_MODULE_0__.guardAgainstDsBlocks)(blocks)) {\n return;\n }\n const content = serialize(blocks);\n const clientIds = blocks.map(block => block.clientId).filter(id => id !== clientId);\n setAttributes({\n content: content.replace(/<!--(.*?)-->/g, '')\n });\n removeBlocks(clientIds);\n this.launchBuilder();\n }\n convertToBlocks() {\n const {\n attributes,\n clientId,\n replaceBlocks,\n onReplace\n } = this.props;\n if (attributes.content && !confirm(strings.warning)) {\n return;\n } else if (attributes.content) {\n replaceBlocks([clientId], rawHandler({\n HTML: attributes.content,\n mode: 'BLOCKS'\n }));\n } else {\n onReplace([]);\n }\n }\n}\n\n/**\n * Connect the edit component to editor data.\n */\nconst LayoutBlockEditConnected = compose(withDispatch((dispatch, ownProps) => {\n const blockEditor = dispatch('core/block-editor');\n const editor = dispatch('core/editor');\n const builder = dispatch('fl-builder');\n return {\n removeBlocks: blockEditor.removeBlocks,\n replaceBlocks: blockEditor.replaceBlocks,\n savePost: editor.savePost,\n setLaunching: builder.setLaunching\n };\n}), withSelect(select => {\n const blockEditor = select('core/block-editor');\n const editor = select('core/editor');\n const builder = select('fl-builder');\n return {\n blockCount: blockEditor.getBlockCount(),\n blocks: blockEditor.getBlocks(),\n isLaunching: builder.isLaunching()\n };\n}))(LayoutBlockEdit);\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/layout-block/edit.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/layout-block/index.js": /*!************************************************!*\ !*** ./src/wp/wp-editor/layout-block/index.js ***! \************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./edit */ \"./src/wp/wp-editor/layout-block/edit.js\");\n/* harmony import */ var _index_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.scss */ \"./src/wp/wp-editor/layout-block/index.scss\");\n\n\nconst {\n builder,\n strings\n} = FLBuilderConfig;\nconst {\n registerBlockType\n} = wp.blocks;\nconst {\n useBlockProps\n} = wp.blockEditor;\nconst {\n RawHTML,\n createElement\n} = wp.element;\n\n/**\n * apiVersion: 3 requires the edit component's root element to receive the\n * props returned by useBlockProps(). The Connected edit component is a class\n * component, so we wrap it in a small function component that applies the\n * block props to a wrapper div.\n */\nconst EditWithBlockProps = props => {\n const blockProps = useBlockProps();\n return createElement('div', blockProps, createElement(_edit__WEBPACK_IMPORTED_MODULE_0__.LayoutBlockEditConnected, props));\n};\n\n/**\n * Register the block.\n */\nif (builder.access && builder.unrestricted || builder.enabled) {\n registerBlockType('fl-builder/layout', {\n apiVersion: 3,\n title: strings.title,\n description: strings.description,\n icon: 'welcome-widgets-menus',\n category: 'layout',\n useOnce: true,\n supports: {\n customClassName: false,\n className: false,\n html: false\n },\n attributes: {\n content: {\n type: 'string',\n source: 'html'\n }\n },\n edit: EditWithBlockProps,\n save({\n attributes\n }) {\n return /*#__PURE__*/React.createElement(RawHTML, null, attributes.content);\n }\n });\n}\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/layout-block/index.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/layout-block/index.scss": /*!**************************************************!*\ !*** ./src/wp/wp-editor/layout-block/index.scss ***! \**************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/layout-block/index.scss?\n}"); /***/ }), /***/ "./src/wp/wp-editor/more-menu/index.js": /*!*********************************************!*\ !*** ./src/wp/wp-editor/more-menu/index.js ***! \*********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _menu_item__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./menu-item */ \"./src/wp/wp-editor/more-menu/menu-item.js\");\n\nconst {\n registerPlugin\n} = wp.plugins;\n\n/**\n * Register the builder more menu plugin.\n */\nregisterPlugin('fl-builder-plugin-sidebar', {\n icon: 'welcome-widgets-menus',\n render: _menu_item__WEBPACK_IMPORTED_MODULE_0__.BuilderMoreMenuItemConnected\n});\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/more-menu/index.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/more-menu/menu-item.js": /*!*************************************************!*\ !*** ./src/wp/wp-editor/more-menu/menu-item.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BuilderMoreMenuItemConnected: () => (/* binding */ BuilderMoreMenuItemConnected)\n/* harmony export */ });\n/* harmony import */ var _utils_ds_block_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/ds-block-guard */ \"./src/wp/wp-editor/utils/ds-block-guard.js\");\n\nconst {\n builder,\n strings,\n urls\n} = FLBuilderConfig;\nconst {\n createBlock,\n serialize\n} = wp.blocks;\nconst {\n Button\n} = wp.components;\nconst {\n compose\n} = wp.compose;\nconst {\n withDispatch,\n withSelect\n} = wp.data;\nconst {\n PluginMoreMenuItem\n} = wp.editor || wp.editPost;\nconst {\n Component\n} = wp.element;\n\n/**\n * Builder menu item for the more menu.\n */\nclass BuilderMoreMenuItem extends Component {\n render() {\n if (this.hasBuilderBlock()) {\n jQuery('body').addClass('fl-builder-blocks');\n jQuery(document).trigger('fl-builder-fix-blocks');\n }\n return /*#__PURE__*/React.createElement(PluginMoreMenuItem, {\n onClick: this.menuItemClicked.bind(this)\n }, this.hasBuilderBlock() ? strings.launch : strings.convert);\n }\n hasBuilderBlock() {\n const {\n blocks\n } = this.props;\n const builder = blocks.filter(block => 'fl-builder/layout' === block.name);\n return !!builder.length;\n }\n menuItemClicked() {\n if (this.hasBuilderBlock()) {\n this.launchBuilder();\n } else {\n this.convertToBuilder();\n }\n }\n convertToBuilder() {\n const {\n blocks,\n insertBlock,\n removeBlocks\n } = this.props;\n if (!(0,_utils_ds_block_guard__WEBPACK_IMPORTED_MODULE_0__.guardAgainstDsBlocks)(blocks)) {\n return;\n }\n const clientIds = blocks.map(block => block.clientId);\n const content = serialize(blocks).replace(/<!--(.*?)-->/g, '');\n const block = createBlock('fl-builder/layout', {\n content\n });\n insertBlock(block, 0);\n removeBlocks(clientIds);\n }\n launchBuilder() {\n const {\n savePost,\n setLaunching\n } = this.props;\n setLaunching(true);\n /**\n * WP 6.4 will NOT save a post with no title.\n */\n const title = wp.data.select(\"core/editor\").getEditedPostAttribute('title');\n if (!title) {\n wp.data.dispatch('core/editor').editPost({\n title: wp.i18n.__('(no title)')\n });\n }\n savePost().then(() => {\n setTimeout(function () {\n window.location.href = builder.access ? urls.edit : urls.view;\n }, 2000);\n });\n }\n}\n\n/**\n * Connect the menu item to editor data.\n */\nconst BuilderMoreMenuItemConnected = compose(withDispatch((dispatch, ownProps) => {\n const blockEditor = dispatch('core/block-editor');\n const editor = dispatch('core/editor');\n const builder = dispatch('fl-builder');\n return {\n insertBlock: blockEditor.insertBlock,\n removeBlocks: blockEditor.removeBlocks,\n savePost: editor.savePost,\n setLaunching: builder.setLaunching\n };\n}), withSelect(select => {\n const blockEditor = select('core/block-editor');\n return {\n blocks: blockEditor.getBlocks()\n };\n}))(BuilderMoreMenuItem);\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/more-menu/menu-item.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/store/index.js": /*!*****************************************!*\ !*** ./src/wp/wp-editor/store/index.js ***! \*****************************************/ /***/ (() => { eval("{const {\n registerStore\n} = wp.data;\nconst DEFAULT_STATE = {\n launching: false\n};\nconst actions = {\n setLaunching(launching) {\n return {\n type: 'SET_LAUNCHING',\n launching\n };\n }\n};\nconst selectors = {\n isLaunching(state) {\n return state.launching;\n }\n};\nregisterStore('fl-builder', {\n reducer(state = DEFAULT_STATE, action) {\n switch (action.type) {\n case 'SET_LAUNCHING':\n state.launching = action.launching;\n }\n return state;\n },\n actions,\n selectors\n});\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/store/index.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/utils/ds-block-guard.js": /*!**************************************************!*\ !*** ./src/wp/wp-editor/utils/ds-block-guard.js ***! \**************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ guardAgainstDsBlocks: () => (/* binding */ guardAgainstDsBlocks)\n/* harmony export */ });\nconst hasDsBlocks = blocks => {\n if (!blocks || !blocks.length) {\n return false;\n }\n return blocks.some(block => {\n if (block.name && 0 === block.name.indexOf('fl-ds/')) {\n return true;\n }\n return hasDsBlocks(block.innerBlocks);\n });\n};\nconst guardAgainstDsBlocks = blocks => {\n if (!hasDsBlocks(blocks)) {\n return true;\n }\n alert('Converting design system blocks to Beaver Builder is currently not supported. ' + 'Doing so would destroy the layout.');\n return false;\n};\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/utils/ds-block-guard.js?\n}"); /***/ }), /***/ "./src/wp/wp-editor/wordpress/index.js": /*!*********************************************!*\ !*** ./src/wp/wp-editor/wordpress/index.js ***! \*********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// FUNCTION: Recover block\nconst recoverBlock = (block = null, autoSave = false) => {\n // DECONSTRUCT: WP object\n const {\n wp = {}\n } = window || {};\n const {\n data = {},\n blocks = {}\n } = wp;\n const {\n dispatch,\n select\n } = data;\n const {\n createBlock\n } = blocks;\n const {\n replaceBlock\n } = dispatch('core/block-editor');\n const wpRecoverBlock = ({\n name = '',\n attributes = {},\n innerBlocks = []\n }) => createBlock(name, attributes, innerBlocks);\n\n // DEFINE: Validation variables\n const blockIsValid = block !== null && typeof block === 'object' && block.clientId !== null && typeof block.clientId === 'string';\n\n // IF: Block is not valid\n if (blockIsValid !== true) {\n return false;\n }\n\n // GET: Block based on ID, to make sure it exists\n const currentBlock = select('core/block-editor').getBlock(block.clientId);\n\n // IF: Block was found\n if (!currentBlock !== true) {\n // DECONSTRUCT: Block\n const {\n clientId: blockId = '',\n isValid: blockIsValid = true,\n innerBlocks: blockInnerBlocks = []\n } = currentBlock;\n\n // DEFINE: Validation variables\n const blockInnerBlocksHasLength = blockInnerBlocks !== null && Array.isArray(blockInnerBlocks) && blockInnerBlocks.length >= 1;\n\n // IF: Block is not valid\n if (blockIsValid !== true) {\n // DEFINE: New recovered block\n const recoveredBlock = wpRecoverBlock(currentBlock);\n\n // REPLACE: Broke block\n replaceBlock(blockId, recoveredBlock);\n\n // IF: Auto save post\n if (autoSave === true) {\n wp.data.dispatch(\"core/editor\").savePost();\n }\n }\n\n // IF: Inner blocks has length\n if (blockInnerBlocksHasLength) {\n blockInnerBlocks.forEach((innerBlock = {}) => {\n recoverBlock(innerBlock, autoSave);\n });\n }\n }\n\n // RETURN\n return false;\n};\n\n// FUNCTION: Attempt to recover broken blocks\nconst autoRecoverBlocks = (autoSave = false) => {\n // DECONSTRUCT: WP object\n const {\n wp = {}\n } = window || {};\n const {\n domReady,\n data = {}\n } = wp;\n const {\n select\n } = data;\n\n // AWAIT: For dom to get ready\n domReady(function () {\n setTimeout(function () {\n // DEFINE: Basic variables\n const blocksArray = select('core/block-editor').getBlocks();\n const blocksArrayHasLength = Array.isArray(blocksArray) && blocksArray.length >= 1;\n\n // IF: Blocks array has length\n if (blocksArrayHasLength === true) {\n blocksArray.forEach((element = {}) => {\n recoverBlock(element, autoSave);\n });\n }\n }, 1);\n });\n};\n\n// EXPORT\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (autoRecoverBlocks);\n\n// DECONSTRUCT: WP\nconst {\n wp = {}\n} = window || {};\nconst {\n domReady,\n data\n} = wp;\n\n// AWAIT: jQuery to get ready\njQuery(document).on('fl-builder-fix-blocks', function () {\n // DEFINE: Validation variables\n const hasGutenbergClasses = jQuery('body').hasClass('post-php') === true && jQuery('.block-editor').length >= 1 && jQuery('body').hasClass('fl-builder-blocks');\n const gutenbergHasObject = domReady !== undefined && data !== undefined;\n const gutenbergIsPresent = hasGutenbergClasses === true && gutenbergHasObject === true;\n\n // IF: Gutenberg editor is present\n if (gutenbergIsPresent === true) {\n autoRecoverBlocks(false);\n }\n});\n\n//# sourceURL=webpack://bb-plugin/./src/wp/wp-editor/wordpress/index.js?\n}"); /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module can't be inlined because the eval devtool is used. /******/ var __webpack_exports__ = __webpack_require__("./src/wp/wp-editor/index.js"); /******/ /******/ })() ;
Save File
Cancel