Build: Use hashed/deterministic moduleIDs in webpack config
Props peterwilsoncc, desrosj. Fixes #53192. Built from https://develop.svn.wordpress.org/trunk@50940 git-svn-id: http://core.svn.wordpress.org/trunk@50549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c47c99900c
commit
6e4458c935
File diff suppressed because one or more lines are too long
|
@ -82,26 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 578);
|
/******/ return __webpack_require__(__webpack_require__.s = "jncB");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "Y8OO":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 393:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["domReady"]; }());
|
(function() { module.exports = window["wp"]["domReady"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 578:
|
/***/ "jncB":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -113,11 +106,11 @@ __webpack_require__.d(__webpack_exports__, "setup", function() { return /* bindi
|
||||||
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
|
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","domReady"]
|
// EXTERNAL MODULE: external ["wp","domReady"]
|
||||||
var external_wp_domReady_ = __webpack_require__(393);
|
var external_wp_domReady_ = __webpack_require__("Y8OO");
|
||||||
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_);
|
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
|
||||||
/**
|
/**
|
||||||
|
@ -314,6 +307,13 @@ function speak(message, ariaLive) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=578)}({1:function(t,e){t.exports=window.wp.i18n},393:function(t,e){t.exports=window.wp.domReady},578:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var i=n(393),o=n.n(i),r=n(1);function a(t="polite"){const e=document.createElement("div");e.id="a11y-speak-"+t,e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");const{body:n}=document;return n&&n.appendChild(e),e}let p="";function u(){const t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){const t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(r.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");const{body:e}=document;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){const t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text");for(let e=0;e<t.length;e++)t[e].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),p===t&&(t+=" "),p=t,t}(t);const n=document.getElementById("a11y-speak-intro-text"),i=document.getElementById("a11y-speak-assertive"),o=document.getElementById("a11y-speak-polite");i&&"assertive"===e?i.textContent=t:o&&(o.textContent=t),n&&n.removeAttribute("hidden")}o()(u)}});
|
this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/a11y/build-module/index.js")}({"./node_modules/@wordpress/a11y/build-module/index.js":function(e,t,n){"use strict";n.r(t),n.d(t,"setup",(function(){return s})),n.d(t,"speak",(function(){return p}));var o=n("@wordpress/dom-ready"),r=n.n(o),i=n("@wordpress/i18n");function d(e="polite"){const t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");const{body:n}=document;return n&&n.appendChild(t),t}let a="";function s(){const e=document.getElementById("a11y-speak-intro-text"),t=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===e&&function(){const e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(i.__)("Notifications"),e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("hidden","hidden");const{body:t}=document;t&&t.appendChild(e)}(),null===t&&d("assertive"),null===n&&d("polite")}function p(e,t){!function(){const e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text");for(let t=0;t<e.length;t++)e[t].textContent="";t&&t.setAttribute("hidden","hidden")}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),a===e&&(e+=" "),a=e,e}(e);const n=document.getElementById("a11y-speak-intro-text"),o=document.getElementById("a11y-speak-assertive"),r=document.getElementById("a11y-speak-polite");o&&"assertive"===t?o.textContent=e:r&&(r.textContent=e),n&&n.removeAttribute("hidden")}r()(s)},"@wordpress/dom-ready":function(e,t){e.exports=window.wp.domReady},"@wordpress/i18n":function(e,t){e.exports=window.wp.i18n}});
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,26 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 568);
|
/******/ return __webpack_require__(__webpack_require__.s = "jqrR");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "Mmq9":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 20:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["url"]; }());
|
(function() { module.exports = window["wp"]["url"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 568:
|
/***/ "jqrR":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -109,7 +102,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
|
||||||
/**
|
/**
|
||||||
|
@ -283,7 +276,7 @@ function createPreloadingMiddleware(preloadedData) {
|
||||||
/* harmony default export */ var preloading = (createPreloadingMiddleware);
|
/* harmony default export */ var preloading = (createPreloadingMiddleware);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","url"]
|
// EXTERNAL MODULE: external ["wp","url"]
|
||||||
var external_wp_url_ = __webpack_require__(20);
|
var external_wp_url_ = __webpack_require__("Mmq9");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
|
||||||
/**
|
/**
|
||||||
|
@ -833,6 +826,13 @@ apiFetch.mediaUploadMiddleware = media_upload;
|
||||||
/* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch);
|
/* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ })["default"];
|
/******/ })["default"];
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 419);
|
/******/ return __webpack_require__(__webpack_require__.s = "zbAn");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 419:
|
/***/ "zbAn":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 420);
|
/******/ return __webpack_require__(__webpack_require__.s = "ca5x");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 420:
|
/***/ "ca5x":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=420)}({420:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return i})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"getBlobTypeByURL",(function(){return f})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));const{createObjectURL:r,revokeObjectURL:o}=window.URL,u={};function i(e){const t=r(e);return u[t]=e,t}function c(e){return u[e]}function f(e){var t;return null===(t=c(e))||void 0===t?void 0:t.type.split("/")[0]}function l(e){u[e]&&o(e),delete u[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
this.wp=this.wp||{},this.wp.blob=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="./node_modules/@wordpress/blob/build-module/index.js")}({"./node_modules/@wordpress/blob/build-module/index.js":function(e,n,t){"use strict";t.r(n),t.d(n,"createBlobURL",(function(){return i})),t.d(n,"getBlobByURL",(function(){return l})),t.d(n,"getBlobTypeByURL",(function(){return c})),t.d(n,"revokeBlobURL",(function(){return d})),t.d(n,"isBlobURL",(function(){return f}));const{createObjectURL:r,revokeObjectURL:o}=window.URL,u={};function i(e){const n=r(e);return u[n]=e,n}function l(e){return u[e]}function c(e){var n;return null===(n=l(e))||void 0===n?void 0:n.type.split("/")[0]}function d(e){u[e]&&o(e),delete u[e]}function f(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
|
@ -82,39 +82,18 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 563);
|
/******/ return __webpack_require__(__webpack_require__.s = "7f3f");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "//Lo":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 1:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 134:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,182 +112,21 @@ const blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cre
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 161:
|
/***/ "1ZqX":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (starFilled);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 162:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
fillRule: "evenodd",
|
|
||||||
d: "M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",
|
|
||||||
clipRule: "evenodd"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 18:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["coreData"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 204:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const starHalf = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (starHalf);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 21:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 22:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["editor"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 3:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["primitives"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 30:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["a11y"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 32:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["dataControls"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 33:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 36:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["notices"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 394:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["editPost"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 4:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["components"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 41:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 54:
|
/***/ "51Zz":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["plugins"]; }());
|
(function() { module.exports = window["wp"]["dataControls"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 563:
|
/***/ "7f3f":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -344,28 +162,28 @@ __webpack_require__.d(actions_namespaceObject, "setErrorNotice", function() { re
|
||||||
__webpack_require__.d(actions_namespaceObject, "clearErrorNotice", function() { return clearErrorNotice; });
|
__webpack_require__.d(actions_namespaceObject, "clearErrorNotice", function() { return clearErrorNotice; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","plugins"]
|
// EXTERNAL MODULE: external ["wp","plugins"]
|
||||||
var external_wp_plugins_ = __webpack_require__(54);
|
var external_wp_plugins_ = __webpack_require__("TvNi");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||||
var external_wp_hooks_ = __webpack_require__(21);
|
var external_wp_hooks_ = __webpack_require__("g56x");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blocks"]
|
// EXTERNAL MODULE: external ["wp","blocks"]
|
||||||
var external_wp_blocks_ = __webpack_require__(8);
|
var external_wp_blocks_ = __webpack_require__("HSyU");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","editor"]
|
// EXTERNAL MODULE: external ["wp","editor"]
|
||||||
var external_wp_editor_ = __webpack_require__(22);
|
var external_wp_editor_ = __webpack_require__("jSdM");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","dataControls"]
|
// EXTERNAL MODULE: external ["wp","dataControls"]
|
||||||
var external_wp_dataControls_ = __webpack_require__(32);
|
var external_wp_dataControls_ = __webpack_require__("51Zz");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
|
||||||
/**
|
/**
|
||||||
|
@ -472,7 +290,7 @@ const errorNotices = (state = {}, action) => {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blockEditor"]
|
// EXTERNAL MODULE: external ["wp","blockEditor"]
|
||||||
var external_wp_blockEditor_ = __webpack_require__(6);
|
var external_wp_blockEditor_ = __webpack_require__("axFQ");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/has-block-type.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/has-block-type.js
|
||||||
/**
|
/**
|
||||||
|
@ -624,13 +442,13 @@ function selectors_getErrorNoticeForBlock(state, blockId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","notices"]
|
// EXTERNAL MODULE: external ["wp","notices"]
|
||||||
var external_wp_notices_ = __webpack_require__(36);
|
var external_wp_notices_ = __webpack_require__("onLe");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
||||||
var external_wp_apiFetch_ = __webpack_require__(33);
|
var external_wp_apiFetch_ = __webpack_require__("ywyh");
|
||||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js
|
||||||
|
@ -1099,31 +917,31 @@ function AutoBlockUninstaller() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","components"]
|
// EXTERNAL MODULE: external ["wp","components"]
|
||||||
var external_wp_components_ = __webpack_require__(4);
|
var external_wp_components_ = __webpack_require__("tI+e");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","coreData"]
|
// EXTERNAL MODULE: external ["wp","coreData"]
|
||||||
var external_wp_coreData_ = __webpack_require__(18);
|
var external_wp_coreData_ = __webpack_require__("jZUy");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||||
var esm_extends = __webpack_require__(7);
|
var esm_extends = __webpack_require__("wx14");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
||||||
var external_wp_htmlEntities_ = __webpack_require__(41);
|
var external_wp_htmlEntities_ = __webpack_require__("rmEH");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||||
var build_module_icon = __webpack_require__(97);
|
var build_module_icon = __webpack_require__("iClF");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
|
||||||
var star_filled = __webpack_require__(161);
|
var star_filled = __webpack_require__("URob");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-half.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-half.js
|
||||||
var star_half = __webpack_require__(204);
|
var star_half = __webpack_require__("WIVa");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
|
||||||
var star_empty = __webpack_require__(162);
|
var star_empty = __webpack_require__("Xxwi");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
|
||||||
|
|
||||||
|
@ -1455,7 +1273,7 @@ function DownloadableBlocksList({
|
||||||
/* harmony default export */ var downloadable_blocks_list = (DownloadableBlocksList);
|
/* harmony default export */ var downloadable_blocks_list = (DownloadableBlocksList);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","a11y"]
|
// EXTERNAL MODULE: external ["wp","a11y"]
|
||||||
var external_wp_a11y_ = __webpack_require__(30);
|
var external_wp_a11y_ = __webpack_require__("gdqT");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/inserter-panel.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/inserter-panel.js
|
||||||
|
|
||||||
|
@ -1496,7 +1314,7 @@ function DownloadableBlocksInserterPanel({
|
||||||
/* harmony default export */ var inserter_panel = (DownloadableBlocksInserterPanel);
|
/* harmony default export */ var inserter_panel = (DownloadableBlocksInserterPanel);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
||||||
var block_default = __webpack_require__(134);
|
var block_default = __webpack_require__("//Lo");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/no-results.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/no-results.js
|
||||||
|
|
||||||
|
@ -1653,7 +1471,7 @@ function InserterMenuDownloadableBlocksPanel() {
|
||||||
/* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel);
|
/* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","editPost"]
|
// EXTERNAL MODULE: external ["wp","editPost"]
|
||||||
var external_wp_editPost_ = __webpack_require__(394);
|
var external_wp_editPost_ = __webpack_require__("BLhE");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
|
||||||
|
|
||||||
|
@ -1921,50 +1739,158 @@ Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'block-direc
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 6:
|
/***/ "BLhE":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blockEditor"]; }());
|
(function() { module.exports = window["wp"]["editPost"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7:
|
/***/ "GRId":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
"use strict";
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
|
|
||||||
function _extends() {
|
|
||||||
_extends = Object.assign || function (target) {
|
|
||||||
for (var i = 1; i < arguments.length; i++) {
|
|
||||||
var source = arguments[i];
|
|
||||||
|
|
||||||
for (var key in source) {
|
|
||||||
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
||||||
target[key] = source[key];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return target;
|
|
||||||
};
|
|
||||||
|
|
||||||
return _extends.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 8:
|
/***/ "HSyU":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blocks"]; }());
|
(function() { module.exports = window["wp"]["blocks"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 97:
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Tqx9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["primitives"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "TvNi":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["plugins"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "URob":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (starFilled);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "WIVa":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const starHalf = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (starHalf);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Xxwi":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
fillRule: "evenodd",
|
||||||
|
d: "M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",
|
||||||
|
clipRule: "evenodd"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "axFQ":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["blockEditor"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "g56x":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "gdqT":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["a11y"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "iClF":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
|
@ -1997,6 +1923,80 @@ function Icon({
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (Icon);
|
/* harmony default export */ __webpack_exports__["a"] = (Icon);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "jSdM":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["editor"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "jZUy":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["coreData"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "onLe":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["notices"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "rmEH":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "tI+e":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["components"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "wx14":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
|
||||||
|
function _extends() {
|
||||||
|
_extends = Object.assign || function (target) {
|
||||||
|
for (var i = 1; i < arguments.length; i++) {
|
||||||
|
var source = arguments[i];
|
||||||
|
|
||||||
|
for (var key in source) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
||||||
|
target[key] = source[key];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return target;
|
||||||
|
};
|
||||||
|
|
||||||
|
return _extends.apply(this, arguments);
|
||||||
|
}
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "ywyh":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 426);
|
/******/ return __webpack_require__(__webpack_require__.s = "SiJt");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 426:
|
/***/ "SiJt":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=426)}({426:function(n,t,e){"use strict";let r,o,u,s;e.r(t),e.d(t,"parse",(function(){return f}));const l=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function c(n,t,e,r,o){return{blockName:n,attrs:t,innerBlocks:e,innerHTML:r,innerContent:o}}function i(n){return c(null,{},[],n,[n])}const f=n=>{r=n,o=0,u=[],s=[],l.lastIndex=0;do{}while(p());return u};function p(){const n=function(){const n=l.exec(r);if(null===n)return["no-more-tokens"];const t=n.index,[e,o,u,s,c,,i]=n,f=e.length,p=!!o,a=!!i,b=(u||"core/")+s,k=!!c,d=k?function(n){try{return JSON.parse(n)}catch(n){return null}}(c):{};if(a)return["void-block",b,d,t,f];if(p)return["block-closer",b,null,t,f];return["block-opener",b,d,t,f]}(),[t,e,f,p,d]=n,h=s.length,v=p>o?o:null;switch(t){case"no-more-tokens":if(0===h)return a(),!1;if(1===h)return k(),!1;for(;0<s.length;)k();return!1;case"void-block":return 0===h?(null!==v&&u.push(i(r.substr(v,p-v))),u.push(c(e,f,[],"",[])),o=p+d,!0):(b(c(e,f,[],"",[]),p,d),o=p+d,!0);case"block-opener":return s.push(function(n,t,e,r,o){return{block:n,tokenStart:t,tokenLength:e,prevOffset:r||t+e,leadingHtmlStart:o}}(c(e,f,[],"",[]),p,d,p+d,v)),o=p+d,!0;case"block-closer":if(0===h)return a(),!1;if(1===h)return k(p),o=p+d,!0;const n=s.pop(),t=r.substr(n.prevOffset,p-n.prevOffset);return n.block.innerHTML+=t,n.block.innerContent.push(t),n.prevOffset=p+d,b(n.block,n.tokenStart,n.tokenLength,p+d),o=p+d,!0;default:return a(),!1}}function a(n){const t=n||r.length-o;0!==t&&u.push(i(r.substr(o,t)))}function b(n,t,e,o){const u=s[s.length-1];u.block.innerBlocks.push(n);const l=r.substr(u.prevOffset,t-u.prevOffset);l&&(u.block.innerHTML+=l,u.block.innerContent.push(l)),u.block.innerContent.push(null),u.prevOffset=o||t+e}function k(n){const{block:t,leadingHtmlStart:e,prevOffset:o,tokenStart:l}=s.pop(),c=n?r.substr(o,n-o):r.substr(o);c&&(t.innerHTML+=c,t.innerContent.push(c)),null!==e&&u.push(i(r.substr(e,l-e))),u.push(t)}}});
|
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="./node_modules/@wordpress/block-serialization-default-parser/build-module/index.js")}({"./node_modules/@wordpress/block-serialization-default-parser/build-module/index.js":function(e,n,t){"use strict";let r,o,u,s;t.r(n),t.d(n,"parse",(function(){return f}));const l=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function i(e,n,t,r,o){return{blockName:e,attrs:n,innerBlocks:t,innerHTML:r,innerContent:o}}function c(e){return i(null,{},[],e,[e])}const f=e=>{r=e,o=0,u=[],s=[],l.lastIndex=0;do{}while(a());return u};function a(){const e=function(){const e=l.exec(r);if(null===e)return["no-more-tokens"];const n=e.index,[t,o,u,s,i,,c]=e,f=t.length,a=!!o,p=!!c,b=(u||"core/")+s,d=!!i,k=d?function(e){try{return JSON.parse(e)}catch(e){return null}}(i):{};if(p)return["void-block",b,k,n,f];if(a)return["block-closer",b,null,n,f];return["block-opener",b,k,n,f]}(),[n,t,f,a,k]=e,h=s.length,v=a>o?o:null;switch(n){case"no-more-tokens":if(0===h)return p(),!1;if(1===h)return d(),!1;for(;0<s.length;)d();return!1;case"void-block":return 0===h?(null!==v&&u.push(c(r.substr(v,a-v))),u.push(i(t,f,[],"",[])),o=a+k,!0):(b(i(t,f,[],"",[]),a,k),o=a+k,!0);case"block-opener":return s.push(function(e,n,t,r,o){return{block:e,tokenStart:n,tokenLength:t,prevOffset:r||n+t,leadingHtmlStart:o}}(i(t,f,[],"",[]),a,k,a+k,v)),o=a+k,!0;case"block-closer":if(0===h)return p(),!1;if(1===h)return d(a),o=a+k,!0;const e=s.pop(),n=r.substr(e.prevOffset,a-e.prevOffset);return e.block.innerHTML+=n,e.block.innerContent.push(n),e.prevOffset=a+k,b(e.block,e.tokenStart,e.tokenLength,a+k),o=a+k,!0;default:return p(),!1}}function p(e){const n=e||r.length-o;0!==n&&u.push(c(r.substr(o,n)))}function b(e,n,t,o){const u=s[s.length-1];u.block.innerBlocks.push(e);const l=r.substr(u.prevOffset,n-u.prevOffset);l&&(u.block.innerHTML+=l,u.block.innerContent.push(l)),u.block.innerContent.push(null),u.prevOffset=o||n+t}function d(e){const{block:n,leadingHtmlStart:t,prevOffset:o,tokenStart:l}=s.pop(),i=e?r.substr(o,e-o):r.substr(o);i&&(n.innerHTML+=i,n.innerContent.push(i)),null!==t&&u.push(c(r.substr(t,l-t))),u.push(n)}}});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,33 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 537);
|
/******/ return __webpack_require__(__webpack_require__.s = "71Oy");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 24:
|
/***/ "1ZqX":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 33:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 537:
|
/***/ "71Oy":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -119,11 +105,11 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__unstableAwaitPromise", function() { return __unstableAwaitPromise; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__unstableAwaitPromise", function() { return __unstableAwaitPromise; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
|
||||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
|
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ywyh");
|
||||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
|
||||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
|
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("NMb1");
|
||||||
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__);
|
/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
|
@ -267,6 +253,20 @@ const controls = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "NMb1":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["deprecated"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "ywyh":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=537)}({24:function(t,e){t.exports=window.wp.deprecated},33:function(t,e){t.exports=window.wp.apiFetch},5:function(t,e){t.exports=window.wp.data},537:function(t,e,n){"use strict";n.r(e),n.d(e,"apiFetch",(function(){return s})),n.d(e,"select",(function(){return l})),n.d(e,"syncSelect",(function(){return a})),n.d(e,"dispatch",(function(){return d})),n.d(e,"__unstableAwaitPromise",(function(){return p})),n.d(e,"controls",(function(){return f}));var r=n(33),o=n.n(r),i=n(5),c=n(24),u=n.n(c);function s(t){return{type:"API_FETCH",request:t}}function l(...t){return u()("`select` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),i.controls.resolveSelect(...t)}function a(...t){return u()("`syncSelect` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `select` control in `@wordpress/data`"}),i.controls.select(...t)}function d(...t){return u()("`dispatch` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `dispatch` control in `@wordpress/data`"}),i.controls.dispatch(...t)}const p=function(t){return{type:"AWAIT_PROMISE",promise:t}},f={AWAIT_PROMISE:({promise:t})=>t,API_FETCH:({request:t})=>o()(t)}}});
|
this.wp=this.wp||{},this.wp.dataControls=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./node_modules/@wordpress/data-controls/build-module/index.js")}({"./node_modules/@wordpress/data-controls/build-module/index.js":function(e,t,r){"use strict";r.r(t),r.d(t,"apiFetch",(function(){return u})),r.d(t,"select",(function(){return d})),r.d(t,"syncSelect",(function(){return a})),r.d(t,"dispatch",(function(){return l})),r.d(t,"__unstableAwaitPromise",(function(){return p})),r.d(t,"controls",(function(){return f}));var n=r("@wordpress/api-fetch"),o=r.n(n),s=r("@wordpress/data"),i=r("@wordpress/deprecated"),c=r.n(i);function u(e){return{type:"API_FETCH",request:e}}function d(...e){return c()("`select` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),s.controls.resolveSelect(...e)}function a(...e){return c()("`syncSelect` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `select` control in `@wordpress/data`"}),s.controls.select(...e)}function l(...e){return c()("`dispatch` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `dispatch` control in `@wordpress/data`"}),s.controls.dispatch(...e)}const p=function(e){return{type:"AWAIT_PROMISE",promise:e}},f={AWAIT_PROMISE:({promise:e})=>e,API_FETCH:({request:e})=>o()(e)}},"@wordpress/api-fetch":function(e,t){e.exports=window.wp.apiFetch},"@wordpress/data":function(e,t){e.exports=window.wp.data},"@wordpress/deprecated":function(e,t){e.exports=window.wp.deprecated}});
|
|
@ -82,112 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["data"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 561);
|
/******/ return __webpack_require__(__webpack_require__.s = "pfJ3");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "8mpt":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 11:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["React"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 119:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* unused harmony export useCallback */
|
|
||||||
/* unused harmony export useCallbackOne */
|
|
||||||
/* unused harmony export useMemo */
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMemoOne; });
|
|
||||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
|
|
||||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
|
|
||||||
|
|
||||||
function areInputsEqual(newInputs, lastInputs) {
|
|
||||||
if (newInputs.length !== lastInputs.length) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (var i = 0; i < newInputs.length; i++) {
|
|
||||||
if (newInputs[i] !== lastInputs[i]) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
function useMemoOne(getResult, inputs) {
|
|
||||||
var initial = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () {
|
|
||||||
return {
|
|
||||||
inputs: inputs,
|
|
||||||
result: getResult()
|
|
||||||
};
|
|
||||||
})[0];
|
|
||||||
var isFirstRun = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true);
|
|
||||||
var committed = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(initial);
|
|
||||||
var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs));
|
|
||||||
var cache = useCache ? committed.current : {
|
|
||||||
inputs: inputs,
|
|
||||||
result: getResult()
|
|
||||||
};
|
|
||||||
Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () {
|
|
||||||
isFirstRun.current = false;
|
|
||||||
committed.current = cache;
|
|
||||||
}, [cache]);
|
|
||||||
return cache.result;
|
|
||||||
}
|
|
||||||
function useCallbackOne(callback, inputs) {
|
|
||||||
return useMemoOne(function () {
|
|
||||||
return callback;
|
|
||||||
}, inputs);
|
|
||||||
}
|
|
||||||
var useMemo = useMemoOne;
|
|
||||||
var useCallback = useCallbackOne;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 156:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["priorityQueue"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 157:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = isPromise;
|
|
||||||
module.exports.default = isPromise;
|
|
||||||
|
|
||||||
function isPromise(obj) {
|
|
||||||
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 190:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
function combineReducers( reducers ) {
|
function combineReducers( reducers ) {
|
||||||
|
@ -246,35 +146,443 @@ module.exports = combineReducers;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "FtRg":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
|
||||||
|
function _typeof(obj) {
|
||||||
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
||||||
|
_typeof = function (obj) {
|
||||||
|
return typeof obj;
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
_typeof = function (obj) {
|
||||||
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return _typeof(obj);
|
||||||
|
}
|
||||||
|
|
||||||
|
function _classCallCheck(instance, Constructor) {
|
||||||
|
if (!(instance instanceof Constructor)) {
|
||||||
|
throw new TypeError("Cannot call a class as a function");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function _defineProperties(target, props) {
|
||||||
|
for (var i = 0; i < props.length; i++) {
|
||||||
|
var descriptor = props[i];
|
||||||
|
descriptor.enumerable = descriptor.enumerable || false;
|
||||||
|
descriptor.configurable = true;
|
||||||
|
if ("value" in descriptor) descriptor.writable = true;
|
||||||
|
Object.defineProperty(target, descriptor.key, descriptor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function _createClass(Constructor, protoProps, staticProps) {
|
||||||
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
||||||
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
||||||
|
return Constructor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Given an instance of EquivalentKeyMap, returns its internal value pair tuple
|
||||||
|
* for a key, if one exists. The tuple members consist of the last reference
|
||||||
|
* value for the key (used in efficient subsequent lookups) and the value
|
||||||
|
* assigned for the key at the leaf node.
|
||||||
|
*
|
||||||
|
* @param {EquivalentKeyMap} instance EquivalentKeyMap instance.
|
||||||
|
* @param {*} key The key for which to return value pair.
|
||||||
|
*
|
||||||
|
* @return {?Array} Value pair, if exists.
|
||||||
|
*/
|
||||||
|
function getValuePair(instance, key) {
|
||||||
|
var _map = instance._map,
|
||||||
|
_arrayTreeMap = instance._arrayTreeMap,
|
||||||
|
_objectTreeMap = instance._objectTreeMap; // Map keeps a reference to the last object-like key used to set the
|
||||||
|
// value, which can be used to shortcut immediately to the value.
|
||||||
|
|
||||||
|
if (_map.has(key)) {
|
||||||
|
return _map.get(key);
|
||||||
|
} // Sort keys to ensure stable retrieval from tree.
|
||||||
|
|
||||||
|
|
||||||
|
var properties = Object.keys(key).sort(); // Tree by type to avoid conflicts on numeric object keys, empty value.
|
||||||
|
|
||||||
|
var map = Array.isArray(key) ? _arrayTreeMap : _objectTreeMap;
|
||||||
|
|
||||||
|
for (var i = 0; i < properties.length; i++) {
|
||||||
|
var property = properties[i];
|
||||||
|
map = map.get(property);
|
||||||
|
|
||||||
|
if (map === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var propertyValue = key[property];
|
||||||
|
map = map.get(propertyValue);
|
||||||
|
|
||||||
|
if (map === undefined) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var valuePair = map.get('_ekm_value');
|
||||||
|
|
||||||
|
if (!valuePair) {
|
||||||
|
return;
|
||||||
|
} // If reached, it implies that an object-like key was set with another
|
||||||
|
// reference, so delete the reference and replace with the current.
|
||||||
|
|
||||||
|
|
||||||
|
_map.delete(valuePair[0]);
|
||||||
|
|
||||||
|
valuePair[0] = key;
|
||||||
|
map.set('_ekm_value', valuePair);
|
||||||
|
|
||||||
|
_map.set(key, valuePair);
|
||||||
|
|
||||||
|
return valuePair;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Variant of a Map object which enables lookup by equivalent (deeply equal)
|
||||||
|
* object and array keys.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
var EquivalentKeyMap =
|
||||||
|
/*#__PURE__*/
|
||||||
|
function () {
|
||||||
|
/**
|
||||||
|
* Constructs a new instance of EquivalentKeyMap.
|
||||||
|
*
|
||||||
|
* @param {Iterable.<*>} iterable Initial pair of key, value for map.
|
||||||
|
*/
|
||||||
|
function EquivalentKeyMap(iterable) {
|
||||||
|
_classCallCheck(this, EquivalentKeyMap);
|
||||||
|
|
||||||
|
this.clear();
|
||||||
|
|
||||||
|
if (iterable instanceof EquivalentKeyMap) {
|
||||||
|
// Map#forEach is only means of iterating with support for IE11.
|
||||||
|
var iterablePairs = [];
|
||||||
|
iterable.forEach(function (value, key) {
|
||||||
|
iterablePairs.push([key, value]);
|
||||||
|
});
|
||||||
|
iterable = iterablePairs;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (iterable != null) {
|
||||||
|
for (var i = 0; i < iterable.length; i++) {
|
||||||
|
this.set(iterable[i][0], iterable[i][1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Accessor property returning the number of elements.
|
||||||
|
*
|
||||||
|
* @return {number} Number of elements.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
_createClass(EquivalentKeyMap, [{
|
||||||
|
key: "set",
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add or update an element with a specified key and value.
|
||||||
|
*
|
||||||
|
* @param {*} key The key of the element to add.
|
||||||
|
* @param {*} value The value of the element to add.
|
||||||
|
*
|
||||||
|
* @return {EquivalentKeyMap} Map instance.
|
||||||
|
*/
|
||||||
|
value: function set(key, value) {
|
||||||
|
// Shortcut non-object-like to set on internal Map.
|
||||||
|
if (key === null || _typeof(key) !== 'object') {
|
||||||
|
this._map.set(key, value);
|
||||||
|
|
||||||
|
return this;
|
||||||
|
} // Sort keys to ensure stable assignment into tree.
|
||||||
|
|
||||||
|
|
||||||
|
var properties = Object.keys(key).sort();
|
||||||
|
var valuePair = [key, value]; // Tree by type to avoid conflicts on numeric object keys, empty value.
|
||||||
|
|
||||||
|
var map = Array.isArray(key) ? this._arrayTreeMap : this._objectTreeMap;
|
||||||
|
|
||||||
|
for (var i = 0; i < properties.length; i++) {
|
||||||
|
var property = properties[i];
|
||||||
|
|
||||||
|
if (!map.has(property)) {
|
||||||
|
map.set(property, new EquivalentKeyMap());
|
||||||
|
}
|
||||||
|
|
||||||
|
map = map.get(property);
|
||||||
|
var propertyValue = key[property];
|
||||||
|
|
||||||
|
if (!map.has(propertyValue)) {
|
||||||
|
map.set(propertyValue, new EquivalentKeyMap());
|
||||||
|
}
|
||||||
|
|
||||||
|
map = map.get(propertyValue);
|
||||||
|
} // If an _ekm_value exists, there was already an equivalent key. Before
|
||||||
|
// overriding, ensure that the old key reference is removed from map to
|
||||||
|
// avoid memory leak of accumulating equivalent keys. This is, in a
|
||||||
|
// sense, a poor man's WeakMap, while still enabling iterability.
|
||||||
|
|
||||||
|
|
||||||
|
var previousValuePair = map.get('_ekm_value');
|
||||||
|
|
||||||
|
if (previousValuePair) {
|
||||||
|
this._map.delete(previousValuePair[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
map.set('_ekm_value', valuePair);
|
||||||
|
|
||||||
|
this._map.set(key, valuePair);
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns a specified element.
|
||||||
|
*
|
||||||
|
* @param {*} key The key of the element to return.
|
||||||
|
*
|
||||||
|
* @return {?*} The element associated with the specified key or undefined
|
||||||
|
* if the key can't be found.
|
||||||
|
*/
|
||||||
|
|
||||||
|
}, {
|
||||||
|
key: "get",
|
||||||
|
value: function get(key) {
|
||||||
|
// Shortcut non-object-like to get from internal Map.
|
||||||
|
if (key === null || _typeof(key) !== 'object') {
|
||||||
|
return this._map.get(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
var valuePair = getValuePair(this, key);
|
||||||
|
|
||||||
|
if (valuePair) {
|
||||||
|
return valuePair[1];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns a boolean indicating whether an element with the specified key
|
||||||
|
* exists or not.
|
||||||
|
*
|
||||||
|
* @param {*} key The key of the element to test for presence.
|
||||||
|
*
|
||||||
|
* @return {boolean} Whether an element with the specified key exists.
|
||||||
|
*/
|
||||||
|
|
||||||
|
}, {
|
||||||
|
key: "has",
|
||||||
|
value: function has(key) {
|
||||||
|
if (key === null || _typeof(key) !== 'object') {
|
||||||
|
return this._map.has(key);
|
||||||
|
} // Test on the _presence_ of the pair, not its value, as even undefined
|
||||||
|
// can be a valid member value for a key.
|
||||||
|
|
||||||
|
|
||||||
|
return getValuePair(this, key) !== undefined;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Removes the specified element.
|
||||||
|
*
|
||||||
|
* @param {*} key The key of the element to remove.
|
||||||
|
*
|
||||||
|
* @return {boolean} Returns true if an element existed and has been
|
||||||
|
* removed, or false if the element does not exist.
|
||||||
|
*/
|
||||||
|
|
||||||
|
}, {
|
||||||
|
key: "delete",
|
||||||
|
value: function _delete(key) {
|
||||||
|
if (!this.has(key)) {
|
||||||
|
return false;
|
||||||
|
} // This naive implementation will leave orphaned child trees. A better
|
||||||
|
// implementation should traverse and remove orphans.
|
||||||
|
|
||||||
|
|
||||||
|
this.set(key, undefined);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Executes a provided function once per each key/value pair, in insertion
|
||||||
|
* order.
|
||||||
|
*
|
||||||
|
* @param {Function} callback Function to execute for each element.
|
||||||
|
* @param {*} thisArg Value to use as `this` when executing
|
||||||
|
* `callback`.
|
||||||
|
*/
|
||||||
|
|
||||||
|
}, {
|
||||||
|
key: "forEach",
|
||||||
|
value: function forEach(callback) {
|
||||||
|
var _this = this;
|
||||||
|
|
||||||
|
var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
|
||||||
|
|
||||||
|
this._map.forEach(function (value, key) {
|
||||||
|
// Unwrap value from object-like value pair.
|
||||||
|
if (key !== null && _typeof(key) === 'object') {
|
||||||
|
value = value[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
callback.call(thisArg, value, key, _this);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Removes all elements.
|
||||||
|
*/
|
||||||
|
|
||||||
|
}, {
|
||||||
|
key: "clear",
|
||||||
|
value: function clear() {
|
||||||
|
this._map = new Map();
|
||||||
|
this._arrayTreeMap = new Map();
|
||||||
|
this._objectTreeMap = new Map();
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: "size",
|
||||||
|
get: function get() {
|
||||||
|
return this._map.size;
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
|
||||||
|
return EquivalentKeyMap;
|
||||||
|
}();
|
||||||
|
|
||||||
|
module.exports = EquivalentKeyMap;
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 24:
|
/***/ "GRId":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "JlUD":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
module.exports = isPromise;
|
||||||
|
module.exports.default = isPromise;
|
||||||
|
|
||||||
|
function isPromise(obj) {
|
||||||
|
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "NMb1":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["deprecated"]; }());
|
(function() { module.exports = window["wp"]["deprecated"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 407:
|
/***/ "XI5e":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["priorityQueue"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "XIDh":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["reduxRoutine"]; }());
|
(function() { module.exports = window["wp"]["reduxRoutine"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 50:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 561:
|
/***/ "cDcd":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["React"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "mHlH":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* unused harmony export useCallback */
|
||||||
|
/* unused harmony export useCallbackOne */
|
||||||
|
/* unused harmony export useMemo */
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMemoOne; });
|
||||||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
|
||||||
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
|
||||||
|
|
||||||
|
function areInputsEqual(newInputs, lastInputs) {
|
||||||
|
if (newInputs.length !== lastInputs.length) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (var i = 0; i < newInputs.length; i++) {
|
||||||
|
if (newInputs[i] !== lastInputs[i]) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function useMemoOne(getResult, inputs) {
|
||||||
|
var initial = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () {
|
||||||
|
return {
|
||||||
|
inputs: inputs,
|
||||||
|
result: getResult()
|
||||||
|
};
|
||||||
|
})[0];
|
||||||
|
var isFirstRun = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true);
|
||||||
|
var committed = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(initial);
|
||||||
|
var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs));
|
||||||
|
var cache = useCache ? committed.current : {
|
||||||
|
inputs: inputs,
|
||||||
|
result: getResult()
|
||||||
|
};
|
||||||
|
Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () {
|
||||||
|
isFirstRun.current = false;
|
||||||
|
committed.current = cache;
|
||||||
|
}, [cache]);
|
||||||
|
return cache.result;
|
||||||
|
}
|
||||||
|
function useCallbackOne(callback, inputs) {
|
||||||
|
return useMemoOne(function () {
|
||||||
|
return callback;
|
||||||
|
}, inputs);
|
||||||
|
}
|
||||||
|
var useMemo = useMemoOne;
|
||||||
|
var useCallback = useCallbackOne;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "pfJ3":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -334,11 +642,11 @@ __webpack_require__.d(plugins_namespaceObject, "controls", function() { return p
|
||||||
__webpack_require__.d(plugins_namespaceObject, "persistence", function() { return plugins_persistence; });
|
__webpack_require__.d(plugins_namespaceObject, "persistence", function() { return plugins_persistence; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/turbo-combine-reducers/index.js
|
// EXTERNAL MODULE: ./node_modules/turbo-combine-reducers/index.js
|
||||||
var turbo_combine_reducers = __webpack_require__(190);
|
var turbo_combine_reducers = __webpack_require__("8mpt");
|
||||||
var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers);
|
var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||||
function _defineProperty(obj, key, value) {
|
function _defineProperty(obj, key, value) {
|
||||||
|
@ -1017,11 +1325,11 @@ if (false) {}
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||||
var equivalent_key_map = __webpack_require__(87);
|
var equivalent_key_map = __webpack_require__("FtRg");
|
||||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","reduxRoutine"]
|
// EXTERNAL MODULE: external ["wp","reduxRoutine"]
|
||||||
var external_wp_reduxRoutine_ = __webpack_require__(407);
|
var external_wp_reduxRoutine_ = __webpack_require__("XIDh");
|
||||||
var external_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_wp_reduxRoutine_);
|
var external_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_wp_reduxRoutine_);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/factory.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/factory.js
|
||||||
|
@ -1237,7 +1545,7 @@ const builtinControls = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/is-promise/index.js
|
// EXTERNAL MODULE: ./node_modules/is-promise/index.js
|
||||||
var is_promise = __webpack_require__(157);
|
var is_promise = __webpack_require__("JlUD");
|
||||||
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
||||||
|
@ -2364,7 +2672,7 @@ function createRegistry(storeConfigs = {}, parent = null) {
|
||||||
/* harmony default export */ var default_registry = (createRegistry());
|
/* harmony default export */ var default_registry = (createRegistry());
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","deprecated"]
|
// EXTERNAL MODULE: external ["wp","deprecated"]
|
||||||
var external_wp_deprecated_ = __webpack_require__(24);
|
var external_wp_deprecated_ = __webpack_require__("NMb1");
|
||||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
|
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/controls/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/controls/index.js
|
||||||
|
@ -2709,22 +3017,22 @@ persistencePlugin.__unstableMigrate = pluginOptions => {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||||
var esm_extends = __webpack_require__(7);
|
var esm_extends = __webpack_require__("wx14");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
|
// EXTERNAL MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
|
||||||
var use_memo_one_esm = __webpack_require__(119);
|
var use_memo_one_esm = __webpack_require__("mHlH");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","priorityQueue"]
|
// EXTERNAL MODULE: external ["wp","priorityQueue"]
|
||||||
var external_wp_priorityQueue_ = __webpack_require__(156);
|
var external_wp_priorityQueue_ = __webpack_require__("XI5e");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","isShallowEqual"]
|
// EXTERNAL MODULE: external ["wp","isShallowEqual"]
|
||||||
var external_wp_isShallowEqual_ = __webpack_require__(50);
|
var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
|
||||||
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
|
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
|
||||||
|
@ -3626,7 +3934,14 @@ const build_module_register = default_registry.register;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7:
|
/***/ "rl8x":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "wx14":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -3649,321 +3964,6 @@ function _extends() {
|
||||||
return _extends.apply(this, arguments);
|
return _extends.apply(this, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 87:
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
|
|
||||||
function _typeof(obj) {
|
|
||||||
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
||||||
_typeof = function (obj) {
|
|
||||||
return typeof obj;
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
_typeof = function (obj) {
|
|
||||||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
return _typeof(obj);
|
|
||||||
}
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) {
|
|
||||||
if (!(instance instanceof Constructor)) {
|
|
||||||
throw new TypeError("Cannot call a class as a function");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function _defineProperties(target, props) {
|
|
||||||
for (var i = 0; i < props.length; i++) {
|
|
||||||
var descriptor = props[i];
|
|
||||||
descriptor.enumerable = descriptor.enumerable || false;
|
|
||||||
descriptor.configurable = true;
|
|
||||||
if ("value" in descriptor) descriptor.writable = true;
|
|
||||||
Object.defineProperty(target, descriptor.key, descriptor);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) {
|
|
||||||
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
||||||
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
||||||
return Constructor;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Given an instance of EquivalentKeyMap, returns its internal value pair tuple
|
|
||||||
* for a key, if one exists. The tuple members consist of the last reference
|
|
||||||
* value for the key (used in efficient subsequent lookups) and the value
|
|
||||||
* assigned for the key at the leaf node.
|
|
||||||
*
|
|
||||||
* @param {EquivalentKeyMap} instance EquivalentKeyMap instance.
|
|
||||||
* @param {*} key The key for which to return value pair.
|
|
||||||
*
|
|
||||||
* @return {?Array} Value pair, if exists.
|
|
||||||
*/
|
|
||||||
function getValuePair(instance, key) {
|
|
||||||
var _map = instance._map,
|
|
||||||
_arrayTreeMap = instance._arrayTreeMap,
|
|
||||||
_objectTreeMap = instance._objectTreeMap; // Map keeps a reference to the last object-like key used to set the
|
|
||||||
// value, which can be used to shortcut immediately to the value.
|
|
||||||
|
|
||||||
if (_map.has(key)) {
|
|
||||||
return _map.get(key);
|
|
||||||
} // Sort keys to ensure stable retrieval from tree.
|
|
||||||
|
|
||||||
|
|
||||||
var properties = Object.keys(key).sort(); // Tree by type to avoid conflicts on numeric object keys, empty value.
|
|
||||||
|
|
||||||
var map = Array.isArray(key) ? _arrayTreeMap : _objectTreeMap;
|
|
||||||
|
|
||||||
for (var i = 0; i < properties.length; i++) {
|
|
||||||
var property = properties[i];
|
|
||||||
map = map.get(property);
|
|
||||||
|
|
||||||
if (map === undefined) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var propertyValue = key[property];
|
|
||||||
map = map.get(propertyValue);
|
|
||||||
|
|
||||||
if (map === undefined) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var valuePair = map.get('_ekm_value');
|
|
||||||
|
|
||||||
if (!valuePair) {
|
|
||||||
return;
|
|
||||||
} // If reached, it implies that an object-like key was set with another
|
|
||||||
// reference, so delete the reference and replace with the current.
|
|
||||||
|
|
||||||
|
|
||||||
_map.delete(valuePair[0]);
|
|
||||||
|
|
||||||
valuePair[0] = key;
|
|
||||||
map.set('_ekm_value', valuePair);
|
|
||||||
|
|
||||||
_map.set(key, valuePair);
|
|
||||||
|
|
||||||
return valuePair;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Variant of a Map object which enables lookup by equivalent (deeply equal)
|
|
||||||
* object and array keys.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
var EquivalentKeyMap =
|
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
/**
|
|
||||||
* Constructs a new instance of EquivalentKeyMap.
|
|
||||||
*
|
|
||||||
* @param {Iterable.<*>} iterable Initial pair of key, value for map.
|
|
||||||
*/
|
|
||||||
function EquivalentKeyMap(iterable) {
|
|
||||||
_classCallCheck(this, EquivalentKeyMap);
|
|
||||||
|
|
||||||
this.clear();
|
|
||||||
|
|
||||||
if (iterable instanceof EquivalentKeyMap) {
|
|
||||||
// Map#forEach is only means of iterating with support for IE11.
|
|
||||||
var iterablePairs = [];
|
|
||||||
iterable.forEach(function (value, key) {
|
|
||||||
iterablePairs.push([key, value]);
|
|
||||||
});
|
|
||||||
iterable = iterablePairs;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (iterable != null) {
|
|
||||||
for (var i = 0; i < iterable.length; i++) {
|
|
||||||
this.set(iterable[i][0], iterable[i][1]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Accessor property returning the number of elements.
|
|
||||||
*
|
|
||||||
* @return {number} Number of elements.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
_createClass(EquivalentKeyMap, [{
|
|
||||||
key: "set",
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add or update an element with a specified key and value.
|
|
||||||
*
|
|
||||||
* @param {*} key The key of the element to add.
|
|
||||||
* @param {*} value The value of the element to add.
|
|
||||||
*
|
|
||||||
* @return {EquivalentKeyMap} Map instance.
|
|
||||||
*/
|
|
||||||
value: function set(key, value) {
|
|
||||||
// Shortcut non-object-like to set on internal Map.
|
|
||||||
if (key === null || _typeof(key) !== 'object') {
|
|
||||||
this._map.set(key, value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
} // Sort keys to ensure stable assignment into tree.
|
|
||||||
|
|
||||||
|
|
||||||
var properties = Object.keys(key).sort();
|
|
||||||
var valuePair = [key, value]; // Tree by type to avoid conflicts on numeric object keys, empty value.
|
|
||||||
|
|
||||||
var map = Array.isArray(key) ? this._arrayTreeMap : this._objectTreeMap;
|
|
||||||
|
|
||||||
for (var i = 0; i < properties.length; i++) {
|
|
||||||
var property = properties[i];
|
|
||||||
|
|
||||||
if (!map.has(property)) {
|
|
||||||
map.set(property, new EquivalentKeyMap());
|
|
||||||
}
|
|
||||||
|
|
||||||
map = map.get(property);
|
|
||||||
var propertyValue = key[property];
|
|
||||||
|
|
||||||
if (!map.has(propertyValue)) {
|
|
||||||
map.set(propertyValue, new EquivalentKeyMap());
|
|
||||||
}
|
|
||||||
|
|
||||||
map = map.get(propertyValue);
|
|
||||||
} // If an _ekm_value exists, there was already an equivalent key. Before
|
|
||||||
// overriding, ensure that the old key reference is removed from map to
|
|
||||||
// avoid memory leak of accumulating equivalent keys. This is, in a
|
|
||||||
// sense, a poor man's WeakMap, while still enabling iterability.
|
|
||||||
|
|
||||||
|
|
||||||
var previousValuePair = map.get('_ekm_value');
|
|
||||||
|
|
||||||
if (previousValuePair) {
|
|
||||||
this._map.delete(previousValuePair[0]);
|
|
||||||
}
|
|
||||||
|
|
||||||
map.set('_ekm_value', valuePair);
|
|
||||||
|
|
||||||
this._map.set(key, valuePair);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns a specified element.
|
|
||||||
*
|
|
||||||
* @param {*} key The key of the element to return.
|
|
||||||
*
|
|
||||||
* @return {?*} The element associated with the specified key or undefined
|
|
||||||
* if the key can't be found.
|
|
||||||
*/
|
|
||||||
|
|
||||||
}, {
|
|
||||||
key: "get",
|
|
||||||
value: function get(key) {
|
|
||||||
// Shortcut non-object-like to get from internal Map.
|
|
||||||
if (key === null || _typeof(key) !== 'object') {
|
|
||||||
return this._map.get(key);
|
|
||||||
}
|
|
||||||
|
|
||||||
var valuePair = getValuePair(this, key);
|
|
||||||
|
|
||||||
if (valuePair) {
|
|
||||||
return valuePair[1];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns a boolean indicating whether an element with the specified key
|
|
||||||
* exists or not.
|
|
||||||
*
|
|
||||||
* @param {*} key The key of the element to test for presence.
|
|
||||||
*
|
|
||||||
* @return {boolean} Whether an element with the specified key exists.
|
|
||||||
*/
|
|
||||||
|
|
||||||
}, {
|
|
||||||
key: "has",
|
|
||||||
value: function has(key) {
|
|
||||||
if (key === null || _typeof(key) !== 'object') {
|
|
||||||
return this._map.has(key);
|
|
||||||
} // Test on the _presence_ of the pair, not its value, as even undefined
|
|
||||||
// can be a valid member value for a key.
|
|
||||||
|
|
||||||
|
|
||||||
return getValuePair(this, key) !== undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Removes the specified element.
|
|
||||||
*
|
|
||||||
* @param {*} key The key of the element to remove.
|
|
||||||
*
|
|
||||||
* @return {boolean} Returns true if an element existed and has been
|
|
||||||
* removed, or false if the element does not exist.
|
|
||||||
*/
|
|
||||||
|
|
||||||
}, {
|
|
||||||
key: "delete",
|
|
||||||
value: function _delete(key) {
|
|
||||||
if (!this.has(key)) {
|
|
||||||
return false;
|
|
||||||
} // This naive implementation will leave orphaned child trees. A better
|
|
||||||
// implementation should traverse and remove orphans.
|
|
||||||
|
|
||||||
|
|
||||||
this.set(key, undefined);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Executes a provided function once per each key/value pair, in insertion
|
|
||||||
* order.
|
|
||||||
*
|
|
||||||
* @param {Function} callback Function to execute for each element.
|
|
||||||
* @param {*} thisArg Value to use as `this` when executing
|
|
||||||
* `callback`.
|
|
||||||
*/
|
|
||||||
|
|
||||||
}, {
|
|
||||||
key: "forEach",
|
|
||||||
value: function forEach(callback) {
|
|
||||||
var _this = this;
|
|
||||||
|
|
||||||
var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
|
|
||||||
|
|
||||||
this._map.forEach(function (value, key) {
|
|
||||||
// Unwrap value from object-like value pair.
|
|
||||||
if (key !== null && _typeof(key) === 'object') {
|
|
||||||
value = value[1];
|
|
||||||
}
|
|
||||||
|
|
||||||
callback.call(thisArg, value, key, _this);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Removes all elements.
|
|
||||||
*/
|
|
||||||
|
|
||||||
}, {
|
|
||||||
key: "clear",
|
|
||||||
value: function clear() {
|
|
||||||
this._map = new Map();
|
|
||||||
this._arrayTreeMap = new Map();
|
|
||||||
this._objectTreeMap = new Map();
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "size",
|
|
||||||
get: function get() {
|
|
||||||
return this._map.size;
|
|
||||||
}
|
|
||||||
}]);
|
|
||||||
|
|
||||||
return EquivalentKeyMap;
|
|
||||||
}();
|
|
||||||
|
|
||||||
module.exports = EquivalentKeyMap;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -82,26 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 542);
|
/******/ return __webpack_require__(__webpack_require__.s = "+BeG");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 21:
|
/***/ "+BeG":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 542:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; });
|
||||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21);
|
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("g56x");
|
||||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
|
@ -186,6 +179,13 @@ function deprecated(feature, options = {}) {
|
||||||
/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */
|
/** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "g56x":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ })["default"];
|
/******/ })["default"];
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=542)}({21:function(e,t){e.exports=window.wp.hooks},542:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return i}));var r=n(21);const o=Object.create(null);function i(e,t={}){const{since:n,version:i,alternative:u,plugin:c,link:l,hint:f}=t,a=`${e} is deprecated${n?" since version "+n:""}${i?` and will be removed${c?" from "+c:""} in version ${i}`:""}.${u?` Please use ${u} instead.`:""}${l?" See: "+l:""}${f?" Note: "+f:""}`;a in o||(Object(r.doAction)("deprecated",e,t,a),console.warn(a),o[a]=!0)}}}).default;
|
this.wp=this.wp||{},this.wp.deprecated=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="./node_modules/@wordpress/deprecated/build-module/index.js")}({"./node_modules/@wordpress/deprecated/build-module/index.js":function(e,n,t){"use strict";t.r(n),t.d(n,"logged",(function(){return o})),t.d(n,"default",(function(){return i}));var r=t("@wordpress/hooks");const o=Object.create(null);function i(e,n={}){const{since:t,version:i,alternative:u,plugin:d,link:s,hint:l}=n,c=`${e} is deprecated${t?" since version "+t:""}${i?` and will be removed${d?" from "+d:""} in version ${i}`:""}.${u?` Please use ${u} instead.`:""}${s?" See: "+s:""}${l?" Note: "+l:""}`;c in o||(Object(r.doAction)("deprecated",e,n,c),console.warn(c),o[c]=!0)}},"@wordpress/hooks":function(e,n){e.exports=window.wp.hooks}}).default;
|
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["domReady"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 543);
|
/******/ return __webpack_require__(__webpack_require__.s = "2oG7");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 543:
|
/***/ "2oG7":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=543)}({543:function(e,t,n){"use strict";function r(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}n.r(t),n.d(t,"default",(function(){return r}))}}).default;
|
this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/dom-ready/build-module/index.js")}({"./node_modules/@wordpress/dom-ready/build-module/index.js":function(e,t,n){"use strict";function r(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}n.r(t),n.d(t,"default",(function(){return r}))}}).default;
|
|
@ -82,19 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["dom"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 559);
|
/******/ return __webpack_require__(__webpack_require__.s = "2sUP");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "2sUP":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 559:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -250,7 +243,7 @@ function find(context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js
|
||||||
/**
|
/**
|
||||||
|
@ -1997,6 +1990,13 @@ const build_module_focus = {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,33 +82,40 @@ this["wp"] = this["wp"] || {}; this["wp"]["element"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 572);
|
/******/ return __webpack_require__(__webpack_require__.s = "o/Ny");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 11:
|
/***/ "Vx3V":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["React"]; }());
|
(function() { module.exports = window["wp"]["escapeHtml"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 149:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["ReactDOM"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 572:
|
/***/ "cDcd":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["React"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "faye":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["ReactDOM"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "o/Ny":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -152,7 +159,7 @@ __webpack_require__.d(__webpack_exports__, "renderToString", function() { return
|
||||||
__webpack_require__.d(__webpack_exports__, "RawHTML", function() { return /* reexport */ RawHTML; });
|
__webpack_require__.d(__webpack_exports__, "RawHTML", function() { return /* reexport */ RawHTML; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "React"
|
// EXTERNAL MODULE: external "React"
|
||||||
var external_React_ = __webpack_require__(11);
|
var external_React_ = __webpack_require__("cDcd");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/create-interpolate-element.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/create-interpolate-element.js
|
||||||
/**
|
/**
|
||||||
|
@ -489,7 +496,7 @@ function closeOuterElement(endOffset) {
|
||||||
/* harmony default export */ var create_interpolate_element = (createInterpolateElement);
|
/* harmony default export */ var create_interpolate_element = (createInterpolateElement);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react.js
|
||||||
/**
|
/**
|
||||||
|
@ -716,7 +723,7 @@ function switchChildrenNodeName(children, nodeName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "ReactDOM"
|
// EXTERNAL MODULE: external "ReactDOM"
|
||||||
var external_ReactDOM_ = __webpack_require__(149);
|
var external_ReactDOM_ = __webpack_require__("faye");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js
|
||||||
/**
|
/**
|
||||||
|
@ -817,7 +824,7 @@ const Platform = {
|
||||||
/* harmony default export */ var platform = (Platform);
|
/* harmony default export */ var platform = (Platform);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","escapeHtml"]
|
// EXTERNAL MODULE: external ["wp","escapeHtml"]
|
||||||
var external_wp_escapeHtml_ = __webpack_require__(95);
|
var external_wp_escapeHtml_ = __webpack_require__("Vx3V");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
|
||||||
/**
|
/**
|
||||||
|
@ -1358,13 +1365,6 @@ function renderStyle(style) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 95:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["escapeHtml"]; }());
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["escapeHtml"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 584);
|
/******/ return __webpack_require__(__webpack_require__.s = "IsfW");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 584:
|
/***/ "IsfW":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=584)}({584:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return a})),n.d(t,"escapeEditableHTML",(function(){return f})),n.d(t,"isValidAttributeName",(function(){return p}));const r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(/</g,"<")}function c(e){return function(e){return e.replace(/>/g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function p(e){return!r.test(e)}}});
|
this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/escape-html/build-module/index.js")}({"./node_modules/@wordpress/escape-html/build-module/index.js":function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return a})),n.d(t,"escapeEditableHTML",(function(){return f})),n.d(t,"isValidAttributeName",(function(){return l}));const r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(/</g,"<")}function c(e){return function(e){return e.replace(/>/g,">")}(o(u(e)))}function a(e){return i(u(e))}function f(e){return i(e.replace(/&/g,"&"))}function l(e){return!r.test(e)}}});
|
|
@ -82,164 +82,18 @@ this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 565);
|
/******/ return __webpack_require__(__webpack_require__.s = "t1DA");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "1Yn1":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 1:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 123:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (link);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 14:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["richText"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 141:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "-2 -2 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 144:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (linkOff);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 163:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (formatStrikethrough);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 175:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
viewBox: "0 0 24 24",
|
|
||||||
xmlns: "http://www.w3.org/2000/svg"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (button);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 176:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -258,13 +112,20 @@ const code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEleme
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 184:
|
/***/ "1ZqX":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Bpkj":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -272,52 +133,24 @@ const code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEleme
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
viewBox: "0 0 24 24"
|
viewBox: "0 0 24 24"
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
d: "M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"
|
d: "M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"
|
||||||
}));
|
}));
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (textColor);
|
/* harmony default export */ __webpack_exports__["a"] = (link);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "Crq9":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 20:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["url"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 3:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["primitives"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 30:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["a11y"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 320:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -325,74 +158,24 @@ const textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const formatBold = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
const formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
viewBox: "0 0 24 24"
|
viewBox: "0 0 24 24"
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
d: "M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"
|
d: "M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"
|
||||||
}));
|
}));
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (formatBold);
|
/* harmony default export */ __webpack_exports__["a"] = (formatStrikethrough);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 321:
|
/***/ "EgtK":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const formatItalic = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M12.5 5L10 19h1.9l2.5-14z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (formatItalic);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 324:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
const subscript = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (subscript);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 325:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -411,28 +194,259 @@ const superscript = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["crea
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 4:
|
/***/ "GRId":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["components"]; }());
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 41:
|
/***/ "Mmq9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["url"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Mp0b":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (linkOff);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "S1+T":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const subscript = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (subscript);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Tqx9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["primitives"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Wdov":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const formatItalic = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M12.5 5L10 19h1.9l2.5-14z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (formatItalic);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "axFQ":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["blockEditor"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "btIw":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "-2 -2 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "gdqT":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["a11y"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "iClF":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return an SVG icon.
|
||||||
|
*
|
||||||
|
* @param {IconProps} props icon is the SVG component to render
|
||||||
|
* size is a number specifiying the icon size in pixels
|
||||||
|
* Other props will be passed to wrapped SVG component
|
||||||
|
*
|
||||||
|
* @return {JSX.Element} Icon component
|
||||||
|
*/
|
||||||
|
|
||||||
|
function Icon({
|
||||||
|
icon,
|
||||||
|
size = 24,
|
||||||
|
...props
|
||||||
|
}) {
|
||||||
|
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
|
||||||
|
width: size,
|
||||||
|
height: size,
|
||||||
|
...props
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (Icon);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "oMoS":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
viewBox: "0 0 24 24",
|
||||||
|
xmlns: "http://www.w3.org/2000/svg"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (button);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "qRz9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["richText"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "rmEH":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
(function() { module.exports = window["wp"]["htmlEntities"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 5:
|
/***/ "sMMC":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
const formatBold = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
|
viewBox: "0 0 24 24"
|
||||||
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
|
d: "M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"
|
||||||
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (formatBold);
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 565:
|
/***/ "t1DA":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -440,19 +454,19 @@ const superscript = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["crea
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","richText"]
|
// EXTERNAL MODULE: external ["wp","richText"]
|
||||||
var external_wp_richText_ = __webpack_require__(14);
|
var external_wp_richText_ = __webpack_require__("qRz9");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blockEditor"]
|
// EXTERNAL MODULE: external ["wp","blockEditor"]
|
||||||
var external_wp_blockEditor_ = __webpack_require__(6);
|
var external_wp_blockEditor_ = __webpack_require__("axFQ");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js
|
||||||
var format_bold = __webpack_require__(320);
|
var format_bold = __webpack_require__("sMMC");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
|
||||||
|
|
||||||
|
@ -512,7 +526,7 @@ const bold = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
|
||||||
var code = __webpack_require__(176);
|
var code = __webpack_require__("1Yn1");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
|
||||||
|
|
||||||
|
@ -592,10 +606,10 @@ const code_code = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","components"]
|
// EXTERNAL MODULE: external ["wp","components"]
|
||||||
var external_wp_components_ = __webpack_require__(4);
|
var external_wp_components_ = __webpack_require__("tI+e");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
|
||||||
var keyboard_return = __webpack_require__(141);
|
var keyboard_return = __webpack_require__("btIw");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
|
||||||
|
|
||||||
|
@ -743,7 +757,7 @@ function Edit({
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js
|
||||||
var format_italic = __webpack_require__(321);
|
var format_italic = __webpack_require__("Wdov");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js
|
||||||
|
|
||||||
|
@ -803,22 +817,22 @@ const italic = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","url"]
|
// EXTERNAL MODULE: external ["wp","url"]
|
||||||
var external_wp_url_ = __webpack_require__(20);
|
var external_wp_url_ = __webpack_require__("Mmq9");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
// EXTERNAL MODULE: external ["wp","htmlEntities"]
|
||||||
var external_wp_htmlEntities_ = __webpack_require__(41);
|
var external_wp_htmlEntities_ = __webpack_require__("rmEH");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
|
||||||
var link_off = __webpack_require__(144);
|
var link_off = __webpack_require__("Mp0b");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
|
||||||
var library_link = __webpack_require__(123);
|
var library_link = __webpack_require__("Bpkj");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","a11y"]
|
// EXTERNAL MODULE: external ["wp","a11y"]
|
||||||
var external_wp_a11y_ = __webpack_require__(30);
|
var external_wp_a11y_ = __webpack_require__("gdqT");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
|
||||||
/**
|
/**
|
||||||
|
@ -1195,7 +1209,7 @@ const link_link = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
|
||||||
var format_strikethrough = __webpack_require__(163);
|
var format_strikethrough = __webpack_require__("Crq9");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
|
||||||
|
|
||||||
|
@ -1285,13 +1299,13 @@ const underline = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||||
var icon = __webpack_require__(97);
|
var icon = __webpack_require__("iClF");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
|
||||||
var text_color = __webpack_require__(184);
|
var text_color = __webpack_require__("uGfJ");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js
|
||||||
|
|
||||||
|
@ -1486,7 +1500,7 @@ const textColor = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/subscript.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/subscript.js
|
||||||
var subscript = __webpack_require__(324);
|
var subscript = __webpack_require__("S1+T");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js
|
||||||
|
|
||||||
|
@ -1536,7 +1550,7 @@ const subscript_subscript = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js
|
||||||
var superscript = __webpack_require__(325);
|
var superscript = __webpack_require__("EgtK");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js
|
||||||
|
|
||||||
|
@ -1586,7 +1600,7 @@ const superscript_superscript = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
|
||||||
var library_button = __webpack_require__(175);
|
var library_button = __webpack_require__("oMoS");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js
|
||||||
|
|
||||||
|
@ -1670,48 +1684,34 @@ default_formats.forEach(({
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 6:
|
/***/ "tI+e":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blockEditor"]; }());
|
(function() { module.exports = window["wp"]["components"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 97:
|
/***/ "uGfJ":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
|
const textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
/**
|
viewBox: "0 0 24 24"
|
||||||
* Return an SVG icon.
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
*
|
d: "M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"
|
||||||
* @param {IconProps} props icon is the SVG component to render
|
}));
|
||||||
* size is a number specifiying the icon size in pixels
|
/* harmony default export */ __webpack_exports__["a"] = (textColor);
|
||||||
* Other props will be passed to wrapped SVG component
|
|
||||||
*
|
|
||||||
* @return {JSX.Element} Icon component
|
|
||||||
*/
|
|
||||||
|
|
||||||
function Icon({
|
|
||||||
icon,
|
|
||||||
size = 24,
|
|
||||||
...props
|
|
||||||
}) {
|
|
||||||
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
|
|
||||||
width: size,
|
|
||||||
height: size,
|
|
||||||
...props
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (Icon);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["hooks"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 566);
|
/******/ return __webpack_require__(__webpack_require__.s = "gEOj");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 566:
|
/***/ "gEOj":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["htmlEntities"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 544);
|
/******/ return __webpack_require__(__webpack_require__.s = "1FHn");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 544:
|
/***/ "1FHn":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=544)}({544:function(e,t,n){"use strict";let r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",(function(){return o}))}});
|
this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/html-entities/build-module/index.js")}({"./node_modules/@wordpress/html-entities/build-module/index.js":function(e,t,n){"use strict";let r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",(function(){return o}))}});
|
|
@ -82,19 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["i18n"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 571);
|
/******/ return __webpack_require__(__webpack_require__.s = "Vhyj");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 21:
|
/***/ "4Z/T":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 409:
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
||||||
|
@ -333,7 +326,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 42:
|
/***/ "4eJC":
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -501,7 +494,7 @@ module.exports = memize;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 571:
|
/***/ "Vhyj":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -524,11 +517,11 @@ __webpack_require__.d(__webpack_exports__, "isRTL", function() { return /* reexp
|
||||||
__webpack_require__.d(__webpack_exports__, "hasTranslation", function() { return /* reexport */ default_i18n_hasTranslation; });
|
__webpack_require__.d(__webpack_exports__, "hasTranslation", function() { return /* reexport */ default_i18n_hasTranslation; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
||||||
var memize = __webpack_require__(42);
|
var memize = __webpack_require__("4eJC");
|
||||||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js
|
// EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js
|
||||||
var sprintf = __webpack_require__(409);
|
var sprintf = __webpack_require__("4Z/T");
|
||||||
var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
|
var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/sprintf.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/sprintf.js
|
||||||
|
@ -1516,7 +1509,7 @@ const createI18n = (initialData, initialDomain, hooks) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||||
var external_wp_hooks_ = __webpack_require__(21);
|
var external_wp_hooks_ = __webpack_require__("g56x");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/default-i18n.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/default-i18n.js
|
||||||
/**
|
/**
|
||||||
|
@ -1672,6 +1665,13 @@ const default_i18n_hasTranslation = i18n.hasTranslation.bind(i18n);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "g56x":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 583);
|
/******/ return __webpack_require__(__webpack_require__.s = "waYt");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 583:
|
/***/ "waYt":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.isShallowEqual=function(r){var t={};function e(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return r[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=r,e.c=t,e.d=function(r,t,n){e.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:n})},e.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,t){if(1&t&&(r=e(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var u in r)e.d(n,u,function(t){return r[t]}.bind(null,u));return n},e.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,"a",t),t},e.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},e.p="",e(e.s=583)}({583:function(r,t,e){"use strict";function n(r,t){if(r===t)return!0;const e=Object.keys(r),n=Object.keys(t);if(e.length!==n.length)return!1;let u=0;for(;u<e.length;){const n=e[u],o=r[n];if(void 0===o&&!t.hasOwnProperty(n)||o!==t[n])return!1;u++}return!0}function u(r,t){if(r===t)return!0;if(r.length!==t.length)return!1;for(let e=0,n=r.length;e<n;e++)if(r[e]!==t[e])return!1;return!0}function o(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return n(r,t);if(Array.isArray(r)&&Array.isArray(t))return u(r,t)}return r===t}e.r(t),e.d(t,"isShallowEqualObjects",(function(){return n})),e.d(t,"isShallowEqualArrays",(function(){return u})),e.d(t,"default",(function(){return o}))}});
|
this.wp=this.wp||{},this.wp.isShallowEqual=function(e){var r={};function t(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var u in e)t.d(n,u,function(r){return e[r]}.bind(null,u));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s="./node_modules/@wordpress/is-shallow-equal/build-module/index.js")}({"./node_modules/@wordpress/is-shallow-equal/build-module/index.js":function(e,r,t){"use strict";function n(e,r){if(e===r)return!0;const t=Object.keys(e),n=Object.keys(r);if(t.length!==n.length)return!1;let u=0;for(;u<t.length;){const n=t[u],o=e[n];if(void 0===o&&!r.hasOwnProperty(n)||o!==r[n])return!1;u++}return!0}function u(e,r){if(e===r)return!0;if(e.length!==r.length)return!1;for(let t=0,n=e.length;t<n;t++)if(e[t]!==r[t])return!1;return!0}function o(e,r){if(e&&r){if(e.constructor===Object&&r.constructor===Object)return n(e,r);if(Array.isArray(e)&&Array.isArray(r))return u(e,r)}return e===r}t.r(r),t.d(r,"isShallowEqualObjects",(function(){return n})),t.d(r,"isShallowEqualArrays",(function(){return u})),t.d(r,"default",(function(){return o}))}});
|
|
@ -82,33 +82,372 @@ this["wp"] = this["wp"] || {}; this["wp"]["keyboardShortcuts"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 575);
|
/******/ return __webpack_require__(__webpack_require__.s = "cFS5");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 10:
|
/***/ "1ZqX":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "K9lf":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 12:
|
/***/ "RxS6":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["keycodes"]; }());
|
(function() { module.exports = window["wp"]["keycodes"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 26:
|
/***/ "cFS5":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
// ESM COMPAT FLAG
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
|
// EXPORTS
|
||||||
|
__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
|
||||||
|
__webpack_require__.d(__webpack_exports__, "useShortcut", function() { return /* reexport */ use_shortcut; });
|
||||||
|
|
||||||
|
// NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
|
||||||
|
var actions_namespaceObject = {};
|
||||||
|
__webpack_require__.r(actions_namespaceObject);
|
||||||
|
__webpack_require__.d(actions_namespaceObject, "registerShortcut", function() { return registerShortcut; });
|
||||||
|
__webpack_require__.d(actions_namespaceObject, "unregisterShortcut", function() { return unregisterShortcut; });
|
||||||
|
|
||||||
|
// NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
|
||||||
|
var selectors_namespaceObject = {};
|
||||||
|
__webpack_require__.r(selectors_namespaceObject);
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getShortcutKeyCombination", function() { return getShortcutKeyCombination; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getShortcutRepresentation", function() { return getShortcutRepresentation; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getShortcutDescription", function() { return getShortcutDescription; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getShortcutAliases", function() { return getShortcutAliases; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getAllShortcutRawKeyCombinations", function() { return getAllShortcutRawKeyCombinations; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getCategoryShortcuts", function() { return getCategoryShortcuts; });
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external "lodash"
|
||||||
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js
|
||||||
|
/**
|
||||||
|
* External dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reducer returning the registered shortcuts
|
||||||
|
*
|
||||||
|
* @param {Object} state Current state.
|
||||||
|
* @param {Object} action Dispatched action.
|
||||||
|
*
|
||||||
|
* @return {Object} Updated state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function reducer(state = {}, action) {
|
||||||
|
switch (action.type) {
|
||||||
|
case 'REGISTER_SHORTCUT':
|
||||||
|
return { ...state,
|
||||||
|
[action.name]: {
|
||||||
|
category: action.category,
|
||||||
|
keyCombination: action.keyCombination,
|
||||||
|
aliases: action.aliases,
|
||||||
|
description: action.description
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
case 'UNREGISTER_SHORTCUT':
|
||||||
|
return Object(external_lodash_["omit"])(state, action.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var store_reducer = (reducer);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
|
||||||
|
/** @typedef {import('@wordpress/keycodes').WPKeycodeModifier} WPKeycodeModifier */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Keyboard key combination.
|
||||||
|
*
|
||||||
|
* @typedef {Object} WPShortcutKeyCombination
|
||||||
|
*
|
||||||
|
* @property {string} character Character.
|
||||||
|
* @property {WPKeycodeModifier|undefined} modifier Modifier.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Configuration of a registered keyboard shortcut.
|
||||||
|
*
|
||||||
|
* @typedef {Object} WPShortcutConfig
|
||||||
|
*
|
||||||
|
* @property {string} name Shortcut name.
|
||||||
|
* @property {string} category Shortcut category.
|
||||||
|
* @property {string} description Shortcut description.
|
||||||
|
* @property {WPShortcutKeyCombination} keyCombination Shortcut key combination.
|
||||||
|
* @property {WPShortcutKeyCombination[]} [aliases] Shortcut aliases.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an action object used to register a new keyboard shortcut.
|
||||||
|
*
|
||||||
|
* @param {WPShortcutConfig} config Shortcut config.
|
||||||
|
*
|
||||||
|
* @return {Object} action.
|
||||||
|
*/
|
||||||
|
function registerShortcut({
|
||||||
|
name,
|
||||||
|
category,
|
||||||
|
description,
|
||||||
|
keyCombination,
|
||||||
|
aliases
|
||||||
|
}) {
|
||||||
|
return {
|
||||||
|
type: 'REGISTER_SHORTCUT',
|
||||||
|
name,
|
||||||
|
category,
|
||||||
|
keyCombination,
|
||||||
|
aliases,
|
||||||
|
description
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns an action object used to unregister a keyboard shortcut.
|
||||||
|
*
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
*
|
||||||
|
* @return {Object} action.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function unregisterShortcut(name) {
|
||||||
|
return {
|
||||||
|
type: 'UNREGISTER_SHORTCUT',
|
||||||
|
name
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||||
|
var rememo = __webpack_require__("pPDe");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","keycodes"]
|
||||||
|
var external_wp_keycodes_ = __webpack_require__("RxS6");
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
|
||||||
|
/**
|
||||||
|
* External dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/** @typedef {import('./actions').WPShortcutKeyCombination} WPShortcutKeyCombination */
|
||||||
|
|
||||||
|
/** @typedef {import('@wordpress/keycodes').WPKeycodeHandlerByModifier} WPKeycodeHandlerByModifier */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shared reference to an empty array for cases where it is important to avoid
|
||||||
|
* returning a new array reference on every invocation.
|
||||||
|
*
|
||||||
|
* @type {Array<any>}
|
||||||
|
*/
|
||||||
|
|
||||||
|
const EMPTY_ARRAY = [];
|
||||||
|
/**
|
||||||
|
* Shortcut formatting methods.
|
||||||
|
*
|
||||||
|
* @property {WPKeycodeHandlerByModifier} display Display formatting.
|
||||||
|
* @property {WPKeycodeHandlerByModifier} rawShortcut Raw shortcut formatting.
|
||||||
|
* @property {WPKeycodeHandlerByModifier} ariaLabel ARIA label formatting.
|
||||||
|
*/
|
||||||
|
|
||||||
|
const FORMATTING_METHODS = {
|
||||||
|
display: external_wp_keycodes_["displayShortcut"],
|
||||||
|
raw: external_wp_keycodes_["rawShortcut"],
|
||||||
|
ariaLabel: external_wp_keycodes_["shortcutAriaLabel"]
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* Returns a string representing the key combination.
|
||||||
|
*
|
||||||
|
* @param {?WPShortcutKeyCombination} shortcut Key combination.
|
||||||
|
* @param {keyof FORMATTING_METHODS} representation Type of representation
|
||||||
|
* (display, raw, ariaLabel).
|
||||||
|
*
|
||||||
|
* @return {string?} Shortcut representation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function getKeyCombinationRepresentation(shortcut, representation) {
|
||||||
|
if (!shortcut) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return shortcut.modifier ? FORMATTING_METHODS[representation][shortcut.modifier](shortcut.character) : shortcut.character;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns the main key combination for a given shortcut name.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global state.
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
*
|
||||||
|
* @return {WPShortcutKeyCombination?} Key combination.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function getShortcutKeyCombination(state, name) {
|
||||||
|
return state[name] ? state[name].keyCombination : null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns a string representing the main key combination for a given shortcut name.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global state.
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
* @param {keyof FORMATTING_METHODS} representation Type of representation
|
||||||
|
* (display, raw, ariaLabel).
|
||||||
|
*
|
||||||
|
* @return {string?} Shortcut representation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function getShortcutRepresentation(state, name, representation = 'display') {
|
||||||
|
const shortcut = getShortcutKeyCombination(state, name);
|
||||||
|
return getKeyCombinationRepresentation(shortcut, representation);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns the shortcut description given its name.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global state.
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
*
|
||||||
|
* @return {string?} Shortcut description.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function getShortcutDescription(state, name) {
|
||||||
|
return state[name] ? state[name].description : null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns the aliases for a given shortcut name.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global state.
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
*
|
||||||
|
* @return {WPShortcutKeyCombination[]} Key combinations.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function getShortcutAliases(state, name) {
|
||||||
|
return state[name] && state[name].aliases ? state[name].aliases : EMPTY_ARRAY;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns the raw representation of all the keyboard combinations of a given shortcut name.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global state.
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
*
|
||||||
|
* @return {string[]} Shortcuts.
|
||||||
|
*/
|
||||||
|
|
||||||
|
const getAllShortcutRawKeyCombinations = Object(rememo["a" /* default */])((state, name) => {
|
||||||
|
return Object(external_lodash_["compact"])([getKeyCombinationRepresentation(getShortcutKeyCombination(state, name), 'raw'), ...getShortcutAliases(state, name).map(combination => getKeyCombinationRepresentation(combination, 'raw'))]);
|
||||||
|
}, (state, name) => [state[name]]);
|
||||||
|
/**
|
||||||
|
* Returns the shortcut names list for a given category name.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global state.
|
||||||
|
* @param {string} name Category name.
|
||||||
|
*
|
||||||
|
* @return {string[]} Shortcut names.
|
||||||
|
*/
|
||||||
|
|
||||||
|
const getCategoryShortcuts = Object(rememo["a" /* default */])((state, categoryName) => {
|
||||||
|
return Object.entries(state).filter(([, shortcut]) => shortcut.category === categoryName).map(([name]) => name);
|
||||||
|
}, state => [state]);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const STORE_NAME = 'core/keyboard-shortcuts';
|
||||||
|
/**
|
||||||
|
* Store definition for the keyboard shortcuts namespace.
|
||||||
|
*
|
||||||
|
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||||
|
*
|
||||||
|
* @type {Object}
|
||||||
|
*/
|
||||||
|
|
||||||
|
const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
|
||||||
|
reducer: store_reducer,
|
||||||
|
actions: actions_namespaceObject,
|
||||||
|
selectors: selectors_namespaceObject
|
||||||
|
});
|
||||||
|
Object(external_wp_data_["register"])(store);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Attach a keyboard shortcut handler.
|
||||||
|
*
|
||||||
|
* @param {string} name Shortcut name.
|
||||||
|
* @param {Function} callback Shortcut callback.
|
||||||
|
* @param {Object} options Shortcut options.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function useShortcut(name, callback, options) {
|
||||||
|
const shortcuts = Object(external_wp_data_["useSelect"])(select => {
|
||||||
|
return select(store).getAllShortcutRawKeyCombinations(name);
|
||||||
|
}, [name]);
|
||||||
|
Object(external_wp_compose_["useKeyboardShortcut"])(shortcuts, callback, options);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* harmony default export */ var use_shortcut = (useShortcut);
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "pPDe":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -388,345 +727,6 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 575:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
// ESM COMPAT FLAG
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
|
|
||||||
// EXPORTS
|
|
||||||
__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
|
|
||||||
__webpack_require__.d(__webpack_exports__, "useShortcut", function() { return /* reexport */ use_shortcut; });
|
|
||||||
|
|
||||||
// NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
|
|
||||||
var actions_namespaceObject = {};
|
|
||||||
__webpack_require__.r(actions_namespaceObject);
|
|
||||||
__webpack_require__.d(actions_namespaceObject, "registerShortcut", function() { return registerShortcut; });
|
|
||||||
__webpack_require__.d(actions_namespaceObject, "unregisterShortcut", function() { return unregisterShortcut; });
|
|
||||||
|
|
||||||
// NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
|
|
||||||
var selectors_namespaceObject = {};
|
|
||||||
__webpack_require__.r(selectors_namespaceObject);
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getShortcutKeyCombination", function() { return getShortcutKeyCombination; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getShortcutRepresentation", function() { return getShortcutRepresentation; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getShortcutDescription", function() { return getShortcutDescription; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getShortcutAliases", function() { return getShortcutAliases; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getAllShortcutRawKeyCombinations", function() { return getAllShortcutRawKeyCombinations; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getCategoryShortcuts", function() { return getCategoryShortcuts; });
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
|
||||||
var external_lodash_ = __webpack_require__(2);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js
|
|
||||||
/**
|
|
||||||
* External dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reducer returning the registered shortcuts
|
|
||||||
*
|
|
||||||
* @param {Object} state Current state.
|
|
||||||
* @param {Object} action Dispatched action.
|
|
||||||
*
|
|
||||||
* @return {Object} Updated state.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function reducer(state = {}, action) {
|
|
||||||
switch (action.type) {
|
|
||||||
case 'REGISTER_SHORTCUT':
|
|
||||||
return { ...state,
|
|
||||||
[action.name]: {
|
|
||||||
category: action.category,
|
|
||||||
keyCombination: action.keyCombination,
|
|
||||||
aliases: action.aliases,
|
|
||||||
description: action.description
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
case 'UNREGISTER_SHORTCUT':
|
|
||||||
return Object(external_lodash_["omit"])(state, action.name);
|
|
||||||
}
|
|
||||||
|
|
||||||
return state;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* harmony default export */ var store_reducer = (reducer);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
|
|
||||||
/** @typedef {import('@wordpress/keycodes').WPKeycodeModifier} WPKeycodeModifier */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Keyboard key combination.
|
|
||||||
*
|
|
||||||
* @typedef {Object} WPShortcutKeyCombination
|
|
||||||
*
|
|
||||||
* @property {string} character Character.
|
|
||||||
* @property {WPKeycodeModifier|undefined} modifier Modifier.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Configuration of a registered keyboard shortcut.
|
|
||||||
*
|
|
||||||
* @typedef {Object} WPShortcutConfig
|
|
||||||
*
|
|
||||||
* @property {string} name Shortcut name.
|
|
||||||
* @property {string} category Shortcut category.
|
|
||||||
* @property {string} description Shortcut description.
|
|
||||||
* @property {WPShortcutKeyCombination} keyCombination Shortcut key combination.
|
|
||||||
* @property {WPShortcutKeyCombination[]} [aliases] Shortcut aliases.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an action object used to register a new keyboard shortcut.
|
|
||||||
*
|
|
||||||
* @param {WPShortcutConfig} config Shortcut config.
|
|
||||||
*
|
|
||||||
* @return {Object} action.
|
|
||||||
*/
|
|
||||||
function registerShortcut({
|
|
||||||
name,
|
|
||||||
category,
|
|
||||||
description,
|
|
||||||
keyCombination,
|
|
||||||
aliases
|
|
||||||
}) {
|
|
||||||
return {
|
|
||||||
type: 'REGISTER_SHORTCUT',
|
|
||||||
name,
|
|
||||||
category,
|
|
||||||
keyCombination,
|
|
||||||
aliases,
|
|
||||||
description
|
|
||||||
};
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns an action object used to unregister a keyboard shortcut.
|
|
||||||
*
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
*
|
|
||||||
* @return {Object} action.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function unregisterShortcut(name) {
|
|
||||||
return {
|
|
||||||
type: 'UNREGISTER_SHORTCUT',
|
|
||||||
name
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
|
||||||
var rememo = __webpack_require__(26);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","keycodes"]
|
|
||||||
var external_wp_keycodes_ = __webpack_require__(12);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
|
|
||||||
/**
|
|
||||||
* External dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/** @typedef {import('./actions').WPShortcutKeyCombination} WPShortcutKeyCombination */
|
|
||||||
|
|
||||||
/** @typedef {import('@wordpress/keycodes').WPKeycodeHandlerByModifier} WPKeycodeHandlerByModifier */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Shared reference to an empty array for cases where it is important to avoid
|
|
||||||
* returning a new array reference on every invocation.
|
|
||||||
*
|
|
||||||
* @type {Array<any>}
|
|
||||||
*/
|
|
||||||
|
|
||||||
const EMPTY_ARRAY = [];
|
|
||||||
/**
|
|
||||||
* Shortcut formatting methods.
|
|
||||||
*
|
|
||||||
* @property {WPKeycodeHandlerByModifier} display Display formatting.
|
|
||||||
* @property {WPKeycodeHandlerByModifier} rawShortcut Raw shortcut formatting.
|
|
||||||
* @property {WPKeycodeHandlerByModifier} ariaLabel ARIA label formatting.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const FORMATTING_METHODS = {
|
|
||||||
display: external_wp_keycodes_["displayShortcut"],
|
|
||||||
raw: external_wp_keycodes_["rawShortcut"],
|
|
||||||
ariaLabel: external_wp_keycodes_["shortcutAriaLabel"]
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* Returns a string representing the key combination.
|
|
||||||
*
|
|
||||||
* @param {?WPShortcutKeyCombination} shortcut Key combination.
|
|
||||||
* @param {keyof FORMATTING_METHODS} representation Type of representation
|
|
||||||
* (display, raw, ariaLabel).
|
|
||||||
*
|
|
||||||
* @return {string?} Shortcut representation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getKeyCombinationRepresentation(shortcut, representation) {
|
|
||||||
if (!shortcut) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return shortcut.modifier ? FORMATTING_METHODS[representation][shortcut.modifier](shortcut.character) : shortcut.character;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns the main key combination for a given shortcut name.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global state.
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
*
|
|
||||||
* @return {WPShortcutKeyCombination?} Key combination.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
function getShortcutKeyCombination(state, name) {
|
|
||||||
return state[name] ? state[name].keyCombination : null;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns a string representing the main key combination for a given shortcut name.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global state.
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
* @param {keyof FORMATTING_METHODS} representation Type of representation
|
|
||||||
* (display, raw, ariaLabel).
|
|
||||||
*
|
|
||||||
* @return {string?} Shortcut representation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getShortcutRepresentation(state, name, representation = 'display') {
|
|
||||||
const shortcut = getShortcutKeyCombination(state, name);
|
|
||||||
return getKeyCombinationRepresentation(shortcut, representation);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns the shortcut description given its name.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global state.
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
*
|
|
||||||
* @return {string?} Shortcut description.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getShortcutDescription(state, name) {
|
|
||||||
return state[name] ? state[name].description : null;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns the aliases for a given shortcut name.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global state.
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
*
|
|
||||||
* @return {WPShortcutKeyCombination[]} Key combinations.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getShortcutAliases(state, name) {
|
|
||||||
return state[name] && state[name].aliases ? state[name].aliases : EMPTY_ARRAY;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns the raw representation of all the keyboard combinations of a given shortcut name.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global state.
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
*
|
|
||||||
* @return {string[]} Shortcuts.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const getAllShortcutRawKeyCombinations = Object(rememo["a" /* default */])((state, name) => {
|
|
||||||
return Object(external_lodash_["compact"])([getKeyCombinationRepresentation(getShortcutKeyCombination(state, name), 'raw'), ...getShortcutAliases(state, name).map(combination => getKeyCombinationRepresentation(combination, 'raw'))]);
|
|
||||||
}, (state, name) => [state[name]]);
|
|
||||||
/**
|
|
||||||
* Returns the shortcut names list for a given category name.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global state.
|
|
||||||
* @param {string} name Category name.
|
|
||||||
*
|
|
||||||
* @return {string[]} Shortcut names.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const getCategoryShortcuts = Object(rememo["a" /* default */])((state, categoryName) => {
|
|
||||||
return Object.entries(state).filter(([, shortcut]) => shortcut.category === categoryName).map(([name]) => name);
|
|
||||||
}, state => [state]);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const STORE_NAME = 'core/keyboard-shortcuts';
|
|
||||||
/**
|
|
||||||
* Store definition for the keyboard shortcuts namespace.
|
|
||||||
*
|
|
||||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
|
||||||
*
|
|
||||||
* @type {Object}
|
|
||||||
*/
|
|
||||||
|
|
||||||
const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
|
|
||||||
reducer: store_reducer,
|
|
||||||
actions: actions_namespaceObject,
|
|
||||||
selectors: selectors_namespaceObject
|
|
||||||
});
|
|
||||||
Object(external_wp_data_["register"])(store);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Attach a keyboard shortcut handler.
|
|
||||||
*
|
|
||||||
* @param {string} name Shortcut name.
|
|
||||||
* @param {Function} callback Shortcut callback.
|
|
||||||
* @param {Object} options Shortcut options.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function useShortcut(name, callback, options) {
|
|
||||||
const shortcuts = Object(external_wp_data_["useSelect"])(select => {
|
|
||||||
return select(store).getAllShortcutRawKeyCombinations(name);
|
|
||||||
}, [name]);
|
|
||||||
Object(external_wp_compose_["useKeyboardShortcut"])(shortcuts, callback, options);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* harmony default export */ var use_shortcut = (useShortcut);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.keyboardShortcuts=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=575)}({10:function(e,t){e.exports=window.wp.compose},12:function(e,t){e.exports=window.wp.keycodes},2:function(e,t){e.exports=window.lodash},26:function(e,t,n){"use strict";var r,o;function a(e){return[e]}function u(){var e={clear:function(){e.head=null}};return e}function i(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function s(){n=o?new WeakMap:u()}function l(){var n,r,o,a,u,s=arguments.length;for(a=new Array(s),o=0;o<s;o++)a[o]=arguments[o];for(u=t.apply(null,a),(n=c(u)).isUniqueByDependants||(n.lastDependants&&!i(u,n.lastDependants,0)&&n.clear(),n.lastDependants=u),r=n.head;r;){if(i(r.args,a,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,a)},a[0]=null,r.args=a,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=a),c=o?function(e){var t,o,a,i,c,s=n,l=!0;for(t=0;t<e.length;t++){if(o=e[t],!(c=o)||"object"!=typeof c){l=!1;break}s.has(o)?s=s.get(o):(a=new WeakMap,s.set(o,a),s=a)}return s.has(r)||((i=u()).isUniqueByDependants=l,s.set(r,i)),s.get(r)}:function(){return n},l.getDependants=t,l.clear=s,s(),l}},5:function(e,t){e.exports=window.wp.data},575:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return w})),n.d(t,"useShortcut",(function(){return j}));var r={};n.r(r),n.d(r,"registerShortcut",(function(){return c})),n.d(r,"unregisterShortcut",(function(){return s}));var o={};n.r(o),n.d(o,"getShortcutKeyCombination",(function(){return h})),n.d(o,"getShortcutRepresentation",(function(){return b})),n.d(o,"getShortcutDescription",(function(){return g})),n.d(o,"getShortcutAliases",(function(){return v})),n.d(o,"getAllShortcutRawKeyCombinations",(function(){return S})),n.d(o,"getCategoryShortcuts",(function(){return m}));var a=n(5),u=n(2);var i=function(e={},t){switch(t.type){case"REGISTER_SHORTCUT":return{...e,[t.name]:{category:t.category,keyCombination:t.keyCombination,aliases:t.aliases,description:t.description}};case"UNREGISTER_SHORTCUT":return Object(u.omit)(e,t.name)}return e};function c({name:e,category:t,description:n,keyCombination:r,aliases:o}){return{type:"REGISTER_SHORTCUT",name:e,category:t,keyCombination:r,aliases:o,description:n}}function s(e){return{type:"UNREGISTER_SHORTCUT",name:e}}var l=n(26),f=n(12);const d=[],p={display:f.displayShortcut,raw:f.rawShortcut,ariaLabel:f.shortcutAriaLabel};function y(e,t){return e?e.modifier?p[t][e.modifier](e.character):e.character:null}function h(e,t){return e[t]?e[t].keyCombination:null}function b(e,t,n="display"){return y(h(e,t),n)}function g(e,t){return e[t]?e[t].description:null}function v(e,t){return e[t]&&e[t].aliases?e[t].aliases:d}const S=Object(l.a)((e,t)=>Object(u.compact)([y(h(e,t),"raw"),...v(e,t).map(e=>y(e,"raw"))]),(e,t)=>[e[t]]),m=Object(l.a)((e,t)=>Object.entries(e).filter(([,e])=>e.category===t).map(([e])=>e),e=>[e]),w=Object(a.createReduxStore)("core/keyboard-shortcuts",{reducer:i,actions:r,selectors:o});Object(a.register)(w);var O=n(10);var j=function(e,t,n){const r=Object(a.useSelect)(t=>t(w).getAllShortcutRawKeyCombinations(e),[e]);Object(O.useKeyboardShortcut)(r,t,n)}}});
|
this.wp=this.wp||{},this.wp.keyboardShortcuts=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js")}({"./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return S})),r.d(t,"useShortcut",(function(){return O}));var n={};r.r(n),r.d(n,"registerShortcut",(function(){return s})),r.d(n,"unregisterShortcut",(function(){return c}));var o={};r.r(o),r.d(o,"getShortcutKeyCombination",(function(){return h})),r.d(o,"getShortcutRepresentation",(function(){return m})),r.d(o,"getShortcutDescription",(function(){return b})),r.d(o,"getShortcutAliases",(function(){return w})),r.d(o,"getAllShortcutRawKeyCombinations",(function(){return g})),r.d(o,"getCategoryShortcuts",(function(){return v}));var a=r("@wordpress/data"),u=r("lodash");var i=function(e={},t){switch(t.type){case"REGISTER_SHORTCUT":return{...e,[t.name]:{category:t.category,keyCombination:t.keyCombination,aliases:t.aliases,description:t.description}};case"UNREGISTER_SHORTCUT":return Object(u.omit)(e,t.name)}return e};function s({name:e,category:t,description:r,keyCombination:n,aliases:o}){return{type:"REGISTER_SHORTCUT",name:e,category:t,keyCombination:n,aliases:o,description:r}}function c(e){return{type:"UNREGISTER_SHORTCUT",name:e}}var d=r("./node_modules/rememo/es/rememo.js"),l=r("@wordpress/keycodes");const p=[],f={display:l.displayShortcut,raw:l.rawShortcut,ariaLabel:l.shortcutAriaLabel};function y(e,t){return e?e.modifier?f[t][e.modifier](e.character):e.character:null}function h(e,t){return e[t]?e[t].keyCombination:null}function m(e,t,r="display"){return y(h(e,t),r)}function b(e,t){return e[t]?e[t].description:null}function w(e,t){return e[t]&&e[t].aliases?e[t].aliases:p}const g=Object(d.a)((e,t)=>Object(u.compact)([y(h(e,t),"raw"),...w(e,t).map(e=>y(e,"raw"))]),(e,t)=>[e[t]]),v=Object(d.a)((e,t)=>Object.entries(e).filter(([,e])=>e.category===t).map(([e])=>e),e=>[e]),S=Object(a.createReduxStore)("core/keyboard-shortcuts",{reducer:i,actions:n,selectors:o});Object(a.register)(S);var j=r("@wordpress/compose");var O=function(e,t,r){const n=Object(a.useSelect)(t=>t(S).getAllShortcutRawKeyCombinations(e),[e]);Object(j.useKeyboardShortcut)(n,t,r)}},"./node_modules/rememo/es/rememo.js":function(e,t,r){"use strict";var n,o;function a(e){return[e]}function u(){var e={clear:function(){e.head=null}};return e}function i(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var r,s;function c(){r=o?new WeakMap:u()}function d(){var r,n,o,a,u,c=arguments.length;for(a=new Array(c),o=0;o<c;o++)a[o]=arguments[o];for(u=t.apply(null,a),(r=s(u)).isUniqueByDependants||(r.lastDependants&&!i(u,r.lastDependants,0)&&r.clear(),r.lastDependants=u),n=r.head;n;){if(i(n.args,a,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:e.apply(null,a)},a[0]=null,n.args=a,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=a),s=o?function(e){var t,o,a,i,s,c=r,d=!0;for(t=0;t<e.length;t++){if(o=e[t],!(s=o)||"object"!=typeof s){d=!1;break}c.has(o)?c=c.get(o):(a=new WeakMap,c.set(o,a),c=a)}return c.has(n)||((i=u()).isUniqueByDependants=d,c.set(n,i)),c.get(n)}:function(){return r},d.getDependants=t,d.clear=c,c(),d}},"@wordpress/compose":function(e,t){e.exports=window.wp.compose},"@wordpress/data":function(e,t){e.exports=window.wp.data},"@wordpress/keycodes":function(e,t){e.exports=window.wp.keycodes},lodash:function(e,t){e.exports=window.lodash}});
|
|
@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 585);
|
/******/ return __webpack_require__(__webpack_require__.s = "z7pY");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 585:
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "z7pY":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -133,10 +133,10 @@ __webpack_require__.d(__webpack_exports__, "shortcutAriaLabel", function() { ret
|
||||||
__webpack_require__.d(__webpack_exports__, "isKeyboardEvent", function() { return /* binding */ isKeyboardEvent; });
|
__webpack_require__.d(__webpack_exports__, "isKeyboardEvent", function() { return /* binding */ isKeyboardEvent; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/keycodes/build-module/platform.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/keycodes/build-module/platform.js
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=585)}({1:function(t,n){t.exports=window.wp.i18n},2:function(t,n){t.exports=window.lodash},585:function(t,n,e){"use strict";e.r(n),e.d(n,"BACKSPACE",(function(){return i})),e.d(n,"TAB",(function(){return c})),e.d(n,"ENTER",(function(){return f})),e.d(n,"ESCAPE",(function(){return a})),e.d(n,"SPACE",(function(){return d})),e.d(n,"LEFT",(function(){return l})),e.d(n,"UP",(function(){return s})),e.d(n,"RIGHT",(function(){return p})),e.d(n,"DOWN",(function(){return b})),e.d(n,"DELETE",(function(){return O})),e.d(n,"F10",(function(){return j})),e.d(n,"ALT",(function(){return y})),e.d(n,"CTRL",(function(){return m})),e.d(n,"COMMAND",(function(){return h})),e.d(n,"SHIFT",(function(){return w})),e.d(n,"ZERO",(function(){return S})),e.d(n,"modifiers",(function(){return C})),e.d(n,"rawShortcut",(function(){return A})),e.d(n,"displayShortcutList",(function(){return E})),e.d(n,"displayShortcut",(function(){return P})),e.d(n,"shortcutAriaLabel",(function(){return _})),e.d(n,"isKeyboardEvent",(function(){return v}));var r=e(2),o=e(1);function u(t=null){if(!t){if("undefined"==typeof window)return!1;t=window}const{platform:n}=t.navigator;return-1!==n.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],n)}const i=8,c=9,f=13,a=27,d=32,l=37,s=38,p=39,b=40,O=46,j=121,y="alt",m="ctrl",h="meta",w="shift",S=48,C={primary:t=>t()?[h]:[m],primaryShift:t=>t()?[w,h]:[m,w],primaryAlt:t=>t()?[y,h]:[m,y],secondary:t=>t()?[w,y,h]:[m,w,y],access:t=>t()?[m,y]:[w,y],ctrl:()=>[m],alt:()=>[y],ctrlShift:()=>[m,w],shift:()=>[w],shiftAlt:()=>[w,y]},A=Object(r.mapValues)(C,t=>(n,e=u)=>[...t(e),n.toLowerCase()].join("+")),E=Object(r.mapValues)(C,t=>(n,e=u)=>{const o=e(),i={[y]:o?"⌥":"Alt",[m]:o?"⌃":"Ctrl",[h]:"⌘",[w]:o?"⇧":"Shift"};return[...t(e).reduce((t,n)=>{const e=Object(r.get)(i,n,n);return o?[...t,e]:[...t,e,"+"]},[]),Object(r.capitalize)(n)]}),P=Object(r.mapValues)(E,t=>(n,e=u)=>t(n,e).join("")),_=Object(r.mapValues)(C,t=>(n,e=u)=>{const i=e(),c={[w]:"Shift",[h]:i?"Command":"Control",[m]:"Control",[y]:i?"Option":"Alt",",":Object(o.__)("Comma"),".":Object(o.__)("Period"),"`":Object(o.__)("Backtick")};return[...t(e),n].map(t=>Object(r.capitalize)(Object(r.get)(c,t,t))).join(i?" ":" + ")});const v=Object(r.mapValues)(C,t=>(n,e,o=u)=>{const i=t(o),c=function(t){return[y,m,h,w].filter(n=>t[n+"Key"])}(n);return!Object(r.xor)(i,c).length&&(e?n.key===e:Object(r.includes)(i,n.key.toLowerCase()))})}});
|
this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="./node_modules/@wordpress/keycodes/build-module/index.js")}({"./node_modules/@wordpress/keycodes/build-module/index.js":function(t,n,e){"use strict";e.r(n),e.d(n,"BACKSPACE",(function(){return i})),e.d(n,"TAB",(function(){return c})),e.d(n,"ENTER",(function(){return d})),e.d(n,"ESCAPE",(function(){return f})),e.d(n,"SPACE",(function(){return s})),e.d(n,"LEFT",(function(){return a})),e.d(n,"UP",(function(){return l})),e.d(n,"RIGHT",(function(){return p})),e.d(n,"DOWN",(function(){return b})),e.d(n,"DELETE",(function(){return j})),e.d(n,"F10",(function(){return O})),e.d(n,"ALT",(function(){return m})),e.d(n,"CTRL",(function(){return y})),e.d(n,"COMMAND",(function(){return h})),e.d(n,"SHIFT",(function(){return w})),e.d(n,"ZERO",(function(){return S})),e.d(n,"modifiers",(function(){return _})),e.d(n,"rawShortcut",(function(){return C})),e.d(n,"displayShortcutList",(function(){return A})),e.d(n,"displayShortcut",(function(){return E})),e.d(n,"shortcutAriaLabel",(function(){return P})),e.d(n,"isKeyboardEvent",(function(){return v}));var r=e("lodash"),o=e("@wordpress/i18n");function u(t=null){if(!t){if("undefined"==typeof window)return!1;t=window}const{platform:n}=t.navigator;return-1!==n.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],n)}const i=8,c=9,d=13,f=27,s=32,a=37,l=38,p=39,b=40,j=46,O=121,m="alt",y="ctrl",h="meta",w="shift",S=48,_={primary:t=>t()?[h]:[y],primaryShift:t=>t()?[w,h]:[y,w],primaryAlt:t=>t()?[m,h]:[y,m],secondary:t=>t()?[w,m,h]:[y,w,m],access:t=>t()?[y,m]:[w,m],ctrl:()=>[y],alt:()=>[m],ctrlShift:()=>[y,w],shift:()=>[w],shiftAlt:()=>[w,m]},C=Object(r.mapValues)(_,t=>(n,e=u)=>[...t(e),n.toLowerCase()].join("+")),A=Object(r.mapValues)(_,t=>(n,e=u)=>{const o=e(),i={[m]:o?"⌥":"Alt",[y]:o?"⌃":"Ctrl",[h]:"⌘",[w]:o?"⇧":"Shift"};return[...t(e).reduce((t,n)=>{const e=Object(r.get)(i,n,n);return o?[...t,e]:[...t,e,"+"]},[]),Object(r.capitalize)(n)]}),E=Object(r.mapValues)(A,t=>(n,e=u)=>t(n,e).join("")),P=Object(r.mapValues)(_,t=>(n,e=u)=>{const i=e(),c={[w]:"Shift",[h]:i?"Command":"Control",[y]:"Control",[m]:i?"Option":"Alt",",":Object(o.__)("Comma"),".":Object(o.__)("Period"),"`":Object(o.__)("Backtick")};return[...t(e),n].map(t=>Object(r.capitalize)(Object(r.get)(c,t,t))).join(i?" ":" + ")});const v=Object(r.mapValues)(_,t=>(n,e,o=u)=>{const i=t(o),c=function(t){return[m,y,h,w].filter(n=>t[n+"Key"])}(n);return!Object(r.xor)(i,c).length&&(e?n.key===e:Object(r.includes)(i,n.key.toLowerCase()))})},"@wordpress/i18n":function(t,n){t.exports=window.wp.i18n},lodash:function(t,n){t.exports=window.lodash}});
|
|
@ -82,54 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 576);
|
/******/ return __webpack_require__(__webpack_require__.s = "SdGz");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "GRId":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "K9lf":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "SdGz":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 33:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 4:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["components"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 576:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -137,16 +109,16 @@ this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] =
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
||||||
var external_wp_apiFetch_ = __webpack_require__(33);
|
var external_wp_apiFetch_ = __webpack_require__("ywyh");
|
||||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js
|
||||||
|
@ -235,10 +207,10 @@ async function exportReusableBlock(id) {
|
||||||
/* harmony default export */ var utils_export = (exportReusableBlock);
|
/* harmony default export */ var utils_export = (exportReusableBlock);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","components"]
|
// EXTERNAL MODULE: external ["wp","components"]
|
||||||
var external_wp_components_ = __webpack_require__(4);
|
var external_wp_components_ = __webpack_require__("tI+e");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/import.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/import.js
|
||||||
/**
|
/**
|
||||||
|
@ -523,6 +495,34 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "tI+e":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["components"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "ywyh":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
|
@ -82,47 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 579);
|
/******/ return __webpack_require__(__webpack_require__.s = "Lb+8");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "GRId":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "Lb+8":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 27:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blob"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 33:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 579:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -134,13 +106,13 @@ __webpack_require__.d(__webpack_exports__, "MediaUpload", function() { return /*
|
||||||
__webpack_require__.d(__webpack_exports__, "uploadMedia", function() { return /* reexport */ uploadMedia; });
|
__webpack_require__.d(__webpack_exports__, "uploadMedia", function() { return /* reexport */ uploadMedia; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/components/media-upload/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/components/media-upload/index.js
|
||||||
/**
|
/**
|
||||||
|
@ -557,11 +529,11 @@ class media_upload_MediaUpload extends external_wp_element_["Component"] {
|
||||||
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
||||||
var external_wp_apiFetch_ = __webpack_require__(33);
|
var external_wp_apiFetch_ = __webpack_require__("ywyh");
|
||||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blob"]
|
// EXTERNAL MODULE: external ["wp","blob"]
|
||||||
var external_wp_blob_ = __webpack_require__(27);
|
var external_wp_blob_ = __webpack_require__("xTGt");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/upload-media.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/upload-media.js
|
||||||
|
|
||||||
|
@ -782,6 +754,34 @@ function createMediaFromFile(file, additionalData) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "xTGt":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["blob"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "ywyh":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
File diff suppressed because one or more lines are too long
|
@ -82,26 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["notices"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 574);
|
/******/ return __webpack_require__(__webpack_require__.s = "Ko7W");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "1ZqX":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 574:
|
/***/ "Ko7W":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -127,10 +120,10 @@ __webpack_require__.r(selectors_namespaceObject);
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getNotices", function() { return getNotices; });
|
__webpack_require__.d(selectors_namespaceObject, "getNotices", function() { return getNotices; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js
|
||||||
/**
|
/**
|
||||||
|
@ -473,6 +466,13 @@ Object(external_wp_data_["register"])(store);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.notices=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=574)}({2:function(t,e){t.exports=window.lodash},5:function(t,e){t.exports=window.wp.data},574:function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return j}));var r={};n.r(r),n.d(r,"createNotice",(function(){return f})),n.d(r,"createSuccessNotice",(function(){return a})),n.d(r,"createInfoNotice",(function(){return l})),n.d(r,"createErrorNotice",(function(){return d})),n.d(r,"createWarningNotice",(function(){return p})),n.d(r,"removeNotice",(function(){return b}));var o={};n.r(o),n.d(o,"getNotices",(function(){return y}));var i=n(5),c=n(2);var u=(t=>e=>(n={},r)=>{const o=r[t];if(void 0===o)return n;const i=e(n[o],r);return i===n[o]?n:{...n,[o]:i}})("context")((t=[],e)=>{switch(e.type){case"CREATE_NOTICE":return[...Object(c.reject)(t,{id:e.notice.id}),e.notice];case"REMOVE_NOTICE":return Object(c.reject)(t,{id:e.id})}return t});const s="global";function f(t="info",e,n={}){const{speak:r=!0,isDismissible:o=!0,context:i=s,id:u=Object(c.uniqueId)(i),actions:f=[],type:a="default",__unstableHTML:l,icon:d=null,explicitDismiss:p=!1,onDismiss:b=null}=n;return{type:"CREATE_NOTICE",context:i,notice:{id:u,status:t,content:e=String(e),spokenMessage:r?e:null,__unstableHTML:l,isDismissible:o,actions:f,type:a,icon:d,explicitDismiss:p,onDismiss:b}}}function a(t,e){return f("success",t,e)}function l(t,e){return f("info",t,e)}function d(t,e){return f("error",t,e)}function p(t,e){return f("warning",t,e)}function b(t,e=s){return{type:"REMOVE_NOTICE",id:t,context:e}}const O=[];function y(t,e=s){return t[e]||O}const j=Object(i.createReduxStore)("core/notices",{reducer:u,actions:r,selectors:o});Object(i.register)(j)}});
|
this.wp=this.wp||{},this.wp.notices=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/notices/build-module/index.js")}({"./node_modules/@wordpress/notices/build-module/index.js":function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return y}));var r={};n.r(r),n.d(r,"createNotice",(function(){return d})),n.d(r,"createSuccessNotice",(function(){return a})),n.d(r,"createInfoNotice",(function(){return l})),n.d(r,"createErrorNotice",(function(){return f})),n.d(r,"createWarningNotice",(function(){return p})),n.d(r,"removeNotice",(function(){return b}));var o={};n.r(o),n.d(o,"getNotices",(function(){return m}));var i=n("@wordpress/data"),c=n("lodash");var u=(e=>t=>(n={},r)=>{const o=r[e];if(void 0===o)return n;const i=t(n[o],r);return i===n[o]?n:{...n,[o]:i}})("context")((e=[],t)=>{switch(t.type){case"CREATE_NOTICE":return[...Object(c.reject)(e,{id:t.notice.id}),t.notice];case"REMOVE_NOTICE":return Object(c.reject)(e,{id:t.id})}return e});const s="global";function d(e="info",t,n={}){const{speak:r=!0,isDismissible:o=!0,context:i=s,id:u=Object(c.uniqueId)(i),actions:d=[],type:a="default",__unstableHTML:l,icon:f=null,explicitDismiss:p=!1,onDismiss:b=null}=n;return{type:"CREATE_NOTICE",context:i,notice:{id:u,status:e,content:t=String(t),spokenMessage:r?t:null,__unstableHTML:l,isDismissible:o,actions:d,type:a,icon:f,explicitDismiss:p,onDismiss:b}}}function a(e,t){return d("success",e,t)}function l(e,t){return d("info",e,t)}function f(e,t){return d("error",e,t)}function p(e,t){return d("warning",e,t)}function b(e,t=s){return{type:"REMOVE_NOTICE",id:e,context:t}}const O=[];function m(e,t=s){return e[t]||O}const y=Object(i.createReduxStore)("core/notices",{reducer:u,actions:r,selectors:o});Object(i.register)(y)},"@wordpress/data":function(e,t){e.exports=window.wp.data},lodash:function(e,t){e.exports=window.lodash}});
|
|
@ -82,72 +82,470 @@ this["wp"] = this["wp"] || {}; this["wp"]["nux"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 577);
|
/******/ return __webpack_require__(__webpack_require__.s = "51Wn");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "1ZqX":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "51Wn":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 124:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
// ESM COMPAT FLAG
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
// EXPORTS
|
||||||
|
__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
|
||||||
|
__webpack_require__.d(__webpack_exports__, "DotTip", function() { return /* reexport */ dot_tip; });
|
||||||
|
|
||||||
|
// NAMESPACE OBJECT: ./node_modules/@wordpress/nux/build-module/store/actions.js
|
||||||
|
var actions_namespaceObject = {};
|
||||||
|
__webpack_require__.r(actions_namespaceObject);
|
||||||
|
__webpack_require__.d(actions_namespaceObject, "triggerGuide", function() { return triggerGuide; });
|
||||||
|
__webpack_require__.d(actions_namespaceObject, "dismissTip", function() { return dismissTip; });
|
||||||
|
__webpack_require__.d(actions_namespaceObject, "disableTips", function() { return disableTips; });
|
||||||
|
__webpack_require__.d(actions_namespaceObject, "enableTips", function() { return enableTips; });
|
||||||
|
|
||||||
|
// NAMESPACE OBJECT: ./node_modules/@wordpress/nux/build-module/store/selectors.js
|
||||||
|
var selectors_namespaceObject = {};
|
||||||
|
__webpack_require__.r(selectors_namespaceObject);
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "getAssociatedGuide", function() { return getAssociatedGuide; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "isTipVisible", function() { return isTipVisible; });
|
||||||
|
__webpack_require__.d(selectors_namespaceObject, "areTipsEnabled", function() { return selectors_areTipsEnabled; });
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","deprecated"]
|
||||||
|
var external_wp_deprecated_ = __webpack_require__("NMb1");
|
||||||
|
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reducer that tracks which tips are in a guide. Each guide is represented by
|
||||||
|
* an array which contains the tip identifiers contained within that guide.
|
||||||
|
*
|
||||||
|
* @param {Array} state Current state.
|
||||||
|
* @param {Object} action Dispatched action.
|
||||||
|
*
|
||||||
|
* @return {Array} Updated state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function guides(state = [], action) {
|
||||||
|
switch (action.type) {
|
||||||
|
case 'TRIGGER_GUIDE':
|
||||||
|
return [...state, action.tipIds];
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Reducer that tracks whether or not tips are globally enabled.
|
||||||
|
*
|
||||||
|
* @param {boolean} state Current state.
|
||||||
|
* @param {Object} action Dispatched action.
|
||||||
|
*
|
||||||
|
* @return {boolean} Updated state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function areTipsEnabled(state = true, action) {
|
||||||
|
switch (action.type) {
|
||||||
|
case 'DISABLE_TIPS':
|
||||||
|
return false;
|
||||||
|
|
||||||
|
case 'ENABLE_TIPS':
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Reducer that tracks which tips have been dismissed. If the state object
|
||||||
|
* contains a tip identifier, then that tip is dismissed.
|
||||||
|
*
|
||||||
|
* @param {Object} state Current state.
|
||||||
|
* @param {Object} action Dispatched action.
|
||||||
|
*
|
||||||
|
* @return {Object} Updated state.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function dismissedTips(state = {}, action) {
|
||||||
|
switch (action.type) {
|
||||||
|
case 'DISMISS_TIP':
|
||||||
|
return { ...state,
|
||||||
|
[action.id]: true
|
||||||
|
};
|
||||||
|
|
||||||
|
case 'ENABLE_TIPS':
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
const preferences = Object(external_wp_data_["combineReducers"])({
|
||||||
|
areTipsEnabled,
|
||||||
|
dismissedTips
|
||||||
|
});
|
||||||
|
/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
|
||||||
|
guides,
|
||||||
|
preferences
|
||||||
|
}));
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/actions.js
|
||||||
|
/**
|
||||||
|
* Returns an action object that, when dispatched, presents a guide that takes
|
||||||
|
* the user through a series of tips step by step.
|
||||||
|
*
|
||||||
|
* @param {string[]} tipIds Which tips to show in the guide.
|
||||||
|
*
|
||||||
|
* @return {Object} Action object.
|
||||||
|
*/
|
||||||
|
function triggerGuide(tipIds) {
|
||||||
|
return {
|
||||||
|
type: 'TRIGGER_GUIDE',
|
||||||
|
tipIds
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns an action object that, when dispatched, dismisses the given tip. A
|
||||||
|
* dismissed tip will not show again.
|
||||||
|
*
|
||||||
|
* @param {string} id The tip to dismiss.
|
||||||
|
*
|
||||||
|
* @return {Object} Action object.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function dismissTip(id) {
|
||||||
|
return {
|
||||||
|
type: 'DISMISS_TIP',
|
||||||
|
id
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns an action object that, when dispatched, prevents all tips from
|
||||||
|
* showing again.
|
||||||
|
*
|
||||||
|
* @return {Object} Action object.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function disableTips() {
|
||||||
|
return {
|
||||||
|
type: 'DISABLE_TIPS'
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns an action object that, when dispatched, makes all tips show again.
|
||||||
|
*
|
||||||
|
* @return {Object} Action object.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function enableTips() {
|
||||||
|
return {
|
||||||
|
type: 'ENABLE_TIPS'
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||||
|
var rememo = __webpack_require__("pPDe");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external "lodash"
|
||||||
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/selectors.js
|
||||||
|
/**
|
||||||
|
* External dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An object containing information about a guide.
|
||||||
|
*
|
||||||
|
* @typedef {Object} NUXGuideInfo
|
||||||
|
* @property {string[]} tipIds Which tips the guide contains.
|
||||||
|
* @property {?string} currentTipId The guide's currently showing tip.
|
||||||
|
* @property {?string} nextTipId The guide's next tip to show.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an object describing the guide, if any, that the given tip is a part
|
||||||
|
* of.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global application state.
|
||||||
|
* @param {string} tipId The tip to query.
|
||||||
|
*
|
||||||
|
* @return {?NUXGuideInfo} Information about the associated guide.
|
||||||
|
*/
|
||||||
|
|
||||||
|
const getAssociatedGuide = Object(rememo["a" /* default */])((state, tipId) => {
|
||||||
|
for (const tipIds of state.guides) {
|
||||||
|
if (Object(external_lodash_["includes"])(tipIds, tipId)) {
|
||||||
|
const nonDismissedTips = Object(external_lodash_["difference"])(tipIds, Object(external_lodash_["keys"])(state.preferences.dismissedTips));
|
||||||
|
const [currentTipId = null, nextTipId = null] = nonDismissedTips;
|
||||||
|
return {
|
||||||
|
tipIds,
|
||||||
|
currentTipId,
|
||||||
|
nextTipId
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}, state => [state.guides, state.preferences.dismissedTips]);
|
||||||
|
/**
|
||||||
|
* Determines whether or not the given tip is showing. Tips are hidden if they
|
||||||
|
* are disabled, have been dismissed, or are not the current tip in any
|
||||||
|
* guide that they have been added to.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global application state.
|
||||||
|
* @param {string} tipId The tip to query.
|
||||||
|
*
|
||||||
|
* @return {boolean} Whether or not the given tip is showing.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function isTipVisible(state, tipId) {
|
||||||
|
if (!state.preferences.areTipsEnabled) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Object(external_lodash_["has"])(state.preferences.dismissedTips, [tipId])) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
const associatedGuide = getAssociatedGuide(state, tipId);
|
||||||
|
|
||||||
|
if (associatedGuide && associatedGuide.currentTipId !== tipId) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Returns whether or not tips are globally enabled.
|
||||||
|
*
|
||||||
|
* @param {Object} state Global application state.
|
||||||
|
*
|
||||||
|
* @return {boolean} Whether tips are globally enabled.
|
||||||
|
*/
|
||||||
|
|
||||||
|
function selectors_areTipsEnabled(state) {
|
||||||
|
return state.preferences.areTipsEnabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/index.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const STORE_NAME = 'core/nux';
|
||||||
|
/**
|
||||||
|
* Store definition for the nux namespace.
|
||||||
|
*
|
||||||
|
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
||||||
|
*
|
||||||
|
* @type {Object}
|
||||||
|
*/
|
||||||
|
|
||||||
|
const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
|
||||||
|
reducer: reducer,
|
||||||
|
actions: actions_namespaceObject,
|
||||||
|
selectors: selectors_namespaceObject,
|
||||||
|
persist: ['preferences']
|
||||||
|
}); // Once we build a more generic persistence plugin that works across types of stores
|
||||||
|
// we'd be able to replace this with a register call.
|
||||||
|
|
||||||
|
Object(external_wp_data_["registerStore"])(STORE_NAME, {
|
||||||
|
reducer: reducer,
|
||||||
|
actions: actions_namespaceObject,
|
||||||
|
selectors: selectors_namespaceObject,
|
||||||
|
persist: ['preferences']
|
||||||
|
});
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","components"]
|
||||||
|
var external_wp_components_ = __webpack_require__("tI+e");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
|
||||||
|
var library_close = __webpack_require__("w95h");
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/components/dot-tip/index.js
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
|
||||||
xmlns: "http://www.w3.org/2000/svg",
|
|
||||||
viewBox: "0 0 24 24"
|
|
||||||
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
|
||||||
d: "M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
|
|
||||||
}));
|
|
||||||
/* harmony default export */ __webpack_exports__["a"] = (close);
|
function onClick(event) {
|
||||||
|
// Tips are often nested within buttons. We stop propagation so that clicking
|
||||||
|
// on a tip doesn't result in the button being clicked.
|
||||||
|
event.stopPropagation();
|
||||||
|
}
|
||||||
|
|
||||||
|
function DotTip({
|
||||||
|
position = 'middle right',
|
||||||
|
children,
|
||||||
|
isVisible,
|
||||||
|
hasNextTip,
|
||||||
|
onDismiss,
|
||||||
|
onDisable
|
||||||
|
}) {
|
||||||
|
const anchorParent = Object(external_wp_element_["useRef"])(null);
|
||||||
|
const onFocusOutsideCallback = Object(external_wp_element_["useCallback"])(event => {
|
||||||
|
if (!anchorParent.current) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (anchorParent.current.contains(event.relatedTarget)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
onDisable();
|
||||||
|
}, [onDisable, anchorParent]);
|
||||||
|
|
||||||
|
if (!isVisible) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
|
||||||
|
className: "nux-dot-tip",
|
||||||
|
position: position,
|
||||||
|
noArrow: true,
|
||||||
|
focusOnMount: "container",
|
||||||
|
shouldAnchorIncludePadding: true,
|
||||||
|
role: "dialog",
|
||||||
|
"aria-label": Object(external_wp_i18n_["__"])('Editor tips'),
|
||||||
|
onClick: onClick,
|
||||||
|
onFocusOutside: onFocusOutsideCallback
|
||||||
|
}, Object(external_wp_element_["createElement"])("p", null, children), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
|
||||||
|
isLink: true,
|
||||||
|
onClick: onDismiss
|
||||||
|
}, hasNextTip ? Object(external_wp_i18n_["__"])('See next tip') : Object(external_wp_i18n_["__"])('Got it'))), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
|
||||||
|
className: "nux-dot-tip__disable",
|
||||||
|
icon: library_close["a" /* default */],
|
||||||
|
label: Object(external_wp_i18n_["__"])('Disable tips'),
|
||||||
|
onClick: onDisable
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
/* harmony default export */ var dot_tip = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, {
|
||||||
|
tipId
|
||||||
|
}) => {
|
||||||
|
const {
|
||||||
|
isTipVisible,
|
||||||
|
getAssociatedGuide
|
||||||
|
} = select('core/nux');
|
||||||
|
const associatedGuide = getAssociatedGuide(tipId);
|
||||||
|
return {
|
||||||
|
isVisible: isTipVisible(tipId),
|
||||||
|
hasNextTip: !!(associatedGuide && associatedGuide.nextTipId)
|
||||||
|
};
|
||||||
|
}), Object(external_wp_data_["withDispatch"])((dispatch, {
|
||||||
|
tipId
|
||||||
|
}) => {
|
||||||
|
const {
|
||||||
|
dismissTip,
|
||||||
|
disableTips
|
||||||
|
} = dispatch('core/nux');
|
||||||
|
return {
|
||||||
|
onDismiss() {
|
||||||
|
dismissTip(tipId);
|
||||||
|
},
|
||||||
|
|
||||||
|
onDisable() {
|
||||||
|
disableTips();
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
|
}))(DotTip));
|
||||||
|
|
||||||
|
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/index.js
|
||||||
|
/**
|
||||||
|
* WordPress dependencies
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
external_wp_deprecated_default()('wp.nux', {
|
||||||
|
since: '5.4',
|
||||||
|
hint: 'wp.components.Guide can be used to show a user guide.'
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "GRId":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 24:
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "NMb1":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["deprecated"]; }());
|
(function() { module.exports = window["wp"]["deprecated"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 26:
|
/***/ "Tqx9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["primitives"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "pPDe":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -429,432 +827,34 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 3:
|
/***/ "tI+e":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["primitives"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 4:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["components"]; }());
|
(function() { module.exports = window["wp"]["components"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 5:
|
/***/ "w95h":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 577:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
// ESM COMPAT FLAG
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
__webpack_require__.r(__webpack_exports__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
// EXPORTS
|
|
||||||
__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
|
|
||||||
__webpack_require__.d(__webpack_exports__, "DotTip", function() { return /* reexport */ dot_tip; });
|
|
||||||
|
|
||||||
// NAMESPACE OBJECT: ./node_modules/@wordpress/nux/build-module/store/actions.js
|
|
||||||
var actions_namespaceObject = {};
|
|
||||||
__webpack_require__.r(actions_namespaceObject);
|
|
||||||
__webpack_require__.d(actions_namespaceObject, "triggerGuide", function() { return triggerGuide; });
|
|
||||||
__webpack_require__.d(actions_namespaceObject, "dismissTip", function() { return dismissTip; });
|
|
||||||
__webpack_require__.d(actions_namespaceObject, "disableTips", function() { return disableTips; });
|
|
||||||
__webpack_require__.d(actions_namespaceObject, "enableTips", function() { return enableTips; });
|
|
||||||
|
|
||||||
// NAMESPACE OBJECT: ./node_modules/@wordpress/nux/build-module/store/selectors.js
|
|
||||||
var selectors_namespaceObject = {};
|
|
||||||
__webpack_require__.r(selectors_namespaceObject);
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "getAssociatedGuide", function() { return getAssociatedGuide; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "isTipVisible", function() { return isTipVisible; });
|
|
||||||
__webpack_require__.d(selectors_namespaceObject, "areTipsEnabled", function() { return selectors_areTipsEnabled; });
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","deprecated"]
|
|
||||||
var external_wp_deprecated_ = __webpack_require__(24);
|
|
||||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js
|
|
||||||
/**
|
/**
|
||||||
* WordPress dependencies
|
* WordPress dependencies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
|
||||||
* Reducer that tracks which tips are in a guide. Each guide is represented by
|
xmlns: "http://www.w3.org/2000/svg",
|
||||||
* an array which contains the tip identifiers contained within that guide.
|
viewBox: "0 0 24 24"
|
||||||
*
|
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
|
||||||
* @param {Array} state Current state.
|
d: "M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"
|
||||||
* @param {Object} action Dispatched action.
|
|
||||||
*
|
|
||||||
* @return {Array} Updated state.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function guides(state = [], action) {
|
|
||||||
switch (action.type) {
|
|
||||||
case 'TRIGGER_GUIDE':
|
|
||||||
return [...state, action.tipIds];
|
|
||||||
}
|
|
||||||
|
|
||||||
return state;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Reducer that tracks whether or not tips are globally enabled.
|
|
||||||
*
|
|
||||||
* @param {boolean} state Current state.
|
|
||||||
* @param {Object} action Dispatched action.
|
|
||||||
*
|
|
||||||
* @return {boolean} Updated state.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function areTipsEnabled(state = true, action) {
|
|
||||||
switch (action.type) {
|
|
||||||
case 'DISABLE_TIPS':
|
|
||||||
return false;
|
|
||||||
|
|
||||||
case 'ENABLE_TIPS':
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return state;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Reducer that tracks which tips have been dismissed. If the state object
|
|
||||||
* contains a tip identifier, then that tip is dismissed.
|
|
||||||
*
|
|
||||||
* @param {Object} state Current state.
|
|
||||||
* @param {Object} action Dispatched action.
|
|
||||||
*
|
|
||||||
* @return {Object} Updated state.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function dismissedTips(state = {}, action) {
|
|
||||||
switch (action.type) {
|
|
||||||
case 'DISMISS_TIP':
|
|
||||||
return { ...state,
|
|
||||||
[action.id]: true
|
|
||||||
};
|
|
||||||
|
|
||||||
case 'ENABLE_TIPS':
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
|
|
||||||
return state;
|
|
||||||
}
|
|
||||||
const preferences = Object(external_wp_data_["combineReducers"])({
|
|
||||||
areTipsEnabled,
|
|
||||||
dismissedTips
|
|
||||||
});
|
|
||||||
/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
|
|
||||||
guides,
|
|
||||||
preferences
|
|
||||||
}));
|
}));
|
||||||
|
/* harmony default export */ __webpack_exports__["a"] = (close);
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/actions.js
|
|
||||||
/**
|
|
||||||
* Returns an action object that, when dispatched, presents a guide that takes
|
|
||||||
* the user through a series of tips step by step.
|
|
||||||
*
|
|
||||||
* @param {string[]} tipIds Which tips to show in the guide.
|
|
||||||
*
|
|
||||||
* @return {Object} Action object.
|
|
||||||
*/
|
|
||||||
function triggerGuide(tipIds) {
|
|
||||||
return {
|
|
||||||
type: 'TRIGGER_GUIDE',
|
|
||||||
tipIds
|
|
||||||
};
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns an action object that, when dispatched, dismisses the given tip. A
|
|
||||||
* dismissed tip will not show again.
|
|
||||||
*
|
|
||||||
* @param {string} id The tip to dismiss.
|
|
||||||
*
|
|
||||||
* @return {Object} Action object.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function dismissTip(id) {
|
|
||||||
return {
|
|
||||||
type: 'DISMISS_TIP',
|
|
||||||
id
|
|
||||||
};
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns an action object that, when dispatched, prevents all tips from
|
|
||||||
* showing again.
|
|
||||||
*
|
|
||||||
* @return {Object} Action object.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function disableTips() {
|
|
||||||
return {
|
|
||||||
type: 'DISABLE_TIPS'
|
|
||||||
};
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns an action object that, when dispatched, makes all tips show again.
|
|
||||||
*
|
|
||||||
* @return {Object} Action object.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function enableTips() {
|
|
||||||
return {
|
|
||||||
type: 'ENABLE_TIPS'
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
|
||||||
var rememo = __webpack_require__(26);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
|
||||||
var external_lodash_ = __webpack_require__(2);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/selectors.js
|
|
||||||
/**
|
|
||||||
* External dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An object containing information about a guide.
|
|
||||||
*
|
|
||||||
* @typedef {Object} NUXGuideInfo
|
|
||||||
* @property {string[]} tipIds Which tips the guide contains.
|
|
||||||
* @property {?string} currentTipId The guide's currently showing tip.
|
|
||||||
* @property {?string} nextTipId The guide's next tip to show.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an object describing the guide, if any, that the given tip is a part
|
|
||||||
* of.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global application state.
|
|
||||||
* @param {string} tipId The tip to query.
|
|
||||||
*
|
|
||||||
* @return {?NUXGuideInfo} Information about the associated guide.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const getAssociatedGuide = Object(rememo["a" /* default */])((state, tipId) => {
|
|
||||||
for (const tipIds of state.guides) {
|
|
||||||
if (Object(external_lodash_["includes"])(tipIds, tipId)) {
|
|
||||||
const nonDismissedTips = Object(external_lodash_["difference"])(tipIds, Object(external_lodash_["keys"])(state.preferences.dismissedTips));
|
|
||||||
const [currentTipId = null, nextTipId = null] = nonDismissedTips;
|
|
||||||
return {
|
|
||||||
tipIds,
|
|
||||||
currentTipId,
|
|
||||||
nextTipId
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}, state => [state.guides, state.preferences.dismissedTips]);
|
|
||||||
/**
|
|
||||||
* Determines whether or not the given tip is showing. Tips are hidden if they
|
|
||||||
* are disabled, have been dismissed, or are not the current tip in any
|
|
||||||
* guide that they have been added to.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global application state.
|
|
||||||
* @param {string} tipId The tip to query.
|
|
||||||
*
|
|
||||||
* @return {boolean} Whether or not the given tip is showing.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function isTipVisible(state, tipId) {
|
|
||||||
if (!state.preferences.areTipsEnabled) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Object(external_lodash_["has"])(state.preferences.dismissedTips, [tipId])) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
const associatedGuide = getAssociatedGuide(state, tipId);
|
|
||||||
|
|
||||||
if (associatedGuide && associatedGuide.currentTipId !== tipId) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns whether or not tips are globally enabled.
|
|
||||||
*
|
|
||||||
* @param {Object} state Global application state.
|
|
||||||
*
|
|
||||||
* @return {boolean} Whether tips are globally enabled.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function selectors_areTipsEnabled(state) {
|
|
||||||
return state.preferences.areTipsEnabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/index.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const STORE_NAME = 'core/nux';
|
|
||||||
/**
|
|
||||||
* Store definition for the nux namespace.
|
|
||||||
*
|
|
||||||
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
|
|
||||||
*
|
|
||||||
* @type {Object}
|
|
||||||
*/
|
|
||||||
|
|
||||||
const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
|
|
||||||
reducer: reducer,
|
|
||||||
actions: actions_namespaceObject,
|
|
||||||
selectors: selectors_namespaceObject,
|
|
||||||
persist: ['preferences']
|
|
||||||
}); // Once we build a more generic persistence plugin that works across types of stores
|
|
||||||
// we'd be able to replace this with a register call.
|
|
||||||
|
|
||||||
Object(external_wp_data_["registerStore"])(STORE_NAME, {
|
|
||||||
reducer: reducer,
|
|
||||||
actions: actions_namespaceObject,
|
|
||||||
selectors: selectors_namespaceObject,
|
|
||||||
persist: ['preferences']
|
|
||||||
});
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","components"]
|
|
||||||
var external_wp_components_ = __webpack_require__(4);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
|
|
||||||
var library_close = __webpack_require__(124);
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/components/dot-tip/index.js
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function onClick(event) {
|
|
||||||
// Tips are often nested within buttons. We stop propagation so that clicking
|
|
||||||
// on a tip doesn't result in the button being clicked.
|
|
||||||
event.stopPropagation();
|
|
||||||
}
|
|
||||||
|
|
||||||
function DotTip({
|
|
||||||
position = 'middle right',
|
|
||||||
children,
|
|
||||||
isVisible,
|
|
||||||
hasNextTip,
|
|
||||||
onDismiss,
|
|
||||||
onDisable
|
|
||||||
}) {
|
|
||||||
const anchorParent = Object(external_wp_element_["useRef"])(null);
|
|
||||||
const onFocusOutsideCallback = Object(external_wp_element_["useCallback"])(event => {
|
|
||||||
if (!anchorParent.current) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (anchorParent.current.contains(event.relatedTarget)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
onDisable();
|
|
||||||
}, [onDisable, anchorParent]);
|
|
||||||
|
|
||||||
if (!isVisible) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
|
|
||||||
className: "nux-dot-tip",
|
|
||||||
position: position,
|
|
||||||
noArrow: true,
|
|
||||||
focusOnMount: "container",
|
|
||||||
shouldAnchorIncludePadding: true,
|
|
||||||
role: "dialog",
|
|
||||||
"aria-label": Object(external_wp_i18n_["__"])('Editor tips'),
|
|
||||||
onClick: onClick,
|
|
||||||
onFocusOutside: onFocusOutsideCallback
|
|
||||||
}, Object(external_wp_element_["createElement"])("p", null, children), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
|
|
||||||
isLink: true,
|
|
||||||
onClick: onDismiss
|
|
||||||
}, hasNextTip ? Object(external_wp_i18n_["__"])('See next tip') : Object(external_wp_i18n_["__"])('Got it'))), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
|
|
||||||
className: "nux-dot-tip__disable",
|
|
||||||
icon: library_close["a" /* default */],
|
|
||||||
label: Object(external_wp_i18n_["__"])('Disable tips'),
|
|
||||||
onClick: onDisable
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
/* harmony default export */ var dot_tip = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, {
|
|
||||||
tipId
|
|
||||||
}) => {
|
|
||||||
const {
|
|
||||||
isTipVisible,
|
|
||||||
getAssociatedGuide
|
|
||||||
} = select('core/nux');
|
|
||||||
const associatedGuide = getAssociatedGuide(tipId);
|
|
||||||
return {
|
|
||||||
isVisible: isTipVisible(tipId),
|
|
||||||
hasNextTip: !!(associatedGuide && associatedGuide.nextTipId)
|
|
||||||
};
|
|
||||||
}), Object(external_wp_data_["withDispatch"])((dispatch, {
|
|
||||||
tipId
|
|
||||||
}) => {
|
|
||||||
const {
|
|
||||||
dismissTip,
|
|
||||||
disableTips
|
|
||||||
} = dispatch('core/nux');
|
|
||||||
return {
|
|
||||||
onDismiss() {
|
|
||||||
dismissTip(tipId);
|
|
||||||
},
|
|
||||||
|
|
||||||
onDisable() {
|
|
||||||
disableTips();
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
}))(DotTip));
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/index.js
|
|
||||||
/**
|
|
||||||
* WordPress dependencies
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
external_wp_deprecated_default()('wp.nux', {
|
|
||||||
since: '5.4',
|
|
||||||
hint: 'wp.components.Guide can be used to show a user guide.'
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,53 +82,18 @@ this["wp"] = this["wp"] || {}; this["wp"]["plugins"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 580);
|
/******/ return __webpack_require__(__webpack_require__.s = "ey5A");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "0Ene":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 21:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["hooks"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 3:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["primitives"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 322:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -147,7 +112,7 @@ const plugins = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEl
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 42:
|
/***/ "4eJC":
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -315,7 +280,35 @@ module.exports = memize;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 580:
|
/***/ "GRId":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Tqx9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["primitives"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "ey5A":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -331,23 +324,23 @@ __webpack_require__.d(__webpack_exports__, "getPlugin", function() { return /* r
|
||||||
__webpack_require__.d(__webpack_exports__, "getPlugins", function() { return /* reexport */ getPlugins; });
|
__webpack_require__.d(__webpack_exports__, "getPlugins", function() { return /* reexport */ getPlugins; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
// EXTERNAL MODULE: ./node_modules/memize/index.js
|
||||||
var memize = __webpack_require__(42);
|
var memize = __webpack_require__("4eJC");
|
||||||
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","hooks"]
|
// EXTERNAL MODULE: external ["wp","hooks"]
|
||||||
var external_wp_hooks_ = __webpack_require__(21);
|
var external_wp_hooks_ = __webpack_require__("g56x");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||||
var esm_extends = __webpack_require__(7);
|
var esm_extends = __webpack_require__("wx14");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
|
||||||
|
|
||||||
|
@ -382,7 +375,7 @@ const withPluginContext = mapContextToProps => Object(external_wp_compose_["crea
|
||||||
}, 'withPluginContext');
|
}, 'withPluginContext');
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
|
||||||
var plugins = __webpack_require__(322);
|
var plugins = __webpack_require__("0Ene");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
|
||||||
/* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */
|
/* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */
|
||||||
|
@ -736,7 +729,14 @@ class plugin_area_PluginArea extends external_wp_element_["Component"] {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7:
|
/***/ "g56x":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["hooks"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "wx14":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,19 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["primitives"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 581);
|
/******/ return __webpack_require__(__webpack_require__.s = "G8AQ");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "G8AQ":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 581:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -117,11 +110,11 @@ __webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return
|
||||||
__webpack_require__.d(__webpack_exports__, "View", function() { return /* reexport */ View; });
|
__webpack_require__.d(__webpack_exports__, "View", function() { return /* reexport */ View; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
||||||
var classnames = __webpack_require__(9);
|
var classnames = __webpack_require__("TSYQ");
|
||||||
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
||||||
/**
|
/**
|
||||||
|
@ -242,7 +235,14 @@ const View = 'div';
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 9:
|
/***/ "GRId":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "TSYQ":
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.primitives=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=581)}({0:function(e,t){e.exports=window.wp.element},581:function(e,t,r){"use strict";r.r(t),r.d(t,"Circle",(function(){return u})),r.d(t,"G",(function(){return c})),r.d(t,"Path",(function(){return a})),r.d(t,"Polygon",(function(){return l})),r.d(t,"Rect",(function(){return f})),r.d(t,"Defs",(function(){return s})),r.d(t,"RadialGradient",(function(){return d})),r.d(t,"LinearGradient",(function(){return p})),r.d(t,"Stop",(function(){return b})),r.d(t,"SVG",(function(){return m})),r.d(t,"HorizontalRule",(function(){return v})),r.d(t,"BlockQuotation",(function(){return y})),r.d(t,"View",(function(){return j}));var n=r(9),o=r.n(n),i=r(0);const u=e=>Object(i.createElement)("circle",e),c=e=>Object(i.createElement)("g",e),a=e=>Object(i.createElement)("path",e),l=e=>Object(i.createElement)("polygon",e),f=e=>Object(i.createElement)("rect",e),s=e=>Object(i.createElement)("defs",e),d=e=>Object(i.createElement)("radialGradient",e),p=e=>Object(i.createElement)("linearGradient",e),b=e=>Object(i.createElement)("stop",e),m=({className:e,isPressed:t,...r})=>{const n={...r,className:o()(e,{"is-pressed":t})||void 0,role:"img","aria-hidden":!0,focusable:!1};return Object(i.createElement)("svg",n)},v="hr",y="blockquote",j="div"},9:function(e,t,r){var n;
|
this.wp=this.wp||{},this.wp.primitives=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/primitives/build-module/index.js")}({"./node_modules/@wordpress/primitives/build-module/index.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Circle",(function(){return u})),n.d(t,"G",(function(){return c})),n.d(t,"Path",(function(){return l})),n.d(t,"Polygon",(function(){return s})),n.d(t,"Rect",(function(){return a})),n.d(t,"Defs",(function(){return d})),n.d(t,"RadialGradient",(function(){return f})),n.d(t,"LinearGradient",(function(){return p})),n.d(t,"Stop",(function(){return m})),n.d(t,"SVG",(function(){return b})),n.d(t,"HorizontalRule",(function(){return j})),n.d(t,"BlockQuotation",(function(){return v})),n.d(t,"View",(function(){return y}));var r=n("./node_modules/classnames/index.js"),o=n.n(r),i=n("@wordpress/element");const u=e=>Object(i.createElement)("circle",e),c=e=>Object(i.createElement)("g",e),l=e=>Object(i.createElement)("path",e),s=e=>Object(i.createElement)("polygon",e),a=e=>Object(i.createElement)("rect",e),d=e=>Object(i.createElement)("defs",e),f=e=>Object(i.createElement)("radialGradient",e),p=e=>Object(i.createElement)("linearGradient",e),m=e=>Object(i.createElement)("stop",e),b=({className:e,isPressed:t,...n})=>{const r={...n,className:o()(e,{"is-pressed":t})||void 0,role:"img","aria-hidden":!0,focusable:!1};return Object(i.createElement)("svg",r)},j="hr",v="blockquote",y="div"},"./node_modules/classnames/index.js":function(e,t,n){var r;
|
||||||
/*!
|
/*!
|
||||||
Copyright (c) 2018 Jed Watson.
|
Copyright (c) 2018 Jed Watson.
|
||||||
Licensed under the MIT License (MIT), see
|
Licensed under the MIT License (MIT), see
|
||||||
http://jedwatson.github.io/classnames
|
http://jedwatson.github.io/classnames
|
||||||
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var u=o.apply(null,n);u&&e.push(u)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var c in n)r.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}});
|
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var u=o.apply(null,r);u&&e.push(u)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},"@wordpress/element":function(e,t){e.exports=window.wp.element}});
|
|
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["priorityQueue"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 586);
|
/******/ return __webpack_require__(__webpack_require__.s = "XPKI");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 586:
|
/***/ "XPKI":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.priorityQueue=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=586)}({586:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return o}));var r="undefined"==typeof window?e=>{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame;const o=()=>{let e=[],t=new WeakMap,n=!1;const o=u=>{const i="number"==typeof u?()=>!1:()=>u.timeRemaining()>0;do{if(0===e.length)return void(n=!1);const r=e.shift();t.get(r)(),t.delete(r)}while(i());r(o)};return{add:(u,i)=>{t.has(u)||e.push(u),t.set(u,i),n||(n=!0,r(o))},flush:n=>{if(!t.has(n))return!1;const r=e.indexOf(n);e.splice(r,1);const o=t.get(n);return t.delete(n),o(),!0},reset:()=>{e=[],t=new WeakMap,n=!1}}}}});
|
this.wp=this.wp||{},this.wp.priorityQueue=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/priority-queue/build-module/index.js")}({"./node_modules/@wordpress/priority-queue/build-module/index.js":function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return o}));var r="undefined"==typeof window?e=>{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame;const o=()=>{let e=[],t=new WeakMap,n=!1;const o=u=>{const i="number"==typeof u?()=>!1:()=>u.timeRemaining()>0;do{if(0===e.length)return void(n=!1);const r=e.shift();t.get(r)(),t.delete(r)}while(i());r(o)};return{add:(u,i)=>{t.has(u)||e.push(u),t.set(u,i),n||(n=!0,r(o))},flush:n=>{if(!t.has(n))return!1;const r=e.indexOf(n);e.splice(r,1);const o=t.get(n);return t.delete(n),o(),!0},reset:()=>{e=[],t=new WeakMap,n=!1}}}}});
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -82,60 +82,46 @@ this["wp"] = this["wp"] || {}; this["wp"]["reusableBlocks"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 569);
|
/******/ return __webpack_require__(__webpack_require__.s = "iqm2");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "1ZqX":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "GRId":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 1:
|
/***/ "HSyU":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
(function() { module.exports = window["wp"]["blocks"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 18:
|
/***/ "Mmq9":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["coreData"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 20:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["url"]; }());
|
(function() { module.exports = window["wp"]["url"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 3:
|
/***/ "SRG5":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["primitives"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 323:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
|
||||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
|
||||||
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
|
|
||||||
|
|
||||||
|
@ -154,28 +140,28 @@ const reusableBlock = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cr
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 36:
|
/***/ "Tqx9":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["notices"]; }());
|
(function() { module.exports = window["wp"]["primitives"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 4:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["components"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 5:
|
/***/ "axFQ":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["blockEditor"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 569:
|
/***/ "iqm2":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -200,22 +186,22 @@ __webpack_require__.r(selectors_namespaceObject);
|
||||||
__webpack_require__.d(selectors_namespaceObject, "__experimentalIsEditingReusableBlock", function() { return __experimentalIsEditingReusableBlock; });
|
__webpack_require__.d(selectors_namespaceObject, "__experimentalIsEditingReusableBlock", function() { return __experimentalIsEditingReusableBlock; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blockEditor"]
|
// EXTERNAL MODULE: external ["wp","blockEditor"]
|
||||||
var external_wp_blockEditor_ = __webpack_require__(6);
|
var external_wp_blockEditor_ = __webpack_require__("axFQ");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","coreData"]
|
// EXTERNAL MODULE: external ["wp","coreData"]
|
||||||
var external_wp_coreData_ = __webpack_require__(18);
|
var external_wp_coreData_ = __webpack_require__("jZUy");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blocks"]
|
// EXTERNAL MODULE: external ["wp","blocks"]
|
||||||
var external_wp_blocks_ = __webpack_require__(8);
|
var external_wp_blocks_ = __webpack_require__("HSyU");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/controls.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/controls.js
|
||||||
/**
|
/**
|
||||||
|
@ -435,16 +421,16 @@ const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
|
||||||
Object(external_wp_data_["register"])(store);
|
Object(external_wp_data_["register"])(store);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","components"]
|
// EXTERNAL MODULE: external ["wp","components"]
|
||||||
var external_wp_components_ = __webpack_require__(4);
|
var external_wp_components_ = __webpack_require__("tI+e");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/reusable-block.js
|
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/reusable-block.js
|
||||||
var reusable_block = __webpack_require__(323);
|
var reusable_block = __webpack_require__("SRG5");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","notices"]
|
// EXTERNAL MODULE: external ["wp","notices"]
|
||||||
var external_wp_notices_ = __webpack_require__(36);
|
var external_wp_notices_ = __webpack_require__("onLe");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-block-convert-button.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-block-convert-button.js
|
||||||
|
|
||||||
|
@ -570,7 +556,7 @@ function ReusableBlockConvertButton({
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","url"]
|
// EXTERNAL MODULE: external ["wp","url"]
|
||||||
var external_wp_url_ = __webpack_require__(20);
|
var external_wp_url_ = __webpack_require__("Mmq9");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-blocks-manage-button.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-blocks-manage-button.js
|
||||||
|
|
||||||
|
@ -667,17 +653,31 @@ function ReusableBlocksMenuItems({
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 6:
|
/***/ "jZUy":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blockEditor"]; }());
|
(function() { module.exports = window["wp"]["coreData"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 8:
|
/***/ "l3Sj":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blocks"]; }());
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "onLe":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["notices"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "tI+e":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["components"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,47 +82,61 @@ this["wp"] = this["wp"] || {}; this["wp"]["richText"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 557);
|
/******/ return __webpack_require__(__webpack_require__.s = "yyEc");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "1CF3":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 12:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["keycodes"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 19:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["dom"]; }());
|
(function() { module.exports = window["wp"]["dom"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "1ZqX":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "GRId":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "RxS6":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["keycodes"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Vx3V":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["escapeHtml"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 26:
|
/***/ "pPDe":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -404,14 +418,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 5:
|
/***/ "yyEc":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 557:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -472,10 +479,10 @@ __webpack_require__.d(actions_namespaceObject, "addFormatTypes", function() { re
|
||||||
__webpack_require__.d(actions_namespaceObject, "removeFormatTypes", function() { return removeFormatTypes; });
|
__webpack_require__.d(actions_namespaceObject, "removeFormatTypes", function() { return removeFormatTypes; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/reducer.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/reducer.js
|
||||||
/**
|
/**
|
||||||
|
@ -514,7 +521,7 @@ function reducer_formatTypes(state = {}, action) {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||||
var rememo = __webpack_require__(26);
|
var rememo = __webpack_require__("pPDe");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js
|
||||||
/**
|
/**
|
||||||
|
@ -3056,7 +3063,7 @@ function applySelection({
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","escapeHtml"]
|
// EXTERNAL MODULE: external ["wp","escapeHtml"]
|
||||||
var external_wp_escapeHtml_ = __webpack_require__(95);
|
var external_wp_escapeHtml_ = __webpack_require__("Vx3V");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js
|
||||||
/**
|
/**
|
||||||
|
@ -3607,7 +3614,7 @@ function changeListType(value, newFormat) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-anchor-ref.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-anchor-ref.js
|
||||||
/**
|
/**
|
||||||
|
@ -3683,13 +3690,13 @@ function useAnchorRef({
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","keycodes"]
|
// EXTERNAL MODULE: external ["wp","keycodes"]
|
||||||
var external_wp_keycodes_ = __webpack_require__(12);
|
var external_wp_keycodes_ = __webpack_require__("RxS6");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","dom"]
|
// EXTERNAL MODULE: external ["wp","dom"]
|
||||||
var external_wp_dom_ = __webpack_require__(19);
|
var external_wp_dom_ = __webpack_require__("1CF3");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/format-edit.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/format-edit.js
|
||||||
|
|
||||||
|
@ -5181,13 +5188,6 @@ function RichText({
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 95:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["escapeHtml"]; }());
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,75 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["serverSideRender"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 587);
|
/******/ return __webpack_require__(__webpack_require__.s = "4dqW");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "1ZqX":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 1:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["i18n"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 20:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["url"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 24:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["deprecated"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 33:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 4:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["components"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 587:
|
/***/ "4dqW":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -158,39 +102,39 @@ this["wp"] = this["wp"] || {}; this["wp"]["serverSideRender"] =
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||||
var esm_extends = __webpack_require__(7);
|
var esm_extends = __webpack_require__("wx14");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","deprecated"]
|
// EXTERNAL MODULE: external ["wp","deprecated"]
|
||||||
var external_wp_deprecated_ = __webpack_require__(24);
|
var external_wp_deprecated_ = __webpack_require__("NMb1");
|
||||||
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
|
var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","i18n"]
|
// EXTERNAL MODULE: external ["wp","i18n"]
|
||||||
var external_wp_i18n_ = __webpack_require__(1);
|
var external_wp_i18n_ = __webpack_require__("l3Sj");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
// EXTERNAL MODULE: external ["wp","apiFetch"]
|
||||||
var external_wp_apiFetch_ = __webpack_require__(33);
|
var external_wp_apiFetch_ = __webpack_require__("ywyh");
|
||||||
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","url"]
|
// EXTERNAL MODULE: external ["wp","url"]
|
||||||
var external_wp_url_ = __webpack_require__(20);
|
var external_wp_url_ = __webpack_require__("Mmq9");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","components"]
|
// EXTERNAL MODULE: external ["wp","components"]
|
||||||
var external_wp_components_ = __webpack_require__(4);
|
var external_wp_components_ = __webpack_require__("tI+e");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","blocks"]
|
// EXTERNAL MODULE: external ["wp","blocks"]
|
||||||
var external_wp_blocks_ = __webpack_require__(8);
|
var external_wp_blocks_ = __webpack_require__("HSyU");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/server-side-render.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/server-side-render.js
|
||||||
|
|
||||||
|
@ -409,7 +353,63 @@ if (window && window.wp && window.wp.components) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7:
|
/***/ "GRId":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "HSyU":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["blocks"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "Mmq9":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["url"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "NMb1":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["deprecated"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "l3Sj":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["i18n"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "tI+e":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["components"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "wx14":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -434,10 +434,10 @@ function _extends() {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 8:
|
/***/ "ywyh":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["blocks"]; }());
|
(function() { module.exports = window["wp"]["apiFetch"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.serverSideRender=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=587)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10:function(e,t){e.exports=window.wp.compose},2:function(e,t){e.exports=window.lodash},20:function(e,t){e.exports=window.wp.url},24:function(e,t){e.exports=window.wp.deprecated},33:function(e,t){e.exports=window.wp.apiFetch},4:function(e,t){e.exports=window.wp.components},5:function(e,t){e.exports=window.wp.data},587:function(e,t,r){"use strict";r.r(t);var n=r(7),o=r(0),c=r(5),u=r(24),s=r.n(u),l=r(2),i=r(10),a=r(1),d=r(33),p=r.n(d),f=r(20),b=r(4),w=r(8);function O({className:e}){return Object(o.createElement)(b.Placeholder,{className:e},Object(a.__)("Block rendered as empty."))}function j({response:e,className:t}){const r=Object(a.sprintf)(Object(a.__)("Error loading block: %s"),e.errorMsg);return Object(o.createElement)(b.Placeholder,{className:t},r)}function m({className:e}){return Object(o.createElement)(b.Placeholder,{className:e},Object(o.createElement)(b.Spinner,null))}function h(e){const{attributes:t,block:r,className:c,httpMethod:u="GET",urlQueryArgs:s,EmptyResponsePlaceholder:a=O,ErrorResponsePlaceholder:d=j,LoadingResponsePlaceholder:b=m}=e,h=Object(o.useRef)(!0),y=Object(o.useRef)(),[v,g]=Object(o.useState)(null),E=Object(i.usePrevious)(e);function P(){if(!h.current)return;null!==v&&g(null);const e=t&&Object(w.__experimentalSanitizeBlockAttributes)(r,t),n="POST"===u,o=function(e,t=null,r={}){return Object(f.addQueryArgs)("/wp/v2/block-renderer/"+e,{context:"edit",...null!==t?{attributes:t}:{},...r})}(r,n?null:null!=e?e:null,s),c=n?{attributes:null!=e?e:null}:null,l=y.current=p()({path:o,data:c,method:n?"POST":"GET"}).then(e=>{h.current&&l===y.current&&e&&g(e.rendered)}).catch(e=>{h.current&&l===y.current&&g({error:!0,errorMsg:e.message})});return l}const x=Object(i.useDebounce)(P,500);return Object(o.useEffect)(()=>()=>{h.current=!1},[]),Object(o.useEffect)(()=>{void 0===E?P():Object(l.isEqual)(E,e)||x()}),""===v?Object(o.createElement)(a,e):v?v.error?Object(o.createElement)(d,Object(n.a)({response:v},e)):Object(o.createElement)(o.RawHTML,{className:c},v):Object(o.createElement)(b,e)}const y={},v=Object(c.withSelect)(e=>{const t=e("core/editor");if(t){const e=t.getCurrentPostId();if(e&&"number"==typeof e.id)return{currentPostId:e}}return y})(({urlQueryArgs:e=y,currentPostId:t,...r})=>{const c=Object(o.useMemo)(()=>t?{post_id:t,...e}:e,[t,e]);return Object(o.createElement)(h,Object(n.a)({urlQueryArgs:c},r))});window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=Object(o.forwardRef)((e,t)=>(s()("wp.components.ServerSideRender",{since:"5.3",alternative:"wp.serverSideRender"}),Object(o.createElement)(v,Object(n.a)({},e,{ref:t})))));t.default=v},7:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},8:function(e,t){e.exports=window.wp.blocks}}).default;
|
this.wp=this.wp||{},this.wp.serverSideRender=function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s="./node_modules/@wordpress/server-side-render/build-module/index.js")}({"./node_modules/@babel/runtime/helpers/esm/extends.js":function(e,r,t){"use strict";function n(){return(n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}t.d(r,"a",(function(){return n}))},"./node_modules/@wordpress/server-side-render/build-module/index.js":function(e,r,t){"use strict";t.r(r);var n=t("./node_modules/@babel/runtime/helpers/esm/extends.js"),o=t("@wordpress/element"),s=t("@wordpress/data"),c=t("@wordpress/deprecated"),u=t.n(c),l=t("lodash"),d=t("@wordpress/compose"),i=t("@wordpress/i18n"),a=t("@wordpress/api-fetch"),p=t.n(a),w=t("@wordpress/url"),f=t("@wordpress/components"),b=t("@wordpress/blocks");function m({className:e}){return Object(o.createElement)(f.Placeholder,{className:e},Object(i.__)("Block rendered as empty."))}function j({response:e,className:r}){const t=Object(i.sprintf)(Object(i.__)("Error loading block: %s"),e.errorMsg);return Object(o.createElement)(f.Placeholder,{className:r},t)}function O({className:e}){return Object(o.createElement)(f.Placeholder,{className:e},Object(o.createElement)(f.Spinner,null))}function h(e){const{attributes:r,block:t,className:s,httpMethod:c="GET",urlQueryArgs:u,EmptyResponsePlaceholder:i=m,ErrorResponsePlaceholder:a=j,LoadingResponsePlaceholder:f=O}=e,h=Object(o.useRef)(!0),v=Object(o.useRef)(),[y,x]=Object(o.useState)(null),g=Object(d.usePrevious)(e);function E(){if(!h.current)return;null!==y&&x(null);const e=r&&Object(b.__experimentalSanitizeBlockAttributes)(t,r),n="POST"===c,o=function(e,r=null,t={}){return Object(w.addQueryArgs)("/wp/v2/block-renderer/"+e,{context:"edit",...null!==r?{attributes:r}:{},...t})}(t,n?null:null!=e?e:null,u),s=n?{attributes:null!=e?e:null}:null,l=v.current=p()({path:o,data:s,method:n?"POST":"GET"}).then(e=>{h.current&&l===v.current&&e&&x(e.rendered)}).catch(e=>{h.current&&l===v.current&&x({error:!0,errorMsg:e.message})});return l}const P=Object(d.useDebounce)(E,500);return Object(o.useEffect)(()=>()=>{h.current=!1},[]),Object(o.useEffect)(()=>{void 0===g?E():Object(l.isEqual)(g,e)||P()}),""===y?Object(o.createElement)(i,e):y?y.error?Object(o.createElement)(a,Object(n.a)({response:y},e)):Object(o.createElement)(o.RawHTML,{className:s},y):Object(o.createElement)(f,e)}const v={},y=Object(s.withSelect)(e=>{const r=e("core/editor");if(r){const e=r.getCurrentPostId();if(e&&"number"==typeof e.id)return{currentPostId:e}}return v})(({urlQueryArgs:e=v,currentPostId:r,...t})=>{const s=Object(o.useMemo)(()=>r?{post_id:r,...e}:e,[r,e]);return Object(o.createElement)(h,Object(n.a)({urlQueryArgs:s},t))});window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=Object(o.forwardRef)((e,r)=>(u()("wp.components.ServerSideRender",{since:"5.3",alternative:"wp.serverSideRender"}),Object(o.createElement)(y,Object(n.a)({},e,{ref:r})))));r.default=y},"@wordpress/api-fetch":function(e,r){e.exports=window.wp.apiFetch},"@wordpress/blocks":function(e,r){e.exports=window.wp.blocks},"@wordpress/components":function(e,r){e.exports=window.wp.components},"@wordpress/compose":function(e,r){e.exports=window.wp.compose},"@wordpress/data":function(e,r){e.exports=window.wp.data},"@wordpress/deprecated":function(e,r){e.exports=window.wp.deprecated},"@wordpress/element":function(e,r){e.exports=window.wp.element},"@wordpress/i18n":function(e,r){e.exports=window.wp.i18n},"@wordpress/url":function(e,r){e.exports=window.wp.url},lodash:function(e,r){e.exports=window.lodash}}).default;
|
|
@ -82,187 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["shortcode"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 550);
|
/******/ return __webpack_require__(__webpack_require__.s = "/2FX");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "/2FX":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 42:
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Memize options object.
|
|
||||||
*
|
|
||||||
* @typedef MemizeOptions
|
|
||||||
*
|
|
||||||
* @property {number} [maxSize] Maximum size of the cache.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Internal cache entry.
|
|
||||||
*
|
|
||||||
* @typedef MemizeCacheNode
|
|
||||||
*
|
|
||||||
* @property {?MemizeCacheNode|undefined} [prev] Previous node.
|
|
||||||
* @property {?MemizeCacheNode|undefined} [next] Next node.
|
|
||||||
* @property {Array<*>} args Function arguments for cache
|
|
||||||
* entry.
|
|
||||||
* @property {*} val Function result.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Properties of the enhanced function for controlling cache.
|
|
||||||
*
|
|
||||||
* @typedef MemizeMemoizedFunction
|
|
||||||
*
|
|
||||||
* @property {()=>void} clear Clear the cache.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Accepts a function to be memoized, and returns a new memoized function, with
|
|
||||||
* optional options.
|
|
||||||
*
|
|
||||||
* @template {Function} F
|
|
||||||
*
|
|
||||||
* @param {F} fn Function to memoize.
|
|
||||||
* @param {MemizeOptions} [options] Options object.
|
|
||||||
*
|
|
||||||
* @return {F & MemizeMemoizedFunction} Memoized function.
|
|
||||||
*/
|
|
||||||
function memize( fn, options ) {
|
|
||||||
var size = 0;
|
|
||||||
|
|
||||||
/** @type {?MemizeCacheNode|undefined} */
|
|
||||||
var head;
|
|
||||||
|
|
||||||
/** @type {?MemizeCacheNode|undefined} */
|
|
||||||
var tail;
|
|
||||||
|
|
||||||
options = options || {};
|
|
||||||
|
|
||||||
function memoized( /* ...args */ ) {
|
|
||||||
var node = head,
|
|
||||||
len = arguments.length,
|
|
||||||
args, i;
|
|
||||||
|
|
||||||
searchCache: while ( node ) {
|
|
||||||
// Perform a shallow equality test to confirm that whether the node
|
|
||||||
// under test is a candidate for the arguments passed. Two arrays
|
|
||||||
// are shallowly equal if their length matches and each entry is
|
|
||||||
// strictly equal between the two sets. Avoid abstracting to a
|
|
||||||
// function which could incur an arguments leaking deoptimization.
|
|
||||||
|
|
||||||
// Check whether node arguments match arguments length
|
|
||||||
if ( node.args.length !== arguments.length ) {
|
|
||||||
node = node.next;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check whether node arguments match arguments values
|
|
||||||
for ( i = 0; i < len; i++ ) {
|
|
||||||
if ( node.args[ i ] !== arguments[ i ] ) {
|
|
||||||
node = node.next;
|
|
||||||
continue searchCache;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// At this point we can assume we've found a match
|
|
||||||
|
|
||||||
// Surface matched node to head if not already
|
|
||||||
if ( node !== head ) {
|
|
||||||
// As tail, shift to previous. Must only shift if not also
|
|
||||||
// head, since if both head and tail, there is no previous.
|
|
||||||
if ( node === tail ) {
|
|
||||||
tail = node.prev;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Adjust siblings to point to each other. If node was tail,
|
|
||||||
// this also handles new tail's empty `next` assignment.
|
|
||||||
/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
|
|
||||||
if ( node.next ) {
|
|
||||||
node.next.prev = node.prev;
|
|
||||||
}
|
|
||||||
|
|
||||||
node.next = head;
|
|
||||||
node.prev = null;
|
|
||||||
/** @type {MemizeCacheNode} */ ( head ).prev = node;
|
|
||||||
head = node;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Return immediately
|
|
||||||
return node.val;
|
|
||||||
}
|
|
||||||
|
|
||||||
// No cached value found. Continue to insertion phase:
|
|
||||||
|
|
||||||
// Create a copy of arguments (avoid leaking deoptimization)
|
|
||||||
args = new Array( len );
|
|
||||||
for ( i = 0; i < len; i++ ) {
|
|
||||||
args[ i ] = arguments[ i ];
|
|
||||||
}
|
|
||||||
|
|
||||||
node = {
|
|
||||||
args: args,
|
|
||||||
|
|
||||||
// Generate the result from original function
|
|
||||||
val: fn.apply( null, args ),
|
|
||||||
};
|
|
||||||
|
|
||||||
// Don't need to check whether node is already head, since it would
|
|
||||||
// have been returned above already if it was
|
|
||||||
|
|
||||||
// Shift existing head down list
|
|
||||||
if ( head ) {
|
|
||||||
head.prev = node;
|
|
||||||
node.next = head;
|
|
||||||
} else {
|
|
||||||
// If no head, follows that there's no tail (at initial or reset)
|
|
||||||
tail = node;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Trim tail if we're reached max size and are pending cache insertion
|
|
||||||
if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
|
|
||||||
tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
|
|
||||||
/** @type {MemizeCacheNode} */ ( tail ).next = null;
|
|
||||||
} else {
|
|
||||||
size++;
|
|
||||||
}
|
|
||||||
|
|
||||||
head = node;
|
|
||||||
|
|
||||||
return node.val;
|
|
||||||
}
|
|
||||||
|
|
||||||
memoized.clear = function() {
|
|
||||||
head = null;
|
|
||||||
tail = null;
|
|
||||||
size = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
if ( false ) {}
|
|
||||||
|
|
||||||
// Ignore reason: There's not a clear solution to create an intersection of
|
|
||||||
// the function with additional properties, where the goal is to retain the
|
|
||||||
// function signature of the incoming argument and add control properties
|
|
||||||
// on the return value.
|
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
return memoized;
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = memize;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 550:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -273,9 +98,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "regexp", function() { return regexp; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "regexp", function() { return regexp; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "attrs", function() { return attrs; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "attrs", function() { return attrs; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromMatch", function() { return fromMatch; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromMatch", function() { return fromMatch; });
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(42);
|
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4eJC");
|
||||||
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_1__);
|
/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
|
@ -627,6 +452,181 @@ Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (shortcode);
|
/* harmony default export */ __webpack_exports__["default"] = (shortcode);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "4eJC":
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Memize options object.
|
||||||
|
*
|
||||||
|
* @typedef MemizeOptions
|
||||||
|
*
|
||||||
|
* @property {number} [maxSize] Maximum size of the cache.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Internal cache entry.
|
||||||
|
*
|
||||||
|
* @typedef MemizeCacheNode
|
||||||
|
*
|
||||||
|
* @property {?MemizeCacheNode|undefined} [prev] Previous node.
|
||||||
|
* @property {?MemizeCacheNode|undefined} [next] Next node.
|
||||||
|
* @property {Array<*>} args Function arguments for cache
|
||||||
|
* entry.
|
||||||
|
* @property {*} val Function result.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Properties of the enhanced function for controlling cache.
|
||||||
|
*
|
||||||
|
* @typedef MemizeMemoizedFunction
|
||||||
|
*
|
||||||
|
* @property {()=>void} clear Clear the cache.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accepts a function to be memoized, and returns a new memoized function, with
|
||||||
|
* optional options.
|
||||||
|
*
|
||||||
|
* @template {Function} F
|
||||||
|
*
|
||||||
|
* @param {F} fn Function to memoize.
|
||||||
|
* @param {MemizeOptions} [options] Options object.
|
||||||
|
*
|
||||||
|
* @return {F & MemizeMemoizedFunction} Memoized function.
|
||||||
|
*/
|
||||||
|
function memize( fn, options ) {
|
||||||
|
var size = 0;
|
||||||
|
|
||||||
|
/** @type {?MemizeCacheNode|undefined} */
|
||||||
|
var head;
|
||||||
|
|
||||||
|
/** @type {?MemizeCacheNode|undefined} */
|
||||||
|
var tail;
|
||||||
|
|
||||||
|
options = options || {};
|
||||||
|
|
||||||
|
function memoized( /* ...args */ ) {
|
||||||
|
var node = head,
|
||||||
|
len = arguments.length,
|
||||||
|
args, i;
|
||||||
|
|
||||||
|
searchCache: while ( node ) {
|
||||||
|
// Perform a shallow equality test to confirm that whether the node
|
||||||
|
// under test is a candidate for the arguments passed. Two arrays
|
||||||
|
// are shallowly equal if their length matches and each entry is
|
||||||
|
// strictly equal between the two sets. Avoid abstracting to a
|
||||||
|
// function which could incur an arguments leaking deoptimization.
|
||||||
|
|
||||||
|
// Check whether node arguments match arguments length
|
||||||
|
if ( node.args.length !== arguments.length ) {
|
||||||
|
node = node.next;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check whether node arguments match arguments values
|
||||||
|
for ( i = 0; i < len; i++ ) {
|
||||||
|
if ( node.args[ i ] !== arguments[ i ] ) {
|
||||||
|
node = node.next;
|
||||||
|
continue searchCache;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// At this point we can assume we've found a match
|
||||||
|
|
||||||
|
// Surface matched node to head if not already
|
||||||
|
if ( node !== head ) {
|
||||||
|
// As tail, shift to previous. Must only shift if not also
|
||||||
|
// head, since if both head and tail, there is no previous.
|
||||||
|
if ( node === tail ) {
|
||||||
|
tail = node.prev;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Adjust siblings to point to each other. If node was tail,
|
||||||
|
// this also handles new tail's empty `next` assignment.
|
||||||
|
/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
|
||||||
|
if ( node.next ) {
|
||||||
|
node.next.prev = node.prev;
|
||||||
|
}
|
||||||
|
|
||||||
|
node.next = head;
|
||||||
|
node.prev = null;
|
||||||
|
/** @type {MemizeCacheNode} */ ( head ).prev = node;
|
||||||
|
head = node;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Return immediately
|
||||||
|
return node.val;
|
||||||
|
}
|
||||||
|
|
||||||
|
// No cached value found. Continue to insertion phase:
|
||||||
|
|
||||||
|
// Create a copy of arguments (avoid leaking deoptimization)
|
||||||
|
args = new Array( len );
|
||||||
|
for ( i = 0; i < len; i++ ) {
|
||||||
|
args[ i ] = arguments[ i ];
|
||||||
|
}
|
||||||
|
|
||||||
|
node = {
|
||||||
|
args: args,
|
||||||
|
|
||||||
|
// Generate the result from original function
|
||||||
|
val: fn.apply( null, args ),
|
||||||
|
};
|
||||||
|
|
||||||
|
// Don't need to check whether node is already head, since it would
|
||||||
|
// have been returned above already if it was
|
||||||
|
|
||||||
|
// Shift existing head down list
|
||||||
|
if ( head ) {
|
||||||
|
head.prev = node;
|
||||||
|
node.next = head;
|
||||||
|
} else {
|
||||||
|
// If no head, follows that there's no tail (at initial or reset)
|
||||||
|
tail = node;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Trim tail if we're reached max size and are pending cache insertion
|
||||||
|
if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
|
||||||
|
tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
|
||||||
|
/** @type {MemizeCacheNode} */ ( tail ).next = null;
|
||||||
|
} else {
|
||||||
|
size++;
|
||||||
|
}
|
||||||
|
|
||||||
|
head = node;
|
||||||
|
|
||||||
|
return node.val;
|
||||||
|
}
|
||||||
|
|
||||||
|
memoized.clear = function() {
|
||||||
|
head = null;
|
||||||
|
tail = null;
|
||||||
|
size = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
if ( false ) {}
|
||||||
|
|
||||||
|
// Ignore reason: There's not a clear solution to create an intersection of
|
||||||
|
// the function with additional properties, where the goal is to retain the
|
||||||
|
// function signature of the incoming argument and add control properties
|
||||||
|
// on the return value.
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
return memoized;
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = memize;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ })["default"];
|
/******/ })["default"];
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.shortcode=function(t){var e={};function n(r){if(e[r])return e[r].exports;var s=e[r]={i:r,l:!1,exports:{}};return t[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(r,s,function(e){return t[e]}.bind(null,s));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=550)}({2:function(t,e){t.exports=window.lodash},42:function(t,e,n){t.exports=function(t,e){var n,r,s=0;function o(){var o,u,i=n,c=arguments.length;t:for(;i;){if(i.args.length===arguments.length){for(u=0;u<c;u++)if(i.args[u]!==arguments[u]){i=i.next;continue t}return i!==n&&(i===r&&(r=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}i=i.next}for(o=new Array(c),u=0;u<c;u++)o[u]=arguments[u];return i={args:o,val:t.apply(null,o)},n?(n.prev=i,i.next=n):r=i,s===e.maxSize?(r=r.prev).next=null:s++,n=i,i.val}return e=e||{},o.clear=function(){n=null,r=null,s=0},o}},550:function(t,e,n){"use strict";n.r(e),n.d(e,"next",(function(){return o})),n.d(e,"replace",(function(){return u})),n.d(e,"string",(function(){return i})),n.d(e,"regexp",(function(){return c})),n.d(e,"attrs",(function(){return a})),n.d(e,"fromMatch",(function(){return l}));var r=n(2),s=n(42);function o(t,e,n=0){const r=c(t);r.lastIndex=n;const s=r.exec(e);if(!s)return;if("["===s[1]&&"]"===s[7])return o(t,e,r.lastIndex);const u={index:s.index,content:s[0],shortcode:l(s)};return s[1]&&(u.content=u.content.slice(1),u.index++),s[7]&&(u.content=u.content.slice(0,-1)),u}function u(t,e,n){return e.replace(c(t),(function(t,e,r,s,o,u,i,c){if("["===e&&"]"===c)return t;const a=n(l(arguments));return a||""===a?e+a+c:t}))}function i(t){return new f(t).string()}function c(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}const a=n.n(s)()(t=>{const e={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let s;for(t=t.replace(/[\u00a0\u200b]/g," ");s=r.exec(t);)s[1]?e[s[1].toLowerCase()]=s[2]:s[3]?e[s[3].toLowerCase()]=s[4]:s[5]?e[s[5].toLowerCase()]=s[6]:s[7]?n.push(s[7]):s[8]?n.push(s[8]):s[9]&&n.push(s[9]);return{named:e,numeric:n}});function l(t){let e;return e=t[4]?"self-closing":t[6]?"closed":"single",new f({tag:t[2],attrs:t[3],type:e,content:t[5]})}const f=Object(r.extend)((function(t){Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));const e=this.attrs;this.attrs={named:{},numeric:[]},e&&(Object(r.isString)(e)?this.attrs=a(e):Object(r.isEqual)(Object.keys(e),["named","numeric"])?this.attrs=e:Object(r.forEach)(e,(t,e)=>{this.set(e,t)}))}),{next:o,replace:u,string:i,regexp:c,attrs:a,fromMatch:l});Object(r.extend)(f.prototype,{get(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string(){let t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,e=>{/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,(e,n)=>{t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=f}}).default;
|
this.wp=this.wp||{},this.wp.shortcode=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="./node_modules/@wordpress/shortcode/build-module/index.js")}({"./node_modules/@wordpress/shortcode/build-module/index.js":function(t,e,n){"use strict";n.r(e),n.d(e,"next",(function(){return s})),n.d(e,"replace",(function(){return u})),n.d(e,"string",(function(){return i})),n.d(e,"regexp",(function(){return c})),n.d(e,"attrs",(function(){return a})),n.d(e,"fromMatch",(function(){return l}));var r=n("lodash"),o=n("./node_modules/memize/index.js");function s(t,e,n=0){const r=c(t);r.lastIndex=n;const o=r.exec(e);if(!o)return;if("["===o[1]&&"]"===o[7])return s(t,e,r.lastIndex);const u={index:o.index,content:o[0],shortcode:l(o)};return o[1]&&(u.content=u.content.slice(1),u.index++),o[7]&&(u.content=u.content.slice(0,-1)),u}function u(t,e,n){return e.replace(c(t),(function(t,e,r,o,s,u,i,c){if("["===e&&"]"===c)return t;const a=n(l(arguments));return a||""===a?e+a+c:t}))}function i(t){return new d(t).string()}function c(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}const a=n.n(o)()(t=>{const e={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let o;for(t=t.replace(/[\u00a0\u200b]/g," ");o=r.exec(t);)o[1]?e[o[1].toLowerCase()]=o[2]:o[3]?e[o[3].toLowerCase()]=o[4]:o[5]?e[o[5].toLowerCase()]=o[6]:o[7]?n.push(o[7]):o[8]?n.push(o[8]):o[9]&&n.push(o[9]);return{named:e,numeric:n}});function l(t){let e;return e=t[4]?"self-closing":t[6]?"closed":"single",new d({tag:t[2],attrs:t[3],type:e,content:t[5]})}const d=Object(r.extend)((function(t){Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));const e=this.attrs;this.attrs={named:{},numeric:[]},e&&(Object(r.isString)(e)?this.attrs=a(e):Object(r.isEqual)(Object.keys(e),["named","numeric"])?this.attrs=e:Object(r.forEach)(e,(t,e)=>{this.set(e,t)}))}),{next:s,replace:u,string:i,regexp:c,attrs:a,fromMatch:l});Object(r.extend)(d.prototype,{get(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string(){let t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,e=>{/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,(e,n)=>{t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=d},"./node_modules/memize/index.js":function(t,e,n){t.exports=function(t,e){var n,r,o=0;function s(){var s,u,i=n,c=arguments.length;t:for(;i;){if(i.args.length===arguments.length){for(u=0;u<c;u++)if(i.args[u]!==arguments[u]){i=i.next;continue t}return i!==n&&(i===r&&(r=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}i=i.next}for(s=new Array(c),u=0;u<c;u++)s[u]=arguments[u];return i={args:s,val:t.apply(null,s)},n?(n.prev=i,i.next=n):r=i,o===e.maxSize?(r=r.prev).next=null:o++,n=i,i.val}return e=e||{},s.clear=function(){n=null,r=null,o=0},s}},lodash:function(t,e){t.exports=window.lodash}}).default;
|
|
@ -82,25 +82,25 @@ this["wp"] = this["wp"] || {}; this["wp"]["tokenList"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 551);
|
/******/ return __webpack_require__(__webpack_require__.s = "hwXU");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 551:
|
/***/ "hwXU":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TokenList; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TokenList; });
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
|
||||||
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.tokenList=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=551)}({2:function(e,t){e.exports=window.lodash},551:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return u}));var n=r(2);class u{constructor(e=""){this.value=e,this._currentValue,this._valueAsArray}entries(...e){return this._valueAsArray.entries(...e)}forEach(...e){return this._valueAsArray.forEach(...e)}keys(...e){return this._valueAsArray.keys(...e)}values(...e){return this._valueAsArray.values(...e)}get value(){return this._currentValue}set value(e){e=String(e),this._valueAsArray=Object(n.uniq)(Object(n.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}get length(){return this._valueAsArray.length}toString(){return this.value}*[Symbol.iterator](){return yield*this._valueAsArray}item(e){return this._valueAsArray[e]}contains(e){return-1!==this._valueAsArray.indexOf(e)}add(...e){this.value+=" "+e.join(" ")}remove(...e){this.value=Object(n.without)(this._valueAsArray,...e).join(" ")}toggle(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}replace(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}supports(){return!0}}}}).default;
|
this.wp=this.wp||{},this.wp.tokenList=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./node_modules/@wordpress/token-list/build-module/index.js")}({"./node_modules/@wordpress/token-list/build-module/index.js":function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return u}));var n=r("lodash");class u{constructor(e=""){this.value=e,this._currentValue,this._valueAsArray}entries(...e){return this._valueAsArray.entries(...e)}forEach(...e){return this._valueAsArray.forEach(...e)}keys(...e){return this._valueAsArray.keys(...e)}values(...e){return this._valueAsArray.values(...e)}get value(){return this._currentValue}set value(e){e=String(e),this._valueAsArray=Object(n.uniq)(Object(n.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}get length(){return this._valueAsArray.length}toString(){return this.value}*[Symbol.iterator](){return yield*this._valueAsArray}item(e){return this._valueAsArray[e]}contains(e){return-1!==this._valueAsArray.indexOf(e)}add(...e){this.value+=" "+e.join(" ")}remove(...e){this.value=Object(n.without)(this._valueAsArray,...e).join(" ")}toggle(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}replace(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}supports(){return!0}}},lodash:function(e,t){e.exports=window.lodash}}).default;
|
|
@ -82,19 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["url"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 564);
|
/******/ return __webpack_require__(__webpack_require__.s = "lbya");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 564:
|
/***/ "lbya":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -820,7 +820,7 @@ function filterURLForDisplay(url, maxLength = null) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/clean-for-slug.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/clean-for-slug.js
|
||||||
/**
|
/**
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -82,40 +82,33 @@ this["wp"] = this["wp"] || {}; this["wp"]["viewport"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 573);
|
/******/ return __webpack_require__(__webpack_require__.s = "PR0u");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 0:
|
/***/ "1ZqX":
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["element"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 10:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["compose"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 2:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["wp"]["data"]; }());
|
(function() { module.exports = window["wp"]["data"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 573:
|
/***/ "GRId":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["element"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "K9lf":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["wp"]["compose"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "PR0u":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -138,10 +131,10 @@ __webpack_require__.r(selectors_namespaceObject);
|
||||||
__webpack_require__.d(selectors_namespaceObject, "isViewportMatch", function() { return isViewportMatch; });
|
__webpack_require__.d(selectors_namespaceObject, "isViewportMatch", function() { return isViewportMatch; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","data"]
|
// EXTERNAL MODULE: external ["wp","data"]
|
||||||
var external_wp_data_ = __webpack_require__(5);
|
var external_wp_data_ = __webpack_require__("1ZqX");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/reducer.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/reducer.js
|
||||||
/**
|
/**
|
||||||
|
@ -290,13 +283,13 @@ const addDimensionsEventListener = (breakpoints, operators) => {
|
||||||
/* harmony default export */ var listener = (addDimensionsEventListener);
|
/* harmony default export */ var listener = (addDimensionsEventListener);
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","compose"]
|
// EXTERNAL MODULE: external ["wp","compose"]
|
||||||
var external_wp_compose_ = __webpack_require__(10);
|
var external_wp_compose_ = __webpack_require__("K9lf");
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
||||||
var esm_extends = __webpack_require__(7);
|
var esm_extends = __webpack_require__("wx14");
|
||||||
|
|
||||||
// EXTERNAL MODULE: external ["wp","element"]
|
// EXTERNAL MODULE: external ["wp","element"]
|
||||||
var external_wp_element_ = __webpack_require__(0);
|
var external_wp_element_ = __webpack_require__("GRId");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js
|
||||||
|
|
||||||
|
@ -437,7 +430,14 @@ listener(BREAKPOINTS, OPERATORS);
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7:
|
/***/ "YLtl":
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "wx14":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.viewport=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=573)}({0:function(e,t){e.exports=window.wp.element},10:function(e,t){e.exports=window.wp.compose},2:function(e,t){e.exports=window.lodash},5:function(e,t){e.exports=window.wp.data},573:function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return p})),r.d(t,"ifViewportMatches",(function(){return h})),r.d(t,"withViewportMatch",(function(){return b}));var n={};r.r(n),r.d(n,"setIsMatching",(function(){return a}));var o={};r.r(o),r.d(o,"isViewportMatch",(function(){return s}));var i=r(2),c=r(5);var u=function(e={},t){switch(t.type){case"SET_IS_MATCHING":return t.values}return e};function a(e){return{type:"SET_IS_MATCHING",values:e}}function s(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}const p=Object(c.createReduxStore)("core/viewport",{reducer:u,actions:n,selectors:o});Object(c.register)(p);var d=(e,t)=>{const r=Object(i.debounce)(()=>{const e=Object(i.mapValues)(n,e=>e.matches);Object(c.dispatch)(p).setIsMatching(e)},{leading:!0}),n=Object(i.reduce)(e,(e,n,o)=>(Object(i.forEach)(t,(t,i)=>{const c=window.matchMedia(`(${t}: ${n}px)`);c.addListener(r);const u=[i,o].join(" ");e[u]=c}),e),{});window.addEventListener("orientationchange",r),r(),r.flush()},f=r(10),l=r(7),w=r(0);var b=e=>Object(f.createHigherOrderComponent)(t=>Object(f.pure)(r=>{const n=Object(i.mapValues)(e,e=>{let[t,r]=e.split(" ");return void 0===r&&(r=t,t=">="),Object(f.useViewportMatch)(r,t)});return Object(w.createElement)(t,Object(l.a)({},r,n))}),"withViewportMatch");var h=e=>Object(f.createHigherOrderComponent)(Object(f.compose)([b({isViewportMatch:e}),Object(f.ifCondition)(e=>e.isViewportMatch)]),"ifViewportMatches");d({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},7:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))}});
|
this.wp=this.wp||{},this.wp.viewport=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./node_modules/@wordpress/viewport/build-module/index.js")}({"./node_modules/@babel/runtime/helpers/esm/extends.js":function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},"./node_modules/@wordpress/viewport/build-module/index.js":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return d})),r.d(t,"ifViewportMatches",(function(){return h})),r.d(t,"withViewportMatch",(function(){return b}));var n={};r.r(n),r.d(n,"setIsMatching",(function(){return u}));var o={};r.r(o),r.d(o,"isViewportMatch",(function(){return a}));var i=r("lodash"),s=r("@wordpress/data");var c=function(e={},t){switch(t.type){case"SET_IS_MATCHING":return t.values}return e};function u(e){return{type:"SET_IS_MATCHING",values:e}}function a(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}const d=Object(s.createReduxStore)("core/viewport",{reducer:c,actions:n,selectors:o});Object(s.register)(d);var p=(e,t)=>{const r=Object(i.debounce)(()=>{const e=Object(i.mapValues)(n,e=>e.matches);Object(s.dispatch)(d).setIsMatching(e)},{leading:!0}),n=Object(i.reduce)(e,(e,n,o)=>(Object(i.forEach)(t,(t,i)=>{const s=window.matchMedia(`(${t}: ${n}px)`);s.addListener(r);const c=[i,o].join(" ");e[c]=s}),e),{});window.addEventListener("orientationchange",r),r(),r.flush()},l=r("@wordpress/compose"),f=r("./node_modules/@babel/runtime/helpers/esm/extends.js"),w=r("@wordpress/element");var b=e=>Object(l.createHigherOrderComponent)(t=>Object(l.pure)(r=>{const n=Object(i.mapValues)(e,e=>{let[t,r]=e.split(" ");return void 0===r&&(r=t,t=">="),Object(l.useViewportMatch)(r,t)});return Object(w.createElement)(t,Object(f.a)({},r,n))}),"withViewportMatch");var h=e=>Object(l.createHigherOrderComponent)(Object(l.compose)([b({isViewportMatch:e}),Object(l.ifCondition)(e=>e.isViewportMatch)]),"ifViewportMatches");p({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},"@wordpress/compose":function(e,t){e.exports=window.wp.compose},"@wordpress/data":function(e,t){e.exports=window.wp.data},"@wordpress/element":function(e,t){e.exports=window.wp.element},lodash:function(e,t){e.exports=window.lodash}});
|
|
@ -82,60 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["warning"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 552);
|
/******/ return __webpack_require__(__webpack_require__.s = "WyMB");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 552:
|
/***/ "8oxB":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return warning; });
|
|
||||||
function isDev() {
|
|
||||||
return typeof process !== 'undefined' && process.env && "production" !== 'production';
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Shows a warning with `message` if environment is not `production`.
|
|
||||||
*
|
|
||||||
* @param {string} message Message to show in the warning.
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* ```js
|
|
||||||
* import warning from '@wordpress/warning';
|
|
||||||
*
|
|
||||||
* function MyComponent( props ) {
|
|
||||||
* if ( ! props.title ) {
|
|
||||||
* warning( '`props.title` was not passed' );
|
|
||||||
* }
|
|
||||||
* ...
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
function warning(message) {
|
|
||||||
if (!isDev()) {
|
|
||||||
return;
|
|
||||||
} // eslint-disable-next-line no-console
|
|
||||||
|
|
||||||
|
|
||||||
console.warn(message); // Throwing an error and catching it immediately to improve debugging
|
|
||||||
// A consumer can use 'pause on caught exceptions'
|
|
||||||
// https://github.com/facebook/react/issues/4216
|
|
||||||
|
|
||||||
try {
|
|
||||||
throw Error(message);
|
|
||||||
} catch (x) {// do nothing
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(90)))
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 90:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
// shim for using process in browser
|
// shim for using process in browser
|
||||||
|
@ -324,6 +276,54 @@ process.chdir = function (dir) {
|
||||||
process.umask = function() { return 0; };
|
process.umask = function() { return 0; };
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "WyMB":
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return warning; });
|
||||||
|
function isDev() {
|
||||||
|
return typeof process !== 'undefined' && process.env && "production" !== 'production';
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Shows a warning with `message` if environment is not `production`.
|
||||||
|
*
|
||||||
|
* @param {string} message Message to show in the warning.
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* ```js
|
||||||
|
* import warning from '@wordpress/warning';
|
||||||
|
*
|
||||||
|
* function MyComponent( props ) {
|
||||||
|
* if ( ! props.title ) {
|
||||||
|
* warning( '`props.title` was not passed' );
|
||||||
|
* }
|
||||||
|
* ...
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function warning(message) {
|
||||||
|
if (!isDev()) {
|
||||||
|
return;
|
||||||
|
} // eslint-disable-next-line no-console
|
||||||
|
|
||||||
|
|
||||||
|
console.warn(message); // Throwing an error and catching it immediately to improve debugging
|
||||||
|
// A consumer can use 'pause on caught exceptions'
|
||||||
|
// https://github.com/facebook/react/issues/4216
|
||||||
|
|
||||||
|
try {
|
||||||
|
throw Error(message);
|
||||||
|
} catch (x) {// do nothing
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ })["default"];
|
/******/ })["default"];
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.warning=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=552)}({552:function(t,e,n){"use strict";n.r(e),function(t){function r(e){void 0!==t&&t.env}n.d(e,"default",(function(){return r}))}.call(this,n(90))},90:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var f,l=[],a=!1,s=-1;function p(){a&&f&&(a=!1,f.length?l=f.concat(l):s=-1,l.length&&d())}function d(){if(!a){var t=c(p);a=!0;for(var e=l.length;e;){for(f=l,l=[];++s<e;)f&&f[s].run();s=-1,e=l.length}f=null,a=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new h(t,e)),1!==l.length||a||c(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}}).default;
|
this.wp=this.wp||{},this.wp.warning=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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"!=typeof Symbol&&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)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./node_modules/@wordpress/warning/build-module/index.js")}({"./node_modules/@wordpress/warning/build-module/index.js":function(e,t,n){"use strict";n.r(t),function(e){function r(t){void 0!==e&&e.env}n.d(t,"default",(function(){return r}))}.call(this,n("./node_modules/process/browser.js"))},"./node_modules/process/browser.js":function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var s,l=[],f=!1,a=-1;function d(){f&&s&&(f=!1,s.length?l=s.concat(l):a=-1,l.length&&p())}function p(){if(!f){var e=c(d);f=!0;for(var t=l.length;t;){for(s=l,l=[];++a<t;)s&&s[a].run();a=-1,t=l.length}s=null,f=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||f||c(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}}).default;
|
|
@ -82,19 +82,19 @@ this["wp"] = this["wp"] || {}; this["wp"]["wordcount"] =
|
||||||
/******/
|
/******/
|
||||||
/******/
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 567);
|
/******/ return __webpack_require__(__webpack_require__.s = "pC98");
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
/***/ 2:
|
/***/ "YLtl":
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
(function() { module.exports = window["lodash"]; }());
|
(function() { module.exports = window["lodash"]; }());
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 567:
|
/***/ "pC98":
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -105,7 +105,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
__webpack_require__.d(__webpack_exports__, "count", function() { return /* binding */ count; });
|
__webpack_require__.d(__webpack_exports__, "count", function() { return /* binding */ count; });
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "lodash"
|
// EXTERNAL MODULE: external "lodash"
|
||||||
var external_lodash_ = __webpack_require__(2);
|
var external_lodash_ = __webpack_require__("YLtl");
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/defaultSettings.js
|
// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/defaultSettings.js
|
||||||
/** @typedef {import('./index').WPWordCountStrategy} WPWordCountStrategy */
|
/** @typedef {import('./index').WPWordCountStrategy} WPWordCountStrategy */
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/*! This file is auto-generated */
|
/*! This file is auto-generated */
|
||||||
this.wp=this.wp||{},this.wp.wordcount=function(e){var n={};function t(r){if(n[r])return n[r].exports;var c=n[r]={i:r,l:!1,exports:{}};return e[r].call(c.exports,c,c.exports,t),c.l=!0,c.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)t.d(r,c,function(n){return e[n]}.bind(null,c));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=567)}({2:function(e,n){e.exports=window.lodash},567:function(e,n,t){"use strict";t.r(n),t.d(n,"count",(function(){return x}));var r=t(2);const c={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","-¿×÷"," -⯿","⸀-","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}};function u(e,n){return n.replace(e.HTMLRegExp,"\n")}function o(e,n){return n.replace(e.astralRegExp,"a")}function l(e,n){return n.replace(e.HTMLEntityRegExp,"")}function i(e,n){return n.replace(e.connectorRegExp," ")}function s(e,n){return n.replace(e.removeRegExp,"")}function a(e,n){return n.replace(e.HTMLcommentRegExp,"")}function p(e,n){return e.shortcodesRegExp?n.replace(e.shortcodesRegExp,"\n"):n}function d(e,n){return n.replace(e.spaceRegExp," ")}function g(e,n){return n.replace(e.HTMLEntityRegExp,"a")}function f(e,n,t){var c,l;return e=Object(r.flow)(u.bind(null,t),a.bind(null,t),p.bind(null,t),o.bind(null,t),d.bind(null,t),g.bind(null,t))(e),null!==(c=null===(l=(e+="\n").match(n))||void 0===l?void 0:l.length)&&void 0!==c?c:0}function x(e,n,t){const o=function(e,n){var t,u;const o=Object(r.extend)({},c,n);return o.shortcodes=null!==(t=null===(u=o.l10n)||void 0===u?void 0:u.shortcodes)&&void 0!==t?t:[],o.shortcodes&&o.shortcodes.length&&(o.shortcodesRegExp=new RegExp("\\[\\/?(?:"+o.shortcodes.join("|")+")[^\\]]*?\\]","g")),o.type=e,"characters_excluding_spaces"!==o.type&&"characters_including_spaces"!==o.type&&(o.type="words"),o}(n,t);let g;switch(o.type){case"words":return g=o.wordsRegExp,function(e,n,t){var c,o;return e=Object(r.flow)(u.bind(null,t),a.bind(null,t),p.bind(null,t),d.bind(null,t),l.bind(null,t),i.bind(null,t),s.bind(null,t))(e),null!==(c=null===(o=(e+="\n").match(n))||void 0===o?void 0:o.length)&&void 0!==c?c:0}(e,g,o);case"characters_including_spaces":return g=o.characters_including_spacesRegExp,f(e,g,o);case"characters_excluding_spaces":return g=o.characters_excluding_spacesRegExp,f(e,g,o);default:return 0}}}});
|
this.wp=this.wp||{},this.wp.wordcount=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="./node_modules/@wordpress/wordcount/build-module/index.js")}({"./node_modules/@wordpress/wordcount/build-module/index.js":function(e,n,t){"use strict";t.r(n),t.d(n,"count",(function(){return x}));var r=t("lodash");const o={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","-¿×÷"," -⯿","⸀-","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}};function u(e,n){return n.replace(e.HTMLRegExp,"\n")}function c(e,n){return n.replace(e.astralRegExp,"a")}function l(e,n){return n.replace(e.HTMLEntityRegExp,"")}function i(e,n){return n.replace(e.connectorRegExp," ")}function s(e,n){return n.replace(e.removeRegExp,"")}function d(e,n){return n.replace(e.HTMLcommentRegExp,"")}function a(e,n){return e.shortcodesRegExp?n.replace(e.shortcodesRegExp,"\n"):n}function p(e,n){return n.replace(e.spaceRegExp," ")}function g(e,n){return n.replace(e.HTMLEntityRegExp,"a")}function f(e,n,t){var o,l;return e=Object(r.flow)(u.bind(null,t),d.bind(null,t),a.bind(null,t),c.bind(null,t),p.bind(null,t),g.bind(null,t))(e),null!==(o=null===(l=(e+="\n").match(n))||void 0===l?void 0:l.length)&&void 0!==o?o:0}function x(e,n,t){const c=function(e,n){var t,u;const c=Object(r.extend)({},o,n);return c.shortcodes=null!==(t=null===(u=c.l10n)||void 0===u?void 0:u.shortcodes)&&void 0!==t?t:[],c.shortcodes&&c.shortcodes.length&&(c.shortcodesRegExp=new RegExp("\\[\\/?(?:"+c.shortcodes.join("|")+")[^\\]]*?\\]","g")),c.type=e,"characters_excluding_spaces"!==c.type&&"characters_including_spaces"!==c.type&&(c.type="words"),c}(n,t);let g;switch(c.type){case"words":return g=c.wordsRegExp,function(e,n,t){var o,c;return e=Object(r.flow)(u.bind(null,t),d.bind(null,t),a.bind(null,t),p.bind(null,t),l.bind(null,t),i.bind(null,t),s.bind(null,t))(e),null!==(o=null===(c=(e+="\n").match(n))||void 0===c?void 0:c.length)&&void 0!==o?o:0}(e,g,c);case"characters_including_spaces":return g=c.characters_including_spacesRegExp,f(e,g,c);case"characters_excluding_spaces":return g=c.characters_excluding_spacesRegExp,f(e,g,c);default:return 0}}},lodash:function(e,n){e.exports=window.lodash}});
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.8-alpha-50939';
|
$wp_version = '5.8-alpha-50940';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue