[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> format-library.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] =
   2  /******/ (function(modules) { // webpackBootstrap
   3  /******/     // The module cache
   4  /******/     var installedModules = {};
   5  /******/
   6  /******/     // The require function
   7  /******/ 	function __webpack_require__(moduleId) {
   8  /******/
   9  /******/         // Check if module is in cache
  10  /******/         if(installedModules[moduleId]) {
  11  /******/             return installedModules[moduleId].exports;
  12  /******/         }
  13  /******/         // Create a new module (and put it into the cache)
  14  /******/         var module = installedModules[moduleId] = {
  15  /******/             i: moduleId,
  16  /******/             l: false,
  17  /******/             exports: {}
  18  /******/         };
  19  /******/
  20  /******/         // Execute the module function
  21  /******/         modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  22  /******/
  23  /******/         // Flag the module as loaded
  24  /******/         module.l = true;
  25  /******/
  26  /******/         // Return the exports of the module
  27  /******/         return module.exports;
  28  /******/     }
  29  /******/
  30  /******/
  31  /******/     // expose the modules object (__webpack_modules__)
  32  /******/     __webpack_require__.m = modules;
  33  /******/
  34  /******/     // expose the module cache
  35  /******/     __webpack_require__.c = installedModules;
  36  /******/
  37  /******/     // define getter function for harmony exports
  38  /******/     __webpack_require__.d = function(exports, name, getter) {
  39  /******/         if(!__webpack_require__.o(exports, name)) {
  40  /******/             Object.defineProperty(exports, name, { enumerable: true, get: getter });
  41  /******/         }
  42  /******/     };
  43  /******/
  44  /******/     // define __esModule on exports
  45  /******/     __webpack_require__.r = function(exports) {
  46  /******/         if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  47  /******/             Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  48  /******/         }
  49  /******/         Object.defineProperty(exports, '__esModule', { value: true });
  50  /******/     };
  51  /******/
  52  /******/     // create a fake namespace object
  53  /******/     // mode & 1: value is a module id, require it
  54  /******/     // mode & 2: merge all properties of value into the ns
  55  /******/     // mode & 4: return value when already ns object
  56  /******/     // mode & 8|1: behave like require
  57  /******/     __webpack_require__.t = function(value, mode) {
  58  /******/         if(mode & 1) value = __webpack_require__(value);
  59  /******/         if(mode & 8) return value;
  60  /******/         if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  61  /******/         var ns = Object.create(null);
  62  /******/         __webpack_require__.r(ns);
  63  /******/         Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  64  /******/         if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  65  /******/         return ns;
  66  /******/     };
  67  /******/
  68  /******/     // getDefaultExport function for compatibility with non-harmony modules
  69  /******/     __webpack_require__.n = function(module) {
  70  /******/         var getter = module && module.__esModule ?
  71  /******/ 			function getDefault() { return module['default']; } :
  72  /******/ 			function getModuleExports() { return module; };
  73  /******/         __webpack_require__.d(getter, 'a', getter);
  74  /******/         return getter;
  75  /******/     };
  76  /******/
  77  /******/     // Object.prototype.hasOwnProperty.call
  78  /******/     __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  79  /******/
  80  /******/     // __webpack_public_path__
  81  /******/     __webpack_require__.p = "";
  82  /******/
  83  /******/
  84  /******/     // Load entry module and return exports
  85  /******/     return __webpack_require__(__webpack_require__.s = 459);
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ 0:
  91  /***/ (function(module, exports) {
  92  
  93  (function() { module.exports = window["wp"]["element"]; }());
  94  
  95  /***/ }),
  96  
  97  /***/ 1:
  98  /***/ (function(module, exports) {
  99  
 100  (function() { module.exports = window["wp"]["i18n"]; }());
 101  
 102  /***/ }),
 103  
 104  /***/ 12:
 105  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 106  
 107  "use strict";
 108  
 109  // EXPORTS
 110  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
 111  
 112  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
 113  var arrayWithHoles = __webpack_require__(37);
 114  
 115  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
 116  function _iterableToArrayLimit(arr, i) {
 117    if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
 118    var _arr = [];
 119    var _n = true;
 120    var _d = false;
 121    var _e = undefined;
 122  
 123    try {
 124      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 125        _arr.push(_s.value);
 126  
 127        if (i && _arr.length === i) break;
 128      }
 129    } catch (err) {
 130      _d = true;
 131      _e = err;
 132    } finally {
 133      try {
 134        if (!_n && _i["return"] != null) _i["return"]();
 135      } finally {
 136        if (_d) throw _e;
 137      }
 138    }
 139  
 140    return _arr;
 141  }
 142  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
 143  var unsupportedIterableToArray = __webpack_require__(28);
 144  
 145  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
 146  var nonIterableRest = __webpack_require__(38);
 147  
 148  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
 149  
 150  
 151  
 152  
 153  function _slicedToArray(arr, i) {
 154    return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
 155  }
 156  
 157  /***/ }),
 158  
 159  /***/ 13:
 160  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 161  
 162  "use strict";
 163  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
 164  /* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
 165  
 166  function _objectWithoutProperties(source, excluded) {
 167    if (source == null) return {};
 168    var target = Object(_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
 169    var key, i;
 170  
 171    if (Object.getOwnPropertySymbols) {
 172      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 173  
 174      for (i = 0; i < sourceSymbolKeys.length; i++) {
 175        key = sourceSymbolKeys[i];
 176        if (excluded.indexOf(key) >= 0) continue;
 177        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
 178        target[key] = source[key];
 179      }
 180    }
 181  
 182    return target;
 183  }
 184  
 185  /***/ }),
 186  
 187  /***/ 136:
 188  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 189  
 190  "use strict";
 191  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
 192  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13);
 193  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
 194  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
 195  
 196  
 197  
 198  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; }
 199  
 200  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; }
 201  
 202  /**
 203   * WordPress dependencies
 204   */
 205  
 206  /** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
 207  
 208  /**
 209   * Return an SVG icon.
 210   *
 211   * @param {IconProps} props icon is the SVG component to render
 212   *                          size is a number specifiying the icon size in pixels
 213   *                          Other props will be passed to wrapped SVG component
 214   *
 215   * @return {JSX.Element}  Icon component
 216   */
 217  
 218  function Icon(_ref) {
 219    var icon = _ref.icon,
 220        _ref$size = _ref.size,
 221        size = _ref$size === void 0 ? 24 : _ref$size,
 222        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref, ["icon", "size"]);
 223  
 224    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, _objectSpread({
 225      width: size,
 226      height: size
 227    }, props));
 228  }
 229  
 230  /* harmony default export */ __webpack_exports__["a"] = (Icon);
 231  
 232  
 233  /***/ }),
 234  
 235  /***/ 19:
 236  /***/ (function(module, exports) {
 237  
 238  (function() { module.exports = window["wp"]["richText"]; }());
 239  
 240  /***/ }),
 241  
 242  /***/ 196:
 243  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 244  
 245  "use strict";
 246  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 247  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 248  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 249  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 250  
 251  
 252  /**
 253   * WordPress dependencies
 254   */
 255  
 256  var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 257    xmlns: "http://www.w3.org/2000/svg",
 258    viewBox: "0 0 24 24"
 259  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 260    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"
 261  }));
 262  /* harmony default export */ __webpack_exports__["a"] = (link);
 263  
 264  
 265  /***/ }),
 266  
 267  /***/ 2:
 268  /***/ (function(module, exports) {
 269  
 270  (function() { module.exports = window["lodash"]; }());
 271  
 272  /***/ }),
 273  
 274  /***/ 218:
 275  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 276  
 277  "use strict";
 278  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 279  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 280  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 281  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 282  
 283  
 284  /**
 285   * WordPress dependencies
 286   */
 287  
 288  var keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 289    xmlns: "http://www.w3.org/2000/svg",
 290    viewBox: "-2 -2 24 24"
 291  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 292    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"
 293  }));
 294  /* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
 295  
 296  
 297  /***/ }),
 298  
 299  /***/ 220:
 300  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 301  
 302  "use strict";
 303  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 304  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 305  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 306  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 307  
 308  
 309  /**
 310   * WordPress dependencies
 311   */
 312  
 313  var linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 314    xmlns: "http://www.w3.org/2000/svg",
 315    viewBox: "0 0 24 24"
 316  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 317    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"
 318  }));
 319  /* harmony default export */ __webpack_exports__["a"] = (linkOff);
 320  
 321  
 322  /***/ }),
 323  
 324  /***/ 24:
 325  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 326  
 327  "use strict";
 328  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayLikeToArray; });
 329  function _arrayLikeToArray(arr, len) {
 330    if (len == null || len > arr.length) len = arr.length;
 331  
 332    for (var i = 0, arr2 = new Array(len); i < len; i++) {
 333      arr2[i] = arr[i];
 334    }
 335  
 336    return arr2;
 337  }
 338  
 339  /***/ }),
 340  
 341  /***/ 28:
 342  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 343  
 344  "use strict";
 345  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
 346  /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
 347  
 348  function _unsupportedIterableToArray(o, minLen) {
 349    if (!o) return;
 350    if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
 351    var n = Object.prototype.toString.call(o).slice(8, -1);
 352    if (n === "Object" && o.constructor) n = o.constructor.name;
 353    if (n === "Map" || n === "Set") return Array.from(o);
 354    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
 355  }
 356  
 357  /***/ }),
 358  
 359  /***/ 29:
 360  /***/ (function(module, exports) {
 361  
 362  (function() { module.exports = window["wp"]["url"]; }());
 363  
 364  /***/ }),
 365  
 366  /***/ 3:
 367  /***/ (function(module, exports) {
 368  
 369  (function() { module.exports = window["wp"]["components"]; }());
 370  
 371  /***/ }),
 372  
 373  /***/ 300:
 374  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 375  
 376  "use strict";
 377  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 378  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 379  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 380  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 381  
 382  
 383  /**
 384   * WordPress dependencies
 385   */
 386  
 387  var formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 388    xmlns: "http://www.w3.org/2000/svg",
 389    viewBox: "0 0 24 24"
 390  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 391    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"
 392  }));
 393  /* harmony default export */ __webpack_exports__["a"] = (formatStrikethrough);
 394  
 395  
 396  /***/ }),
 397  
 398  /***/ 314:
 399  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 400  
 401  "use strict";
 402  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 403  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 404  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 405  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 406  
 407  
 408  /**
 409   * WordPress dependencies
 410   */
 411  
 412  var button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 413    viewBox: "0 0 24 24",
 414    xmlns: "http://www.w3.org/2000/svg"
 415  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 416    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"
 417  }));
 418  /* harmony default export */ __webpack_exports__["a"] = (button);
 419  
 420  
 421  /***/ }),
 422  
 423  /***/ 315:
 424  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 425  
 426  "use strict";
 427  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 428  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 429  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 430  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 431  
 432  
 433  /**
 434   * WordPress dependencies
 435   */
 436  
 437  var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 438    viewBox: "0 0 24 24",
 439    xmlns: "http://www.w3.org/2000/svg"
 440  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 441    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"
 442  }));
 443  /* harmony default export */ __webpack_exports__["a"] = (code);
 444  
 445  
 446  /***/ }),
 447  
 448  /***/ 37:
 449  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 450  
 451  "use strict";
 452  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
 453  function _arrayWithHoles(arr) {
 454    if (Array.isArray(arr)) return arr;
 455  }
 456  
 457  /***/ }),
 458  
 459  /***/ 38:
 460  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 461  
 462  "use strict";
 463  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
 464  function _nonIterableRest() {
 465    throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 466  }
 467  
 468  /***/ }),
 469  
 470  /***/ 4:
 471  /***/ (function(module, exports) {
 472  
 473  (function() { module.exports = window["wp"]["data"]; }());
 474  
 475  /***/ }),
 476  
 477  /***/ 427:
 478  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 479  
 480  "use strict";
 481  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 482  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 483  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 484  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
 485  
 486  
 487  /**
 488   * WordPress dependencies
 489   */
 490  
 491  var textColor = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 492    xmlns: "http://www.w3.org/2000/svg",
 493    viewBox: "0 0 24 24"
 494  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 495    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"
 496  }));
 497  /* harmony default export */ __webpack_exports__["a"] = (textColor);
 498  
 499  
 500  /***/ }),
 501  
 502  /***/ 44:
 503  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 504  
 505  "use strict";
 506  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
 507  function _objectWithoutPropertiesLoose(source, excluded) {
 508    if (source == null) return {};
 509    var target = {};
 510    var sourceKeys = Object.keys(source);
 511    var key, i;
 512  
 513    for (i = 0; i < sourceKeys.length; i++) {
 514      key = sourceKeys[i];
 515      if (excluded.indexOf(key) >= 0) continue;
 516      target[key] = source[key];
 517    }
 518  
 519    return target;
 520  }
 521  
 522  /***/ }),
 523  
 524  /***/ 459:
 525  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 526  
 527  "use strict";
 528  // ESM COMPAT FLAG
 529  __webpack_require__.r(__webpack_exports__);
 530  
 531  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
 532  var objectWithoutProperties = __webpack_require__(13);
 533  
 534  // EXTERNAL MODULE: external ["wp","richText"]
 535  var external_wp_richText_ = __webpack_require__(19);
 536  
 537  // EXTERNAL MODULE: external ["wp","element"]
 538  var external_wp_element_ = __webpack_require__(0);
 539  
 540  // EXTERNAL MODULE: external ["wp","i18n"]
 541  var external_wp_i18n_ = __webpack_require__(1);
 542  
 543  // EXTERNAL MODULE: external ["wp","blockEditor"]
 544  var external_wp_blockEditor_ = __webpack_require__(6);
 545  
 546  // EXTERNAL MODULE: external ["wp","primitives"]
 547  var external_wp_primitives_ = __webpack_require__(7);
 548  
 549  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js
 550  
 551  
 552  /**
 553   * WordPress dependencies
 554   */
 555  
 556  var formatBold = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
 557    xmlns: "http://www.w3.org/2000/svg",
 558    viewBox: "0 0 24 24"
 559  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
 560    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"
 561  }));
 562  /* harmony default export */ var format_bold = (formatBold);
 563  
 564  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
 565  
 566  
 567  /**
 568   * WordPress dependencies
 569   */
 570  
 571  
 572  
 573  
 574  var bold_name = 'core/bold';
 575  
 576  var title = Object(external_wp_i18n_["__"])('Bold');
 577  
 578  var bold = {
 579    name: bold_name,
 580    title: title,
 581    tagName: 'strong',
 582    className: null,
 583    edit: function edit(_ref) {
 584      var isActive = _ref.isActive,
 585          value = _ref.value,
 586          onChange = _ref.onChange,
 587          onFocus = _ref.onFocus;
 588  
 589      function onToggle() {
 590        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
 591          type: bold_name
 592        }));
 593      }
 594  
 595      function onClick() {
 596        onToggle();
 597        onFocus();
 598      }
 599  
 600      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
 601        type: "primary",
 602        character: "b",
 603        onUse: onToggle
 604      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
 605        name: "bold",
 606        icon: format_bold,
 607        title: title,
 608        onClick: onClick,
 609        isActive: isActive,
 610        shortcutType: "primary",
 611        shortcutCharacter: "b"
 612      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
 613        inputType: "formatBold",
 614        onInput: onToggle
 615      }));
 616    }
 617  };
 618  
 619  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
 620  var code = __webpack_require__(315);
 621  
 622  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
 623  
 624  
 625  /**
 626   * WordPress dependencies
 627   */
 628  
 629  
 630  
 631  
 632  var code_name = 'core/code';
 633  
 634  var code_title = Object(external_wp_i18n_["__"])('Inline code');
 635  
 636  var code_code = {
 637    name: code_name,
 638    title: code_title,
 639    tagName: 'code',
 640    className: null,
 641    __unstableInputRule: function __unstableInputRule(value) {
 642      var BACKTICK = '`';
 643      var _value = value,
 644          start = _value.start,
 645          text = _value.text;
 646      var characterBefore = text.slice(start - 1, start); // Quick check the text for the necessary character.
 647  
 648      if (characterBefore !== BACKTICK) {
 649        return value;
 650      }
 651  
 652      var textBefore = text.slice(0, start - 1);
 653      var indexBefore = textBefore.lastIndexOf(BACKTICK);
 654  
 655      if (indexBefore === -1) {
 656        return value;
 657      }
 658  
 659      var startIndex = indexBefore;
 660      var endIndex = start - 2;
 661  
 662      if (startIndex === endIndex) {
 663        return value;
 664      }
 665  
 666      value = Object(external_wp_richText_["remove"])(value, startIndex, startIndex + 1);
 667      value = Object(external_wp_richText_["remove"])(value, endIndex, endIndex + 1);
 668      value = Object(external_wp_richText_["applyFormat"])(value, {
 669        type: code_name
 670      }, startIndex, endIndex);
 671      return value;
 672    },
 673    edit: function edit(_ref) {
 674      var value = _ref.value,
 675          onChange = _ref.onChange,
 676          onFocus = _ref.onFocus,
 677          isActive = _ref.isActive;
 678  
 679      function onClick() {
 680        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
 681          type: code_name
 682        }));
 683        onFocus();
 684      }
 685  
 686      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
 687        icon: code["a" /* default */],
 688        title: code_title,
 689        onClick: onClick,
 690        isActive: isActive
 691      });
 692    }
 693  };
 694  
 695  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
 696  var defineProperty = __webpack_require__(5);
 697  
 698  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
 699  var slicedToArray = __webpack_require__(12);
 700  
 701  // EXTERNAL MODULE: external ["wp","components"]
 702  var external_wp_components_ = __webpack_require__(3);
 703  
 704  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
 705  var keyboard_return = __webpack_require__(218);
 706  
 707  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
 708  
 709  
 710  
 711  
 712  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; }
 713  
 714  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; }
 715  
 716  /**
 717   * WordPress dependencies
 718   */
 719  
 720  
 721  
 722  
 723  
 724  
 725  var ALLOWED_MEDIA_TYPES = ['image'];
 726  var image_name = 'core/image';
 727  
 728  var image_title = Object(external_wp_i18n_["__"])('Inline image');
 729  
 730  var image_image = {
 731    name: image_name,
 732    title: image_title,
 733    keywords: [Object(external_wp_i18n_["__"])('photo'), Object(external_wp_i18n_["__"])('media')],
 734    object: true,
 735    tagName: 'img',
 736    className: null,
 737    attributes: {
 738      className: 'class',
 739      style: 'style',
 740      url: 'src',
 741      alt: 'alt'
 742    },
 743    edit: Edit
 744  };
 745  
 746  function InlineUI(_ref) {
 747    var value = _ref.value,
 748        onChange = _ref.onChange,
 749        activeObjectAttributes = _ref.activeObjectAttributes,
 750        contentRef = _ref.contentRef;
 751    var style = activeObjectAttributes.style;
 752  
 753    var _useState = Object(external_wp_element_["useState"])(style === null || style === void 0 ? void 0 : style.replace(/\D/g, '')),
 754        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
 755        width = _useState2[0],
 756        setWidth = _useState2[1];
 757  
 758    var anchorRef = Object(external_wp_richText_["useAnchorRef"])({
 759      ref: contentRef,
 760      value: value,
 761      settings: image_image
 762    });
 763    return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
 764      position: "bottom center",
 765      focusOnMount: false,
 766      anchorRef: anchorRef,
 767      className: "block-editor-format-toolbar__image-popover"
 768    }, Object(external_wp_element_["createElement"])("form", {
 769      className: "block-editor-format-toolbar__image-container-content",
 770      onSubmit: function onSubmit(event) {
 771        var newReplacements = value.replacements.slice();
 772        newReplacements[value.start] = {
 773          type: image_name,
 774          attributes: _objectSpread(_objectSpread({}, activeObjectAttributes), {}, {
 775            style: "width: ".concat(width, "px;")
 776          })
 777        };
 778        onChange(_objectSpread(_objectSpread({}, value), {}, {
 779          replacements: newReplacements
 780        }));
 781        event.preventDefault();
 782      }
 783    }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
 784      className: "block-editor-format-toolbar__image-container-value",
 785      type: "number",
 786      label: Object(external_wp_i18n_["__"])('Width'),
 787      value: width,
 788      min: 1,
 789      onChange: function onChange(newWidth) {
 790        return setWidth(newWidth);
 791      }
 792    }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
 793      icon: keyboard_return["a" /* default */],
 794      label: Object(external_wp_i18n_["__"])('Apply'),
 795      type: "submit"
 796    })));
 797  }
 798  
 799  function Edit(_ref2) {
 800    var value = _ref2.value,
 801        onChange = _ref2.onChange,
 802        onFocus = _ref2.onFocus,
 803        isObjectActive = _ref2.isObjectActive,
 804        activeObjectAttributes = _ref2.activeObjectAttributes,
 805        contentRef = _ref2.contentRef;
 806  
 807    var _useState3 = Object(external_wp_element_["useState"])(false),
 808        _useState4 = Object(slicedToArray["a" /* default */])(_useState3, 2),
 809        isModalOpen = _useState4[0],
 810        setIsModalOpen = _useState4[1];
 811  
 812    function openModal() {
 813      setIsModalOpen(true);
 814    }
 815  
 816    function closeModal() {
 817      setIsModalOpen(false);
 818    }
 819  
 820    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
 821      icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
 822        xmlns: "http://www.w3.org/2000/svg",
 823        viewBox: "0 0 24 24"
 824      }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
 825        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"
 826      })),
 827      title: image_title,
 828      onClick: openModal,
 829      isActive: isObjectActive
 830    }), isModalOpen && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
 831      allowedTypes: ALLOWED_MEDIA_TYPES,
 832      onSelect: function onSelect(_ref3) {
 833        var id = _ref3.id,
 834            url = _ref3.url,
 835            alt = _ref3.alt,
 836            imgWidth = _ref3.width;
 837        closeModal();
 838        onChange(Object(external_wp_richText_["insertObject"])(value, {
 839          type: image_name,
 840          attributes: {
 841            className: "wp-image-".concat(id),
 842            style: "width: ".concat(Math.min(imgWidth, 150), "px;"),
 843            url: url,
 844            alt: alt
 845          }
 846        }));
 847        onFocus();
 848      },
 849      onClose: closeModal,
 850      render: function render(_ref4) {
 851        var open = _ref4.open;
 852        open();
 853        return null;
 854      }
 855    }), isObjectActive && Object(external_wp_element_["createElement"])(InlineUI, {
 856      value: value,
 857      onChange: onChange,
 858      activeObjectAttributes: activeObjectAttributes,
 859      contentRef: contentRef
 860    }));
 861  }
 862  
 863  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js
 864  
 865  
 866  /**
 867   * WordPress dependencies
 868   */
 869  
 870  var formatItalic = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
 871    xmlns: "http://www.w3.org/2000/svg",
 872    viewBox: "0 0 24 24"
 873  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
 874    d: "M12.5 5L10 19h1.9l2.5-14z"
 875  }));
 876  /* harmony default export */ var format_italic = (formatItalic);
 877  
 878  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js
 879  
 880  
 881  /**
 882   * WordPress dependencies
 883   */
 884  
 885  
 886  
 887  
 888  var italic_name = 'core/italic';
 889  
 890  var italic_title = Object(external_wp_i18n_["__"])('Italic');
 891  
 892  var italic = {
 893    name: italic_name,
 894    title: italic_title,
 895    tagName: 'em',
 896    className: null,
 897    edit: function edit(_ref) {
 898      var isActive = _ref.isActive,
 899          value = _ref.value,
 900          onChange = _ref.onChange,
 901          onFocus = _ref.onFocus;
 902  
 903      function onToggle() {
 904        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
 905          type: italic_name
 906        }));
 907      }
 908  
 909      function onClick() {
 910        onToggle();
 911        onFocus();
 912      }
 913  
 914      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
 915        type: "primary",
 916        character: "i",
 917        onUse: onToggle
 918      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
 919        name: "italic",
 920        icon: format_italic,
 921        title: italic_title,
 922        onClick: onClick,
 923        isActive: isActive,
 924        shortcutType: "primary",
 925        shortcutCharacter: "i"
 926      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
 927        inputType: "formatItalic",
 928        onInput: onToggle
 929      }));
 930    }
 931  };
 932  
 933  // EXTERNAL MODULE: external ["wp","url"]
 934  var external_wp_url_ = __webpack_require__(29);
 935  
 936  // EXTERNAL MODULE: external ["wp","htmlEntities"]
 937  var external_wp_htmlEntities_ = __webpack_require__(57);
 938  
 939  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
 940  var link_off = __webpack_require__(220);
 941  
 942  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
 943  var library_link = __webpack_require__(196);
 944  
 945  // EXTERNAL MODULE: external ["wp","a11y"]
 946  var external_wp_a11y_ = __webpack_require__(46);
 947  
 948  // EXTERNAL MODULE: external "lodash"
 949  var external_lodash_ = __webpack_require__(2);
 950  
 951  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
 952  /**
 953   * External dependencies
 954   */
 955  
 956  /**
 957   * WordPress dependencies
 958   */
 959  
 960  
 961  /**
 962   * Check for issues with the provided href.
 963   *
 964   * @param {string} href The href.
 965   *
 966   * @return {boolean} Is the href invalid?
 967   */
 968  
 969  function isValidHref(href) {
 970    if (!href) {
 971      return false;
 972    }
 973  
 974    var trimmedHref = href.trim();
 975  
 976    if (!trimmedHref) {
 977      return false;
 978    } // Does the href start with something that looks like a URL protocol?
 979  
 980  
 981    if (/^\S+:/.test(trimmedHref)) {
 982      var protocol = Object(external_wp_url_["getProtocol"])(trimmedHref);
 983  
 984      if (!Object(external_wp_url_["isValidProtocol"])(protocol)) {
 985        return false;
 986      } // Add some extra checks for http(s) URIs, since these are the most common use-case.
 987      // This ensures URIs with an http protocol have exactly two forward slashes following the protocol.
 988  
 989  
 990      if (Object(external_lodash_["startsWith"])(protocol, 'http') && !/^https?:\/\/[^\/\s]/i.test(trimmedHref)) {
 991        return false;
 992      }
 993  
 994      var authority = Object(external_wp_url_["getAuthority"])(trimmedHref);
 995  
 996      if (!Object(external_wp_url_["isValidAuthority"])(authority)) {
 997        return false;
 998      }
 999  
1000      var path = Object(external_wp_url_["getPath"])(trimmedHref);
1001  
1002      if (path && !Object(external_wp_url_["isValidPath"])(path)) {
1003        return false;
1004      }
1005  
1006      var queryString = Object(external_wp_url_["getQueryString"])(trimmedHref);
1007  
1008      if (queryString && !Object(external_wp_url_["isValidQueryString"])(queryString)) {
1009        return false;
1010      }
1011  
1012      var fragment = Object(external_wp_url_["getFragment"])(trimmedHref);
1013  
1014      if (fragment && !Object(external_wp_url_["isValidFragment"])(fragment)) {
1015        return false;
1016      }
1017    } // Validate anchor links.
1018  
1019  
1020    if (Object(external_lodash_["startsWith"])(trimmedHref, '#') && !Object(external_wp_url_["isValidFragment"])(trimmedHref)) {
1021      return false;
1022    }
1023  
1024    return true;
1025  }
1026  /**
1027   * Generates the format object that will be applied to the link text.
1028   *
1029   * @param {Object}  options
1030   * @param {string}  options.url              The href of the link.
1031   * @param {string}  options.type             The type of the link.
1032   * @param {string}  options.id               The ID of the link.
1033   * @param {boolean} options.opensInNewWindow Whether this link will open in a new window.
1034   *
1035   * @return {Object} The final format object.
1036   */
1037  
1038  function createLinkFormat(_ref) {
1039    var url = _ref.url,
1040        type = _ref.type,
1041        id = _ref.id,
1042        opensInNewWindow = _ref.opensInNewWindow;
1043    var format = {
1044      type: 'core/link',
1045      attributes: {
1046        url: url
1047      }
1048    };
1049    if (type) format.attributes.type = type;
1050    if (id) format.attributes.id = id;
1051  
1052    if (opensInNewWindow) {
1053      format.attributes.target = '_blank';
1054      format.attributes.rel = 'noreferrer noopener';
1055    }
1056  
1057    return format;
1058  }
1059  
1060  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js
1061  
1062  
1063  
1064  
1065  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; }
1066  
1067  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; }
1068  
1069  /**
1070   * WordPress dependencies
1071   */
1072  
1073  
1074  
1075  
1076  
1077  
1078  /**
1079   * Internal dependencies
1080   */
1081  
1082  
1083  
1084  
1085  function InlineLinkUI(_ref) {
1086    var isActive = _ref.isActive,
1087        activeAttributes = _ref.activeAttributes,
1088        addingLink = _ref.addingLink,
1089        value = _ref.value,
1090        onChange = _ref.onChange,
1091        speak = _ref.speak,
1092        stopAddingLink = _ref.stopAddingLink,
1093        contentRef = _ref.contentRef;
1094  
1095    /**
1096     * Pending settings to be applied to the next link. When inserting a new
1097     * link, toggle values cannot be applied immediately, because there is not
1098     * yet a link for them to apply to. Thus, they are maintained in a state
1099     * value until the time that the link can be inserted or edited.
1100     *
1101     * @type {[Object|undefined,Function]}
1102     */
1103    var _useState = Object(external_wp_element_["useState"])(),
1104        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
1105        nextLinkValue = _useState2[0],
1106        setNextLinkValue = _useState2[1];
1107  
1108    var linkValue = inline_objectSpread({
1109      url: activeAttributes.url,
1110      type: activeAttributes.type,
1111      id: activeAttributes.id,
1112      opensInNewTab: activeAttributes.target === '_blank'
1113    }, nextLinkValue);
1114  
1115    function onChangeLink(nextValue) {
1116      // Merge with values from state, both for the purpose of assigning the
1117      // next state value, and for use in constructing the new link format if
1118      // the link is ready to be applied.
1119      nextValue = inline_objectSpread(inline_objectSpread({}, nextLinkValue), nextValue); // LinkControl calls `onChange` immediately upon the toggling a setting.
1120  
1121      var didToggleSetting = linkValue.opensInNewTab !== nextValue.opensInNewTab && linkValue.url === nextValue.url; // If change handler was called as a result of a settings change during
1122      // link insertion, it must be held in state until the link is ready to
1123      // be applied.
1124  
1125      var didToggleSettingForNewLink = didToggleSetting && nextValue.url === undefined; // If link will be assigned, the state value can be considered flushed.
1126      // Otherwise, persist the pending changes.
1127  
1128      setNextLinkValue(didToggleSettingForNewLink ? nextValue : undefined);
1129  
1130      if (didToggleSettingForNewLink) {
1131        return;
1132      }
1133  
1134      var newUrl = Object(external_wp_url_["prependHTTP"])(nextValue.url);
1135      var format = createLinkFormat({
1136        url: newUrl,
1137        type: nextValue.type,
1138        id: nextValue.id !== undefined && nextValue.id !== null ? String(nextValue.id) : undefined,
1139        opensInNewWindow: nextValue.opensInNewTab
1140      });
1141  
1142      if (Object(external_wp_richText_["isCollapsed"])(value) && !isActive) {
1143        var newText = nextValue.title || newUrl;
1144        var toInsert = Object(external_wp_richText_["applyFormat"])(Object(external_wp_richText_["create"])({
1145          text: newText
1146        }), format, 0, newText.length);
1147        onChange(Object(external_wp_richText_["insert"])(value, toInsert));
1148      } else {
1149        var newValue = Object(external_wp_richText_["applyFormat"])(value, format);
1150        newValue.start = newValue.end;
1151        newValue.activeFormats = [];
1152        onChange(newValue);
1153      } // Focus should only be shifted back to the formatted segment when the
1154      // URL is submitted.
1155  
1156  
1157      if (!didToggleSetting) {
1158        stopAddingLink();
1159      }
1160  
1161      if (!isValidHref(newUrl)) {
1162        speak(Object(external_wp_i18n_["__"])('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive');
1163      } else if (isActive) {
1164        speak(Object(external_wp_i18n_["__"])('Link edited.'), 'assertive');
1165      } else {
1166        speak(Object(external_wp_i18n_["__"])('Link inserted.'), 'assertive');
1167      }
1168    }
1169  
1170    var anchorRef = Object(external_wp_richText_["useAnchorRef"])({
1171      ref: contentRef,
1172      value: value,
1173      settings: link_link
1174    }); // The focusOnMount prop shouldn't evolve during render of a Popover
1175    // otherwise it causes a render of the content.
1176  
1177    var focusOnMount = Object(external_wp_element_["useRef"])(addingLink ? 'firstElement' : false);
1178    return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
1179      anchorRef: anchorRef,
1180      focusOnMount: focusOnMount.current,
1181      onClose: stopAddingLink,
1182      position: "bottom center"
1183    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
1184      value: linkValue,
1185      onChange: onChangeLink,
1186      forceIsEditingLink: addingLink
1187    }));
1188  }
1189  
1190  /* harmony default export */ var inline = (Object(external_wp_components_["withSpokenMessages"])(InlineLinkUI));
1191  
1192  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/index.js
1193  
1194  
1195  
1196  /**
1197   * WordPress dependencies
1198   */
1199  
1200  
1201  
1202  
1203  
1204  
1205  
1206  
1207  /**
1208   * Internal dependencies
1209   */
1210  
1211  
1212  var link_name = 'core/link';
1213  
1214  var link_title = Object(external_wp_i18n_["__"])('Link');
1215  
1216  function link_Edit(_ref) {
1217    var isActive = _ref.isActive,
1218        activeAttributes = _ref.activeAttributes,
1219        value = _ref.value,
1220        onChange = _ref.onChange,
1221        onFocus = _ref.onFocus,
1222        contentRef = _ref.contentRef;
1223  
1224    var _useState = Object(external_wp_element_["useState"])(false),
1225        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
1226        addingLink = _useState2[0],
1227        setAddingLink = _useState2[1];
1228  
1229    function addLink() {
1230      var text = Object(external_wp_richText_["getTextContent"])(Object(external_wp_richText_["slice"])(value));
1231  
1232      if (text && Object(external_wp_url_["isURL"])(text)) {
1233        onChange(Object(external_wp_richText_["applyFormat"])(value, {
1234          type: link_name,
1235          attributes: {
1236            url: text
1237          }
1238        }));
1239      } else if (text && Object(external_wp_url_["isEmail"])(text)) {
1240        onChange(Object(external_wp_richText_["applyFormat"])(value, {
1241          type: link_name,
1242          attributes: {
1243            url: "mailto:".concat(text)
1244          }
1245        }));
1246      } else {
1247        setAddingLink(true);
1248      }
1249    }
1250  
1251    function stopAddingLink() {
1252      setAddingLink(false);
1253      onFocus();
1254    }
1255  
1256    function onRemoveFormat() {
1257      onChange(Object(external_wp_richText_["removeFormat"])(value, link_name));
1258      Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Link removed.'), 'assertive');
1259    }
1260  
1261    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
1262      type: "primary",
1263      character: "k",
1264      onUse: addLink
1265    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
1266      type: "primaryShift",
1267      character: "k",
1268      onUse: onRemoveFormat
1269    }), isActive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1270      name: "link",
1271      icon: link_off["a" /* default */],
1272      title: Object(external_wp_i18n_["__"])('Unlink'),
1273      onClick: onRemoveFormat,
1274      isActive: isActive,
1275      shortcutType: "primaryShift",
1276      shortcutCharacter: "k"
1277    }), !isActive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1278      name: "link",
1279      icon: library_link["a" /* default */],
1280      title: link_title,
1281      onClick: addLink,
1282      isActive: isActive,
1283      shortcutType: "primary",
1284      shortcutCharacter: "k"
1285    }), (addingLink || isActive) && Object(external_wp_element_["createElement"])(inline, {
1286      addingLink: addingLink,
1287      stopAddingLink: stopAddingLink,
1288      isActive: isActive,
1289      activeAttributes: activeAttributes,
1290      value: value,
1291      onChange: onChange,
1292      contentRef: contentRef
1293    }));
1294  }
1295  
1296  var link_link = {
1297    name: link_name,
1298    title: link_title,
1299    tagName: 'a',
1300    className: null,
1301    attributes: {
1302      url: 'href',
1303      type: 'data-type',
1304      id: 'data-id',
1305      target: 'target'
1306    },
1307    __unstablePasteRule: function __unstablePasteRule(value, _ref2) {
1308      var html = _ref2.html,
1309          plainText = _ref2.plainText;
1310  
1311      if (Object(external_wp_richText_["isCollapsed"])(value)) {
1312        return value;
1313      }
1314  
1315      var pastedText = (html || plainText).replace(/<[^>]+>/g, '').trim(); // A URL was pasted, turn the selection into a link
1316  
1317      if (!Object(external_wp_url_["isURL"])(pastedText)) {
1318        return value;
1319      } // Allows us to ask for this information when we get a report.
1320  
1321  
1322      window.console.log('Created link:\n\n', pastedText);
1323      return Object(external_wp_richText_["applyFormat"])(value, {
1324        type: link_name,
1325        attributes: {
1326          url: Object(external_wp_htmlEntities_["decodeEntities"])(pastedText)
1327        }
1328      });
1329    },
1330    edit: link_Edit
1331  };
1332  
1333  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
1334  var format_strikethrough = __webpack_require__(300);
1335  
1336  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
1337  
1338  
1339  /**
1340   * WordPress dependencies
1341   */
1342  
1343  
1344  
1345  
1346  var strikethrough_name = 'core/strikethrough';
1347  
1348  var strikethrough_title = Object(external_wp_i18n_["__"])('Strikethrough');
1349  
1350  var strikethrough = {
1351    name: strikethrough_name,
1352    title: strikethrough_title,
1353    tagName: 's',
1354    className: null,
1355    edit: function edit(_ref) {
1356      var isActive = _ref.isActive,
1357          value = _ref.value,
1358          onChange = _ref.onChange,
1359          onFocus = _ref.onFocus;
1360  
1361      function onClick() {
1362        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
1363          type: strikethrough_name
1364        }));
1365        onFocus();
1366      }
1367  
1368      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1369        icon: format_strikethrough["a" /* default */],
1370        title: strikethrough_title,
1371        onClick: onClick,
1372        isActive: isActive
1373      });
1374    }
1375  };
1376  
1377  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/underline/index.js
1378  
1379  
1380  /**
1381   * WordPress dependencies
1382   */
1383  
1384  
1385  
1386  var underline_name = 'core/underline';
1387  var underline = {
1388    name: underline_name,
1389    title: Object(external_wp_i18n_["__"])('Underline'),
1390    tagName: 'span',
1391    className: null,
1392    attributes: {
1393      style: 'style'
1394    },
1395    edit: function edit(_ref) {
1396      var value = _ref.value,
1397          onChange = _ref.onChange;
1398  
1399      var onToggle = function onToggle() {
1400        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
1401          type: underline_name,
1402          attributes: {
1403            style: 'text-decoration: underline;'
1404          }
1405        }));
1406      };
1407  
1408      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
1409        type: "primary",
1410        character: "u",
1411        onUse: onToggle
1412      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
1413        inputType: "formatUnderline",
1414        onInput: onToggle
1415      }));
1416    }
1417  };
1418  
1419  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
1420  var icon = __webpack_require__(136);
1421  
1422  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
1423  var text_color = __webpack_require__(427);
1424  
1425  // EXTERNAL MODULE: external ["wp","data"]
1426  var external_wp_data_ = __webpack_require__(4);
1427  
1428  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js
1429  
1430  
1431  /**
1432   * External dependencies
1433   */
1434  
1435  /**
1436   * WordPress dependencies
1437   */
1438  
1439  
1440  
1441  
1442  
1443  /**
1444   * Internal dependencies
1445   */
1446  
1447  
1448  function getActiveColor(formatName, formatValue, colors) {
1449    var activeColorFormat = Object(external_wp_richText_["getActiveFormat"])(formatValue, formatName);
1450  
1451    if (!activeColorFormat) {
1452      return;
1453    }
1454  
1455    var styleColor = activeColorFormat.attributes.style;
1456  
1457    if (styleColor) {
1458      return styleColor.replace(new RegExp("^color:\\s*"), '');
1459    }
1460  
1461    var currentClass = activeColorFormat.attributes.class;
1462  
1463    if (currentClass) {
1464      var colorSlug = currentClass.replace(/.*has-([^\s]*)-color.*/, '$1');
1465      return Object(external_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, colorSlug).color;
1466    }
1467  }
1468  
1469  var inline_ColorPicker = function ColorPicker(_ref) {
1470    var name = _ref.name,
1471        value = _ref.value,
1472        onChange = _ref.onChange;
1473    var colors = Object(external_wp_data_["useSelect"])(function (select) {
1474      var _select = select('core/block-editor'),
1475          getSettings = _select.getSettings;
1476  
1477      return Object(external_lodash_["get"])(getSettings(), ['colors'], []);
1478    });
1479    var onColorChange = Object(external_wp_element_["useCallback"])(function (color) {
1480      if (color) {
1481        var colorObject = Object(external_wp_blockEditor_["getColorObjectByColorValue"])(colors, color);
1482        onChange(Object(external_wp_richText_["applyFormat"])(value, {
1483          type: name,
1484          attributes: colorObject ? {
1485            class: Object(external_wp_blockEditor_["getColorClassName"])('color', colorObject.slug)
1486          } : {
1487            style: "color:".concat(color)
1488          }
1489        }));
1490      } else {
1491        onChange(Object(external_wp_richText_["removeFormat"])(value, name));
1492      }
1493    }, [colors, onChange]);
1494    var activeColor = Object(external_wp_element_["useMemo"])(function () {
1495      return getActiveColor(name, value, colors);
1496    }, [name, value, colors]);
1497    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ColorPalette"], {
1498      value: activeColor,
1499      onChange: onColorChange
1500    });
1501  };
1502  
1503  function InlineColorUI(_ref2) {
1504    var name = _ref2.name,
1505        value = _ref2.value,
1506        onChange = _ref2.onChange,
1507        onClose = _ref2.onClose,
1508        contentRef = _ref2.contentRef;
1509    var anchorRef = Object(external_wp_richText_["useAnchorRef"])({
1510      ref: contentRef,
1511      value: value,
1512      settings: textColor
1513    });
1514    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["URLPopover"], {
1515      value: value,
1516      onClose: onClose,
1517      className: "components-inline-color-popover",
1518      anchorRef: anchorRef
1519    }, Object(external_wp_element_["createElement"])(inline_ColorPicker, {
1520      name: name,
1521      value: value,
1522      onChange: onChange
1523    }));
1524  }
1525  
1526  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/index.js
1527  
1528  
1529  
1530  /**
1531   * External dependencies
1532   */
1533  
1534  /**
1535   * WordPress dependencies
1536   */
1537  
1538  
1539  
1540  
1541  
1542  
1543  /**
1544   * Internal dependencies
1545   */
1546  
1547  
1548  var text_color_name = 'core/text-color';
1549  
1550  var text_color_title = Object(external_wp_i18n_["__"])('Text color');
1551  
1552  var EMPTY_ARRAY = [];
1553  
1554  function TextColorEdit(_ref) {
1555    var value = _ref.value,
1556        _onChange = _ref.onChange,
1557        isActive = _ref.isActive,
1558        activeAttributes = _ref.activeAttributes,
1559        contentRef = _ref.contentRef;
1560    var allowCustomControl = Object(external_wp_blockEditor_["__experimentalUseEditorFeature"])('color.custom');
1561    var colors = Object(external_wp_blockEditor_["__experimentalUseEditorFeature"])('color.palette') || EMPTY_ARRAY;
1562  
1563    var _useState = Object(external_wp_element_["useState"])(false),
1564        _useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
1565        isAddingColor = _useState2[0],
1566        setIsAddingColor = _useState2[1];
1567  
1568    var enableIsAddingColor = Object(external_wp_element_["useCallback"])(function () {
1569      return setIsAddingColor(true);
1570    }, [setIsAddingColor]);
1571    var disableIsAddingColor = Object(external_wp_element_["useCallback"])(function () {
1572      return setIsAddingColor(false);
1573    }, [setIsAddingColor]);
1574    var colorIndicatorStyle = Object(external_wp_element_["useMemo"])(function () {
1575      var activeColor = getActiveColor(text_color_name, value, colors);
1576  
1577      if (!activeColor) {
1578        return undefined;
1579      }
1580  
1581      return {
1582        backgroundColor: activeColor
1583      };
1584    }, [value, colors]);
1585    var hasColorsToChoose = !Object(external_lodash_["isEmpty"])(colors) || !allowCustomControl;
1586  
1587    if (!hasColorsToChoose && !isActive) {
1588      return null;
1589    }
1590  
1591    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1592      key: isActive ? 'text-color' : 'text-color-not-active',
1593      className: "format-library-text-color-button",
1594      name: isActive ? 'text-color' : undefined,
1595      icon: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(icon["a" /* default */], {
1596        icon: text_color["a" /* default */]
1597      }), isActive && Object(external_wp_element_["createElement"])("span", {
1598        className: "format-library-text-color-button__indicator",
1599        style: colorIndicatorStyle
1600      })),
1601      title: text_color_title // If has no colors to choose but a color is active remove the color onClick
1602      ,
1603      onClick: hasColorsToChoose ? enableIsAddingColor : function () {
1604        return _onChange(Object(external_wp_richText_["removeFormat"])(value, text_color_name));
1605      }
1606    }), isAddingColor && Object(external_wp_element_["createElement"])(InlineColorUI, {
1607      name: text_color_name,
1608      onClose: disableIsAddingColor,
1609      activeAttributes: activeAttributes,
1610      value: value,
1611      onChange: function onChange() {
1612        _onChange.apply(void 0, arguments);
1613  
1614        disableIsAddingColor();
1615      },
1616      contentRef: contentRef
1617    }));
1618  }
1619  
1620  var textColor = {
1621    name: text_color_name,
1622    title: text_color_title,
1623    tagName: 'span',
1624    className: 'has-inline-color',
1625    attributes: {
1626      style: 'style',
1627      class: 'class'
1628    },
1629    edit: TextColorEdit
1630  };
1631  
1632  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/subscript.js
1633  
1634  
1635  /**
1636   * WordPress dependencies
1637   */
1638  
1639  var subscript = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
1640    xmlns: "http://www.w3.org/2000/svg",
1641    viewBox: "0 0 24 24"
1642  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
1643    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"
1644  }));
1645  /* harmony default export */ var library_subscript = (subscript);
1646  
1647  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js
1648  
1649  
1650  /**
1651   * WordPress dependencies
1652   */
1653  
1654  
1655  
1656  
1657  var subscript_name = 'core/subscript';
1658  
1659  var subscript_title = Object(external_wp_i18n_["__"])('Subscript');
1660  
1661  var subscript_subscript = {
1662    name: subscript_name,
1663    title: subscript_title,
1664    tagName: 'sub',
1665    className: null,
1666    edit: function edit(_ref) {
1667      var isActive = _ref.isActive,
1668          value = _ref.value,
1669          onChange = _ref.onChange,
1670          onFocus = _ref.onFocus;
1671  
1672      function onToggle() {
1673        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
1674          type: subscript_name
1675        }));
1676      }
1677  
1678      function onClick() {
1679        onToggle();
1680        onFocus();
1681      }
1682  
1683      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1684        icon: library_subscript,
1685        title: subscript_title,
1686        onClick: onClick,
1687        isActive: isActive
1688      });
1689    }
1690  };
1691  
1692  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js
1693  
1694  
1695  /**
1696   * WordPress dependencies
1697   */
1698  
1699  var superscript = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
1700    xmlns: "http://www.w3.org/2000/svg",
1701    viewBox: "0 0 24 24"
1702  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
1703    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"
1704  }));
1705  /* harmony default export */ var library_superscript = (superscript);
1706  
1707  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js
1708  
1709  
1710  /**
1711   * WordPress dependencies
1712   */
1713  
1714  
1715  
1716  
1717  var superscript_name = 'core/superscript';
1718  
1719  var superscript_title = Object(external_wp_i18n_["__"])('Superscript');
1720  
1721  var superscript_superscript = {
1722    name: superscript_name,
1723    title: superscript_title,
1724    tagName: 'sup',
1725    className: null,
1726    edit: function edit(_ref) {
1727      var isActive = _ref.isActive,
1728          value = _ref.value,
1729          onChange = _ref.onChange,
1730          onFocus = _ref.onFocus;
1731  
1732      function onToggle() {
1733        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
1734          type: superscript_name
1735        }));
1736      }
1737  
1738      function onClick() {
1739        onToggle();
1740        onFocus();
1741      }
1742  
1743      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1744        icon: library_superscript,
1745        title: superscript_title,
1746        onClick: onClick,
1747        isActive: isActive
1748      });
1749    }
1750  };
1751  
1752  // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
1753  var library_button = __webpack_require__(314);
1754  
1755  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js
1756  
1757  
1758  /**
1759   * WordPress dependencies
1760   */
1761  
1762  
1763  
1764  
1765  var keyboard_name = 'core/keyboard';
1766  
1767  var keyboard_title = Object(external_wp_i18n_["__"])('Keyboard input');
1768  
1769  var keyboard = {
1770    name: keyboard_name,
1771    title: keyboard_title,
1772    tagName: 'kbd',
1773    className: null,
1774    edit: function edit(_ref) {
1775      var isActive = _ref.isActive,
1776          value = _ref.value,
1777          onChange = _ref.onChange,
1778          onFocus = _ref.onFocus;
1779  
1780      function onToggle() {
1781        onChange(Object(external_wp_richText_["toggleFormat"])(value, {
1782          type: keyboard_name
1783        }));
1784      }
1785  
1786      function onClick() {
1787        onToggle();
1788        onFocus();
1789      }
1790  
1791      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
1792        icon: library_button["a" /* default */],
1793        title: keyboard_title,
1794        onClick: onClick,
1795        isActive: isActive
1796      });
1797    }
1798  };
1799  
1800  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/default-formats.js
1801  /**
1802   * Internal dependencies
1803   */
1804  
1805  
1806  
1807  
1808  
1809  
1810  
1811  
1812  
1813  
1814  
1815  /* harmony default export */ var default_formats = ([bold, code_code, image_image, italic, link_link, strikethrough, underline, textColor, subscript_subscript, superscript_superscript, keyboard]);
1816  
1817  // CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
1818  
1819  
1820  /**
1821   * WordPress dependencies
1822   */
1823  
1824  /**
1825   * Internal dependencies
1826   */
1827  
1828  
1829  default_formats.forEach(function (_ref) {
1830    var name = _ref.name,
1831        settings = Object(objectWithoutProperties["a" /* default */])(_ref, ["name"]);
1832  
1833    return Object(external_wp_richText_["registerFormatType"])(name, settings);
1834  });
1835  
1836  
1837  /***/ }),
1838  
1839  /***/ 46:
1840  /***/ (function(module, exports) {
1841  
1842  (function() { module.exports = window["wp"]["a11y"]; }());
1843  
1844  /***/ }),
1845  
1846  /***/ 5:
1847  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1848  
1849  "use strict";
1850  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
1851  function _defineProperty(obj, key, value) {
1852    if (key in obj) {
1853      Object.defineProperty(obj, key, {
1854        value: value,
1855        enumerable: true,
1856        configurable: true,
1857        writable: true
1858      });
1859    } else {
1860      obj[key] = value;
1861    }
1862  
1863    return obj;
1864  }
1865  
1866  /***/ }),
1867  
1868  /***/ 57:
1869  /***/ (function(module, exports) {
1870  
1871  (function() { module.exports = window["wp"]["htmlEntities"]; }());
1872  
1873  /***/ }),
1874  
1875  /***/ 6:
1876  /***/ (function(module, exports) {
1877  
1878  (function() { module.exports = window["wp"]["blockEditor"]; }());
1879  
1880  /***/ }),
1881  
1882  /***/ 7:
1883  /***/ (function(module, exports) {
1884  
1885  (function() { module.exports = window["wp"]["primitives"]; }());
1886  
1887  /***/ })
1888  
1889  /******/ });


Generated: Mon Apr 19 01:00:04 2021 Cross-referenced by PHPXref 0.7.1