wp/wp-includes/js/dist/format-library.js
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    80 /******/ 	// __webpack_public_path__
    80 /******/ 	// __webpack_public_path__
    81 /******/ 	__webpack_require__.p = "";
    81 /******/ 	__webpack_require__.p = "";
    82 /******/
    82 /******/
    83 /******/
    83 /******/
    84 /******/ 	// Load entry module and return exports
    84 /******/ 	// Load entry module and return exports
    85 /******/ 	return __webpack_require__(__webpack_require__.s = 446);
    85 /******/ 	return __webpack_require__(__webpack_require__.s = "t1DA");
    86 /******/ })
    86 /******/ })
    87 /************************************************************************/
    87 /************************************************************************/
    88 /******/ ({
    88 /******/ ({
    89 
    89 
    90 /***/ 0:
    90 /***/ "1Yn1":
       
    91 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
    92 
       
    93 "use strict";
       
    94 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
       
    95 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
    96 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
       
    97 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
    98 
       
    99 
       
   100 /**
       
   101  * WordPress dependencies
       
   102  */
       
   103 
       
   104 const code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   105   viewBox: "0 0 24 24",
       
   106   xmlns: "http://www.w3.org/2000/svg"
       
   107 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   108   d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
       
   109 }));
       
   110 /* harmony default export */ __webpack_exports__["a"] = (code);
       
   111 
       
   112 
       
   113 /***/ }),
       
   114 
       
   115 /***/ "1ZqX":
    91 /***/ (function(module, exports) {
   116 /***/ (function(module, exports) {
    92 
   117 
    93 (function() { module.exports = this["wp"]["element"]; }());
   118 (function() { module.exports = window["wp"]["data"]; }());
    94 
   119 
    95 /***/ }),
   120 /***/ }),
    96 
   121 
    97 /***/ 1:
   122 /***/ "Bpkj":
       
   123 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   124 
       
   125 "use strict";
       
   126 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
       
   127 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   128 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
       
   129 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   130 
       
   131 
       
   132 /**
       
   133  * WordPress dependencies
       
   134  */
       
   135 
       
   136 const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   137   xmlns: "http://www.w3.org/2000/svg",
       
   138   viewBox: "0 0 24 24"
       
   139 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   140   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"
       
   141 }));
       
   142 /* harmony default export */ __webpack_exports__["a"] = (link);
       
   143 
       
   144 
       
   145 /***/ }),
       
   146 
       
   147 /***/ "Crq9":
       
   148 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   149 
       
   150 "use strict";
       
   151 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
       
   152 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   153 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
       
   154 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   155 
       
   156 
       
   157 /**
       
   158  * WordPress dependencies
       
   159  */
       
   160 
       
   161 const formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   162   xmlns: "http://www.w3.org/2000/svg",
       
   163   viewBox: "0 0 24 24"
       
   164 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   165   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"
       
   166 }));
       
   167 /* harmony default export */ __webpack_exports__["a"] = (formatStrikethrough);
       
   168 
       
   169 
       
   170 /***/ }),
       
   171 
       
   172 /***/ "GRId":
    98 /***/ (function(module, exports) {
   173 /***/ (function(module, exports) {
    99 
   174 
   100 (function() { module.exports = this["wp"]["i18n"]; }());
   175 (function() { module.exports = window["wp"]["element"]; }());
   101 
   176 
   102 /***/ }),
   177 /***/ }),
   103 
   178 
   104 /***/ 12:
   179 /***/ "Mmq9":
       
   180 /***/ (function(module, exports) {
       
   181 
       
   182 (function() { module.exports = window["wp"]["url"]; }());
       
   183 
       
   184 /***/ }),
       
   185 
       
   186 /***/ "Mp0b":
   105 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   187 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   106 
   188 
   107 "use strict";
   189 "use strict";
   108 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
   190 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
   109 function _assertThisInitialized(self) {
   191 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
   110   if (self === void 0) {
   192 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
   111     throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
   193 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
   112   }
   194 
   113 
   195 
   114   return self;
   196 /**
   115 }
   197  * WordPress dependencies
   116 
   198  */
   117 /***/ }),
   199 
   118 
   200 const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
   119 /***/ 137:
   201   xmlns: "http://www.w3.org/2000/svg",
       
   202   viewBox: "0 0 24 24"
       
   203 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   204   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"
       
   205 }));
       
   206 /* harmony default export */ __webpack_exports__["a"] = (linkOff);
       
   207 
       
   208 
       
   209 /***/ }),
       
   210 
       
   211 /***/ "Tqx9":
       
   212 /***/ (function(module, exports) {
       
   213 
       
   214 (function() { module.exports = window["wp"]["primitives"]; }());
       
   215 
       
   216 /***/ }),
       
   217 
       
   218 /***/ "YLtl":
       
   219 /***/ (function(module, exports) {
       
   220 
       
   221 (function() { module.exports = window["lodash"]; }());
       
   222 
       
   223 /***/ }),
       
   224 
       
   225 /***/ "axFQ":
       
   226 /***/ (function(module, exports) {
       
   227 
       
   228 (function() { module.exports = window["wp"]["blockEditor"]; }());
       
   229 
       
   230 /***/ }),
       
   231 
       
   232 /***/ "btIw":
   120 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   233 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   121 
   234 
   122 "use strict";
   235 "use strict";
   123 /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
   236 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
   124 /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15);
   237 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
   125 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
   238 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
   126 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
   239 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
   127 
   240 
   128 
   241 
   129 
   242 /**
   130 function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
   243  * WordPress dependencies
   131 
   244  */
   132 function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
   245 
   133 
   246 const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
   134 /**
   247   xmlns: "http://www.w3.org/2000/svg",
   135  * WordPress dependencies
   248   viewBox: "-2 -2 24 24"
   136  */
   249 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
   137  // Disable reason: JSDoc linter doesn't seem to parse the union (`&`) correctly.
   250   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"
   138 
   251 }));
   139 /* eslint-disable jsdoc/valid-types */
   252 /* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
   140 
   253 
   141 /** @typedef {{icon: JSX.Element, size?: number} & import('react').ComponentPropsWithoutRef<'SVG'>} IconProps */
   254 
   142 
   255 /***/ }),
   143 /* eslint-enable jsdoc/valid-types */
   256 
       
   257 /***/ "gdqT":
       
   258 /***/ (function(module, exports) {
       
   259 
       
   260 (function() { module.exports = window["wp"]["a11y"]; }());
       
   261 
       
   262 /***/ }),
       
   263 
       
   264 /***/ "iClF":
       
   265 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   266 
       
   267 "use strict";
       
   268 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
       
   269 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   270 /**
       
   271  * WordPress dependencies
       
   272  */
       
   273 
       
   274 /** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
   144 
   275 
   145 /**
   276 /**
   146  * Return an SVG icon.
   277  * Return an SVG icon.
   147  *
   278  *
   148  * @param {IconProps} props icon is the SVG component to render
   279  * @param {IconProps} props icon is the SVG component to render
   150  *                          Other props will be passed to wrapped SVG component
   281  *                          Other props will be passed to wrapped SVG component
   151  *
   282  *
   152  * @return {JSX.Element}  Icon component
   283  * @return {JSX.Element}  Icon component
   153  */
   284  */
   154 
   285 
   155 function Icon(_ref) {
   286 function Icon({
   156   var icon = _ref.icon,
   287   icon,
   157       _ref$size = _ref.size,
   288   size = 24,
   158       size = _ref$size === void 0 ? 24 : _ref$size,
   289   ...props
   159       props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["icon", "size"]);
   290 }) {
   160 
   291   return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
   161   return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, _objectSpread({
       
   162     width: size,
   292     width: size,
   163     height: size
   293     height: size,
   164   }, props));
   294     ...props
       
   295   });
   165 }
   296 }
   166 
   297 
   167 /* harmony default export */ __webpack_exports__["a"] = (Icon);
   298 /* harmony default export */ __webpack_exports__["a"] = (Icon);
   168 
   299 
   169 
   300 
   170 /***/ }),
   301 /***/ }),
   171 
   302 
   172 /***/ 14:
   303 /***/ "l3Sj":
       
   304 /***/ (function(module, exports) {
       
   305 
       
   306 (function() { module.exports = window["wp"]["i18n"]; }());
       
   307 
       
   308 /***/ }),
       
   309 
       
   310 /***/ "oMoS":
   173 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   311 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   174 
   312 
   175 "use strict";
   313 "use strict";
   176 
   314 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
   177 // EXPORTS
       
   178 __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
       
   179 
       
   180 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
       
   181 var arrayWithHoles = __webpack_require__(38);
       
   182 
       
   183 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
       
   184 function _iterableToArrayLimit(arr, i) {
       
   185   if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
       
   186   var _arr = [];
       
   187   var _n = true;
       
   188   var _d = false;
       
   189   var _e = undefined;
       
   190 
       
   191   try {
       
   192     for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
       
   193       _arr.push(_s.value);
       
   194 
       
   195       if (i && _arr.length === i) break;
       
   196     }
       
   197   } catch (err) {
       
   198     _d = true;
       
   199     _e = err;
       
   200   } finally {
       
   201     try {
       
   202       if (!_n && _i["return"] != null) _i["return"]();
       
   203     } finally {
       
   204       if (_d) throw _e;
       
   205     }
       
   206   }
       
   207 
       
   208   return _arr;
       
   209 }
       
   210 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
       
   211 var unsupportedIterableToArray = __webpack_require__(29);
       
   212 
       
   213 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
       
   214 var nonIterableRest = __webpack_require__(39);
       
   215 
       
   216 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
       
   217 
       
   218 
       
   219 
       
   220 
       
   221 function _slicedToArray(arr, i) {
       
   222   return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
       
   223 }
       
   224 
       
   225 /***/ }),
       
   226 
       
   227 /***/ 15:
       
   228 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   229 
       
   230 "use strict";
       
   231 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
       
   232 /* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
       
   233 
       
   234 function _objectWithoutProperties(source, excluded) {
       
   235   if (source == null) return {};
       
   236   var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
       
   237   var key, i;
       
   238 
       
   239   if (Object.getOwnPropertySymbols) {
       
   240     var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
       
   241 
       
   242     for (i = 0; i < sourceSymbolKeys.length; i++) {
       
   243       key = sourceSymbolKeys[i];
       
   244       if (excluded.indexOf(key) >= 0) continue;
       
   245       if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
       
   246       target[key] = source[key];
       
   247     }
       
   248   }
       
   249 
       
   250   return target;
       
   251 }
       
   252 
       
   253 /***/ }),
       
   254 
       
   255 /***/ 16:
       
   256 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   257 
       
   258 "use strict";
       
   259 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
       
   260 function _getPrototypeOf(o) {
       
   261   _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
       
   262     return o.__proto__ || Object.getPrototypeOf(o);
       
   263   };
       
   264   return _getPrototypeOf(o);
       
   265 }
       
   266 
       
   267 /***/ }),
       
   268 
       
   269 /***/ 180:
       
   270 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   271 
       
   272 "use strict";
       
   273 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   274 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
   315 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
   275 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
   316 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
   276 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
   317 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
   277 
   318 
   278 
   319 
   279 /**
   320 /**
   280  * WordPress dependencies
   321  * WordPress dependencies
   281  */
   322  */
   282 
   323 
   283 var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
   324 const button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
   284   xmlns: "http://www.w3.org/2000/svg",
       
   285   viewBox: "0 0 24 24"
       
   286 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   287   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"
       
   288 }));
       
   289 /* harmony default export */ __webpack_exports__["a"] = (link);
       
   290 
       
   291 
       
   292 /***/ }),
       
   293 
       
   294 /***/ 19:
       
   295 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   296 
       
   297 "use strict";
       
   298 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
       
   299 function _defineProperties(target, props) {
       
   300   for (var i = 0; i < props.length; i++) {
       
   301     var descriptor = props[i];
       
   302     descriptor.enumerable = descriptor.enumerable || false;
       
   303     descriptor.configurable = true;
       
   304     if ("value" in descriptor) descriptor.writable = true;
       
   305     Object.defineProperty(target, descriptor.key, descriptor);
       
   306   }
       
   307 }
       
   308 
       
   309 function _createClass(Constructor, protoProps, staticProps) {
       
   310   if (protoProps) _defineProperties(Constructor.prototype, protoProps);
       
   311   if (staticProps) _defineProperties(Constructor, staticProps);
       
   312   return Constructor;
       
   313 }
       
   314 
       
   315 /***/ }),
       
   316 
       
   317 /***/ 2:
       
   318 /***/ (function(module, exports) {
       
   319 
       
   320 (function() { module.exports = this["lodash"]; }());
       
   321 
       
   322 /***/ }),
       
   323 
       
   324 /***/ 20:
       
   325 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   326 
       
   327 "use strict";
       
   328 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
       
   329 function _classCallCheck(instance, Constructor) {
       
   330   if (!(instance instanceof Constructor)) {
       
   331     throw new TypeError("Cannot call a class as a function");
       
   332   }
       
   333 }
       
   334 
       
   335 /***/ }),
       
   336 
       
   337 /***/ 203:
       
   338 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   339 
       
   340 "use strict";
       
   341 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   342 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   343 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   344 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   345 
       
   346 
       
   347 /**
       
   348  * WordPress dependencies
       
   349  */
       
   350 
       
   351 var keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   352   xmlns: "http://www.w3.org/2000/svg",
       
   353   viewBox: "-2 -2 24 24"
       
   354 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   355   d: "M16 4h2v9H7v3l-5-4 5-4v3h9V4z"
       
   356 }));
       
   357 /* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
       
   358 
       
   359 
       
   360 /***/ }),
       
   361 
       
   362 /***/ 205:
       
   363 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   364 
       
   365 "use strict";
       
   366 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   367 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   368 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   369 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   370 
       
   371 
       
   372 /**
       
   373  * WordPress dependencies
       
   374  */
       
   375 
       
   376 var linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   377   xmlns: "http://www.w3.org/2000/svg",
       
   378   viewBox: "0 0 24 24"
       
   379 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   380   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"
       
   381 }));
       
   382 /* harmony default export */ __webpack_exports__["a"] = (linkOff);
       
   383 
       
   384 
       
   385 /***/ }),
       
   386 
       
   387 /***/ 21:
       
   388 /***/ (function(module, exports) {
       
   389 
       
   390 (function() { module.exports = this["wp"]["keycodes"]; }());
       
   391 
       
   392 /***/ }),
       
   393 
       
   394 /***/ 22:
       
   395 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   396 
       
   397 "use strict";
       
   398 
       
   399 // EXPORTS
       
   400 __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _inherits; });
       
   401 
       
   402 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
       
   403 function _setPrototypeOf(o, p) {
       
   404   _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
       
   405     o.__proto__ = p;
       
   406     return o;
       
   407   };
       
   408 
       
   409   return _setPrototypeOf(o, p);
       
   410 }
       
   411 // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
       
   412 
       
   413 function _inherits(subClass, superClass) {
       
   414   if (typeof superClass !== "function" && superClass !== null) {
       
   415     throw new TypeError("Super expression must either be null or a function");
       
   416   }
       
   417 
       
   418   subClass.prototype = Object.create(superClass && superClass.prototype, {
       
   419     constructor: {
       
   420       value: subClass,
       
   421       writable: true,
       
   422       configurable: true
       
   423     }
       
   424   });
       
   425   if (superClass) _setPrototypeOf(subClass, superClass);
       
   426 }
       
   427 
       
   428 /***/ }),
       
   429 
       
   430 /***/ 23:
       
   431 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   432 
       
   433 "use strict";
       
   434 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
       
   435 /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
       
   436 /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
       
   437 
       
   438 
       
   439 function _possibleConstructorReturn(self, call) {
       
   440   if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
       
   441     return call;
       
   442   }
       
   443 
       
   444   return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
       
   445 }
       
   446 
       
   447 /***/ }),
       
   448 
       
   449 /***/ 25:
       
   450 /***/ (function(module, exports) {
       
   451 
       
   452 (function() { module.exports = this["wp"]["richText"]; }());
       
   453 
       
   454 /***/ }),
       
   455 
       
   456 /***/ 26:
       
   457 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   458 
       
   459 "use strict";
       
   460 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
       
   461 function _arrayLikeToArray(arr, len) {
       
   462   if (len == null || len > arr.length) len = arr.length;
       
   463 
       
   464   for (var i = 0, arr2 = new Array(len); i < len; i++) {
       
   465     arr2[i] = arr[i];
       
   466   }
       
   467 
       
   468   return arr2;
       
   469 }
       
   470 
       
   471 /***/ }),
       
   472 
       
   473 /***/ 29:
       
   474 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   475 
       
   476 "use strict";
       
   477 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
       
   478 /* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
       
   479 
       
   480 function _unsupportedIterableToArray(o, minLen) {
       
   481   if (!o) return;
       
   482   if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
       
   483   var n = Object.prototype.toString.call(o).slice(8, -1);
       
   484   if (n === "Object" && o.constructor) n = o.constructor.name;
       
   485   if (n === "Map" || n === "Set") return Array.from(o);
       
   486   if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
       
   487 }
       
   488 
       
   489 /***/ }),
       
   490 
       
   491 /***/ 3:
       
   492 /***/ (function(module, exports) {
       
   493 
       
   494 (function() { module.exports = this["wp"]["components"]; }());
       
   495 
       
   496 /***/ }),
       
   497 
       
   498 /***/ 30:
       
   499 /***/ (function(module, exports) {
       
   500 
       
   501 (function() { module.exports = this["wp"]["dom"]; }());
       
   502 
       
   503 /***/ }),
       
   504 
       
   505 /***/ 301:
       
   506 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   507 
       
   508 "use strict";
       
   509 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   510 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   511 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   512 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   513 
       
   514 
       
   515 /**
       
   516  * WordPress dependencies
       
   517  */
       
   518 
       
   519 var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   520   viewBox: "0 0 24 24",
   325   viewBox: "0 0 24 24",
   521   xmlns: "http://www.w3.org/2000/svg"
   326   xmlns: "http://www.w3.org/2000/svg"
   522 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
   327 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
   523   d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
   328   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"
   524 }));
   329 }));
   525 /* harmony default export */ __webpack_exports__["a"] = (code);
   330 /* harmony default export */ __webpack_exports__["a"] = (button);
   526 
   331 
   527 
   332 
   528 /***/ }),
   333 /***/ }),
   529 
   334 
   530 /***/ 31:
   335 /***/ "qRz9":
   531 /***/ (function(module, exports) {
   336 /***/ (function(module, exports) {
   532 
   337 
   533 (function() { module.exports = this["wp"]["url"]; }());
   338 (function() { module.exports = window["wp"]["richText"]; }());
   534 
   339 
   535 /***/ }),
   340 /***/ }),
   536 
   341 
   537 /***/ 38:
   342 /***/ "rmEH":
   538 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   539 
       
   540 "use strict";
       
   541 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
       
   542 function _arrayWithHoles(arr) {
       
   543   if (Array.isArray(arr)) return arr;
       
   544 }
       
   545 
       
   546 /***/ }),
       
   547 
       
   548 /***/ 39:
       
   549 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   550 
       
   551 "use strict";
       
   552 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
       
   553 function _nonIterableRest() {
       
   554   throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
       
   555 }
       
   556 
       
   557 /***/ }),
       
   558 
       
   559 /***/ 4:
       
   560 /***/ (function(module, exports) {
   343 /***/ (function(module, exports) {
   561 
   344 
   562 (function() { module.exports = this["wp"]["data"]; }());
   345 (function() { module.exports = window["wp"]["htmlEntities"]; }());
   563 
   346 
   564 /***/ }),
   347 /***/ }),
   565 
   348 
   566 /***/ 40:
   349 /***/ "t1DA":
   567 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   568 
       
   569 "use strict";
       
   570 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
       
   571 function _typeof(obj) {
       
   572   "@babel/helpers - typeof";
       
   573 
       
   574   if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
       
   575     _typeof = function _typeof(obj) {
       
   576       return typeof obj;
       
   577     };
       
   578   } else {
       
   579     _typeof = function _typeof(obj) {
       
   580       return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
       
   581     };
       
   582   }
       
   583 
       
   584   return _typeof(obj);
       
   585 }
       
   586 
       
   587 /***/ }),
       
   588 
       
   589 /***/ 41:
       
   590 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   591 
       
   592 "use strict";
       
   593 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
       
   594 function _objectWithoutPropertiesLoose(source, excluded) {
       
   595   if (source == null) return {};
       
   596   var target = {};
       
   597   var sourceKeys = Object.keys(source);
       
   598   var key, i;
       
   599 
       
   600   for (i = 0; i < sourceKeys.length; i++) {
       
   601     key = sourceKeys[i];
       
   602     if (excluded.indexOf(key) >= 0) continue;
       
   603     target[key] = source[key];
       
   604   }
       
   605 
       
   606   return target;
       
   607 }
       
   608 
       
   609 /***/ }),
       
   610 
       
   611 /***/ 410:
       
   612 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
   613 
       
   614 "use strict";
       
   615 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
       
   616 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
       
   617 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
       
   618 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
       
   619 
       
   620 
       
   621 /**
       
   622  * WordPress dependencies
       
   623  */
       
   624 
       
   625 var textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
       
   626   xmlns: "http://www.w3.org/2000/svg",
       
   627   viewBox: "-2 -2 24 24"
       
   628 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
       
   629   d: "M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z"
       
   630 }));
       
   631 /* harmony default export */ __webpack_exports__["a"] = (textColor);
       
   632 
       
   633 
       
   634 /***/ }),
       
   635 
       
   636 /***/ 446:
       
   637 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   350 /***/ (function(module, __webpack_exports__, __webpack_require__) {
   638 
   351 
   639 "use strict";
   352 "use strict";
   640 // ESM COMPAT FLAG
   353 // ESM COMPAT FLAG
   641 __webpack_require__.r(__webpack_exports__);
   354 __webpack_require__.r(__webpack_exports__);
   642 
   355 
   643 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
   356 // EXTERNAL MODULE: external ["wp","richText"]
   644 var objectWithoutProperties = __webpack_require__(15);
   357 var external_wp_richText_ = __webpack_require__("qRz9");
   645 
   358 
   646 // EXTERNAL MODULE: external {"this":["wp","richText"]}
   359 // EXTERNAL MODULE: external ["wp","element"]
   647 var external_this_wp_richText_ = __webpack_require__(25);
   360 var external_wp_element_ = __webpack_require__("GRId");
   648 
   361 
   649 // EXTERNAL MODULE: external {"this":["wp","element"]}
   362 // EXTERNAL MODULE: external ["wp","i18n"]
   650 var external_this_wp_element_ = __webpack_require__(0);
   363 var external_wp_i18n_ = __webpack_require__("l3Sj");
   651 
   364 
   652 // EXTERNAL MODULE: external {"this":["wp","i18n"]}
   365 // EXTERNAL MODULE: external ["wp","blockEditor"]
   653 var external_this_wp_i18n_ = __webpack_require__(1);
   366 var external_wp_blockEditor_ = __webpack_require__("axFQ");
   654 
   367 
   655 // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
   368 // EXTERNAL MODULE: external ["wp","primitives"]
   656 var external_this_wp_blockEditor_ = __webpack_require__(7);
   369 var external_wp_primitives_ = __webpack_require__("Tqx9");
   657 
       
   658 // EXTERNAL MODULE: external {"this":["wp","primitives"]}
       
   659 var external_this_wp_primitives_ = __webpack_require__(6);
       
   660 
   370 
   661 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js
   371 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js
   662 
   372 
   663 
   373 
   664 /**
   374 /**
   665  * WordPress dependencies
   375  * WordPress dependencies
   666  */
   376  */
   667 
   377 
   668 var formatBold = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
   378 const formatBold = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
   669   xmlns: "http://www.w3.org/2000/svg",
   379   xmlns: "http://www.w3.org/2000/svg",
   670   viewBox: "0 0 24 24"
   380   viewBox: "0 0 24 24"
   671 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
   381 }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
   672   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"
   382   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"
   673 }));
   383 }));
   674 /* harmony default export */ var format_bold = (formatBold);
   384 /* harmony default export */ var format_bold = (formatBold);
   675 
   385 
   676 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
   386 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
   681  */
   391  */
   682 
   392 
   683 
   393 
   684 
   394 
   685 
   395 
   686 var bold_name = 'core/bold';
   396 const bold_name = 'core/bold';
   687 
   397 
   688 var title = Object(external_this_wp_i18n_["__"])('Bold');
   398 const title = Object(external_wp_i18n_["__"])('Bold');
   689 
   399 
   690 var bold = {
   400 const bold = {
   691   name: bold_name,
   401   name: bold_name,
   692   title: title,
   402   title,
   693   tagName: 'strong',
   403   tagName: 'strong',
   694   className: null,
   404   className: null,
   695   edit: function edit(_ref) {
   405 
   696     var isActive = _ref.isActive,
   406   edit({
   697         value = _ref.value,
   407     isActive,
   698         onChange = _ref.onChange,
   408     value,
   699         onFocus = _ref.onFocus;
   409     onChange,
   700 
   410     onFocus
       
   411   }) {
   701     function onToggle() {
   412     function onToggle() {
   702       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
   413       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
   703         type: bold_name
   414         type: bold_name
   704       }));
   415       }));
   705     }
   416     }
   706 
   417 
   707     function onClick() {
   418     function onClick() {
   708       onToggle();
   419       onToggle();
   709       onFocus();
   420       onFocus();
   710     }
   421     }
   711 
   422 
   712     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
   423     return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
   713       type: "primary",
   424       type: "primary",
   714       character: "b",
   425       character: "b",
   715       onUse: onToggle
   426       onUse: onToggle
   716     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
   427     }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
   717       name: "bold",
   428       name: "bold",
   718       icon: format_bold,
   429       icon: format_bold,
   719       title: title,
   430       title: title,
   720       onClick: onClick,
   431       onClick: onClick,
   721       isActive: isActive,
   432       isActive: isActive,
   722       shortcutType: "primary",
   433       shortcutType: "primary",
   723       shortcutCharacter: "b"
   434       shortcutCharacter: "b"
   724     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__unstableRichTextInputEvent"], {
   435     }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
   725       inputType: "formatBold",
   436       inputType: "formatBold",
   726       onInput: onToggle
   437       onInput: onToggle
   727     }));
   438     }));
   728   }
   439   }
       
   440 
   729 };
   441 };
   730 
   442 
   731 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
   443 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
   732 var code = __webpack_require__(301);
   444 var code = __webpack_require__("1Yn1");
   733 
   445 
   734 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
   446 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
   735 
   447 
   736 
   448 
   737 /**
   449 /**
   739  */
   451  */
   740 
   452 
   741 
   453 
   742 
   454 
   743 
   455 
   744 var code_name = 'core/code';
   456 const code_name = 'core/code';
   745 
   457 
   746 var code_title = Object(external_this_wp_i18n_["__"])('Inline Code');
   458 const code_title = Object(external_wp_i18n_["__"])('Inline code');
   747 
   459 
   748 var code_code = {
   460 const code_code = {
   749   name: code_name,
   461   name: code_name,
   750   title: code_title,
   462   title: code_title,
   751   tagName: 'code',
   463   tagName: 'code',
   752   className: null,
   464   className: null,
   753   __unstableInputRule: function __unstableInputRule(value) {
   465 
   754     var BACKTICK = '`';
   466   __unstableInputRule(value) {
   755     var _value = value,
   467     const BACKTICK = '`';
   756         start = _value.start,
   468     const {
   757         text = _value.text;
   469       start,
   758     var characterBefore = text.slice(start - 1, start); // Quick check the text for the necessary character.
   470       text
       
   471     } = value;
       
   472     const characterBefore = text.slice(start - 1, start); // Quick check the text for the necessary character.
   759 
   473 
   760     if (characterBefore !== BACKTICK) {
   474     if (characterBefore !== BACKTICK) {
   761       return value;
   475       return value;
   762     }
   476     }
   763 
   477 
   764     var textBefore = text.slice(0, start - 1);
   478     const textBefore = text.slice(0, start - 1);
   765     var indexBefore = textBefore.lastIndexOf(BACKTICK);
   479     const indexBefore = textBefore.lastIndexOf(BACKTICK);
   766 
   480 
   767     if (indexBefore === -1) {
   481     if (indexBefore === -1) {
   768       return value;
   482       return value;
   769     }
   483     }
   770 
   484 
   771     var startIndex = indexBefore;
   485     const startIndex = indexBefore;
   772     var endIndex = start - 2;
   486     const endIndex = start - 2;
   773 
   487 
   774     if (startIndex === endIndex) {
   488     if (startIndex === endIndex) {
   775       return value;
   489       return value;
   776     }
   490     }
   777 
   491 
   778     value = Object(external_this_wp_richText_["remove"])(value, startIndex, startIndex + 1);
   492     value = Object(external_wp_richText_["remove"])(value, startIndex, startIndex + 1);
   779     value = Object(external_this_wp_richText_["remove"])(value, endIndex, endIndex + 1);
   493     value = Object(external_wp_richText_["remove"])(value, endIndex, endIndex + 1);
   780     value = Object(external_this_wp_richText_["applyFormat"])(value, {
   494     value = Object(external_wp_richText_["applyFormat"])(value, {
   781       type: code_name
   495       type: code_name
   782     }, startIndex, endIndex);
   496     }, startIndex, endIndex);
   783     return value;
   497     return value;
   784   },
   498   },
   785   edit: function edit(_ref) {
   499 
   786     var value = _ref.value,
   500   edit({
   787         onChange = _ref.onChange,
   501     value,
   788         onFocus = _ref.onFocus,
   502     onChange,
   789         isActive = _ref.isActive;
   503     onFocus,
   790 
   504     isActive
       
   505   }) {
   791     function onClick() {
   506     function onClick() {
   792       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
   507       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
   793         type: code_name
   508         type: code_name
   794       }));
   509       }));
   795       onFocus();
   510       onFocus();
   796     }
   511     }
   797 
   512 
   798     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
   513     return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
   799       icon: code["a" /* default */],
   514       icon: code["a" /* default */],
   800       title: code_title,
   515       title: code_title,
   801       onClick: onClick,
   516       onClick: onClick,
   802       isActive: isActive
   517       isActive: isActive
   803     });
   518     });
   804   }
   519   }
       
   520 
   805 };
   521 };
   806 
   522 
   807 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
   523 // EXTERNAL MODULE: external ["wp","components"]
   808 var defineProperty = __webpack_require__(5);
   524 var external_wp_components_ = __webpack_require__("tI+e");
   809 
       
   810 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
       
   811 var classCallCheck = __webpack_require__(20);
       
   812 
       
   813 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
       
   814 var createClass = __webpack_require__(19);
       
   815 
       
   816 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
       
   817 var assertThisInitialized = __webpack_require__(12);
       
   818 
       
   819 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
       
   820 var possibleConstructorReturn = __webpack_require__(23);
       
   821 
       
   822 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
       
   823 var getPrototypeOf = __webpack_require__(16);
       
   824 
       
   825 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
       
   826 var inherits = __webpack_require__(22);
       
   827 
       
   828 // EXTERNAL MODULE: external {"this":["wp","components"]}
       
   829 var external_this_wp_components_ = __webpack_require__(3);
       
   830 
       
   831 // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
       
   832 var external_this_wp_keycodes_ = __webpack_require__(21);
       
   833 
   525 
   834 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
   526 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
   835 var keyboard_return = __webpack_require__(203);
   527 var keyboard_return = __webpack_require__("btIw");
   836 
   528 
   837 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
   529 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
   838 
   530 
   839 
   531 
   840 
   532 /**
   841 
   533  * WordPress dependencies
   842 
   534  */
   843 
   535 
   844 
   536 
   845 
   537 
   846 
   538 
   847 function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
   539 
   848 
   540 
   849 function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
   541 const ALLOWED_MEDIA_TYPES = ['image'];
   850 
   542 const image_name = 'core/image';
   851 function _createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
   543 
   852 
   544 const image_title = Object(external_wp_i18n_["__"])('Inline image');
   853 function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
   545 
   854 
   546 const image_image = {
   855 /**
       
   856  * WordPress dependencies
       
   857  */
       
   858 
       
   859 
       
   860 
       
   861 
       
   862 
       
   863 
       
   864 
       
   865 var ALLOWED_MEDIA_TYPES = ['image'];
       
   866 var image_name = 'core/image';
       
   867 
       
   868 var image_title = Object(external_this_wp_i18n_["__"])('Inline image');
       
   869 
       
   870 var stopKeyPropagation = function stopKeyPropagation(event) {
       
   871   return event.stopPropagation();
       
   872 };
       
   873 
       
   874 function getRange() {
       
   875   var selection = window.getSelection();
       
   876   return selection.rangeCount ? selection.getRangeAt(0) : null;
       
   877 }
       
   878 
       
   879 var image_image = {
       
   880   name: image_name,
   547   name: image_name,
   881   title: image_title,
   548   title: image_title,
   882   keywords: [Object(external_this_wp_i18n_["__"])('photo'), Object(external_this_wp_i18n_["__"])('media')],
   549   keywords: [Object(external_wp_i18n_["__"])('photo'), Object(external_wp_i18n_["__"])('media')],
   883   object: true,
   550   object: true,
   884   tagName: 'img',
   551   tagName: 'img',
   885   className: null,
   552   className: null,
   886   attributes: {
   553   attributes: {
   887     className: 'class',
   554     className: 'class',
   888     style: 'style',
   555     style: 'style',
   889     url: 'src',
   556     url: 'src',
   890     alt: 'alt'
   557     alt: 'alt'
   891   },
   558   },
   892   edit: /*#__PURE__*/function (_Component) {
   559   edit: Edit
   893     Object(inherits["a" /* default */])(ImageEdit, _Component);
   560 };
   894 
   561 
   895     var _super = _createSuper(ImageEdit);
   562 function InlineUI({
   896 
   563   value,
   897     function ImageEdit() {
   564   onChange,
   898       var _this;
   565   activeObjectAttributes,
   899 
   566   contentRef
   900       Object(classCallCheck["a" /* default */])(this, ImageEdit);
   567 }) {
   901 
   568   const {
   902       _this = _super.apply(this, arguments);
   569     style
   903       _this.onChange = _this.onChange.bind(Object(assertThisInitialized["a" /* default */])(_this));
   570   } = activeObjectAttributes;
   904       _this.onKeyDown = _this.onKeyDown.bind(Object(assertThisInitialized["a" /* default */])(_this));
   571   const [width, setWidth] = Object(external_wp_element_["useState"])(style === null || style === void 0 ? void 0 : style.replace(/\D/g, ''));
   905       _this.openModal = _this.openModal.bind(Object(assertThisInitialized["a" /* default */])(_this));
   572   const anchorRef = Object(external_wp_richText_["useAnchorRef"])({
   906       _this.closeModal = _this.closeModal.bind(Object(assertThisInitialized["a" /* default */])(_this));
   573     ref: contentRef,
   907       _this.anchorRef = null;
   574     value,
   908       _this.state = {
   575     settings: image_image
   909         modal: false
   576   });
       
   577   return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
       
   578     position: "bottom center",
       
   579     focusOnMount: false,
       
   580     anchorRef: anchorRef,
       
   581     className: "block-editor-format-toolbar__image-popover"
       
   582   }, Object(external_wp_element_["createElement"])("form", {
       
   583     className: "block-editor-format-toolbar__image-container-content",
       
   584     onSubmit: event => {
       
   585       const newReplacements = value.replacements.slice();
       
   586       newReplacements[value.start] = {
       
   587         type: image_name,
       
   588         attributes: { ...activeObjectAttributes,
       
   589           style: `width: ${width}px;`
       
   590         }
   910       };
   591       };
   911       return _this;
   592       onChange({ ...value,
   912     }
   593         replacements: newReplacements
   913 
   594       });
   914     Object(createClass["a" /* default */])(ImageEdit, [{
   595       event.preventDefault();
   915       key: "onChange",
   596     }
   916       value: function onChange(width) {
   597   }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
   917         this.setState({
   598     className: "block-editor-format-toolbar__image-container-value",
   918           width: width
   599     type: "number",
   919         });
   600     label: Object(external_wp_i18n_["__"])('Width'),
   920       }
   601     value: width,
   921     }, {
   602     min: 1,
   922       key: "onKeyDown",
   603     onChange: newWidth => setWidth(newWidth)
   923       value: function onKeyDown(event) {
   604   }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
   924         if ([external_this_wp_keycodes_["LEFT"], external_this_wp_keycodes_["DOWN"], external_this_wp_keycodes_["RIGHT"], external_this_wp_keycodes_["UP"], external_this_wp_keycodes_["BACKSPACE"], external_this_wp_keycodes_["ENTER"]].indexOf(event.keyCode) > -1) {
   605     icon: keyboard_return["a" /* default */],
   925           // Stop the key event from propagating up to ObserveTyping.startTypingInTextField.
   606     label: Object(external_wp_i18n_["__"])('Apply'),
   926           event.stopPropagation();
   607     type: "submit"
       
   608   })));
       
   609 }
       
   610 
       
   611 function Edit({
       
   612   value,
       
   613   onChange,
       
   614   onFocus,
       
   615   isObjectActive,
       
   616   activeObjectAttributes,
       
   617   contentRef
       
   618 }) {
       
   619   const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
       
   620 
       
   621   function openModal() {
       
   622     setIsModalOpen(true);
       
   623   }
       
   624 
       
   625   function closeModal() {
       
   626     setIsModalOpen(false);
       
   627   }
       
   628 
       
   629   return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
       
   630     icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
       
   631       xmlns: "http://www.w3.org/2000/svg",
       
   632       viewBox: "0 0 24 24"
       
   633     }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
       
   634       d: "M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"
       
   635     })),
       
   636     title: image_title,
       
   637     onClick: openModal,
       
   638     isActive: isObjectActive
       
   639   }), isModalOpen && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
       
   640     allowedTypes: ALLOWED_MEDIA_TYPES,
       
   641     onSelect: ({
       
   642       id,
       
   643       url,
       
   644       alt,
       
   645       width: imgWidth
       
   646     }) => {
       
   647       closeModal();
       
   648       onChange(Object(external_wp_richText_["insertObject"])(value, {
       
   649         type: image_name,
       
   650         attributes: {
       
   651           className: `wp-image-${id}`,
       
   652           style: `width: ${Math.min(imgWidth, 150)}px;`,
       
   653           url,
       
   654           alt
   927         }
   655         }
   928       }
   656       }));
   929     }, {
   657       onFocus();
   930       key: "openModal",
   658     },
   931       value: function openModal() {
   659     onClose: closeModal,
   932         this.setState({
   660     render: ({
   933           modal: true
   661       open
   934         });
   662     }) => {
   935       }
   663       open();
   936     }, {
   664       return null;
   937       key: "closeModal",
   665     }
   938       value: function closeModal() {
   666   }), isObjectActive && Object(external_wp_element_["createElement"])(InlineUI, {
   939         this.setState({
   667     value: value,
   940           modal: false
   668     onChange: onChange,
   941         });
   669     activeObjectAttributes: activeObjectAttributes,
   942       }
   670     contentRef: contentRef
   943     }, {
   671   }));
   944       key: "componentDidMount",
   672 }
   945       value: function componentDidMount() {
       
   946         this.anchorRef = getRange();
       
   947       }
       
   948     }, {
       
   949       key: "componentDidUpdate",
       
   950       value: function componentDidUpdate(prevProps) {
       
   951         // When the popover is open or when the selected image changes,
       
   952         // update the anchorRef.
       
   953         if (!prevProps.isObjectActive && this.props.isObjectActive || prevProps.activeObjectAttributes.url !== this.props.activeObjectAttributes.url) {
       
   954           this.anchorRef = getRange();
       
   955         }
       
   956       }
       
   957     }, {
       
   958       key: "render",
       
   959       value: function render() {
       
   960         var _this2 = this;
       
   961 
       
   962         var _this$props = this.props,
       
   963             value = _this$props.value,
       
   964             onChange = _this$props.onChange,
       
   965             onFocus = _this$props.onFocus,
       
   966             isObjectActive = _this$props.isObjectActive,
       
   967             activeObjectAttributes = _this$props.activeObjectAttributes;
       
   968         return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUploadCheck"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
       
   969           icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
       
   970             xmlns: "http://www.w3.org/2000/svg",
       
   971             viewBox: "0 0 24 24"
       
   972           }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
       
   973             d: "M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"
       
   974           })),
       
   975           title: image_title,
       
   976           onClick: this.openModal,
       
   977           isActive: isObjectActive
       
   978         }), this.state.modal && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["MediaUpload"], {
       
   979           allowedTypes: ALLOWED_MEDIA_TYPES,
       
   980           onSelect: function onSelect(_ref) {
       
   981             var id = _ref.id,
       
   982                 url = _ref.url,
       
   983                 alt = _ref.alt,
       
   984                 width = _ref.width;
       
   985 
       
   986             _this2.closeModal();
       
   987 
       
   988             onChange(Object(external_this_wp_richText_["insertObject"])(value, {
       
   989               type: image_name,
       
   990               attributes: {
       
   991                 className: "wp-image-".concat(id),
       
   992                 style: "width: ".concat(Math.min(width, 150), "px;"),
       
   993                 url: url,
       
   994                 alt: alt
       
   995               }
       
   996             }));
       
   997             onFocus();
       
   998           },
       
   999           onClose: this.closeModal,
       
  1000           render: function render(_ref2) {
       
  1001             var open = _ref2.open;
       
  1002             open();
       
  1003             return null;
       
  1004           }
       
  1005         }), isObjectActive && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], {
       
  1006           position: "bottom center",
       
  1007           focusOnMount: false,
       
  1008           anchorRef: this.anchorRef
       
  1009         }, Object(external_this_wp_element_["createElement"])("form", {
       
  1010           className: "block-editor-format-toolbar__image-container-content",
       
  1011           onKeyPress: stopKeyPropagation,
       
  1012           onKeyDown: this.onKeyDown,
       
  1013           onSubmit: function onSubmit(event) {
       
  1014             var newReplacements = value.replacements.slice();
       
  1015             newReplacements[value.start] = {
       
  1016               type: image_name,
       
  1017               attributes: _objectSpread({}, activeObjectAttributes, {
       
  1018                 style: "width: ".concat(_this2.state.width, "px;")
       
  1019               })
       
  1020             };
       
  1021             onChange(_objectSpread({}, value, {
       
  1022               replacements: newReplacements
       
  1023             }));
       
  1024             event.preventDefault();
       
  1025           }
       
  1026         }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["TextControl"], {
       
  1027           className: "block-editor-format-toolbar__image-container-value",
       
  1028           type: "number",
       
  1029           label: Object(external_this_wp_i18n_["__"])('Width'),
       
  1030           value: this.state.width,
       
  1031           min: 1,
       
  1032           onChange: this.onChange
       
  1033         }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
       
  1034           icon: keyboard_return["a" /* default */],
       
  1035           label: Object(external_this_wp_i18n_["__"])('Apply'),
       
  1036           type: "submit"
       
  1037         }))));
       
  1038       }
       
  1039     }], [{
       
  1040       key: "getDerivedStateFromProps",
       
  1041       value: function getDerivedStateFromProps(props, state) {
       
  1042         var style = props.activeObjectAttributes.style;
       
  1043 
       
  1044         if (style === state.previousStyle) {
       
  1045           return null;
       
  1046         }
       
  1047 
       
  1048         if (!style) {
       
  1049           return {
       
  1050             width: undefined,
       
  1051             previousStyle: style
       
  1052           };
       
  1053         }
       
  1054 
       
  1055         return {
       
  1056           width: style.replace(/\D/g, ''),
       
  1057           previousStyle: style
       
  1058         };
       
  1059       }
       
  1060     }]);
       
  1061 
       
  1062     return ImageEdit;
       
  1063   }(external_this_wp_element_["Component"])
       
  1064 };
       
  1065 
   673 
  1066 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js
   674 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js
  1067 
   675 
  1068 
   676 
  1069 /**
   677 /**
  1070  * WordPress dependencies
   678  * WordPress dependencies
  1071  */
   679  */
  1072 
   680 
  1073 var formatItalic = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
   681 const formatItalic = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
  1074   xmlns: "http://www.w3.org/2000/svg",
   682   xmlns: "http://www.w3.org/2000/svg",
  1075   viewBox: "0 0 24 24"
   683   viewBox: "0 0 24 24"
  1076 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
   684 }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
  1077   d: "M12.5 5L10 19h1.9l2.5-14z"
   685   d: "M12.5 5L10 19h1.9l2.5-14z"
  1078 }));
   686 }));
  1079 /* harmony default export */ var format_italic = (formatItalic);
   687 /* harmony default export */ var format_italic = (formatItalic);
  1080 
   688 
  1081 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js
   689 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js
  1086  */
   694  */
  1087 
   695 
  1088 
   696 
  1089 
   697 
  1090 
   698 
  1091 var italic_name = 'core/italic';
   699 const italic_name = 'core/italic';
  1092 
   700 
  1093 var italic_title = Object(external_this_wp_i18n_["__"])('Italic');
   701 const italic_title = Object(external_wp_i18n_["__"])('Italic');
  1094 
   702 
  1095 var italic = {
   703 const italic = {
  1096   name: italic_name,
   704   name: italic_name,
  1097   title: italic_title,
   705   title: italic_title,
  1098   tagName: 'em',
   706   tagName: 'em',
  1099   className: null,
   707   className: null,
  1100   edit: function edit(_ref) {
   708 
  1101     var isActive = _ref.isActive,
   709   edit({
  1102         value = _ref.value,
   710     isActive,
  1103         onChange = _ref.onChange,
   711     value,
  1104         onFocus = _ref.onFocus;
   712     onChange,
  1105 
   713     onFocus
       
   714   }) {
  1106     function onToggle() {
   715     function onToggle() {
  1107       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
   716       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
  1108         type: italic_name
   717         type: italic_name
  1109       }));
   718       }));
  1110     }
   719     }
  1111 
   720 
  1112     function onClick() {
   721     function onClick() {
  1113       onToggle();
   722       onToggle();
  1114       onFocus();
   723       onFocus();
  1115     }
   724     }
  1116 
   725 
  1117     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
   726     return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
  1118       type: "primary",
   727       type: "primary",
  1119       character: "i",
   728       character: "i",
  1120       onUse: onToggle
   729       onUse: onToggle
  1121     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
   730     }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
  1122       name: "italic",
   731       name: "italic",
  1123       icon: format_italic,
   732       icon: format_italic,
  1124       title: italic_title,
   733       title: italic_title,
  1125       onClick: onClick,
   734       onClick: onClick,
  1126       isActive: isActive,
   735       isActive: isActive,
  1127       shortcutType: "primary",
   736       shortcutType: "primary",
  1128       shortcutCharacter: "i"
   737       shortcutCharacter: "i"
  1129     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__unstableRichTextInputEvent"], {
   738     }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
  1130       inputType: "formatItalic",
   739       inputType: "formatItalic",
  1131       onInput: onToggle
   740       onInput: onToggle
  1132     }));
   741     }));
  1133   }
   742   }
       
   743 
  1134 };
   744 };
  1135 
   745 
  1136 // EXTERNAL MODULE: external {"this":["wp","url"]}
   746 // EXTERNAL MODULE: external ["wp","url"]
  1137 var external_this_wp_url_ = __webpack_require__(31);
   747 var external_wp_url_ = __webpack_require__("Mmq9");
  1138 
   748 
  1139 // EXTERNAL MODULE: external {"this":["wp","htmlEntities"]}
   749 // EXTERNAL MODULE: external ["wp","htmlEntities"]
  1140 var external_this_wp_htmlEntities_ = __webpack_require__(75);
   750 var external_wp_htmlEntities_ = __webpack_require__("rmEH");
  1141 
   751 
  1142 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
   752 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
  1143 var link_off = __webpack_require__(205);
   753 var link_off = __webpack_require__("Mp0b");
  1144 
   754 
  1145 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
   755 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
  1146 var library_link = __webpack_require__(180);
   756 var library_link = __webpack_require__("Bpkj");
  1147 
   757 
  1148 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
   758 // EXTERNAL MODULE: external ["wp","a11y"]
  1149 var slicedToArray = __webpack_require__(14);
   759 var external_wp_a11y_ = __webpack_require__("gdqT");
  1150 
   760 
  1151 // EXTERNAL MODULE: external {"this":"lodash"}
   761 // EXTERNAL MODULE: external "lodash"
  1152 var external_this_lodash_ = __webpack_require__(2);
   762 var external_lodash_ = __webpack_require__("YLtl");
  1153 
   763 
  1154 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
   764 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
  1155 /**
   765 /**
  1156  * External dependencies
   766  * External dependencies
  1157  */
   767  */
  1172 function isValidHref(href) {
   782 function isValidHref(href) {
  1173   if (!href) {
   783   if (!href) {
  1174     return false;
   784     return false;
  1175   }
   785   }
  1176 
   786 
  1177   var trimmedHref = href.trim();
   787   const trimmedHref = href.trim();
  1178 
   788 
  1179   if (!trimmedHref) {
   789   if (!trimmedHref) {
  1180     return false;
   790     return false;
  1181   } // Does the href start with something that looks like a URL protocol?
   791   } // Does the href start with something that looks like a URL protocol?
  1182 
   792 
  1183 
   793 
  1184   if (/^\S+:/.test(trimmedHref)) {
   794   if (/^\S+:/.test(trimmedHref)) {
  1185     var protocol = Object(external_this_wp_url_["getProtocol"])(trimmedHref);
   795     const protocol = Object(external_wp_url_["getProtocol"])(trimmedHref);
  1186 
   796 
  1187     if (!Object(external_this_wp_url_["isValidProtocol"])(protocol)) {
   797     if (!Object(external_wp_url_["isValidProtocol"])(protocol)) {
  1188       return false;
   798       return false;
  1189     } // Add some extra checks for http(s) URIs, since these are the most common use-case.
   799     } // Add some extra checks for http(s) URIs, since these are the most common use-case.
  1190     // This ensures URIs with an http protocol have exactly two forward slashes following the protocol.
   800     // This ensures URIs with an http protocol have exactly two forward slashes following the protocol.
  1191 
   801 
  1192 
   802 
  1193     if (Object(external_this_lodash_["startsWith"])(protocol, 'http') && !/^https?:\/\/[^\/\s]/i.test(trimmedHref)) {
   803     if (Object(external_lodash_["startsWith"])(protocol, 'http') && !/^https?:\/\/[^\/\s]/i.test(trimmedHref)) {
  1194       return false;
   804       return false;
  1195     }
   805     }
  1196 
   806 
  1197     var authority = Object(external_this_wp_url_["getAuthority"])(trimmedHref);
   807     const authority = Object(external_wp_url_["getAuthority"])(trimmedHref);
  1198 
   808 
  1199     if (!Object(external_this_wp_url_["isValidAuthority"])(authority)) {
   809     if (!Object(external_wp_url_["isValidAuthority"])(authority)) {
  1200       return false;
   810       return false;
  1201     }
   811     }
  1202 
   812 
  1203     var path = Object(external_this_wp_url_["getPath"])(trimmedHref);
   813     const path = Object(external_wp_url_["getPath"])(trimmedHref);
  1204 
   814 
  1205     if (path && !Object(external_this_wp_url_["isValidPath"])(path)) {
   815     if (path && !Object(external_wp_url_["isValidPath"])(path)) {
  1206       return false;
   816       return false;
  1207     }
   817     }
  1208 
   818 
  1209     var queryString = Object(external_this_wp_url_["getQueryString"])(trimmedHref);
   819     const queryString = Object(external_wp_url_["getQueryString"])(trimmedHref);
  1210 
   820 
  1211     if (queryString && !Object(external_this_wp_url_["isValidQueryString"])(queryString)) {
   821     if (queryString && !Object(external_wp_url_["isValidQueryString"])(queryString)) {
  1212       return false;
   822       return false;
  1213     }
   823     }
  1214 
   824 
  1215     var fragment = Object(external_this_wp_url_["getFragment"])(trimmedHref);
   825     const fragment = Object(external_wp_url_["getFragment"])(trimmedHref);
  1216 
   826 
  1217     if (fragment && !Object(external_this_wp_url_["isValidFragment"])(fragment)) {
   827     if (fragment && !Object(external_wp_url_["isValidFragment"])(fragment)) {
  1218       return false;
   828       return false;
  1219     }
   829     }
  1220   } // Validate anchor links.
   830   } // Validate anchor links.
  1221 
   831 
  1222 
   832 
  1223   if (Object(external_this_lodash_["startsWith"])(trimmedHref, '#') && !Object(external_this_wp_url_["isValidFragment"])(trimmedHref)) {
   833   if (Object(external_lodash_["startsWith"])(trimmedHref, '#') && !Object(external_wp_url_["isValidFragment"])(trimmedHref)) {
  1224     return false;
   834     return false;
  1225   }
   835   }
  1226 
   836 
  1227   return true;
   837   return true;
  1228 }
   838 }
  1236  * @param {boolean} options.opensInNewWindow Whether this link will open in a new window.
   846  * @param {boolean} options.opensInNewWindow Whether this link will open in a new window.
  1237  *
   847  *
  1238  * @return {Object} The final format object.
   848  * @return {Object} The final format object.
  1239  */
   849  */
  1240 
   850 
  1241 function createLinkFormat(_ref) {
   851 function createLinkFormat({
  1242   var url = _ref.url,
   852   url,
  1243       type = _ref.type,
   853   type,
  1244       id = _ref.id,
   854   id,
  1245       opensInNewWindow = _ref.opensInNewWindow;
   855   opensInNewWindow
  1246   var format = {
   856 }) {
       
   857   const format = {
  1247     type: 'core/link',
   858     type: 'core/link',
  1248     attributes: {
   859     attributes: {
  1249       url: url
   860       url
  1250     }
   861     }
  1251   };
   862   };
  1252   if (type) format.attributes.type = type;
   863   if (type) format.attributes.type = type;
  1253   if (id) format.attributes.id = id;
   864   if (id) format.attributes.id = id;
  1254 
   865 
  1261 }
   872 }
  1262 
   873 
  1263 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js
   874 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js
  1264 
   875 
  1265 
   876 
  1266 
   877 /**
  1267 
   878  * WordPress dependencies
  1268 function inline_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
   879  */
  1269 
       
  1270 function inline_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { inline_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { inline_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
       
  1271 
       
  1272 /**
       
  1273  * External dependencies
       
  1274  */
       
  1275 
       
  1276 /**
       
  1277  * WordPress dependencies
       
  1278  */
       
  1279 
       
  1280 
   880 
  1281 
   881 
  1282 
   882 
  1283 
   883 
  1284 
   884 
  1287  * Internal dependencies
   887  * Internal dependencies
  1288  */
   888  */
  1289 
   889 
  1290 
   890 
  1291 
   891 
  1292 function InlineLinkUI(_ref) {
   892 
  1293   var isActive = _ref.isActive,
   893 function InlineLinkUI({
  1294       activeAttributes = _ref.activeAttributes,
   894   isActive,
  1295       addingLink = _ref.addingLink,
   895   activeAttributes,
  1296       value = _ref.value,
   896   addingLink,
  1297       onChange = _ref.onChange,
   897   value,
  1298       speak = _ref.speak,
   898   onChange,
  1299       stopAddingLink = _ref.stopAddingLink;
   899   speak,
  1300 
   900   stopAddingLink,
  1301   /**
   901   contentRef
  1302    * A unique key is generated when switching between editing and not editing
   902 }) {
  1303    * a link, based on:
       
  1304    *
       
  1305    * - This component may be rendered _either_ when a link is active _or_
       
  1306    *   when adding or editing a link.
       
  1307    * - It's only desirable to shift focus into the Popover when explicitly
       
  1308    *   adding or editing a link, not when in the inline boundary of a link.
       
  1309    * - Focus behavior can only be controlled on a Popover at the time it
       
  1310    *   mounts, so a new instance of the component must be mounted to
       
  1311    *   programmatically enact the focusOnMount behavior.
       
  1312    *
       
  1313    * @type {string}
       
  1314    */
       
  1315   var mountingKey = Object(external_this_wp_element_["useMemo"])(external_this_lodash_["uniqueId"], [addingLink]);
       
  1316   /**
   903   /**
  1317    * Pending settings to be applied to the next link. When inserting a new
   904    * Pending settings to be applied to the next link. When inserting a new
  1318    * link, toggle values cannot be applied immediately, because there is not
   905    * link, toggle values cannot be applied immediately, because there is not
  1319    * yet a link for them to apply to. Thus, they are maintained in a state
   906    * yet a link for them to apply to. Thus, they are maintained in a state
  1320    * value until the time that the link can be inserted or edited.
   907    * value until the time that the link can be inserted or edited.
  1321    *
   908    *
  1322    * @type {[Object|undefined,Function]}
   909    * @type {[Object|undefined,Function]}
  1323    */
   910    */
  1324 
   911   const [nextLinkValue, setNextLinkValue] = Object(external_wp_element_["useState"])();
  1325   var _useState = Object(external_this_wp_element_["useState"])(),
   912   const linkValue = {
  1326       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
  1327       nextLinkValue = _useState2[0],
       
  1328       setNextLinkValue = _useState2[1];
       
  1329 
       
  1330   var anchorRef = Object(external_this_wp_element_["useMemo"])(function () {
       
  1331     var selection = window.getSelection();
       
  1332 
       
  1333     if (!selection.rangeCount) {
       
  1334       return;
       
  1335     }
       
  1336 
       
  1337     var range = selection.getRangeAt(0);
       
  1338 
       
  1339     if (addingLink && !isActive) {
       
  1340       return range;
       
  1341     }
       
  1342 
       
  1343     var element = range.startContainer; // If the caret is right before the element, select the next element.
       
  1344 
       
  1345     element = element.nextElementSibling || element;
       
  1346 
       
  1347     while (element.nodeType !== window.Node.ELEMENT_NODE) {
       
  1348       element = element.parentNode;
       
  1349     }
       
  1350 
       
  1351     return element.closest('a');
       
  1352   }, [addingLink, value.start, value.end]);
       
  1353 
       
  1354   var linkValue = inline_objectSpread({
       
  1355     url: activeAttributes.url,
   913     url: activeAttributes.url,
  1356     type: activeAttributes.type,
   914     type: activeAttributes.type,
  1357     id: activeAttributes.id,
   915     id: activeAttributes.id,
  1358     opensInNewTab: activeAttributes.target === '_blank'
   916     opensInNewTab: activeAttributes.target === '_blank',
  1359   }, nextLinkValue);
   917     ...nextLinkValue
       
   918   };
  1360 
   919 
  1361   function onChangeLink(nextValue) {
   920   function onChangeLink(nextValue) {
  1362     // Merge with values from state, both for the purpose of assigning the
   921     // Merge with values from state, both for the purpose of assigning the
  1363     // next state value, and for use in constructing the new link format if
   922     // next state value, and for use in constructing the new link format if
  1364     // the link is ready to be applied.
   923     // the link is ready to be applied.
  1365     nextValue = inline_objectSpread({}, nextLinkValue, {}, nextValue); // LinkControl calls `onChange` immediately upon the toggling a setting.
   924     nextValue = { ...nextLinkValue,
  1366 
   925       ...nextValue
  1367     var didToggleSetting = linkValue.opensInNewTab !== nextValue.opensInNewTab && linkValue.url === nextValue.url; // If change handler was called as a result of a settings change during
   926     }; // LinkControl calls `onChange` immediately upon the toggling a setting.
       
   927 
       
   928     const didToggleSetting = linkValue.opensInNewTab !== nextValue.opensInNewTab && linkValue.url === nextValue.url; // If change handler was called as a result of a settings change during
  1368     // link insertion, it must be held in state until the link is ready to
   929     // link insertion, it must be held in state until the link is ready to
  1369     // be applied.
   930     // be applied.
  1370 
   931 
  1371     var didToggleSettingForNewLink = didToggleSetting && nextValue.url === undefined; // If link will be assigned, the state value can be considered flushed.
   932     const didToggleSettingForNewLink = didToggleSetting && nextValue.url === undefined; // If link will be assigned, the state value can be considered flushed.
  1372     // Otherwise, persist the pending changes.
   933     // Otherwise, persist the pending changes.
  1373 
   934 
  1374     setNextLinkValue(didToggleSettingForNewLink ? nextValue : undefined);
   935     setNextLinkValue(didToggleSettingForNewLink ? nextValue : undefined);
  1375 
   936 
  1376     if (didToggleSettingForNewLink) {
   937     if (didToggleSettingForNewLink) {
  1377       return;
   938       return;
  1378     }
   939     }
  1379 
   940 
  1380     var newUrl = Object(external_this_wp_url_["prependHTTP"])(nextValue.url);
   941     const newUrl = Object(external_wp_url_["prependHTTP"])(nextValue.url);
  1381     var format = createLinkFormat({
   942     const format = createLinkFormat({
  1382       url: newUrl,
   943       url: newUrl,
  1383       type: nextValue.type,
   944       type: nextValue.type,
  1384       id: nextValue.id !== undefined && nextValue.id !== null ? String(nextValue.id) : undefined,
   945       id: nextValue.id !== undefined && nextValue.id !== null ? String(nextValue.id) : undefined,
  1385       opensInNewWindow: nextValue.opensInNewTab
   946       opensInNewWindow: nextValue.opensInNewTab
  1386     });
   947     });
  1387 
   948 
  1388     if (Object(external_this_wp_richText_["isCollapsed"])(value) && !isActive) {
   949     if (Object(external_wp_richText_["isCollapsed"])(value) && !isActive) {
  1389       var newText = nextValue.title || newUrl;
   950       const newText = nextValue.title || newUrl;
  1390       var toInsert = Object(external_this_wp_richText_["applyFormat"])(Object(external_this_wp_richText_["create"])({
   951       const toInsert = Object(external_wp_richText_["applyFormat"])(Object(external_wp_richText_["create"])({
  1391         text: newText
   952         text: newText
  1392       }), format, 0, newText.length);
   953       }), format, 0, newText.length);
  1393       onChange(Object(external_this_wp_richText_["insert"])(value, toInsert));
   954       onChange(Object(external_wp_richText_["insert"])(value, toInsert));
  1394     } else {
   955     } else {
  1395       var newValue = Object(external_this_wp_richText_["applyFormat"])(value, format);
   956       const newValue = Object(external_wp_richText_["applyFormat"])(value, format);
  1396       newValue.start = newValue.end;
   957       newValue.start = newValue.end;
  1397       newValue.activeFormats = [];
   958       newValue.activeFormats = [];
  1398       onChange(newValue);
   959       onChange(newValue);
  1399     } // Focus should only be shifted back to the formatted segment when the
   960     } // Focus should only be shifted back to the formatted segment when the
  1400     // URL is submitted.
   961     // URL is submitted.
  1403     if (!didToggleSetting) {
   964     if (!didToggleSetting) {
  1404       stopAddingLink();
   965       stopAddingLink();
  1405     }
   966     }
  1406 
   967 
  1407     if (!isValidHref(newUrl)) {
   968     if (!isValidHref(newUrl)) {
  1408       speak(Object(external_this_wp_i18n_["__"])('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive');
   969       speak(Object(external_wp_i18n_["__"])('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive');
  1409     } else if (isActive) {
   970     } else if (isActive) {
  1410       speak(Object(external_this_wp_i18n_["__"])('Link edited.'), 'assertive');
   971       speak(Object(external_wp_i18n_["__"])('Link edited.'), 'assertive');
  1411     } else {
   972     } else {
  1412       speak(Object(external_this_wp_i18n_["__"])('Link inserted.'), 'assertive');
   973       speak(Object(external_wp_i18n_["__"])('Link inserted.'), 'assertive');
  1413     }
   974     }
  1414   }
   975   }
  1415 
   976 
  1416   return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Popover"], {
   977   const anchorRef = Object(external_wp_richText_["useAnchorRef"])({
  1417     key: mountingKey,
   978     ref: contentRef,
       
   979     value,
       
   980     settings: link_link
       
   981   }); // The focusOnMount prop shouldn't evolve during render of a Popover
       
   982   // otherwise it causes a render of the content.
       
   983 
       
   984   const focusOnMount = Object(external_wp_element_["useRef"])(addingLink ? 'firstElement' : false);
       
   985   return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
  1418     anchorRef: anchorRef,
   986     anchorRef: anchorRef,
  1419     focusOnMount: addingLink ? 'firstElement' : false,
   987     focusOnMount: focusOnMount.current,
  1420     onClose: stopAddingLink,
   988     onClose: stopAddingLink,
  1421     position: "bottom center"
   989     position: "bottom center"
  1422   }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__experimentalLinkControl"], {
   990   }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
  1423     value: linkValue,
   991     value: linkValue,
  1424     onChange: onChangeLink,
   992     onChange: onChangeLink,
  1425     forceIsEditingLink: addingLink
   993     forceIsEditingLink: addingLink
  1426   }));
   994   }));
  1427 }
   995 }
  1428 
   996 
  1429 /* harmony default export */ var inline = (Object(external_this_wp_components_["withSpokenMessages"])(InlineLinkUI));
   997 /* harmony default export */ var inline = (Object(external_wp_components_["withSpokenMessages"])(InlineLinkUI));
  1430 
   998 
  1431 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/index.js
   999 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/index.js
  1432 
  1000 
  1433 
  1001 
  1434 
       
  1435 
       
  1436 
       
  1437 
       
  1438 
       
  1439 
       
  1440 function link_createSuper(Derived) { return function () { var Super = Object(getPrototypeOf["a" /* default */])(Derived), result; if (link_isNativeReflectConstruct()) { var NewTarget = Object(getPrototypeOf["a" /* default */])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return Object(possibleConstructorReturn["a" /* default */])(this, result); }; }
       
  1441 
       
  1442 function link_isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
       
  1443 
       
  1444 /**
  1002 /**
  1445  * WordPress dependencies
  1003  * WordPress dependencies
  1446  */
  1004  */
  1447 
  1005 
  1448 
  1006 
  1455 /**
  1013 /**
  1456  * Internal dependencies
  1014  * Internal dependencies
  1457  */
  1015  */
  1458 
  1016 
  1459 
  1017 
  1460 var link_name = 'core/link';
  1018 const link_name = 'core/link';
  1461 
  1019 
  1462 var link_title = Object(external_this_wp_i18n_["__"])('Link');
  1020 const link_title = Object(external_wp_i18n_["__"])('Link');
  1463 
  1021 
  1464 var link_link = {
  1022 function link_Edit({
       
  1023   isActive,
       
  1024   activeAttributes,
       
  1025   value,
       
  1026   onChange,
       
  1027   onFocus,
       
  1028   contentRef
       
  1029 }) {
       
  1030   const [addingLink, setAddingLink] = Object(external_wp_element_["useState"])(false);
       
  1031 
       
  1032   function addLink() {
       
  1033     const text = Object(external_wp_richText_["getTextContent"])(Object(external_wp_richText_["slice"])(value));
       
  1034 
       
  1035     if (text && Object(external_wp_url_["isURL"])(text)) {
       
  1036       onChange(Object(external_wp_richText_["applyFormat"])(value, {
       
  1037         type: link_name,
       
  1038         attributes: {
       
  1039           url: text
       
  1040         }
       
  1041       }));
       
  1042     } else if (text && Object(external_wp_url_["isEmail"])(text)) {
       
  1043       onChange(Object(external_wp_richText_["applyFormat"])(value, {
       
  1044         type: link_name,
       
  1045         attributes: {
       
  1046           url: `mailto:${text}`
       
  1047         }
       
  1048       }));
       
  1049     } else {
       
  1050       setAddingLink(true);
       
  1051     }
       
  1052   }
       
  1053 
       
  1054   function stopAddingLink() {
       
  1055     setAddingLink(false);
       
  1056     onFocus();
       
  1057   }
       
  1058 
       
  1059   function onRemoveFormat() {
       
  1060     onChange(Object(external_wp_richText_["removeFormat"])(value, link_name));
       
  1061     Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Link removed.'), 'assertive');
       
  1062   }
       
  1063 
       
  1064   return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
       
  1065     type: "primary",
       
  1066     character: "k",
       
  1067     onUse: addLink
       
  1068   }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
       
  1069     type: "primaryShift",
       
  1070     character: "k",
       
  1071     onUse: onRemoveFormat
       
  1072   }), isActive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
       
  1073     name: "link",
       
  1074     icon: link_off["a" /* default */],
       
  1075     title: Object(external_wp_i18n_["__"])('Unlink'),
       
  1076     onClick: onRemoveFormat,
       
  1077     isActive: isActive,
       
  1078     shortcutType: "primaryShift",
       
  1079     shortcutCharacter: "k"
       
  1080   }), !isActive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
       
  1081     name: "link",
       
  1082     icon: library_link["a" /* default */],
       
  1083     title: link_title,
       
  1084     onClick: addLink,
       
  1085     isActive: isActive,
       
  1086     shortcutType: "primary",
       
  1087     shortcutCharacter: "k"
       
  1088   }), (addingLink || isActive) && Object(external_wp_element_["createElement"])(inline, {
       
  1089     addingLink: addingLink,
       
  1090     stopAddingLink: stopAddingLink,
       
  1091     isActive: isActive,
       
  1092     activeAttributes: activeAttributes,
       
  1093     value: value,
       
  1094     onChange: onChange,
       
  1095     contentRef: contentRef
       
  1096   }));
       
  1097 }
       
  1098 
       
  1099 const link_link = {
  1465   name: link_name,
  1100   name: link_name,
  1466   title: link_title,
  1101   title: link_title,
  1467   tagName: 'a',
  1102   tagName: 'a',
  1468   className: null,
  1103   className: null,
  1469   attributes: {
  1104   attributes: {
  1470     url: 'href',
  1105     url: 'href',
  1471     type: 'data-type',
  1106     type: 'data-type',
  1472     id: 'data-id',
  1107     id: 'data-id',
  1473     target: 'target'
  1108     target: 'target'
  1474   },
  1109   },
  1475   __unstablePasteRule: function __unstablePasteRule(value, _ref) {
  1110 
  1476     var html = _ref.html,
  1111   __unstablePasteRule(value, {
  1477         plainText = _ref.plainText;
  1112     html,
  1478 
  1113     plainText
  1479     if (Object(external_this_wp_richText_["isCollapsed"])(value)) {
  1114   }) {
       
  1115     if (Object(external_wp_richText_["isCollapsed"])(value)) {
  1480       return value;
  1116       return value;
  1481     }
  1117     }
  1482 
  1118 
  1483     var pastedText = (html || plainText).replace(/<[^>]+>/g, '').trim(); // A URL was pasted, turn the selection into a link
  1119     const pastedText = (html || plainText).replace(/<[^>]+>/g, '').trim(); // A URL was pasted, turn the selection into a link
  1484 
  1120 
  1485     if (!Object(external_this_wp_url_["isURL"])(pastedText)) {
  1121     if (!Object(external_wp_url_["isURL"])(pastedText)) {
  1486       return value;
  1122       return value;
  1487     } // Allows us to ask for this information when we get a report.
  1123     } // Allows us to ask for this information when we get a report.
  1488 
  1124 
  1489 
  1125 
  1490     window.console.log('Created link:\n\n', pastedText);
  1126     window.console.log('Created link:\n\n', pastedText);
  1491     return Object(external_this_wp_richText_["applyFormat"])(value, {
  1127     return Object(external_wp_richText_["applyFormat"])(value, {
  1492       type: link_name,
  1128       type: link_name,
  1493       attributes: {
  1129       attributes: {
  1494         url: Object(external_this_wp_htmlEntities_["decodeEntities"])(pastedText)
  1130         url: Object(external_wp_htmlEntities_["decodeEntities"])(pastedText)
  1495       }
  1131       }
  1496     });
  1132     });
  1497   },
  1133   },
  1498   edit: Object(external_this_wp_components_["withSpokenMessages"])( /*#__PURE__*/function (_Component) {
  1134 
  1499     Object(inherits["a" /* default */])(LinkEdit, _Component);
  1135   edit: link_Edit
  1500 
       
  1501     var _super = link_createSuper(LinkEdit);
       
  1502 
       
  1503     function LinkEdit() {
       
  1504       var _this;
       
  1505 
       
  1506       Object(classCallCheck["a" /* default */])(this, LinkEdit);
       
  1507 
       
  1508       _this = _super.apply(this, arguments);
       
  1509       _this.addLink = _this.addLink.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  1510       _this.stopAddingLink = _this.stopAddingLink.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  1511       _this.onRemoveFormat = _this.onRemoveFormat.bind(Object(assertThisInitialized["a" /* default */])(_this));
       
  1512       _this.state = {
       
  1513         addingLink: false
       
  1514       };
       
  1515       return _this;
       
  1516     }
       
  1517 
       
  1518     Object(createClass["a" /* default */])(LinkEdit, [{
       
  1519       key: "addLink",
       
  1520       value: function addLink() {
       
  1521         var _this$props = this.props,
       
  1522             value = _this$props.value,
       
  1523             onChange = _this$props.onChange;
       
  1524         var text = Object(external_this_wp_richText_["getTextContent"])(Object(external_this_wp_richText_["slice"])(value));
       
  1525 
       
  1526         if (text && Object(external_this_wp_url_["isURL"])(text)) {
       
  1527           onChange(Object(external_this_wp_richText_["applyFormat"])(value, {
       
  1528             type: link_name,
       
  1529             attributes: {
       
  1530               url: text
       
  1531             }
       
  1532           }));
       
  1533         } else if (text && Object(external_this_wp_url_["isEmail"])(text)) {
       
  1534           onChange(Object(external_this_wp_richText_["applyFormat"])(value, {
       
  1535             type: link_name,
       
  1536             attributes: {
       
  1537               url: "mailto:".concat(text)
       
  1538             }
       
  1539           }));
       
  1540         } else {
       
  1541           this.setState({
       
  1542             addingLink: true
       
  1543           });
       
  1544         }
       
  1545       }
       
  1546     }, {
       
  1547       key: "stopAddingLink",
       
  1548       value: function stopAddingLink() {
       
  1549         this.setState({
       
  1550           addingLink: false
       
  1551         });
       
  1552         this.props.onFocus();
       
  1553       }
       
  1554     }, {
       
  1555       key: "onRemoveFormat",
       
  1556       value: function onRemoveFormat() {
       
  1557         var _this$props2 = this.props,
       
  1558             value = _this$props2.value,
       
  1559             onChange = _this$props2.onChange,
       
  1560             speak = _this$props2.speak;
       
  1561         onChange(Object(external_this_wp_richText_["removeFormat"])(value, link_name));
       
  1562         speak(Object(external_this_wp_i18n_["__"])('Link removed.'), 'assertive');
       
  1563       }
       
  1564     }, {
       
  1565       key: "render",
       
  1566       value: function render() {
       
  1567         var _this$props3 = this.props,
       
  1568             isActive = _this$props3.isActive,
       
  1569             activeAttributes = _this$props3.activeAttributes,
       
  1570             value = _this$props3.value,
       
  1571             onChange = _this$props3.onChange;
       
  1572         return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
       
  1573           type: "primary",
       
  1574           character: "k",
       
  1575           onUse: this.addLink
       
  1576         }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
       
  1577           type: "primaryShift",
       
  1578           character: "k",
       
  1579           onUse: this.onRemoveFormat
       
  1580         }), isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
       
  1581           name: "link",
       
  1582           icon: link_off["a" /* default */],
       
  1583           title: Object(external_this_wp_i18n_["__"])('Unlink'),
       
  1584           onClick: this.onRemoveFormat,
       
  1585           isActive: isActive,
       
  1586           shortcutType: "primaryShift",
       
  1587           shortcutCharacter: "k"
       
  1588         }), !isActive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
       
  1589           name: "link",
       
  1590           icon: library_link["a" /* default */],
       
  1591           title: link_title,
       
  1592           onClick: this.addLink,
       
  1593           isActive: isActive,
       
  1594           shortcutType: "primary",
       
  1595           shortcutCharacter: "k"
       
  1596         }), (this.state.addingLink || isActive) && Object(external_this_wp_element_["createElement"])(inline, {
       
  1597           addingLink: this.state.addingLink,
       
  1598           stopAddingLink: this.stopAddingLink,
       
  1599           isActive: isActive,
       
  1600           activeAttributes: activeAttributes,
       
  1601           value: value,
       
  1602           onChange: onChange
       
  1603         }));
       
  1604       }
       
  1605     }]);
       
  1606 
       
  1607     return LinkEdit;
       
  1608   }(external_this_wp_element_["Component"]))
       
  1609 };
  1136 };
  1610 
  1137 
  1611 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
  1138 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
  1612 
  1139 var format_strikethrough = __webpack_require__("Crq9");
  1613 
       
  1614 /**
       
  1615  * WordPress dependencies
       
  1616  */
       
  1617 
       
  1618 var formatStrikethrough = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
       
  1619   xmlns: "http://www.w3.org/2000/svg",
       
  1620   viewBox: "0 0 24 24"
       
  1621 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
       
  1622   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"
       
  1623 }));
       
  1624 /* harmony default export */ var format_strikethrough = (formatStrikethrough);
       
  1625 
  1140 
  1626 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
  1141 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
  1627 
  1142 
  1628 
  1143 
  1629 /**
  1144 /**
  1631  */
  1146  */
  1632 
  1147 
  1633 
  1148 
  1634 
  1149 
  1635 
  1150 
  1636 var strikethrough_name = 'core/strikethrough';
  1151 const strikethrough_name = 'core/strikethrough';
  1637 
  1152 
  1638 var strikethrough_title = Object(external_this_wp_i18n_["__"])('Strikethrough');
  1153 const strikethrough_title = Object(external_wp_i18n_["__"])('Strikethrough');
  1639 
  1154 
  1640 var strikethrough = {
  1155 const strikethrough = {
  1641   name: strikethrough_name,
  1156   name: strikethrough_name,
  1642   title: strikethrough_title,
  1157   title: strikethrough_title,
  1643   tagName: 's',
  1158   tagName: 's',
  1644   className: null,
  1159   className: null,
  1645   edit: function edit(_ref) {
  1160 
  1646     var isActive = _ref.isActive,
  1161   edit({
  1647         value = _ref.value,
  1162     isActive,
  1648         onChange = _ref.onChange,
  1163     value,
  1649         onFocus = _ref.onFocus;
  1164     onChange,
  1650 
  1165     onFocus
       
  1166   }) {
  1651     function onClick() {
  1167     function onClick() {
  1652       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
  1168       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
  1653         type: strikethrough_name
  1169         type: strikethrough_name
  1654       }));
  1170       }));
  1655       onFocus();
  1171       onFocus();
  1656     }
  1172     }
  1657 
  1173 
  1658     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
  1174     return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
  1659       icon: format_strikethrough,
  1175       icon: format_strikethrough["a" /* default */],
  1660       title: strikethrough_title,
  1176       title: strikethrough_title,
  1661       onClick: onClick,
  1177       onClick: onClick,
  1662       isActive: isActive
  1178       isActive: isActive
  1663     });
  1179     });
  1664   }
  1180   }
       
  1181 
  1665 };
  1182 };
  1666 
  1183 
  1667 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/underline/index.js
  1184 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/underline/index.js
  1668 
  1185 
  1669 
  1186 
  1671  * WordPress dependencies
  1188  * WordPress dependencies
  1672  */
  1189  */
  1673 
  1190 
  1674 
  1191 
  1675 
  1192 
  1676 var underline_name = 'core/underline';
  1193 const underline_name = 'core/underline';
  1677 var underline = {
  1194 const underline = {
  1678   name: underline_name,
  1195   name: underline_name,
  1679   title: Object(external_this_wp_i18n_["__"])('Underline'),
  1196   title: Object(external_wp_i18n_["__"])('Underline'),
  1680   tagName: 'span',
  1197   tagName: 'span',
  1681   className: null,
  1198   className: null,
  1682   attributes: {
  1199   attributes: {
  1683     style: 'style'
  1200     style: 'style'
  1684   },
  1201   },
  1685   edit: function edit(_ref) {
  1202 
  1686     var value = _ref.value,
  1203   edit({
  1687         onChange = _ref.onChange;
  1204     value,
  1688 
  1205     onChange
  1689     var onToggle = function onToggle() {
  1206   }) {
  1690       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
  1207     const onToggle = () => {
       
  1208       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
  1691         type: underline_name,
  1209         type: underline_name,
  1692         attributes: {
  1210         attributes: {
  1693           style: 'text-decoration: underline;'
  1211           style: 'text-decoration: underline;'
  1694         }
  1212         }
  1695       }));
  1213       }));
  1696     };
  1214     };
  1697 
  1215 
  1698     return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextShortcut"], {
  1216     return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
  1699       type: "primary",
  1217       type: "primary",
  1700       character: "u",
  1218       character: "u",
  1701       onUse: onToggle
  1219       onUse: onToggle
  1702     }), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["__unstableRichTextInputEvent"], {
  1220     }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
  1703       inputType: "formatUnderline",
  1221       inputType: "formatUnderline",
  1704       onInput: onToggle
  1222       onInput: onToggle
  1705     }));
  1223     }));
  1706   }
  1224   }
       
  1225 
  1707 };
  1226 };
  1708 
  1227 
  1709 // EXTERNAL MODULE: external {"this":["wp","data"]}
       
  1710 var external_this_wp_data_ = __webpack_require__(4);
       
  1711 
       
  1712 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
  1228 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
  1713 var icon = __webpack_require__(137);
  1229 var icon = __webpack_require__("iClF");
  1714 
  1230 
  1715 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
  1231 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
  1716 var text_color = __webpack_require__(410);
  1232 var text_color = __webpack_require__("uGfJ");
  1717 
  1233 
  1718 // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
  1234 // EXTERNAL MODULE: external ["wp","data"]
  1719 var esm_extends = __webpack_require__(8);
  1235 var external_wp_data_ = __webpack_require__("1ZqX");
  1720 
       
  1721 // EXTERNAL MODULE: external {"this":["wp","dom"]}
       
  1722 var external_this_wp_dom_ = __webpack_require__(30);
       
  1723 
  1236 
  1724 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js
  1237 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js
  1725 
  1238 
  1726 
  1239 
  1727 
       
  1728 
       
  1729 /**
  1240 /**
  1730  * External dependencies
  1241  * External dependencies
  1731  */
  1242  */
  1732 
  1243 
  1733 /**
  1244 /**
  1736 
  1247 
  1737 
  1248 
  1738 
  1249 
  1739 
  1250 
  1740 
  1251 
       
  1252 /**
       
  1253  * Internal dependencies
       
  1254  */
  1741 
  1255 
  1742 
  1256 
  1743 function getActiveColor(formatName, formatValue, colors) {
  1257 function getActiveColor(formatName, formatValue, colors) {
  1744   var activeColorFormat = Object(external_this_wp_richText_["getActiveFormat"])(formatValue, formatName);
  1258   const activeColorFormat = Object(external_wp_richText_["getActiveFormat"])(formatValue, formatName);
  1745 
  1259 
  1746   if (!activeColorFormat) {
  1260   if (!activeColorFormat) {
  1747     return;
  1261     return;
  1748   }
  1262   }
  1749 
  1263 
  1750   var styleColor = activeColorFormat.attributes.style;
  1264   const styleColor = activeColorFormat.attributes.style;
  1751 
  1265 
  1752   if (styleColor) {
  1266   if (styleColor) {
  1753     return styleColor.replace(new RegExp("^color:\\s*"), '');
  1267     return styleColor.replace(new RegExp(`^color:\\s*`), '');
  1754   }
  1268   }
  1755 
  1269 
  1756   var currentClass = activeColorFormat.attributes.class;
  1270   const currentClass = activeColorFormat.attributes.class;
  1757 
  1271 
  1758   if (currentClass) {
  1272   if (currentClass) {
  1759     var colorSlug = currentClass.replace(/.*has-(.*?)-color.*/, '$1');
  1273     const colorSlug = currentClass.replace(/.*has-([^\s]*)-color.*/, '$1');
  1760     return Object(external_this_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, colorSlug).color;
  1274     return Object(external_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, colorSlug).color;
  1761   }
  1275   }
  1762 }
  1276 }
  1763 
  1277 
  1764 var inline_ColorPopoverAtLink = function ColorPopoverAtLink(_ref) {
  1278 const ColorPicker = ({
  1765   var addingColor = _ref.addingColor,
  1279   name,
  1766       props = Object(objectWithoutProperties["a" /* default */])(_ref, ["addingColor"]);
  1280   value,
  1767 
  1281   onChange
  1768   // There is no way to open a text formatter popover when another one is mounted.
  1282 }) => {
  1769   // The first popover will always be dismounted when a click outside happens, so we can store the
  1283   const colors = Object(external_wp_data_["useSelect"])(select => {
  1770   // anchor Rect during the lifetime of the component.
  1284     const {
  1771   var anchorRect = Object(external_this_wp_element_["useMemo"])(function () {
  1285       getSettings
  1772     var selection = window.getSelection();
  1286     } = select(external_wp_blockEditor_["store"]);
  1773     var range = selection.rangeCount > 0 ? selection.getRangeAt(0) : null;
  1287     return Object(external_lodash_["get"])(getSettings(), ['colors'], []);
  1774 
       
  1775     if (!range) {
       
  1776       return;
       
  1777     }
       
  1778 
       
  1779     if (addingColor) {
       
  1780       return Object(external_this_wp_dom_["getRectangleFromRange"])(range);
       
  1781     }
       
  1782 
       
  1783     var element = range.startContainer; // If the caret is right before the element, select the next element.
       
  1784 
       
  1785     element = element.nextElementSibling || element;
       
  1786 
       
  1787     while (element.nodeType !== window.Node.ELEMENT_NODE) {
       
  1788       element = element.parentNode;
       
  1789     }
       
  1790 
       
  1791     var closest = element.closest('span');
       
  1792 
       
  1793     if (closest) {
       
  1794       return closest.getBoundingClientRect();
       
  1795     }
       
  1796   }, []);
       
  1797 
       
  1798   if (!anchorRect) {
       
  1799     return null;
       
  1800   }
       
  1801 
       
  1802   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["URLPopover"], Object(esm_extends["a" /* default */])({
       
  1803     anchorRect: anchorRect
       
  1804   }, props));
       
  1805 };
       
  1806 
       
  1807 var inline_ColorPicker = function ColorPicker(_ref2) {
       
  1808   var name = _ref2.name,
       
  1809       value = _ref2.value,
       
  1810       onChange = _ref2.onChange;
       
  1811   var colors = Object(external_this_wp_data_["useSelect"])(function (select) {
       
  1812     var _select = select('core/block-editor'),
       
  1813         getSettings = _select.getSettings;
       
  1814 
       
  1815     return Object(external_this_lodash_["get"])(getSettings(), ['colors'], []);
       
  1816   });
  1288   });
  1817   var onColorChange = Object(external_this_wp_element_["useCallback"])(function (color) {
  1289   const onColorChange = Object(external_wp_element_["useCallback"])(color => {
  1818     if (color) {
  1290     if (color) {
  1819       var colorObject = Object(external_this_wp_blockEditor_["getColorObjectByColorValue"])(colors, color);
  1291       const colorObject = Object(external_wp_blockEditor_["getColorObjectByColorValue"])(colors, color);
  1820       onChange(Object(external_this_wp_richText_["applyFormat"])(value, {
  1292       onChange(Object(external_wp_richText_["applyFormat"])(value, {
  1821         type: name,
  1293         type: name,
  1822         attributes: colorObject ? {
  1294         attributes: colorObject ? {
  1823           class: Object(external_this_wp_blockEditor_["getColorClassName"])('color', colorObject.slug)
  1295           class: Object(external_wp_blockEditor_["getColorClassName"])('color', colorObject.slug)
  1824         } : {
  1296         } : {
  1825           style: "color:".concat(color)
  1297           style: `color:${color}`
  1826         }
  1298         }
  1827       }));
  1299       }));
  1828     } else {
  1300     } else {
  1829       onChange(Object(external_this_wp_richText_["removeFormat"])(value, name));
  1301       onChange(Object(external_wp_richText_["removeFormat"])(value, name));
  1830     }
  1302     }
  1831   }, [colors, onChange]);
  1303   }, [colors, onChange]);
  1832   var activeColor = Object(external_this_wp_element_["useMemo"])(function () {
  1304   const activeColor = Object(external_wp_element_["useMemo"])(() => getActiveColor(name, value, colors), [name, value, colors]);
  1833     return getActiveColor(name, value, colors);
  1305   return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ColorPalette"], {
  1834   }, [name, value, colors]);
       
  1835   return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ColorPalette"], {
       
  1836     value: activeColor,
  1306     value: activeColor,
  1837     onChange: onColorChange
  1307     onChange: onColorChange
  1838   });
  1308   });
  1839 };
  1309 };
  1840 
  1310 
  1841 var inline_InlineColorUI = function InlineColorUI(_ref3) {
  1311 function InlineColorUI({
  1842   var name = _ref3.name,
  1312   name,
  1843       value = _ref3.value,
  1313   value,
  1844       onChange = _ref3.onChange,
  1314   onChange,
  1845       onClose = _ref3.onClose,
  1315   onClose,
  1846       isActive = _ref3.isActive,
  1316   contentRef
  1847       addingColor = _ref3.addingColor;
  1317 }) {
  1848   return Object(external_this_wp_element_["createElement"])(inline_ColorPopoverAtLink, {
  1318   const anchorRef = Object(external_wp_richText_["useAnchorRef"])({
       
  1319     ref: contentRef,
       
  1320     value,
       
  1321     settings: textColor
       
  1322   });
       
  1323   return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["URLPopover"], {
  1849     value: value,
  1324     value: value,
  1850     isActive: isActive,
       
  1851     addingColor: addingColor,
       
  1852     onClose: onClose,
  1325     onClose: onClose,
  1853     className: "components-inline-color-popover"
  1326     className: "components-inline-color-popover",
  1854   }, Object(external_this_wp_element_["createElement"])(inline_ColorPicker, {
  1327     anchorRef: anchorRef
       
  1328   }, Object(external_wp_element_["createElement"])(ColorPicker, {
  1855     name: name,
  1329     name: name,
  1856     value: value,
  1330     value: value,
  1857     onChange: onChange
  1331     onChange: onChange
  1858   }));
  1332   }));
  1859 };
  1333 }
  1860 
       
  1861 /* harmony default export */ var text_color_inline = (Object(external_this_wp_components_["withSpokenMessages"])(inline_InlineColorUI));
       
  1862 
  1334 
  1863 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/index.js
  1335 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/index.js
  1864 
  1336 
  1865 
  1337 
  1866 
       
  1867 /**
  1338 /**
  1868  * External dependencies
  1339  * External dependencies
  1869  */
  1340  */
  1870 
  1341 
  1871 /**
  1342 /**
  1875 
  1346 
  1876 
  1347 
  1877 
  1348 
  1878 
  1349 
  1879 
  1350 
  1880 
       
  1881 /**
  1351 /**
  1882  * Internal dependencies
  1352  * Internal dependencies
  1883  */
  1353  */
  1884 
  1354 
  1885 
  1355 
  1886 var text_color_name = 'core/text-color';
  1356 const text_color_name = 'core/text-color';
  1887 
  1357 
  1888 var text_color_title = Object(external_this_wp_i18n_["__"])('Text Color');
  1358 const text_color_title = Object(external_wp_i18n_["__"])('Text color');
  1889 
  1359 
  1890 var EMPTY_ARRAY = [];
  1360 const EMPTY_ARRAY = [];
  1891 
  1361 
  1892 function TextColorEdit(_ref) {
  1362 function TextColorEdit({
  1893   var value = _ref.value,
  1363   value,
  1894       onChange = _ref.onChange,
  1364   onChange,
  1895       isActive = _ref.isActive,
  1365   isActive,
  1896       activeAttributes = _ref.activeAttributes;
  1366   activeAttributes,
  1897 
  1367   contentRef
  1898   var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
  1368 }) {
  1899     var blockEditorSelect = select('core/block-editor');
  1369   const allowCustomControl = Object(external_wp_blockEditor_["useSetting"])('color.custom');
  1900     var settings;
  1370   const colors = Object(external_wp_blockEditor_["useSetting"])('color.palette') || EMPTY_ARRAY;
  1901 
  1371   const [isAddingColor, setIsAddingColor] = Object(external_wp_element_["useState"])(false);
  1902     if (blockEditorSelect && blockEditorSelect.getSettings) {
  1372   const enableIsAddingColor = Object(external_wp_element_["useCallback"])(() => setIsAddingColor(true), [setIsAddingColor]);
  1903       settings = blockEditorSelect.getSettings();
  1373   const disableIsAddingColor = Object(external_wp_element_["useCallback"])(() => setIsAddingColor(false), [setIsAddingColor]);
  1904     } else {
  1374   const colorIndicatorStyle = Object(external_wp_element_["useMemo"])(() => {
  1905       settings = {};
  1375     const activeColor = getActiveColor(text_color_name, value, colors);
  1906     }
       
  1907 
       
  1908     return {
       
  1909       colors: Object(external_this_lodash_["get"])(settings, ['colors'], EMPTY_ARRAY),
       
  1910       disableCustomColors: settings.disableCustomColors
       
  1911     };
       
  1912   }),
       
  1913       colors = _useSelect.colors,
       
  1914       disableCustomColors = _useSelect.disableCustomColors;
       
  1915 
       
  1916   var _useState = Object(external_this_wp_element_["useState"])(false),
       
  1917       _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
       
  1918       isAddingColor = _useState2[0],
       
  1919       setIsAddingColor = _useState2[1];
       
  1920 
       
  1921   var enableIsAddingColor = Object(external_this_wp_element_["useCallback"])(function () {
       
  1922     return setIsAddingColor(true);
       
  1923   }, [setIsAddingColor]);
       
  1924   var disableIsAddingColor = Object(external_this_wp_element_["useCallback"])(function () {
       
  1925     return setIsAddingColor(false);
       
  1926   }, [setIsAddingColor]);
       
  1927   var colorIndicatorStyle = Object(external_this_wp_element_["useMemo"])(function () {
       
  1928     var activeColor = getActiveColor(text_color_name, value, colors);
       
  1929 
  1376 
  1930     if (!activeColor) {
  1377     if (!activeColor) {
  1931       return undefined;
  1378       return undefined;
  1932     }
  1379     }
  1933 
  1380 
  1934     return {
  1381     return {
  1935       backgroundColor: activeColor
  1382       backgroundColor: activeColor
  1936     };
  1383     };
  1937   }, [value, colors]);
  1384   }, [value, colors]);
  1938   var hasColorsToChoose = !Object(external_this_lodash_["isEmpty"])(colors) || disableCustomColors !== true;
  1385   const hasColorsToChoose = !Object(external_lodash_["isEmpty"])(colors) || !allowCustomControl;
  1939 
  1386 
  1940   if (!hasColorsToChoose && !isActive) {
  1387   if (!hasColorsToChoose && !isActive) {
  1941     return null;
  1388     return null;
  1942   }
  1389   }
  1943 
  1390 
  1944   return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
  1391   return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
  1945     key: isActive ? 'text-color' : 'text-color-not-active',
  1392     key: isActive ? 'text-color' : 'text-color-not-active',
  1946     className: "format-library-text-color-button",
  1393     className: "format-library-text-color-button",
  1947     name: isActive ? 'text-color' : undefined,
  1394     name: isActive ? 'text-color' : undefined,
  1948     icon: Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(icon["a" /* default */], {
  1395     icon: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(icon["a" /* default */], {
  1949       icon: text_color["a" /* default */]
  1396       icon: text_color["a" /* default */]
  1950     }), isActive && Object(external_this_wp_element_["createElement"])("span", {
  1397     }), isActive && Object(external_wp_element_["createElement"])("span", {
  1951       className: "format-library-text-color-button__indicator",
  1398       className: "format-library-text-color-button__indicator",
  1952       style: colorIndicatorStyle
  1399       style: colorIndicatorStyle
  1953     })),
  1400     })),
  1954     title: text_color_title // If has no colors to choose but a color is active remove the color onClick
  1401     title: text_color_title // If has no colors to choose but a color is active remove the color onClick
  1955     ,
  1402     ,
  1956     onClick: hasColorsToChoose ? enableIsAddingColor : function () {
  1403     onClick: hasColorsToChoose ? enableIsAddingColor : () => onChange(Object(external_wp_richText_["removeFormat"])(value, text_color_name))
  1957       return onChange(Object(external_this_wp_richText_["removeFormat"])(value, text_color_name));
  1404   }), isAddingColor && Object(external_wp_element_["createElement"])(InlineColorUI, {
  1958     }
       
  1959   }), isAddingColor && Object(external_this_wp_element_["createElement"])(text_color_inline, {
       
  1960     name: text_color_name,
  1405     name: text_color_name,
  1961     addingColor: isAddingColor,
       
  1962     onClose: disableIsAddingColor,
  1406     onClose: disableIsAddingColor,
  1963     isActive: isActive,
       
  1964     activeAttributes: activeAttributes,
  1407     activeAttributes: activeAttributes,
  1965     value: value,
  1408     value: value,
  1966     onChange: onChange
  1409     onChange: onChange,
       
  1410     contentRef: contentRef
  1967   }));
  1411   }));
  1968 }
  1412 }
  1969 
  1413 
  1970 var textColor = {
  1414 const textColor = {
  1971   name: text_color_name,
  1415   name: text_color_name,
  1972   title: text_color_title,
  1416   title: text_color_title,
  1973   tagName: 'span',
  1417   tagName: 'span',
  1974   className: 'has-inline-color',
  1418   className: 'has-inline-color',
  1975   attributes: {
  1419   attributes: {
  1984 
  1428 
  1985 /**
  1429 /**
  1986  * WordPress dependencies
  1430  * WordPress dependencies
  1987  */
  1431  */
  1988 
  1432 
  1989 var subscript = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
  1433 const subscript = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
  1990   xmlns: "http://www.w3.org/2000/svg",
  1434   xmlns: "http://www.w3.org/2000/svg",
  1991   viewBox: "0 0 24 24"
  1435   viewBox: "0 0 24 24"
  1992 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
  1436 }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
  1993   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"
  1437   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"
  1994 }));
  1438 }));
  1995 /* harmony default export */ var library_subscript = (subscript);
  1439 /* harmony default export */ var library_subscript = (subscript);
  1996 
  1440 
  1997 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js
  1441 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js
  2002  */
  1446  */
  2003 
  1447 
  2004 
  1448 
  2005 
  1449 
  2006 
  1450 
  2007 var subscript_name = 'core/subscript';
  1451 const subscript_name = 'core/subscript';
  2008 
  1452 
  2009 var subscript_title = Object(external_this_wp_i18n_["__"])('Subscript');
  1453 const subscript_title = Object(external_wp_i18n_["__"])('Subscript');
  2010 
  1454 
  2011 var subscript_subscript = {
  1455 const subscript_subscript = {
  2012   name: subscript_name,
  1456   name: subscript_name,
  2013   title: subscript_title,
  1457   title: subscript_title,
  2014   tagName: 'sub',
  1458   tagName: 'sub',
  2015   className: null,
  1459   className: null,
  2016   edit: function edit(_ref) {
  1460 
  2017     var isActive = _ref.isActive,
  1461   edit({
  2018         value = _ref.value,
  1462     isActive,
  2019         onChange = _ref.onChange,
  1463     value,
  2020         onFocus = _ref.onFocus;
  1464     onChange,
  2021 
  1465     onFocus
       
  1466   }) {
  2022     function onToggle() {
  1467     function onToggle() {
  2023       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
  1468       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
  2024         type: subscript_name
  1469         type: subscript_name
  2025       }));
  1470       }));
  2026     }
  1471     }
  2027 
  1472 
  2028     function onClick() {
  1473     function onClick() {
  2029       onToggle();
  1474       onToggle();
  2030       onFocus();
  1475       onFocus();
  2031     }
  1476     }
  2032 
  1477 
  2033     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
  1478     return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
  2034       icon: library_subscript,
  1479       icon: library_subscript,
  2035       title: subscript_title,
  1480       title: subscript_title,
  2036       onClick: onClick,
  1481       onClick: onClick,
  2037       isActive: isActive
  1482       isActive: isActive
  2038     });
  1483     });
  2039   }
  1484   }
       
  1485 
  2040 };
  1486 };
  2041 
  1487 
  2042 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js
  1488 // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js
  2043 
  1489 
  2044 
  1490 
  2045 /**
  1491 /**
  2046  * WordPress dependencies
  1492  * WordPress dependencies
  2047  */
  1493  */
  2048 
  1494 
  2049 var superscript = Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["SVG"], {
  1495 const superscript = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
  2050   xmlns: "http://www.w3.org/2000/svg",
  1496   xmlns: "http://www.w3.org/2000/svg",
  2051   viewBox: "0 0 24 24"
  1497   viewBox: "0 0 24 24"
  2052 }, Object(external_this_wp_element_["createElement"])(external_this_wp_primitives_["Path"], {
  1498 }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
  2053   d: "M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 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.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-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"
  1499   d: "M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 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.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-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"
  2054 }));
  1500 }));
  2055 /* harmony default export */ var library_superscript = (superscript);
  1501 /* harmony default export */ var library_superscript = (superscript);
  2056 
  1502 
  2057 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js
  1503 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js
  2062  */
  1508  */
  2063 
  1509 
  2064 
  1510 
  2065 
  1511 
  2066 
  1512 
  2067 var superscript_name = 'core/superscript';
  1513 const superscript_name = 'core/superscript';
  2068 
  1514 
  2069 var superscript_title = Object(external_this_wp_i18n_["__"])('Superscript');
  1515 const superscript_title = Object(external_wp_i18n_["__"])('Superscript');
  2070 
  1516 
  2071 var superscript_superscript = {
  1517 const superscript_superscript = {
  2072   name: superscript_name,
  1518   name: superscript_name,
  2073   title: superscript_title,
  1519   title: superscript_title,
  2074   tagName: 'sup',
  1520   tagName: 'sup',
  2075   className: null,
  1521   className: null,
  2076   edit: function edit(_ref) {
  1522 
  2077     var isActive = _ref.isActive,
  1523   edit({
  2078         value = _ref.value,
  1524     isActive,
  2079         onChange = _ref.onChange,
  1525     value,
  2080         onFocus = _ref.onFocus;
  1526     onChange,
  2081 
  1527     onFocus
       
  1528   }) {
  2082     function onToggle() {
  1529     function onToggle() {
  2083       onChange(Object(external_this_wp_richText_["toggleFormat"])(value, {
  1530       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
  2084         type: superscript_name
  1531         type: superscript_name
  2085       }));
  1532       }));
  2086     }
  1533     }
  2087 
  1534 
  2088     function onClick() {
  1535     function onClick() {
  2089       onToggle();
  1536       onToggle();
  2090       onFocus();
  1537       onFocus();
  2091     }
  1538     }
  2092 
  1539 
  2093     return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichTextToolbarButton"], {
  1540     return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
  2094       icon: library_superscript,
  1541       icon: library_superscript,
  2095       title: superscript_title,
  1542       title: superscript_title,
  2096       onClick: onClick,
  1543       onClick: onClick,
  2097       isActive: isActive
  1544       isActive: isActive
  2098     });
  1545     });
  2099   }
  1546   }
       
  1547 
  2100 };
  1548 };
  2101 
  1549 
       
  1550 // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
       
  1551 var library_button = __webpack_require__("oMoS");
       
  1552 
       
  1553 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js
       
  1554 
       
  1555 
       
  1556 /**
       
  1557  * WordPress dependencies
       
  1558  */
       
  1559 
       
  1560 
       
  1561 
       
  1562 
       
  1563 const keyboard_name = 'core/keyboard';
       
  1564 
       
  1565 const keyboard_title = Object(external_wp_i18n_["__"])('Keyboard input');
       
  1566 
       
  1567 const keyboard = {
       
  1568   name: keyboard_name,
       
  1569   title: keyboard_title,
       
  1570   tagName: 'kbd',
       
  1571   className: null,
       
  1572 
       
  1573   edit({
       
  1574     isActive,
       
  1575     value,
       
  1576     onChange,
       
  1577     onFocus
       
  1578   }) {
       
  1579     function onToggle() {
       
  1580       onChange(Object(external_wp_richText_["toggleFormat"])(value, {
       
  1581         type: keyboard_name
       
  1582       }));
       
  1583     }
       
  1584 
       
  1585     function onClick() {
       
  1586       onToggle();
       
  1587       onFocus();
       
  1588     }
       
  1589 
       
  1590     return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
       
  1591       icon: library_button["a" /* default */],
       
  1592       title: keyboard_title,
       
  1593       onClick: onClick,
       
  1594       isActive: isActive
       
  1595     });
       
  1596   }
       
  1597 
       
  1598 };
       
  1599 
  2102 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/default-formats.js
  1600 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/default-formats.js
  2103 /**
  1601 /**
  2104  * Internal dependencies
  1602  * Internal dependencies
  2105  */
  1603  */
  2106 
  1604 
  2111 
  1609 
  2112 
  1610 
  2113 
  1611 
  2114 
  1612 
  2115 
  1613 
  2116 /* harmony default export */ var default_formats = ([bold, code_code, image_image, italic, link_link, strikethrough, underline, textColor, subscript_subscript, superscript_superscript]);
  1614 
       
  1615 /* harmony default export */ var default_formats = ([bold, code_code, image_image, italic, link_link, strikethrough, underline, textColor, subscript_subscript, superscript_superscript, keyboard]);
  2117 
  1616 
  2118 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
  1617 // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
  2119 
       
  2120 
       
  2121 /**
  1618 /**
  2122  * WordPress dependencies
  1619  * WordPress dependencies
  2123  */
  1620  */
  2124 
  1621 
  2125 /**
  1622 /**
  2126  * Internal dependencies
  1623  * Internal dependencies
  2127  */
  1624  */
  2128 
  1625 
  2129 
  1626 
  2130 default_formats.forEach(function (_ref) {
  1627 default_formats.forEach(({
  2131   var name = _ref.name,
  1628   name,
  2132       settings = Object(objectWithoutProperties["a" /* default */])(_ref, ["name"]);
  1629   ...settings
  2133 
  1630 }) => Object(external_wp_richText_["registerFormatType"])(name, settings));
  2134   return Object(external_this_wp_richText_["registerFormatType"])(name, settings);
  1631 
  2135 });
  1632 
  2136 
  1633 /***/ }),
  2137 
  1634 
  2138 /***/ }),
  1635 /***/ "tI+e":
  2139 
  1636 /***/ (function(module, exports) {
  2140 /***/ 5:
  1637 
       
  1638 (function() { module.exports = window["wp"]["components"]; }());
       
  1639 
       
  1640 /***/ }),
       
  1641 
       
  1642 /***/ "uGfJ":
  2141 /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1643 /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2142 
  1644 
  2143 "use strict";
  1645 "use strict";
  2144 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
  1646 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
  2145 function _defineProperty(obj, key, value) {
  1647 /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
  2146   if (key in obj) {
  1648 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
  2147     Object.defineProperty(obj, key, {
  1649 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
  2148       value: value,
  1650 
  2149       enumerable: true,
  1651 
  2150       configurable: true,
  1652 /**
  2151       writable: true
  1653  * WordPress dependencies
  2152     });
  1654  */
  2153   } else {
  1655 
  2154     obj[key] = value;
  1656 const textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
  2155   }
  1657   xmlns: "http://www.w3.org/2000/svg",
  2156 
  1658   viewBox: "0 0 24 24"
  2157   return obj;
  1659 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
  2158 }
  1660   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"
  2159 
  1661 }));
  2160 /***/ }),
  1662 /* harmony default export */ __webpack_exports__["a"] = (textColor);
  2161 
  1663 
  2162 /***/ 6:
       
  2163 /***/ (function(module, exports) {
       
  2164 
       
  2165 (function() { module.exports = this["wp"]["primitives"]; }());
       
  2166 
       
  2167 /***/ }),
       
  2168 
       
  2169 /***/ 7:
       
  2170 /***/ (function(module, exports) {
       
  2171 
       
  2172 (function() { module.exports = this["wp"]["blockEditor"]; }());
       
  2173 
       
  2174 /***/ }),
       
  2175 
       
  2176 /***/ 75:
       
  2177 /***/ (function(module, exports) {
       
  2178 
       
  2179 (function() { module.exports = this["wp"]["htmlEntities"]; }());
       
  2180 
       
  2181 /***/ }),
       
  2182 
       
  2183 /***/ 8:
       
  2184 /***/ (function(module, __webpack_exports__, __webpack_require__) {
       
  2185 
       
  2186 "use strict";
       
  2187 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
       
  2188 function _extends() {
       
  2189   _extends = Object.assign || function (target) {
       
  2190     for (var i = 1; i < arguments.length; i++) {
       
  2191       var source = arguments[i];
       
  2192 
       
  2193       for (var key in source) {
       
  2194         if (Object.prototype.hasOwnProperty.call(source, key)) {
       
  2195           target[key] = source[key];
       
  2196         }
       
  2197       }
       
  2198     }
       
  2199 
       
  2200     return target;
       
  2201   };
       
  2202 
       
  2203   return _extends.apply(this, arguments);
       
  2204 }
       
  2205 
  1664 
  2206 /***/ })
  1665 /***/ })
  2207 
  1666 
  2208 /******/ });
  1667 /******/ });