[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] =
   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 = 250);
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ([
  89  /* 0 */
  90  /***/ (function(module, exports) {
  91  
  92  (function() { module.exports = this["wp"]["element"]; }());
  93  
  94  /***/ }),
  95  /* 1 */
  96  /***/ (function(module, exports) {
  97  
  98  (function() { module.exports = this["wp"]["i18n"]; }());
  99  
 100  /***/ }),
 101  /* 2 */
 102  /***/ (function(module, exports) {
 103  
 104  (function() { module.exports = this["lodash"]; }());
 105  
 106  /***/ }),
 107  /* 3 */
 108  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 109  
 110  "use strict";
 111  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
 112  function _assertThisInitialized(self) {
 113    if (self === void 0) {
 114      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 115    }
 116  
 117    return self;
 118  }
 119  
 120  /***/ }),
 121  /* 4 */
 122  /***/ (function(module, exports) {
 123  
 124  (function() { module.exports = this["wp"]["components"]; }());
 125  
 126  /***/ }),
 127  /* 5 */
 128  /***/ (function(module, exports) {
 129  
 130  (function() { module.exports = this["wp"]["data"]; }());
 131  
 132  /***/ }),
 133  /* 6 */
 134  /***/ (function(module, exports) {
 135  
 136  (function() { module.exports = this["wp"]["compose"]; }());
 137  
 138  /***/ }),
 139  /* 7 */
 140  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 141  
 142  "use strict";
 143  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
 144  /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
 145  
 146  function _objectSpread(target) {
 147    for (var i = 1; i < arguments.length; i++) {
 148      var source = arguments[i] != null ? arguments[i] : {};
 149      var ownKeys = Object.keys(source);
 150  
 151      if (typeof Object.getOwnPropertySymbols === 'function') {
 152        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
 153          return Object.getOwnPropertyDescriptor(source, sym).enumerable;
 154        }));
 155      }
 156  
 157      ownKeys.forEach(function (key) {
 158        Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
 159      });
 160    }
 161  
 162    return target;
 163  }
 164  
 165  /***/ }),
 166  /* 8 */
 167  /***/ (function(module, exports) {
 168  
 169  (function() { module.exports = this["wp"]["blockEditor"]; }());
 170  
 171  /***/ }),
 172  /* 9 */
 173  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 174  
 175  "use strict";
 176  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
 177  function _defineProperties(target, props) {
 178    for (var i = 0; i < props.length; i++) {
 179      var descriptor = props[i];
 180      descriptor.enumerable = descriptor.enumerable || false;
 181      descriptor.configurable = true;
 182      if ("value" in descriptor) descriptor.writable = true;
 183      Object.defineProperty(target, descriptor.key, descriptor);
 184    }
 185  }
 186  
 187  function _createClass(Constructor, protoProps, staticProps) {
 188    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 189    if (staticProps) _defineProperties(Constructor, staticProps);
 190    return Constructor;
 191  }
 192  
 193  /***/ }),
 194  /* 10 */
 195  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 196  
 197  "use strict";
 198  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
 199  function _classCallCheck(instance, Constructor) {
 200    if (!(instance instanceof Constructor)) {
 201      throw new TypeError("Cannot call a class as a function");
 202    }
 203  }
 204  
 205  /***/ }),
 206  /* 11 */
 207  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 208  
 209  "use strict";
 210  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
 211  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
 212  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
 213  
 214  
 215  function _possibleConstructorReturn(self, call) {
 216    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
 217      return call;
 218    }
 219  
 220    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
 221  }
 222  
 223  /***/ }),
 224  /* 12 */
 225  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 226  
 227  "use strict";
 228  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
 229  function _getPrototypeOf(o) {
 230    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 231      return o.__proto__ || Object.getPrototypeOf(o);
 232    };
 233    return _getPrototypeOf(o);
 234  }
 235  
 236  /***/ }),
 237  /* 13 */
 238  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 239  
 240  "use strict";
 241  
 242  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
 243  function _setPrototypeOf(o, p) {
 244    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 245      o.__proto__ = p;
 246      return o;
 247    };
 248  
 249    return _setPrototypeOf(o, p);
 250  }
 251  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
 252  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; });
 253  
 254  function _inherits(subClass, superClass) {
 255    if (typeof superClass !== "function" && superClass !== null) {
 256      throw new TypeError("Super expression must either be null or a function");
 257    }
 258  
 259    subClass.prototype = Object.create(superClass && superClass.prototype, {
 260      constructor: {
 261        value: subClass,
 262        writable: true,
 263        configurable: true
 264      }
 265    });
 266    if (superClass) _setPrototypeOf(subClass, superClass);
 267  }
 268  
 269  /***/ }),
 270  /* 14 */
 271  /***/ (function(module, exports) {
 272  
 273  (function() { module.exports = this["wp"]["blocks"]; }());
 274  
 275  /***/ }),
 276  /* 15 */
 277  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 278  
 279  "use strict";
 280  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
 281  function _defineProperty(obj, key, value) {
 282    if (key in obj) {
 283      Object.defineProperty(obj, key, {
 284        value: value,
 285        enumerable: true,
 286        configurable: true,
 287        writable: true
 288      });
 289    } else {
 290      obj[key] = value;
 291    }
 292  
 293    return obj;
 294  }
 295  
 296  /***/ }),
 297  /* 16 */
 298  /***/ (function(module, exports, __webpack_require__) {
 299  
 300  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
 301    Copyright (c) 2017 Jed Watson.
 302    Licensed under the MIT License (MIT), see
 303    http://jedwatson.github.io/classnames
 304  */
 305  /* global define */
 306  
 307  (function () {
 308      'use strict';
 309  
 310      var hasOwn = {}.hasOwnProperty;
 311  
 312  	function classNames () {
 313          var classes = [];
 314  
 315          for (var i = 0; i < arguments.length; i++) {
 316              var arg = arguments[i];
 317              if (!arg) continue;
 318  
 319              var argType = typeof arg;
 320  
 321              if (argType === 'string' || argType === 'number') {
 322                  classes.push(arg);
 323              } else if (Array.isArray(arg) && arg.length) {
 324                  var inner = classNames.apply(null, arg);
 325                  if (inner) {
 326                      classes.push(inner);
 327                  }
 328              } else if (argType === 'object') {
 329                  for (var key in arg) {
 330                      if (hasOwn.call(arg, key) && arg[key]) {
 331                          classes.push(key);
 332                      }
 333                  }
 334              }
 335          }
 336  
 337          return classes.join(' ');
 338      }
 339  
 340      if ( true && module.exports) {
 341          classNames.default = classNames;
 342          module.exports = classNames;
 343      } else if (true) {
 344          // register as 'classnames', consistent with npm package name
 345          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
 346              return classNames;
 347          }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
 348                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
 349      } else {}
 350  }());
 351  
 352  
 353  /***/ }),
 354  /* 17 */
 355  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 356  
 357  "use strict";
 358  
 359  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
 360  function _arrayWithoutHoles(arr) {
 361    if (Array.isArray(arr)) {
 362      for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
 363        arr2[i] = arr[i];
 364      }
 365  
 366      return arr2;
 367    }
 368  }
 369  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
 370  var iterableToArray = __webpack_require__(34);
 371  
 372  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
 373  function _nonIterableSpread() {
 374    throw new TypeError("Invalid attempt to spread non-iterable instance");
 375  }
 376  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
 377  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toConsumableArray; });
 378  
 379  
 380  
 381  function _toConsumableArray(arr) {
 382    return _arrayWithoutHoles(arr) || Object(iterableToArray["a" /* default */])(arr) || _nonIterableSpread();
 383  }
 384  
 385  /***/ }),
 386  /* 18 */
 387  /***/ (function(module, exports) {
 388  
 389  (function() { module.exports = this["wp"]["keycodes"]; }());
 390  
 391  /***/ }),
 392  /* 19 */
 393  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 394  
 395  "use strict";
 396  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
 397  function _extends() {
 398    _extends = Object.assign || function (target) {
 399      for (var i = 1; i < arguments.length; i++) {
 400        var source = arguments[i];
 401  
 402        for (var key in source) {
 403          if (Object.prototype.hasOwnProperty.call(source, key)) {
 404            target[key] = source[key];
 405          }
 406        }
 407      }
 408  
 409      return target;
 410    };
 411  
 412    return _extends.apply(this, arguments);
 413  }
 414  
 415  /***/ }),
 416  /* 20 */
 417  /***/ (function(module, exports) {
 418  
 419  (function() { module.exports = this["wp"]["richText"]; }());
 420  
 421  /***/ }),
 422  /* 21 */
 423  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 424  
 425  "use strict";
 426  
 427  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
 428  function _objectWithoutPropertiesLoose(source, excluded) {
 429    if (source == null) return {};
 430    var target = {};
 431    var sourceKeys = Object.keys(source);
 432    var key, i;
 433  
 434    for (i = 0; i < sourceKeys.length; i++) {
 435      key = sourceKeys[i];
 436      if (excluded.indexOf(key) >= 0) continue;
 437      target[key] = source[key];
 438    }
 439  
 440    return target;
 441  }
 442  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
 443  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
 444  
 445  function _objectWithoutProperties(source, excluded) {
 446    if (source == null) return {};
 447    var target = _objectWithoutPropertiesLoose(source, excluded);
 448    var key, i;
 449  
 450    if (Object.getOwnPropertySymbols) {
 451      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 452  
 453      for (i = 0; i < sourceSymbolKeys.length; i++) {
 454        key = sourceSymbolKeys[i];
 455        if (excluded.indexOf(key) >= 0) continue;
 456        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
 457        target[key] = source[key];
 458      }
 459    }
 460  
 461    return target;
 462  }
 463  
 464  /***/ }),
 465  /* 22 */
 466  /***/ (function(module, exports) {
 467  
 468  (function() { module.exports = this["wp"]["editor"]; }());
 469  
 470  /***/ }),
 471  /* 23 */,
 472  /* 24 */,
 473  /* 25 */
 474  /***/ (function(module, exports) {
 475  
 476  (function() { module.exports = this["wp"]["url"]; }());
 477  
 478  /***/ }),
 479  /* 26 */,
 480  /* 27 */,
 481  /* 28 */
 482  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 483  
 484  "use strict";
 485  
 486  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
 487  var arrayWithHoles = __webpack_require__(37);
 488  
 489  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
 490  function _iterableToArrayLimit(arr, i) {
 491    var _arr = [];
 492    var _n = true;
 493    var _d = false;
 494    var _e = undefined;
 495  
 496    try {
 497      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 498        _arr.push(_s.value);
 499  
 500        if (i && _arr.length === i) break;
 501      }
 502    } catch (err) {
 503      _d = true;
 504      _e = err;
 505    } finally {
 506      try {
 507        if (!_n && _i["return"] != null) _i["return"]();
 508      } finally {
 509        if (_d) throw _e;
 510      }
 511    }
 512  
 513    return _arr;
 514  }
 515  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
 516  var nonIterableRest = __webpack_require__(38);
 517  
 518  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
 519  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _slicedToArray; });
 520  
 521  
 522  
 523  function _slicedToArray(arr, i) {
 524    return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(nonIterableRest["a" /* default */])();
 525  }
 526  
 527  /***/ }),
 528  /* 29 */
 529  /***/ (function(module, exports) {
 530  
 531  (function() { module.exports = this["moment"]; }());
 532  
 533  /***/ }),
 534  /* 30 */,
 535  /* 31 */,
 536  /* 32 */
 537  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 538  
 539  "use strict";
 540  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
 541  function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
 542  
 543  function _typeof(obj) {
 544    if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
 545      _typeof = function _typeof(obj) {
 546        return _typeof2(obj);
 547      };
 548    } else {
 549      _typeof = function _typeof(obj) {
 550        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
 551      };
 552    }
 553  
 554    return _typeof(obj);
 555  }
 556  
 557  /***/ }),
 558  /* 33 */
 559  /***/ (function(module, exports) {
 560  
 561  (function() { module.exports = this["wp"]["apiFetch"]; }());
 562  
 563  /***/ }),
 564  /* 34 */
 565  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 566  
 567  "use strict";
 568  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
 569  function _iterableToArray(iter) {
 570    if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
 571  }
 572  
 573  /***/ }),
 574  /* 35 */
 575  /***/ (function(module, exports) {
 576  
 577  (function() { module.exports = this["wp"]["blob"]; }());
 578  
 579  /***/ }),
 580  /* 36 */
 581  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 582  
 583  "use strict";
 584  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return embedContentIcon; });
 585  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return embedAudioIcon; });
 586  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return embedPhotoIcon; });
 587  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return embedVideoIcon; });
 588  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return embedTwitterIcon; });
 589  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return embedYouTubeIcon; });
 590  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return embedFacebookIcon; });
 591  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return embedInstagramIcon; });
 592  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return embedWordPressIcon; });
 593  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return embedSpotifyIcon; });
 594  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return embedFlickrIcon; });
 595  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return embedVimeoIcon; });
 596  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return embedRedditIcon; });
 597  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return embedTumbrIcon; });
 598  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return embedAmazonIcon; });
 599  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
 600  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 601  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
 602  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
 603  
 604  
 605  /**
 606   * WordPress dependencies
 607   */
 608  
 609  var embedContentIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 610    viewBox: "0 0 24 24",
 611    xmlns: "http://www.w3.org/2000/svg"
 612  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 613    d: "M0,0h24v24H0V0z",
 614    fill: "none"
 615  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 616    d: "M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"
 617  }));
 618  var embedAudioIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 619    viewBox: "0 0 24 24",
 620    xmlns: "http://www.w3.org/2000/svg"
 621  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 622    fill: "none",
 623    d: "M0 0h24v24H0V0z"
 624  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 625    d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"
 626  }));
 627  var embedPhotoIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 628    viewBox: "0 0 24 24",
 629    xmlns: "http://www.w3.org/2000/svg"
 630  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 631    d: "M0,0h24v24H0V0z",
 632    fill: "none"
 633  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 634    d: "M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"
 635  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Polygon"], {
 636    points: "14.5 11 11 15.51 8.5 12.5 5 17 19 17"
 637  }));
 638  var embedVideoIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 639    viewBox: "0 0 24 24",
 640    xmlns: "http://www.w3.org/2000/svg"
 641  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 642    d: "M0,0h24v24H0V0z",
 643    fill: "none"
 644  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 645    d: "m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"
 646  }));
 647  var embedTwitterIcon = {
 648    foreground: '#1da1f2',
 649    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 650      xmlns: "http://www.w3.org/2000/svg",
 651      viewBox: "0 0 24 24"
 652    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 653      d: "M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"
 654    })))
 655  };
 656  var embedYouTubeIcon = {
 657    foreground: '#ff0000',
 658    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 659      viewBox: "0 0 24 24"
 660    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 661      d: "M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"
 662    }))
 663  };
 664  var embedFacebookIcon = {
 665    foreground: '#3b5998',
 666    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 667      viewBox: "0 0 24 24"
 668    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 669      d: "M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"
 670    }))
 671  };
 672  var embedInstagramIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 673    viewBox: "0 0 24 24"
 674  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 675    d: "M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"
 676  })));
 677  var embedWordPressIcon = {
 678    foreground: '#0073AA',
 679    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 680      viewBox: "0 0 24 24"
 681    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 682      d: "M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"
 683    })))
 684  };
 685  var embedSpotifyIcon = {
 686    foreground: '#1db954',
 687    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 688      viewBox: "0 0 24 24"
 689    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 690      d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"
 691    }))
 692  };
 693  var embedFlickrIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 694    viewBox: "0 0 24 24"
 695  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 696    d: "m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"
 697  }));
 698  var embedVimeoIcon = {
 699    foreground: '#1ab7ea',
 700    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 701      xmlns: "http://www.w3.org/2000/svg",
 702      viewBox: "0 0 24 24"
 703    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 704      d: "M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"
 705    })))
 706  };
 707  var embedRedditIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 708    viewBox: "0 0 24 24"
 709  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 710    d: "M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"
 711  }));
 712  var embedTumbrIcon = {
 713    foreground: '#35465c',
 714    src: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 715      viewBox: "0 0 24 24"
 716    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 717      d: "M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"
 718    }))
 719  };
 720  var embedAmazonIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
 721    viewBox: "0 0 24 24"
 722  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 723    d: "M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"
 724  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 725    d: "M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"
 726  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
 727    d: "M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"
 728  }));
 729  
 730  
 731  /***/ }),
 732  /* 37 */
 733  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 734  
 735  "use strict";
 736  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
 737  function _arrayWithHoles(arr) {
 738    if (Array.isArray(arr)) return arr;
 739  }
 740  
 741  /***/ }),
 742  /* 38 */
 743  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 744  
 745  "use strict";
 746  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
 747  function _nonIterableRest() {
 748    throw new TypeError("Invalid attempt to destructure non-iterable instance");
 749  }
 750  
 751  /***/ }),
 752  /* 39 */,
 753  /* 40 */
 754  /***/ (function(module, exports) {
 755  
 756  (function() { module.exports = this["wp"]["viewport"]; }());
 757  
 758  /***/ }),
 759  /* 41 */
 760  /***/ (function(module, exports, __webpack_require__) {
 761  
 762  module.exports = function memize( fn, options ) {
 763      var size = 0,
 764          maxSize, head, tail;
 765  
 766      if ( options && options.maxSize ) {
 767          maxSize = options.maxSize;
 768      }
 769  
 770  	function memoized( /* ...args */ ) {
 771          var node = head,
 772              len = arguments.length,
 773              args, i;
 774  
 775          searchCache: while ( node ) {
 776              // Perform a shallow equality test to confirm that whether the node
 777              // under test is a candidate for the arguments passed. Two arrays
 778              // are shallowly equal if their length matches and each entry is
 779              // strictly equal between the two sets. Avoid abstracting to a
 780              // function which could incur an arguments leaking deoptimization.
 781  
 782              // Check whether node arguments match arguments length
 783              if ( node.args.length !== arguments.length ) {
 784                  node = node.next;
 785                  continue;
 786              }
 787  
 788              // Check whether node arguments match arguments values
 789              for ( i = 0; i < len; i++ ) {
 790                  if ( node.args[ i ] !== arguments[ i ] ) {
 791                      node = node.next;
 792                      continue searchCache;
 793                  }
 794              }
 795  
 796              // At this point we can assume we've found a match
 797  
 798              // Surface matched node to head if not already
 799              if ( node !== head ) {
 800                  // As tail, shift to previous. Must only shift if not also
 801                  // head, since if both head and tail, there is no previous.
 802                  if ( node === tail ) {
 803                      tail = node.prev;
 804                  }
 805  
 806                  // Adjust siblings to point to each other. If node was tail,
 807                  // this also handles new tail's empty `next` assignment.
 808                  node.prev.next = node.next;
 809                  if ( node.next ) {
 810                      node.next.prev = node.prev;
 811                  }
 812  
 813                  node.next = head;
 814                  node.prev = null;
 815                  head.prev = node;
 816                  head = node;
 817              }
 818  
 819              // Return immediately
 820              return node.val;
 821          }
 822  
 823          // No cached value found. Continue to insertion phase:
 824  
 825          // Create a copy of arguments (avoid leaking deoptimization)
 826          args = new Array( len );
 827          for ( i = 0; i < len; i++ ) {
 828              args[ i ] = arguments[ i ];
 829          }
 830  
 831          node = {
 832              args: args,
 833  
 834              // Generate the result from original function
 835              val: fn.apply( null, args )
 836          };
 837  
 838          // Don't need to check whether node is already head, since it would
 839          // have been returned above already if it was
 840  
 841          // Shift existing head down list
 842          if ( head ) {
 843              head.prev = node;
 844              node.next = head;
 845          } else {
 846              // If no head, follows that there's no tail (at initial or reset)
 847              tail = node;
 848          }
 849  
 850          // Trim tail if we're reached max size and are pending cache insertion
 851          if ( size === maxSize ) {
 852              tail = tail.prev;
 853              tail.next = null;
 854          } else {
 855              size++;
 856          }
 857  
 858          head = node;
 859  
 860          return node.val;
 861      }
 862  
 863      memoized.clear = function() {
 864          head = null;
 865          tail = null;
 866          size = 0;
 867      };
 868  
 869      if ( false ) {}
 870  
 871      return memoized;
 872  };
 873  
 874  
 875  /***/ }),
 876  /* 42 */
 877  /***/ (function(module, exports) {
 878  
 879  (function() { module.exports = this["wp"]["isShallowEqual"]; }());
 880  
 881  /***/ }),
 882  /* 43 */,
 883  /* 44 */,
 884  /* 45 */
 885  /***/ (function(module, exports, __webpack_require__) {
 886  
 887  var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1
 888  // https://github.com/bgrins/TinyColor
 889  // Brian Grinstead, MIT License
 890  
 891  (function(Math) {
 892  
 893  var trimLeft = /^\s+/,
 894      trimRight = /\s+$/,
 895      tinyCounter = 0,
 896      mathRound = Math.round,
 897      mathMin = Math.min,
 898      mathMax = Math.max,
 899      mathRandom = Math.random;
 900  
 901  function tinycolor (color, opts) {
 902  
 903      color = (color) ? color : '';
 904      opts = opts || { };
 905  
 906      // If input is already a tinycolor, return itself
 907      if (color instanceof tinycolor) {
 908         return color;
 909      }
 910      // If we are called as a function, call using new instead
 911      if (!(this instanceof tinycolor)) {
 912          return new tinycolor(color, opts);
 913      }
 914  
 915      var rgb = inputToRGB(color);
 916      this._originalInput = color,
 917      this._r = rgb.r,
 918      this._g = rgb.g,
 919      this._b = rgb.b,
 920      this._a = rgb.a,
 921      this._roundA = mathRound(100*this._a) / 100,
 922      this._format = opts.format || rgb.format;
 923      this._gradientType = opts.gradientType;
 924  
 925      // Don't let the range of [0,255] come back in [0,1].
 926      // Potentially lose a little bit of precision here, but will fix issues where
 927      // .5 gets interpreted as half of the total, instead of half of 1
 928      // If it was supposed to be 128, this was already taken care of by `inputToRgb`
 929      if (this._r < 1) { this._r = mathRound(this._r); }
 930      if (this._g < 1) { this._g = mathRound(this._g); }
 931      if (this._b < 1) { this._b = mathRound(this._b); }
 932  
 933      this._ok = rgb.ok;
 934      this._tc_id = tinyCounter++;
 935  }
 936  
 937  tinycolor.prototype = {
 938      isDark: function() {
 939          return this.getBrightness() < 128;
 940      },
 941      isLight: function() {
 942          return !this.isDark();
 943      },
 944      isValid: function() {
 945          return this._ok;
 946      },
 947      getOriginalInput: function() {
 948        return this._originalInput;
 949      },
 950      getFormat: function() {
 951          return this._format;
 952      },
 953      getAlpha: function() {
 954          return this._a;
 955      },
 956      getBrightness: function() {
 957          //http://www.w3.org/TR/AERT#color-contrast
 958          var rgb = this.toRgb();
 959          return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
 960      },
 961      getLuminance: function() {
 962          //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
 963          var rgb = this.toRgb();
 964          var RsRGB, GsRGB, BsRGB, R, G, B;
 965          RsRGB = rgb.r/255;
 966          GsRGB = rgb.g/255;
 967          BsRGB = rgb.b/255;
 968  
 969          if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);}
 970          if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);}
 971          if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);}
 972          return (0.2126 * R) + (0.7152 * G) + (0.0722 * B);
 973      },
 974      setAlpha: function(value) {
 975          this._a = boundAlpha(value);
 976          this._roundA = mathRound(100*this._a) / 100;
 977          return this;
 978      },
 979      toHsv: function() {
 980          var hsv = rgbToHsv(this._r, this._g, this._b);
 981          return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
 982      },
 983      toHsvString: function() {
 984          var hsv = rgbToHsv(this._r, this._g, this._b);
 985          var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
 986          return (this._a == 1) ?
 987            "hsv("  + h + ", " + s + "%, " + v + "%)" :
 988            "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")";
 989      },
 990      toHsl: function() {
 991          var hsl = rgbToHsl(this._r, this._g, this._b);
 992          return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
 993      },
 994      toHslString: function() {
 995          var hsl = rgbToHsl(this._r, this._g, this._b);
 996          var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
 997          return (this._a == 1) ?
 998            "hsl("  + h + ", " + s + "%, " + l + "%)" :
 999            "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")";
1000      },
1001      toHex: function(allow3Char) {
1002          return rgbToHex(this._r, this._g, this._b, allow3Char);
1003      },
1004      toHexString: function(allow3Char) {
1005          return '#' + this.toHex(allow3Char);
1006      },
1007      toHex8: function(allow4Char) {
1008          return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
1009      },
1010      toHex8String: function(allow4Char) {
1011          return '#' + this.toHex8(allow4Char);
1012      },
1013      toRgb: function() {
1014          return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
1015      },
1016      toRgbString: function() {
1017          return (this._a == 1) ?
1018            "rgb("  + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
1019            "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
1020      },
1021      toPercentageRgb: function() {
1022          return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
1023      },
1024      toPercentageRgbString: function() {
1025          return (this._a == 1) ?
1026            "rgb("  + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
1027            "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
1028      },
1029      toName: function() {
1030          if (this._a === 0) {
1031              return "transparent";
1032          }
1033  
1034          if (this._a < 1) {
1035              return false;
1036          }
1037  
1038          return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
1039      },
1040      toFilter: function(secondColor) {
1041          var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a);
1042          var secondHex8String = hex8String;
1043          var gradientType = this._gradientType ? "GradientType = 1, " : "";
1044  
1045          if (secondColor) {
1046              var s = tinycolor(secondColor);
1047              secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a);
1048          }
1049  
1050          return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")";
1051      },
1052      toString: function(format) {
1053          var formatSet = !!format;
1054          format = format || this._format;
1055  
1056          var formattedString = false;
1057          var hasAlpha = this._a < 1 && this._a >= 0;
1058          var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
1059  
1060          if (needsAlphaFormat) {
1061              // Special case for "transparent", all other non-alpha formats
1062              // will return rgba when there is transparency.
1063              if (format === "name" && this._a === 0) {
1064                  return this.toName();
1065              }
1066              return this.toRgbString();
1067          }
1068          if (format === "rgb") {
1069              formattedString = this.toRgbString();
1070          }
1071          if (format === "prgb") {
1072              formattedString = this.toPercentageRgbString();
1073          }
1074          if (format === "hex" || format === "hex6") {
1075              formattedString = this.toHexString();
1076          }
1077          if (format === "hex3") {
1078              formattedString = this.toHexString(true);
1079          }
1080          if (format === "hex4") {
1081              formattedString = this.toHex8String(true);
1082          }
1083          if (format === "hex8") {
1084              formattedString = this.toHex8String();
1085          }
1086          if (format === "name") {
1087              formattedString = this.toName();
1088          }
1089          if (format === "hsl") {
1090              formattedString = this.toHslString();
1091          }
1092          if (format === "hsv") {
1093              formattedString = this.toHsvString();
1094          }
1095  
1096          return formattedString || this.toHexString();
1097      },
1098      clone: function() {
1099          return tinycolor(this.toString());
1100      },
1101  
1102      _applyModification: function(fn, args) {
1103          var color = fn.apply(null, [this].concat([].slice.call(args)));
1104          this._r = color._r;
1105          this._g = color._g;
1106          this._b = color._b;
1107          this.setAlpha(color._a);
1108          return this;
1109      },
1110      lighten: function() {
1111          return this._applyModification(lighten, arguments);
1112      },
1113      brighten: function() {
1114          return this._applyModification(brighten, arguments);
1115      },
1116      darken: function() {
1117          return this._applyModification(darken, arguments);
1118      },
1119      desaturate: function() {
1120          return this._applyModification(desaturate, arguments);
1121      },
1122      saturate: function() {
1123          return this._applyModification(saturate, arguments);
1124      },
1125      greyscale: function() {
1126          return this._applyModification(greyscale, arguments);
1127      },
1128      spin: function() {
1129          return this._applyModification(spin, arguments);
1130      },
1131  
1132      _applyCombination: function(fn, args) {
1133          return fn.apply(null, [this].concat([].slice.call(args)));
1134      },
1135      analogous: function() {
1136          return this._applyCombination(analogous, arguments);
1137      },
1138      complement: function() {
1139          return this._applyCombination(complement, arguments);
1140      },
1141      monochromatic: function() {
1142          return this._applyCombination(monochromatic, arguments);
1143      },
1144      splitcomplement: function() {
1145          return this._applyCombination(splitcomplement, arguments);
1146      },
1147      triad: function() {
1148          return this._applyCombination(triad, arguments);
1149      },
1150      tetrad: function() {
1151          return this._applyCombination(tetrad, arguments);
1152      }
1153  };
1154  
1155  // If input is an object, force 1 into "1.0" to handle ratios properly
1156  // String input requires "1.0" as input, so 1 will be treated as 1
1157  tinycolor.fromRatio = function(color, opts) {
1158      if (typeof color == "object") {
1159          var newColor = {};
1160          for (var i in color) {
1161              if (color.hasOwnProperty(i)) {
1162                  if (i === "a") {
1163                      newColor[i] = color[i];
1164                  }
1165                  else {
1166                      newColor[i] = convertToPercentage(color[i]);
1167                  }
1168              }
1169          }
1170          color = newColor;
1171      }
1172  
1173      return tinycolor(color, opts);
1174  };
1175  
1176  // Given a string or object, convert that input to RGB
1177  // Possible string inputs:
1178  //
1179  //     "red"
1180  //     "#f00" or "f00"
1181  //     "#ff0000" or "ff0000"
1182  //     "#ff000000" or "ff000000"
1183  //     "rgb 255 0 0" or "rgb (255, 0, 0)"
1184  //     "rgb 1.0 0 0" or "rgb (1, 0, 0)"
1185  //     "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
1186  //     "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
1187  //     "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
1188  //     "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
1189  //     "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
1190  //
1191  function inputToRGB(color) {
1192  
1193      var rgb = { r: 0, g: 0, b: 0 };
1194      var a = 1;
1195      var s = null;
1196      var v = null;
1197      var l = null;
1198      var ok = false;
1199      var format = false;
1200  
1201      if (typeof color == "string") {
1202          color = stringInputToObject(color);
1203      }
1204  
1205      if (typeof color == "object") {
1206          if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
1207              rgb = rgbToRgb(color.r, color.g, color.b);
1208              ok = true;
1209              format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
1210          }
1211          else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
1212              s = convertToPercentage(color.s);
1213              v = convertToPercentage(color.v);
1214              rgb = hsvToRgb(color.h, s, v);
1215              ok = true;
1216              format = "hsv";
1217          }
1218          else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
1219              s = convertToPercentage(color.s);
1220              l = convertToPercentage(color.l);
1221              rgb = hslToRgb(color.h, s, l);
1222              ok = true;
1223              format = "hsl";
1224          }
1225  
1226          if (color.hasOwnProperty("a")) {
1227              a = color.a;
1228          }
1229      }
1230  
1231      a = boundAlpha(a);
1232  
1233      return {
1234          ok: ok,
1235          format: color.format || format,
1236          r: mathMin(255, mathMax(rgb.r, 0)),
1237          g: mathMin(255, mathMax(rgb.g, 0)),
1238          b: mathMin(255, mathMax(rgb.b, 0)),
1239          a: a
1240      };
1241  }
1242  
1243  
1244  // Conversion Functions
1245  // --------------------
1246  
1247  // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
1248  // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
1249  
1250  // `rgbToRgb`
1251  // Handle bounds / percentage checking to conform to CSS color spec
1252  // <http://www.w3.org/TR/css3-color/>
1253  // *Assumes:* r, g, b in [0, 255] or [0, 1]
1254  // *Returns:* { r, g, b } in [0, 255]
1255  function rgbToRgb(r, g, b){
1256      return {
1257          r: bound01(r, 255) * 255,
1258          g: bound01(g, 255) * 255,
1259          b: bound01(b, 255) * 255
1260      };
1261  }
1262  
1263  // `rgbToHsl`
1264  // Converts an RGB color value to HSL.
1265  // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
1266  // *Returns:* { h, s, l } in [0,1]
1267  function rgbToHsl(r, g, b) {
1268  
1269      r = bound01(r, 255);
1270      g = bound01(g, 255);
1271      b = bound01(b, 255);
1272  
1273      var max = mathMax(r, g, b), min = mathMin(r, g, b);
1274      var h, s, l = (max + min) / 2;
1275  
1276      if(max == min) {
1277          h = s = 0; // achromatic
1278      }
1279      else {
1280          var d = max - min;
1281          s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
1282          switch(max) {
1283              case r: h = (g - b) / d + (g < b ? 6 : 0); break;
1284              case g: h = (b - r) / d + 2; break;
1285              case b: h = (r - g) / d + 4; break;
1286          }
1287  
1288          h /= 6;
1289      }
1290  
1291      return { h: h, s: s, l: l };
1292  }
1293  
1294  // `hslToRgb`
1295  // Converts an HSL color value to RGB.
1296  // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
1297  // *Returns:* { r, g, b } in the set [0, 255]
1298  function hslToRgb(h, s, l) {
1299      var r, g, b;
1300  
1301      h = bound01(h, 360);
1302      s = bound01(s, 100);
1303      l = bound01(l, 100);
1304  
1305      function hue2rgb(p, q, t) {
1306          if(t < 0) t += 1;
1307          if(t > 1) t -= 1;
1308          if(t < 1/6) return p + (q - p) * 6 * t;
1309          if(t < 1/2) return q;
1310          if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
1311          return p;
1312      }
1313  
1314      if(s === 0) {
1315          r = g = b = l; // achromatic
1316      }
1317      else {
1318          var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
1319          var p = 2 * l - q;
1320          r = hue2rgb(p, q, h + 1/3);
1321          g = hue2rgb(p, q, h);
1322          b = hue2rgb(p, q, h - 1/3);
1323      }
1324  
1325      return { r: r * 255, g: g * 255, b: b * 255 };
1326  }
1327  
1328  // `rgbToHsv`
1329  // Converts an RGB color value to HSV
1330  // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
1331  // *Returns:* { h, s, v } in [0,1]
1332  function rgbToHsv(r, g, b) {
1333  
1334      r = bound01(r, 255);
1335      g = bound01(g, 255);
1336      b = bound01(b, 255);
1337  
1338      var max = mathMax(r, g, b), min = mathMin(r, g, b);
1339      var h, s, v = max;
1340  
1341      var d = max - min;
1342      s = max === 0 ? 0 : d / max;
1343  
1344      if(max == min) {
1345          h = 0; // achromatic
1346      }
1347      else {
1348          switch(max) {
1349              case r: h = (g - b) / d + (g < b ? 6 : 0); break;
1350              case g: h = (b - r) / d + 2; break;
1351              case b: h = (r - g) / d + 4; break;
1352          }
1353          h /= 6;
1354      }
1355      return { h: h, s: s, v: v };
1356  }
1357  
1358  // `hsvToRgb`
1359  // Converts an HSV color value to RGB.
1360  // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
1361  // *Returns:* { r, g, b } in the set [0, 255]
1362   function hsvToRgb(h, s, v) {
1363  
1364      h = bound01(h, 360) * 6;
1365      s = bound01(s, 100);
1366      v = bound01(v, 100);
1367  
1368      var i = Math.floor(h),
1369          f = h - i,
1370          p = v * (1 - s),
1371          q = v * (1 - f * s),
1372          t = v * (1 - (1 - f) * s),
1373          mod = i % 6,
1374          r = [v, q, p, p, t, v][mod],
1375          g = [t, v, v, q, p, p][mod],
1376          b = [p, p, t, v, v, q][mod];
1377  
1378      return { r: r * 255, g: g * 255, b: b * 255 };
1379  }
1380  
1381  // `rgbToHex`
1382  // Converts an RGB color to hex
1383  // Assumes r, g, and b are contained in the set [0, 255]
1384  // Returns a 3 or 6 character hex
1385  function rgbToHex(r, g, b, allow3Char) {
1386  
1387      var hex = [
1388          pad2(mathRound(r).toString(16)),
1389          pad2(mathRound(g).toString(16)),
1390          pad2(mathRound(b).toString(16))
1391      ];
1392  
1393      // Return a 3 character hex if possible
1394      if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
1395          return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
1396      }
1397  
1398      return hex.join("");
1399  }
1400  
1401  // `rgbaToHex`
1402  // Converts an RGBA color plus alpha transparency to hex
1403  // Assumes r, g, b are contained in the set [0, 255] and
1404  // a in [0, 1]. Returns a 4 or 8 character rgba hex
1405  function rgbaToHex(r, g, b, a, allow4Char) {
1406  
1407      var hex = [
1408          pad2(mathRound(r).toString(16)),
1409          pad2(mathRound(g).toString(16)),
1410          pad2(mathRound(b).toString(16)),
1411          pad2(convertDecimalToHex(a))
1412      ];
1413  
1414      // Return a 4 character hex if possible
1415      if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
1416          return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
1417      }
1418  
1419      return hex.join("");
1420  }
1421  
1422  // `rgbaToArgbHex`
1423  // Converts an RGBA color to an ARGB Hex8 string
1424  // Rarely used, but required for "toFilter()"
1425  function rgbaToArgbHex(r, g, b, a) {
1426  
1427      var hex = [
1428          pad2(convertDecimalToHex(a)),
1429          pad2(mathRound(r).toString(16)),
1430          pad2(mathRound(g).toString(16)),
1431          pad2(mathRound(b).toString(16))
1432      ];
1433  
1434      return hex.join("");
1435  }
1436  
1437  // `equals`
1438  // Can be called with any tinycolor input
1439  tinycolor.equals = function (color1, color2) {
1440      if (!color1 || !color2) { return false; }
1441      return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
1442  };
1443  
1444  tinycolor.random = function() {
1445      return tinycolor.fromRatio({
1446          r: mathRandom(),
1447          g: mathRandom(),
1448          b: mathRandom()
1449      });
1450  };
1451  
1452  
1453  // Modification Functions
1454  // ----------------------
1455  // Thanks to less.js for some of the basics here
1456  // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
1457  
1458  function desaturate(color, amount) {
1459      amount = (amount === 0) ? 0 : (amount || 10);
1460      var hsl = tinycolor(color).toHsl();
1461      hsl.s -= amount / 100;
1462      hsl.s = clamp01(hsl.s);
1463      return tinycolor(hsl);
1464  }
1465  
1466  function saturate(color, amount) {
1467      amount = (amount === 0) ? 0 : (amount || 10);
1468      var hsl = tinycolor(color).toHsl();
1469      hsl.s += amount / 100;
1470      hsl.s = clamp01(hsl.s);
1471      return tinycolor(hsl);
1472  }
1473  
1474  function greyscale(color) {
1475      return tinycolor(color).desaturate(100);
1476  }
1477  
1478  function lighten (color, amount) {
1479      amount = (amount === 0) ? 0 : (amount || 10);
1480      var hsl = tinycolor(color).toHsl();
1481      hsl.l += amount / 100;
1482      hsl.l = clamp01(hsl.l);
1483      return tinycolor(hsl);
1484  }
1485  
1486  function brighten(color, amount) {
1487      amount = (amount === 0) ? 0 : (amount || 10);
1488      var rgb = tinycolor(color).toRgb();
1489      rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100))));
1490      rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100))));
1491      rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100))));
1492      return tinycolor(rgb);
1493  }
1494  
1495  function darken (color, amount) {
1496      amount = (amount === 0) ? 0 : (amount || 10);
1497      var hsl = tinycolor(color).toHsl();
1498      hsl.l -= amount / 100;
1499      hsl.l = clamp01(hsl.l);
1500      return tinycolor(hsl);
1501  }
1502  
1503  // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
1504  // Values outside of this range will be wrapped into this range.
1505  function spin(color, amount) {
1506      var hsl = tinycolor(color).toHsl();
1507      var hue = (hsl.h + amount) % 360;
1508      hsl.h = hue < 0 ? 360 + hue : hue;
1509      return tinycolor(hsl);
1510  }
1511  
1512  // Combination Functions
1513  // ---------------------
1514  // Thanks to jQuery xColor for some of the ideas behind these
1515  // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
1516  
1517  function complement(color) {
1518      var hsl = tinycolor(color).toHsl();
1519      hsl.h = (hsl.h + 180) % 360;
1520      return tinycolor(hsl);
1521  }
1522  
1523  function triad(color) {
1524      var hsl = tinycolor(color).toHsl();
1525      var h = hsl.h;
1526      return [
1527          tinycolor(color),
1528          tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
1529          tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
1530      ];
1531  }
1532  
1533  function tetrad(color) {
1534      var hsl = tinycolor(color).toHsl();
1535      var h = hsl.h;
1536      return [
1537          tinycolor(color),
1538          tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
1539          tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
1540          tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
1541      ];
1542  }
1543  
1544  function splitcomplement(color) {
1545      var hsl = tinycolor(color).toHsl();
1546      var h = hsl.h;
1547      return [
1548          tinycolor(color),
1549          tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
1550          tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
1551      ];
1552  }
1553  
1554  function analogous(color, results, slices) {
1555      results = results || 6;
1556      slices = slices || 30;
1557  
1558      var hsl = tinycolor(color).toHsl();
1559      var part = 360 / slices;
1560      var ret = [tinycolor(color)];
1561  
1562      for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
1563          hsl.h = (hsl.h + part) % 360;
1564          ret.push(tinycolor(hsl));
1565      }
1566      return ret;
1567  }
1568  
1569  function monochromatic(color, results) {
1570      results = results || 6;
1571      var hsv = tinycolor(color).toHsv();
1572      var h = hsv.h, s = hsv.s, v = hsv.v;
1573      var ret = [];
1574      var modification = 1 / results;
1575  
1576      while (results--) {
1577          ret.push(tinycolor({ h: h, s: s, v: v}));
1578          v = (v + modification) % 1;
1579      }
1580  
1581      return ret;
1582  }
1583  
1584  // Utility Functions
1585  // ---------------------
1586  
1587  tinycolor.mix = function(color1, color2, amount) {
1588      amount = (amount === 0) ? 0 : (amount || 50);
1589  
1590      var rgb1 = tinycolor(color1).toRgb();
1591      var rgb2 = tinycolor(color2).toRgb();
1592  
1593      var p = amount / 100;
1594  
1595      var rgba = {
1596          r: ((rgb2.r - rgb1.r) * p) + rgb1.r,
1597          g: ((rgb2.g - rgb1.g) * p) + rgb1.g,
1598          b: ((rgb2.b - rgb1.b) * p) + rgb1.b,
1599          a: ((rgb2.a - rgb1.a) * p) + rgb1.a
1600      };
1601  
1602      return tinycolor(rgba);
1603  };
1604  
1605  
1606  // Readability Functions
1607  // ---------------------
1608  // <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
1609  
1610  // `contrast`
1611  // Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
1612  tinycolor.readability = function(color1, color2) {
1613      var c1 = tinycolor(color1);
1614      var c2 = tinycolor(color2);
1615      return (Math.max(c1.getLuminance(),c2.getLuminance())+0.05) / (Math.min(c1.getLuminance(),c2.getLuminance())+0.05);
1616  };
1617  
1618  // `isReadable`
1619  // Ensure that foreground and background color combinations meet WCAG2 guidelines.
1620  // The third argument is an optional Object.
1621  //      the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
1622  //      the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
1623  // If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
1624  
1625  // *Example*
1626  //    tinycolor.isReadable("#000", "#111") => false
1627  //    tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
1628  tinycolor.isReadable = function(color1, color2, wcag2) {
1629      var readability = tinycolor.readability(color1, color2);
1630      var wcag2Parms, out;
1631  
1632      out = false;
1633  
1634      wcag2Parms = validateWCAG2Parms(wcag2);
1635      switch (wcag2Parms.level + wcag2Parms.size) {
1636          case "AAsmall":
1637          case "AAAlarge":
1638              out = readability >= 4.5;
1639              break;
1640          case "AAlarge":
1641              out = readability >= 3;
1642              break;
1643          case "AAAsmall":
1644              out = readability >= 7;
1645              break;
1646      }
1647      return out;
1648  
1649  };
1650  
1651  // `mostReadable`
1652  // Given a base color and a list of possible foreground or background
1653  // colors for that base, returns the most readable color.
1654  // Optionally returns Black or White if the most readable color is unreadable.
1655  // *Example*
1656  //    tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
1657  //    tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString();  // "#ffffff"
1658  //    tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
1659  //    tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
1660  tinycolor.mostReadable = function(baseColor, colorList, args) {
1661      var bestColor = null;
1662      var bestScore = 0;
1663      var readability;
1664      var includeFallbackColors, level, size ;
1665      args = args || {};
1666      includeFallbackColors = args.includeFallbackColors ;
1667      level = args.level;
1668      size = args.size;
1669  
1670      for (var i= 0; i < colorList.length ; i++) {
1671          readability = tinycolor.readability(baseColor, colorList[i]);
1672          if (readability > bestScore) {
1673              bestScore = readability;
1674              bestColor = tinycolor(colorList[i]);
1675          }
1676      }
1677  
1678      if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) {
1679          return bestColor;
1680      }
1681      else {
1682          args.includeFallbackColors=false;
1683          return tinycolor.mostReadable(baseColor,["#fff", "#000"],args);
1684      }
1685  };
1686  
1687  
1688  // Big List of Colors
1689  // ------------------
1690  // <http://www.w3.org/TR/css3-color/#svg-color>
1691  var names = tinycolor.names = {
1692      aliceblue: "f0f8ff",
1693      antiquewhite: "faebd7",
1694      aqua: "0ff",
1695      aquamarine: "7fffd4",
1696      azure: "f0ffff",
1697      beige: "f5f5dc",
1698      bisque: "ffe4c4",
1699      black: "000",
1700      blanchedalmond: "ffebcd",
1701      blue: "00f",
1702      blueviolet: "8a2be2",
1703      brown: "a52a2a",
1704      burlywood: "deb887",
1705      burntsienna: "ea7e5d",
1706      cadetblue: "5f9ea0",
1707      chartreuse: "7fff00",
1708      chocolate: "d2691e",
1709      coral: "ff7f50",
1710      cornflowerblue: "6495ed",
1711      cornsilk: "fff8dc",
1712      crimson: "dc143c",
1713      cyan: "0ff",
1714      darkblue: "00008b",
1715      darkcyan: "008b8b",
1716      darkgoldenrod: "b8860b",
1717      darkgray: "a9a9a9",
1718      darkgreen: "006400",
1719      darkgrey: "a9a9a9",
1720      darkkhaki: "bdb76b",
1721      darkmagenta: "8b008b",
1722      darkolivegreen: "556b2f",
1723      darkorange: "ff8c00",
1724      darkorchid: "9932cc",
1725      darkred: "8b0000",
1726      darksalmon: "e9967a",
1727      darkseagreen: "8fbc8f",
1728      darkslateblue: "483d8b",
1729      darkslategray: "2f4f4f",
1730      darkslategrey: "2f4f4f",
1731      darkturquoise: "00ced1",
1732      darkviolet: "9400d3",
1733      deeppink: "ff1493",
1734      deepskyblue: "00bfff",
1735      dimgray: "696969",
1736      dimgrey: "696969",
1737      dodgerblue: "1e90ff",
1738      firebrick: "b22222",
1739      floralwhite: "fffaf0",
1740      forestgreen: "228b22",
1741      fuchsia: "f0f",
1742      gainsboro: "dcdcdc",
1743      ghostwhite: "f8f8ff",
1744      gold: "ffd700",
1745      goldenrod: "daa520",
1746      gray: "808080",
1747      green: "008000",
1748      greenyellow: "adff2f",
1749      grey: "808080",
1750      honeydew: "f0fff0",
1751      hotpink: "ff69b4",
1752      indianred: "cd5c5c",
1753      indigo: "4b0082",
1754      ivory: "fffff0",
1755      khaki: "f0e68c",
1756      lavender: "e6e6fa",
1757      lavenderblush: "fff0f5",
1758      lawngreen: "7cfc00",
1759      lemonchiffon: "fffacd",
1760      lightblue: "add8e6",
1761      lightcoral: "f08080",
1762      lightcyan: "e0ffff",
1763      lightgoldenrodyellow: "fafad2",
1764      lightgray: "d3d3d3",
1765      lightgreen: "90ee90",
1766      lightgrey: "d3d3d3",
1767      lightpink: "ffb6c1",
1768      lightsalmon: "ffa07a",
1769      lightseagreen: "20b2aa",
1770      lightskyblue: "87cefa",
1771      lightslategray: "789",
1772      lightslategrey: "789",
1773      lightsteelblue: "b0c4de",
1774      lightyellow: "ffffe0",
1775      lime: "0f0",
1776      limegreen: "32cd32",
1777      linen: "faf0e6",
1778      magenta: "f0f",
1779      maroon: "800000",
1780      mediumaquamarine: "66cdaa",
1781      mediumblue: "0000cd",
1782      mediumorchid: "ba55d3",
1783      mediumpurple: "9370db",
1784      mediumseagreen: "3cb371",
1785      mediumslateblue: "7b68ee",
1786      mediumspringgreen: "00fa9a",
1787      mediumturquoise: "48d1cc",
1788      mediumvioletred: "c71585",
1789      midnightblue: "191970",
1790      mintcream: "f5fffa",
1791      mistyrose: "ffe4e1",
1792      moccasin: "ffe4b5",
1793      navajowhite: "ffdead",
1794      navy: "000080",
1795      oldlace: "fdf5e6",
1796      olive: "808000",
1797      olivedrab: "6b8e23",
1798      orange: "ffa500",
1799      orangered: "ff4500",
1800      orchid: "da70d6",
1801      palegoldenrod: "eee8aa",
1802      palegreen: "98fb98",
1803      paleturquoise: "afeeee",
1804      palevioletred: "db7093",
1805      papayawhip: "ffefd5",
1806      peachpuff: "ffdab9",
1807      peru: "cd853f",
1808      pink: "ffc0cb",
1809      plum: "dda0dd",
1810      powderblue: "b0e0e6",
1811      purple: "800080",
1812      rebeccapurple: "663399",
1813      red: "f00",
1814      rosybrown: "bc8f8f",
1815      royalblue: "4169e1",
1816      saddlebrown: "8b4513",
1817      salmon: "fa8072",
1818      sandybrown: "f4a460",
1819      seagreen: "2e8b57",
1820      seashell: "fff5ee",
1821      sienna: "a0522d",
1822      silver: "c0c0c0",
1823      skyblue: "87ceeb",
1824      slateblue: "6a5acd",
1825      slategray: "708090",
1826      slategrey: "708090",
1827      snow: "fffafa",
1828      springgreen: "00ff7f",
1829      steelblue: "4682b4",
1830      tan: "d2b48c",
1831      teal: "008080",
1832      thistle: "d8bfd8",
1833      tomato: "ff6347",
1834      turquoise: "40e0d0",
1835      violet: "ee82ee",
1836      wheat: "f5deb3",
1837      white: "fff",
1838      whitesmoke: "f5f5f5",
1839      yellow: "ff0",
1840      yellowgreen: "9acd32"
1841  };
1842  
1843  // Make it easy to access colors via `hexNames[hex]`
1844  var hexNames = tinycolor.hexNames = flip(names);
1845  
1846  
1847  // Utilities
1848  // ---------
1849  
1850  // `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
1851  function flip(o) {
1852      var flipped = { };
1853      for (var i in o) {
1854          if (o.hasOwnProperty(i)) {
1855              flipped[o[i]] = i;
1856          }
1857      }
1858      return flipped;
1859  }
1860  
1861  // Return a valid alpha value [0,1] with all invalid values being set to 1
1862  function boundAlpha(a) {
1863      a = parseFloat(a);
1864  
1865      if (isNaN(a) || a < 0 || a > 1) {
1866          a = 1;
1867      }
1868  
1869      return a;
1870  }
1871  
1872  // Take input from [0, n] and return it as [0, 1]
1873  function bound01(n, max) {
1874      if (isOnePointZero(n)) { n = "100%"; }
1875  
1876      var processPercent = isPercentage(n);
1877      n = mathMin(max, mathMax(0, parseFloat(n)));
1878  
1879      // Automatically convert percentage into number
1880      if (processPercent) {
1881          n = parseInt(n * max, 10) / 100;
1882      }
1883  
1884      // Handle floating point rounding errors
1885      if ((Math.abs(n - max) < 0.000001)) {
1886          return 1;
1887      }
1888  
1889      // Convert into [0, 1] range if it isn't already
1890      return (n % max) / parseFloat(max);
1891  }
1892  
1893  // Force a number between 0 and 1
1894  function clamp01(val) {
1895      return mathMin(1, mathMax(0, val));
1896  }
1897  
1898  // Parse a base-16 hex value into a base-10 integer
1899  function parseIntFromHex(val) {
1900      return parseInt(val, 16);
1901  }
1902  
1903  // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
1904  // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
1905  function isOnePointZero(n) {
1906      return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
1907  }
1908  
1909  // Check to see if string passed in is a percentage
1910  function isPercentage(n) {
1911      return typeof n === "string" && n.indexOf('%') != -1;
1912  }
1913  
1914  // Force a hex value to have 2 characters
1915  function pad2(c) {
1916      return c.length == 1 ? '0' + c : '' + c;
1917  }
1918  
1919  // Replace a decimal with it's percentage value
1920  function convertToPercentage(n) {
1921      if (n <= 1) {
1922          n = (n * 100) + "%";
1923      }
1924  
1925      return n;
1926  }
1927  
1928  // Converts a decimal to a hex value
1929  function convertDecimalToHex(d) {
1930      return Math.round(parseFloat(d) * 255).toString(16);
1931  }
1932  // Converts a hex value to a decimal
1933  function convertHexToDecimal(h) {
1934      return (parseIntFromHex(h) / 255);
1935  }
1936  
1937  var matchers = (function() {
1938  
1939      // <http://www.w3.org/TR/css3-values/#integers>
1940      var CSS_INTEGER = "[-\\+]?\\d+%?";
1941  
1942      // <http://www.w3.org/TR/css3-values/#number-value>
1943      var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
1944  
1945      // Allow positive/negative integer/number.  Don't capture the either/or, just the entire outcome.
1946      var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
1947  
1948      // Actual matching.
1949      // Parentheses and commas are optional, but not required.
1950      // Whitespace can take the place of commas or opening paren
1951      var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1952      var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1953  
1954      return {
1955          CSS_UNIT: new RegExp(CSS_UNIT),
1956          rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
1957          rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
1958          hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
1959          hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
1960          hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
1961          hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
1962          hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1963          hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1964          hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1965          hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1966      };
1967  })();
1968  
1969  // `isValidCSSUnit`
1970  // Take in a single string / number and check to see if it looks like a CSS unit
1971  // (see `matchers` above for definition).
1972  function isValidCSSUnit(color) {
1973      return !!matchers.CSS_UNIT.exec(color);
1974  }
1975  
1976  // `stringInputToObject`
1977  // Permissive string parsing.  Take in a number of formats, and output an object
1978  // based on detected format.  Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
1979  function stringInputToObject(color) {
1980  
1981      color = color.replace(trimLeft,'').replace(trimRight, '').toLowerCase();
1982      var named = false;
1983      if (names[color]) {
1984          color = names[color];
1985          named = true;
1986      }
1987      else if (color == 'transparent') {
1988          return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1989      }
1990  
1991      // Try to match string input using regular expressions.
1992      // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
1993      // Just return an object and let the conversion functions handle that.
1994      // This way the result will be the same whether the tinycolor is initialized with string or object.
1995      var match;
1996      if ((match = matchers.rgb.exec(color))) {
1997          return { r: match[1], g: match[2], b: match[3] };
1998      }
1999      if ((match = matchers.rgba.exec(color))) {
2000          return { r: match[1], g: match[2], b: match[3], a: match[4] };
2001      }
2002      if ((match = matchers.hsl.exec(color))) {
2003          return { h: match[1], s: match[2], l: match[3] };
2004      }
2005      if ((match = matchers.hsla.exec(color))) {
2006          return { h: match[1], s: match[2], l: match[3], a: match[4] };
2007      }
2008      if ((match = matchers.hsv.exec(color))) {
2009          return { h: match[1], s: match[2], v: match[3] };
2010      }
2011      if ((match = matchers.hsva.exec(color))) {
2012          return { h: match[1], s: match[2], v: match[3], a: match[4] };
2013      }
2014      if ((match = matchers.hex8.exec(color))) {
2015          return {
2016              r: parseIntFromHex(match[1]),
2017              g: parseIntFromHex(match[2]),
2018              b: parseIntFromHex(match[3]),
2019              a: convertHexToDecimal(match[4]),
2020              format: named ? "name" : "hex8"
2021          };
2022      }
2023      if ((match = matchers.hex6.exec(color))) {
2024          return {
2025              r: parseIntFromHex(match[1]),
2026              g: parseIntFromHex(match[2]),
2027              b: parseIntFromHex(match[3]),
2028              format: named ? "name" : "hex"
2029          };
2030      }
2031      if ((match = matchers.hex4.exec(color))) {
2032          return {
2033              r: parseIntFromHex(match[1] + '' + match[1]),
2034              g: parseIntFromHex(match[2] + '' + match[2]),
2035              b: parseIntFromHex(match[3] + '' + match[3]),
2036              a: convertHexToDecimal(match[4] + '' + match[4]),
2037              format: named ? "name" : "hex8"
2038          };
2039      }
2040      if ((match = matchers.hex3.exec(color))) {
2041          return {
2042              r: parseIntFromHex(match[1] + '' + match[1]),
2043              g: parseIntFromHex(match[2] + '' + match[2]),
2044              b: parseIntFromHex(match[3] + '' + match[3]),
2045              format: named ? "name" : "hex"
2046          };
2047      }
2048  
2049      return false;
2050  }
2051  
2052  function validateWCAG2Parms(parms) {
2053      // return valid WCAG2 parms for isReadable.
2054      // If input parms are invalid, return {"level":"AA", "size":"small"}
2055      var level, size;
2056      parms = parms || {"level":"AA", "size":"small"};
2057      level = (parms.level || "AA").toUpperCase();
2058      size = (parms.size || "small").toLowerCase();
2059      if (level !== "AA" && level !== "AAA") {
2060          level = "AA";
2061      }
2062      if (size !== "small" && size !== "large") {
2063          size = "small";
2064      }
2065      return {"level":level, "size":size};
2066  }
2067  
2068  // Node: Export function
2069  if ( true && module.exports) {
2070      module.exports = tinycolor;
2071  }
2072  // AMD/requirejs: Define the module
2073  else if (true) {
2074      !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {return tinycolor;}).call(exports, __webpack_require__, exports, module),
2075                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
2076  }
2077  // Browser: Expose to window
2078  else {}
2079  
2080  })(Math);
2081  
2082  
2083  /***/ }),
2084  /* 46 */,
2085  /* 47 */,
2086  /* 48 */,
2087  /* 49 */
2088  /***/ (function(module, exports) {
2089  
2090  (function() { module.exports = this["wp"]["deprecated"]; }());
2091  
2092  /***/ }),
2093  /* 50 */
2094  /***/ (function(module, exports) {
2095  
2096  (function() { module.exports = this["wp"]["date"]; }());
2097  
2098  /***/ }),
2099  /* 51 */,
2100  /* 52 */,
2101  /* 53 */
2102  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2103  
2104  "use strict";
2105  /* unused harmony export matchesPatterns */
2106  /* unused harmony export findBlock */
2107  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isFromWordPress; });
2108  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPhotoHtml; });
2109  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createUpgradedEmbedBlock; });
2110  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getClassNames; });
2111  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return fallback; });
2112  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
2113  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
2114  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
2115  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0);
2116  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
2117  /* harmony import */ var _core_embeds__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84);
2118  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(57);
2119  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2);
2120  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_6__);
2121  /* harmony import */ var classnames_dedupe__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68);
2122  /* harmony import */ var classnames_dedupe__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames_dedupe__WEBPACK_IMPORTED_MODULE_7__);
2123  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14);
2124  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__);
2125  
2126  
2127  
2128  
2129  
2130  /**
2131   * Internal dependencies
2132   */
2133  
2134  
2135  /**
2136   * External dependencies
2137   */
2138  
2139  
2140  
2141  /**
2142   * WordPress dependencies
2143   */
2144  
2145  
2146  
2147  /**
2148   * Returns true if any of the regular expressions match the URL.
2149   *
2150   * @param {string}   url      The URL to test.
2151   * @param {Array}    patterns The list of regular expressions to test agains.
2152   * @return {boolean} True if any of the regular expressions match the URL.
2153   */
2154  
2155  var matchesPatterns = function matchesPatterns(url) {
2156    var patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
2157    return patterns.some(function (pattern) {
2158      return url.match(pattern);
2159    });
2160  };
2161  /**
2162   * Finds the block name that should be used for the URL, based on the
2163   * structure of the URL.
2164   *
2165   * @param {string}  url The URL to test.
2166   * @return {string} The name of the block that should be used for this URL, e.g. core-embed/twitter
2167   */
2168  
2169  var findBlock = function findBlock(url) {
2170    var _arr = [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_core_embeds__WEBPACK_IMPORTED_MODULE_4__[/* common */ "a"]), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_core_embeds__WEBPACK_IMPORTED_MODULE_4__[/* others */ "b"]));
2171  
2172    for (var _i = 0; _i < _arr.length; _i++) {
2173      var block = _arr[_i];
2174  
2175      if (matchesPatterns(url, block.patterns)) {
2176        return block.name;
2177      }
2178    }
2179  
2180    return _constants__WEBPACK_IMPORTED_MODULE_5__[/* DEFAULT_EMBED_BLOCK */ "b"];
2181  };
2182  var isFromWordPress = function isFromWordPress(html) {
2183    return Object(lodash__WEBPACK_IMPORTED_MODULE_6__["includes"])(html, 'class="wp-embedded-content"');
2184  };
2185  var getPhotoHtml = function getPhotoHtml(photo) {
2186    // 100% width for the preview so it fits nicely into the document, some "thumbnails" are
2187    // actually the full size photo. If thumbnails not found, use full image.
2188    var imageUrl = photo.thumbnail_url ? photo.thumbnail_url : photo.url;
2189    var photoPreview = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("p", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("img", {
2190      src: imageUrl,
2191      alt: photo.title,
2192      width: "100%"
2193    }));
2194    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["renderToString"])(photoPreview);
2195  };
2196  /***
2197   * Creates a more suitable embed block based on the passed in props
2198   * and attributes generated from an embed block's preview.
2199   *
2200   * We require `attributesFromPreview` to be generated from the latest attributes
2201   * and preview, and because of the way the react lifecycle operates, we can't
2202   * guarantee that the attributes contained in the block's props are the latest
2203   * versions, so we require that these are generated separately.
2204   * See `getAttributesFromPreview` in the generated embed edit component.
2205   *
2206   * @param {Object}            props                 The block's props.
2207   * @param {Object}            attributesFromPreview Attributes generated from the block's most up to date preview.
2208   * @return {Object|undefined} A more suitable embed block if one exists.
2209   */
2210  
2211  var createUpgradedEmbedBlock = function createUpgradedEmbedBlock(props, attributesFromPreview) {
2212    var preview = props.preview,
2213        name = props.name;
2214    var url = props.attributes.url;
2215  
2216    if (!url) {
2217      return;
2218    }
2219  
2220    var matchingBlock = findBlock(url); // WordPress blocks can work on multiple sites, and so don't have patterns,
2221    // so if we're in a WordPress block, assume the user has chosen it for a WordPress URL.
2222  
2223    if (_constants__WEBPACK_IMPORTED_MODULE_5__[/* WORDPRESS_EMBED_BLOCK */ "d"] !== name && _constants__WEBPACK_IMPORTED_MODULE_5__[/* DEFAULT_EMBED_BLOCK */ "b"] !== matchingBlock) {
2224      // At this point, we have discovered a more suitable block for this url, so transform it.
2225      if (name !== matchingBlock) {
2226        return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__["createBlock"])(matchingBlock, {
2227          url: url
2228        });
2229      }
2230    }
2231  
2232    if (preview) {
2233      var html = preview.html; // We can't match the URL for WordPress embeds, we have to check the HTML instead.
2234  
2235      if (isFromWordPress(html)) {
2236        // If this is not the WordPress embed block, transform it into one.
2237        if (_constants__WEBPACK_IMPORTED_MODULE_5__[/* WORDPRESS_EMBED_BLOCK */ "d"] !== name) {
2238          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__["createBlock"])(_constants__WEBPACK_IMPORTED_MODULE_5__[/* WORDPRESS_EMBED_BLOCK */ "d"], Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({
2239            url: url
2240          }, attributesFromPreview));
2241        }
2242      }
2243    }
2244  };
2245  /**
2246   * Returns class names with any relevant responsive aspect ratio names.
2247   *
2248   * @param {string}  html               The preview HTML that possibly contains an iframe with width and height set.
2249   * @param {string}  existingClassNames Any existing class names.
2250   * @param {boolean} allowResponsive    If the responsive class names should be added, or removed.
2251   * @return {string} Deduped class names.
2252   */
2253  
2254  function getClassNames(html) {
2255    var existingClassNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
2256    var allowResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
2257  
2258    if (!allowResponsive) {
2259      // Remove all of the aspect ratio related class names.
2260      var aspectRatioClassNames = {
2261        'wp-has-aspect-ratio': false
2262      };
2263  
2264      for (var ratioIndex = 0; ratioIndex < _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"].length; ratioIndex++) {
2265        var aspectRatioToRemove = _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"][ratioIndex];
2266        aspectRatioClassNames[aspectRatioToRemove.className] = false;
2267      }
2268  
2269      return classnames_dedupe__WEBPACK_IMPORTED_MODULE_7___default()(existingClassNames, aspectRatioClassNames);
2270    }
2271  
2272    var previewDocument = document.implementation.createHTMLDocument('');
2273    previewDocument.body.innerHTML = html;
2274    var iframe = previewDocument.body.querySelector('iframe'); // If we have a fixed aspect iframe, and it's a responsive embed block.
2275  
2276    if (iframe && iframe.height && iframe.width) {
2277      var aspectRatio = (iframe.width / iframe.height).toFixed(2); // Given the actual aspect ratio, find the widest ratio to support it.
2278  
2279      for (var _ratioIndex = 0; _ratioIndex < _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"].length; _ratioIndex++) {
2280        var potentialRatio = _constants__WEBPACK_IMPORTED_MODULE_5__[/* ASPECT_RATIOS */ "a"][_ratioIndex];
2281  
2282        if (aspectRatio >= potentialRatio.ratio) {
2283          var _classnames;
2284  
2285          return classnames_dedupe__WEBPACK_IMPORTED_MODULE_7___default()(existingClassNames, (_classnames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classnames, potentialRatio.className, allowResponsive), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classnames, 'wp-has-aspect-ratio', allowResponsive), _classnames));
2286        }
2287      }
2288    }
2289  
2290    return existingClassNames;
2291  }
2292  /**
2293   * Fallback behaviour for unembeddable URLs.
2294   * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
2295   *
2296   * @param {string}   url       The URL that could not be embedded.
2297   * @param {function} onReplace Function to call with the created fallback block.
2298   */
2299  
2300  function fallback(url, onReplace) {
2301    var link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("a", {
2302      href: url
2303    }, url);
2304    onReplace(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_8__["createBlock"])('core/paragraph', {
2305      content: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["renderToString"])(link)
2306    }));
2307  }
2308  
2309  
2310  /***/ }),
2311  /* 54 */,
2312  /* 55 */,
2313  /* 56 */,
2314  /* 57 */
2315  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2316  
2317  "use strict";
2318  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return HOSTS_NO_PREVIEWS; });
2319  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ASPECT_RATIOS; });
2320  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return DEFAULT_EMBED_BLOCK; });
2321  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return WORDPRESS_EMBED_BLOCK; });
2322  // These embeds do not work in sandboxes due to the iframe's security restrictions.
2323  var HOSTS_NO_PREVIEWS = ['facebook.com', 'smugmug.com'];
2324  var ASPECT_RATIOS = [// Common video resolutions.
2325  {
2326    ratio: '2.33',
2327    className: 'wp-embed-aspect-21-9'
2328  }, {
2329    ratio: '2.00',
2330    className: 'wp-embed-aspect-18-9'
2331  }, {
2332    ratio: '1.78',
2333    className: 'wp-embed-aspect-16-9'
2334  }, {
2335    ratio: '1.33',
2336    className: 'wp-embed-aspect-4-3'
2337  }, // Vertical video and instagram square video support.
2338  {
2339    ratio: '1.00',
2340    className: 'wp-embed-aspect-1-1'
2341  }, {
2342    ratio: '0.56',
2343    className: 'wp-embed-aspect-9-16'
2344  }, {
2345    ratio: '0.50',
2346    className: 'wp-embed-aspect-1-2'
2347  }];
2348  var DEFAULT_EMBED_BLOCK = 'core/embed';
2349  var WORDPRESS_EMBED_BLOCK = 'core-embed/wordpress';
2350  
2351  
2352  /***/ }),
2353  /* 58 */
2354  /***/ (function(module, exports) {
2355  
2356  var g;
2357  
2358  // This works in non-strict mode
2359  g = (function() {
2360      return this;
2361  })();
2362  
2363  try {
2364      // This works if eval is allowed (see CSP)
2365      g = g || new Function("return this")();
2366  } catch (e) {
2367      // This works if the window reference is available
2368      if (typeof window === "object") g = window;
2369  }
2370  
2371  // g can still be undefined, but nothing to do about it...
2372  // We return undefined, instead of nothing here, so it's
2373  // easier to handle this case. if(!global) { ...}
2374  
2375  module.exports = g;
2376  
2377  
2378  /***/ }),
2379  /* 59 */,
2380  /* 60 */,
2381  /* 61 */,
2382  /* 62 */,
2383  /* 63 */,
2384  /* 64 */,
2385  /* 65 */,
2386  /* 66 */
2387  /***/ (function(module, exports) {
2388  
2389  (function() { module.exports = this["wp"]["autop"]; }());
2390  
2391  /***/ }),
2392  /* 67 */,
2393  /* 68 */
2394  /***/ (function(module, exports, __webpack_require__) {
2395  
2396  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
2397    Copyright (c) 2017 Jed Watson.
2398    Licensed under the MIT License (MIT), see
2399    http://jedwatson.github.io/classnames
2400  */
2401  /* global define */
2402  
2403  (function () {
2404      'use strict';
2405  
2406      var classNames = (function () {
2407          // don't inherit from Object so we can skip hasOwnProperty check later
2408          // http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232
2409  		function StorageObject() {}
2410          StorageObject.prototype = Object.create(null);
2411  
2412  		function _parseArray (resultSet, array) {
2413              var length = array.length;
2414  
2415              for (var i = 0; i < length; ++i) {
2416                  _parse(resultSet, array[i]);
2417              }
2418          }
2419  
2420          var hasOwn = {}.hasOwnProperty;
2421  
2422  		function _parseNumber (resultSet, num) {
2423              resultSet[num] = true;
2424          }
2425  
2426  		function _parseObject (resultSet, object) {
2427              for (var k in object) {
2428                  if (hasOwn.call(object, k)) {
2429                      // set value to false instead of deleting it to avoid changing object structure
2430                      // https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/#de-referencing-misconceptions
2431                      resultSet[k] = !!object[k];
2432                  }
2433              }
2434          }
2435  
2436          var SPACE = /\s+/;
2437  		function _parseString (resultSet, str) {
2438              var array = str.split(SPACE);
2439              var length = array.length;
2440  
2441              for (var i = 0; i < length; ++i) {
2442                  resultSet[array[i]] = true;
2443              }
2444          }
2445  
2446  		function _parse (resultSet, arg) {
2447              if (!arg) return;
2448              var argType = typeof arg;
2449  
2450              // 'foo bar'
2451              if (argType === 'string') {
2452                  _parseString(resultSet, arg);
2453  
2454              // ['foo', 'bar', ...]
2455              } else if (Array.isArray(arg)) {
2456                  _parseArray(resultSet, arg);
2457  
2458              // { 'foo': true, ... }
2459              } else if (argType === 'object') {
2460                  _parseObject(resultSet, arg);
2461  
2462              // '130'
2463              } else if (argType === 'number') {
2464                  _parseNumber(resultSet, arg);
2465              }
2466          }
2467  
2468  		function _classNames () {
2469              // don't leak arguments
2470              // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments
2471              var len = arguments.length;
2472              var args = Array(len);
2473              for (var i = 0; i < len; i++) {
2474                  args[i] = arguments[i];
2475              }
2476  
2477              var classSet = new StorageObject();
2478              _parseArray(classSet, args);
2479  
2480              var list = [];
2481  
2482              for (var k in classSet) {
2483                  if (classSet[k]) {
2484                      list.push(k)
2485                  }
2486              }
2487  
2488              return list.join(' ');
2489          }
2490  
2491          return _classNames;
2492      })();
2493  
2494      if ( true && module.exports) {
2495          classNames.default = classNames;
2496          module.exports = classNames;
2497      } else if (true) {
2498          // register as 'classnames', consistent with npm package name
2499          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
2500              return classNames;
2501          }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
2502                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
2503      } else {}
2504  }());
2505  
2506  
2507  /***/ }),
2508  /* 69 */,
2509  /* 70 */,
2510  /* 71 */,
2511  /* 72 */
2512  /***/ (function(module, exports) {
2513  
2514  (function() { module.exports = this["wp"]["coreData"]; }());
2515  
2516  /***/ }),
2517  /* 73 */,
2518  /* 74 */,
2519  /* 75 */,
2520  /* 76 */,
2521  /* 77 */,
2522  /* 78 */,
2523  /* 79 */,
2524  /* 80 */,
2525  /* 81 */,
2526  /* 82 */,
2527  /* 83 */
2528  /***/ (function(module, exports, __webpack_require__) {
2529  
2530  "use strict";
2531  // Copyright Joyent, Inc. and other Node contributors.
2532  //
2533  // Permission is hereby granted, free of charge, to any person obtaining a
2534  // copy of this software and associated documentation files (the
2535  // "Software"), to deal in the Software without restriction, including
2536  // without limitation the rights to use, copy, modify, merge, publish,
2537  // distribute, sublicense, and/or sell copies of the Software, and to permit
2538  // persons to whom the Software is furnished to do so, subject to the
2539  // following conditions:
2540  //
2541  // The above copyright notice and this permission notice shall be included
2542  // in all copies or substantial portions of the Software.
2543  //
2544  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2545  // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2546  // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
2547  // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
2548  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
2549  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2550  // USE OR OTHER DEALINGS IN THE SOFTWARE.
2551  
2552  
2553  
2554  var punycode = __webpack_require__(117);
2555  var util = __webpack_require__(119);
2556  
2557  exports.parse = urlParse;
2558  exports.resolve = urlResolve;
2559  exports.resolveObject = urlResolveObject;
2560  exports.format = urlFormat;
2561  
2562  exports.Url = Url;
2563  
2564  function Url() {
2565    this.protocol = null;
2566    this.slashes = null;
2567    this.auth = null;
2568    this.host = null;
2569    this.port = null;
2570    this.hostname = null;
2571    this.hash = null;
2572    this.search = null;
2573    this.query = null;
2574    this.pathname = null;
2575    this.path = null;
2576    this.href = null;
2577  }
2578  
2579  // Reference: RFC 3986, RFC 1808, RFC 2396
2580  
2581  // define these here so at least they only have to be
2582  // compiled once on the first module load.
2583  var protocolPattern = /^([a-z0-9.+-]+:)/i,
2584      portPattern = /:[0-9]*$/,
2585  
2586      // Special case for a simple path URL
2587      simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
2588  
2589      // RFC 2396: characters reserved for delimiting URLs.
2590      // We actually just auto-escape these.
2591      delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'],
2592  
2593      // RFC 2396: characters not allowed for various reasons.
2594      unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims),
2595  
2596      // Allowed by RFCs, but cause of XSS attacks.  Always escape these.
2597      autoEscape = ['\''].concat(unwise),
2598      // Characters that are never ever allowed in a hostname.
2599      // Note that any invalid chars are also handled, but these
2600      // are the ones that are *expected* to be seen, so we fast-path
2601      // them.
2602      nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),
2603      hostEndingChars = ['/', '?', '#'],
2604      hostnameMaxLen = 255,
2605      hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
2606      hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
2607      // protocols that can allow "unsafe" and "unwise" chars.
2608      unsafeProtocol = {
2609        'javascript': true,
2610        'javascript:': true
2611      },
2612      // protocols that never have a hostname.
2613      hostlessProtocol = {
2614        'javascript': true,
2615        'javascript:': true
2616      },
2617      // protocols that always contain a // bit.
2618      slashedProtocol = {
2619        'http': true,
2620        'https': true,
2621        'ftp': true,
2622        'gopher': true,
2623        'file': true,
2624        'http:': true,
2625        'https:': true,
2626        'ftp:': true,
2627        'gopher:': true,
2628        'file:': true
2629      },
2630      querystring = __webpack_require__(120);
2631  
2632  function urlParse(url, parseQueryString, slashesDenoteHost) {
2633    if (url && util.isObject(url) && url instanceof Url) return url;
2634  
2635    var u = new Url;
2636    u.parse(url, parseQueryString, slashesDenoteHost);
2637    return u;
2638  }
2639  
2640  Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
2641    if (!util.isString(url)) {
2642      throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
2643    }
2644  
2645    // Copy chrome, IE, opera backslash-handling behavior.
2646    // Back slashes before the query string get converted to forward slashes
2647    // See: https://code.google.com/p/chromium/issues/detail?id=25916
2648    var queryIndex = url.indexOf('?'),
2649        splitter =
2650            (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
2651        uSplit = url.split(splitter),
2652        slashRegex = /\\/g;
2653    uSplit[0] = uSplit[0].replace(slashRegex, '/');
2654    url = uSplit.join(splitter);
2655  
2656    var rest = url;
2657  
2658    // trim before proceeding.
2659    // This is to support parse stuff like "  http://foo.com  \n"
2660    rest = rest.trim();
2661  
2662    if (!slashesDenoteHost && url.split('#').length === 1) {
2663      // Try fast path regexp
2664      var simplePath = simplePathPattern.exec(rest);
2665      if (simplePath) {
2666        this.path = rest;
2667        this.href = rest;
2668        this.pathname = simplePath[1];
2669        if (simplePath[2]) {
2670          this.search = simplePath[2];
2671          if (parseQueryString) {
2672            this.query = querystring.parse(this.search.substr(1));
2673          } else {
2674            this.query = this.search.substr(1);
2675          }
2676        } else if (parseQueryString) {
2677          this.search = '';
2678          this.query = {};
2679        }
2680        return this;
2681      }
2682    }
2683  
2684    var proto = protocolPattern.exec(rest);
2685    if (proto) {
2686      proto = proto[0];
2687      var lowerProto = proto.toLowerCase();
2688      this.protocol = lowerProto;
2689      rest = rest.substr(proto.length);
2690    }
2691  
2692    // figure out if it's got a host
2693    // user@server is *always* interpreted as a hostname, and url
2694    // resolution will treat //foo/bar as host=foo,path=bar because that's
2695    // how the browser resolves relative URLs.
2696    if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
2697      var slashes = rest.substr(0, 2) === '//';
2698      if (slashes && !(proto && hostlessProtocol[proto])) {
2699        rest = rest.substr(2);
2700        this.slashes = true;
2701      }
2702    }
2703  
2704    if (!hostlessProtocol[proto] &&
2705        (slashes || (proto && !slashedProtocol[proto]))) {
2706  
2707      // there's a hostname.
2708      // the first instance of /, ?, ;, or # ends the host.
2709      //
2710      // If there is an @ in the hostname, then non-host chars *are* allowed
2711      // to the left of the last @ sign, unless some host-ending character
2712      // comes *before* the @-sign.
2713      // URLs are obnoxious.
2714      //
2715      // ex:
2716      // http://a@b@c/ => user:a@b host:c
2717      // http://a@b?@c => user:a host:c path:/?@c
2718  
2719      // v0.12 TODO(isaacs): This is not quite how Chrome does things.
2720      // Review our test case against browsers more comprehensively.
2721  
2722      // find the first instance of any hostEndingChars
2723      var hostEnd = -1;
2724      for (var i = 0; i < hostEndingChars.length; i++) {
2725        var hec = rest.indexOf(hostEndingChars[i]);
2726        if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
2727          hostEnd = hec;
2728      }
2729  
2730      // at this point, either we have an explicit point where the
2731      // auth portion cannot go past, or the last @ char is the decider.
2732      var auth, atSign;
2733      if (hostEnd === -1) {
2734        // atSign can be anywhere.
2735        atSign = rest.lastIndexOf('@');
2736      } else {
2737        // atSign must be in auth portion.
2738        // http://a@b/c@d => host:b auth:a path:/c@d
2739        atSign = rest.lastIndexOf('@', hostEnd);
2740      }
2741  
2742      // Now we have a portion which is definitely the auth.
2743      // Pull that off.
2744      if (atSign !== -1) {
2745        auth = rest.slice(0, atSign);
2746        rest = rest.slice(atSign + 1);
2747        this.auth = decodeURIComponent(auth);
2748      }
2749  
2750      // the host is the remaining to the left of the first non-host char
2751      hostEnd = -1;
2752      for (var i = 0; i < nonHostChars.length; i++) {
2753        var hec = rest.indexOf(nonHostChars[i]);
2754        if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
2755          hostEnd = hec;
2756      }
2757      // if we still have not hit it, then the entire thing is a host.
2758      if (hostEnd === -1)
2759        hostEnd = rest.length;
2760  
2761      this.host = rest.slice(0, hostEnd);
2762      rest = rest.slice(hostEnd);
2763  
2764      // pull out port.
2765      this.parseHost();
2766  
2767      // we've indicated that there is a hostname,
2768      // so even if it's empty, it has to be present.
2769      this.hostname = this.hostname || '';
2770  
2771      // if hostname begins with [ and ends with ]
2772      // assume that it's an IPv6 address.
2773      var ipv6Hostname = this.hostname[0] === '[' &&
2774          this.hostname[this.hostname.length - 1] === ']';
2775  
2776      // validate a little.
2777      if (!ipv6Hostname) {
2778        var hostparts = this.hostname.split(/\./);
2779        for (var i = 0, l = hostparts.length; i < l; i++) {
2780          var part = hostparts[i];
2781          if (!part) continue;
2782          if (!part.match(hostnamePartPattern)) {
2783            var newpart = '';
2784            for (var j = 0, k = part.length; j < k; j++) {
2785              if (part.charCodeAt(j) > 127) {
2786                // we replace non-ASCII char with a temporary placeholder
2787                // we need this to make sure size of hostname is not
2788                // broken by replacing non-ASCII by nothing
2789                newpart += 'x';
2790              } else {
2791                newpart += part[j];
2792              }
2793            }
2794            // we test again with ASCII char only
2795            if (!newpart.match(hostnamePartPattern)) {
2796              var validParts = hostparts.slice(0, i);
2797              var notHost = hostparts.slice(i + 1);
2798              var bit = part.match(hostnamePartStart);
2799              if (bit) {
2800                validParts.push(bit[1]);
2801                notHost.unshift(bit[2]);
2802              }
2803              if (notHost.length) {
2804                rest = '/' + notHost.join('.') + rest;
2805              }
2806              this.hostname = validParts.join('.');
2807              break;
2808            }
2809          }
2810        }
2811      }
2812  
2813      if (this.hostname.length > hostnameMaxLen) {
2814        this.hostname = '';
2815      } else {
2816        // hostnames are always lower case.
2817        this.hostname = this.hostname.toLowerCase();
2818      }
2819  
2820      if (!ipv6Hostname) {
2821        // IDNA Support: Returns a punycoded representation of "domain".
2822        // It only converts parts of the domain name that
2823        // have non-ASCII characters, i.e. it doesn't matter if
2824        // you call it with a domain that already is ASCII-only.
2825        this.hostname = punycode.toASCII(this.hostname);
2826      }
2827  
2828      var p = this.port ? ':' + this.port : '';
2829      var h = this.hostname || '';
2830      this.host = h + p;
2831      this.href += this.host;
2832  
2833      // strip [ and ] from the hostname
2834      // the host field still retains them, though
2835      if (ipv6Hostname) {
2836        this.hostname = this.hostname.substr(1, this.hostname.length - 2);
2837        if (rest[0] !== '/') {
2838          rest = '/' + rest;
2839        }
2840      }
2841    }
2842  
2843    // now rest is set to the post-host stuff.
2844    // chop off any delim chars.
2845    if (!unsafeProtocol[lowerProto]) {
2846  
2847      // First, make 100% sure that any "autoEscape" chars get
2848      // escaped, even if encodeURIComponent doesn't think they
2849      // need to be.
2850      for (var i = 0, l = autoEscape.length; i < l; i++) {
2851        var ae = autoEscape[i];
2852        if (rest.indexOf(ae) === -1)
2853          continue;
2854        var esc = encodeURIComponent(ae);
2855        if (esc === ae) {
2856          esc = escape(ae);
2857        }
2858        rest = rest.split(ae).join(esc);
2859      }
2860    }
2861  
2862  
2863    // chop off from the tail first.
2864    var hash = rest.indexOf('#');
2865    if (hash !== -1) {
2866      // got a fragment string.
2867      this.hash = rest.substr(hash);
2868      rest = rest.slice(0, hash);
2869    }
2870    var qm = rest.indexOf('?');
2871    if (qm !== -1) {
2872      this.search = rest.substr(qm);
2873      this.query = rest.substr(qm + 1);
2874      if (parseQueryString) {
2875        this.query = querystring.parse(this.query);
2876      }
2877      rest = rest.slice(0, qm);
2878    } else if (parseQueryString) {
2879      // no query string, but parseQueryString still requested
2880      this.search = '';
2881      this.query = {};
2882    }
2883    if (rest) this.pathname = rest;
2884    if (slashedProtocol[lowerProto] &&
2885        this.hostname && !this.pathname) {
2886      this.pathname = '/';
2887    }
2888  
2889    //to support http.request
2890    if (this.pathname || this.search) {
2891      var p = this.pathname || '';
2892      var s = this.search || '';
2893      this.path = p + s;
2894    }
2895  
2896    // finally, reconstruct the href based on what has been validated.
2897    this.href = this.format();
2898    return this;
2899  };
2900  
2901  // format a parsed object into a url string
2902  function urlFormat(obj) {
2903    // ensure it's an object, and not a string url.
2904    // If it's an obj, this is a no-op.
2905    // this way, you can call url_format() on strings
2906    // to clean up potentially wonky urls.
2907    if (util.isString(obj)) obj = urlParse(obj);
2908    if (!(obj instanceof Url)) return Url.prototype.format.call(obj);
2909    return obj.format();
2910  }
2911  
2912  Url.prototype.format = function() {
2913    var auth = this.auth || '';
2914    if (auth) {
2915      auth = encodeURIComponent(auth);
2916      auth = auth.replace(/%3A/i, ':');
2917      auth += '@';
2918    }
2919  
2920    var protocol = this.protocol || '',
2921        pathname = this.pathname || '',
2922        hash = this.hash || '',
2923        host = false,
2924        query = '';
2925  
2926    if (this.host) {
2927      host = auth + this.host;
2928    } else if (this.hostname) {
2929      host = auth + (this.hostname.indexOf(':') === -1 ?
2930          this.hostname :
2931          '[' + this.hostname + ']');
2932      if (this.port) {
2933        host += ':' + this.port;
2934      }
2935    }
2936  
2937    if (this.query &&
2938        util.isObject(this.query) &&
2939        Object.keys(this.query).length) {
2940      query = querystring.stringify(this.query);
2941    }
2942  
2943    var search = this.search || (query && ('?' + query)) || '';
2944  
2945    if (protocol && protocol.substr(-1) !== ':') protocol += ':';
2946  
2947    // only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.
2948    // unless they had them to begin with.
2949    if (this.slashes ||
2950        (!protocol || slashedProtocol[protocol]) && host !== false) {
2951      host = '//' + (host || '');
2952      if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
2953    } else if (!host) {
2954      host = '';
2955    }
2956  
2957    if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
2958    if (search && search.charAt(0) !== '?') search = '?' + search;
2959  
2960    pathname = pathname.replace(/[?#]/g, function(match) {
2961      return encodeURIComponent(match);
2962    });
2963    search = search.replace('#', '%23');
2964  
2965    return protocol + host + pathname + search + hash;
2966  };
2967  
2968  function urlResolve(source, relative) {
2969    return urlParse(source, false, true).resolve(relative);
2970  }
2971  
2972  Url.prototype.resolve = function(relative) {
2973    return this.resolveObject(urlParse(relative, false, true)).format();
2974  };
2975  
2976  function urlResolveObject(source, relative) {
2977    if (!source) return relative;
2978    return urlParse(source, false, true).resolveObject(relative);
2979  }
2980  
2981  Url.prototype.resolveObject = function(relative) {
2982    if (util.isString(relative)) {
2983      var rel = new Url();
2984      rel.parse(relative, false, true);
2985      relative = rel;
2986    }
2987  
2988    var result = new Url();
2989    var tkeys = Object.keys(this);
2990    for (var tk = 0; tk < tkeys.length; tk++) {
2991      var tkey = tkeys[tk];
2992      result[tkey] = this[tkey];
2993    }
2994  
2995    // hash is always overridden, no matter what.
2996    // even href="" will remove it.
2997    result.hash = relative.hash;
2998  
2999    // if the relative url is empty, then there's nothing left to do here.
3000    if (relative.href === '') {
3001      result.href = result.format();
3002      return result;
3003    }
3004  
3005    // hrefs like //foo/bar always cut to the protocol.
3006    if (relative.slashes && !relative.protocol) {
3007      // take everything except the protocol from relative
3008      var rkeys = Object.keys(relative);
3009      for (var rk = 0; rk < rkeys.length; rk++) {
3010        var rkey = rkeys[rk];
3011        if (rkey !== 'protocol')
3012          result[rkey] = relative[rkey];
3013      }
3014  
3015      //urlParse appends trailing / to urls like http://www.example.com
3016      if (slashedProtocol[result.protocol] &&
3017          result.hostname && !result.pathname) {
3018        result.path = result.pathname = '/';
3019      }
3020  
3021      result.href = result.format();
3022      return result;
3023    }
3024  
3025    if (relative.protocol && relative.protocol !== result.protocol) {
3026      // if it's a known url protocol, then changing
3027      // the protocol does weird things
3028      // first, if it's not file:, then we MUST have a host,
3029      // and if there was a path
3030      // to begin with, then we MUST have a path.
3031      // if it is file:, then the host is dropped,
3032      // because that's known to be hostless.
3033      // anything else is assumed to be absolute.
3034      if (!slashedProtocol[relative.protocol]) {
3035        var keys = Object.keys(relative);
3036        for (var v = 0; v < keys.length; v++) {
3037          var k = keys[v];
3038          result[k] = relative[k];
3039        }
3040        result.href = result.format();
3041        return result;
3042      }
3043  
3044      result.protocol = relative.protocol;
3045      if (!relative.host && !hostlessProtocol[relative.protocol]) {
3046        var relPath = (relative.pathname || '').split('/');
3047        while (relPath.length && !(relative.host = relPath.shift()));
3048        if (!relative.host) relative.host = '';
3049        if (!relative.hostname) relative.hostname = '';
3050        if (relPath[0] !== '') relPath.unshift('');
3051        if (relPath.length < 2) relPath.unshift('');
3052        result.pathname = relPath.join('/');
3053      } else {
3054        result.pathname = relative.pathname;
3055      }
3056      result.search = relative.search;
3057      result.query = relative.query;
3058      result.host = relative.host || '';
3059      result.auth = relative.auth;
3060      result.hostname = relative.hostname || relative.host;
3061      result.port = relative.port;
3062      // to support http.request
3063      if (result.pathname || result.search) {
3064        var p = result.pathname || '';
3065        var s = result.search || '';
3066        result.path = p + s;
3067      }
3068      result.slashes = result.slashes || relative.slashes;
3069      result.href = result.format();
3070      return result;
3071    }
3072  
3073    var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),
3074        isRelAbs = (
3075            relative.host ||
3076            relative.pathname && relative.pathname.charAt(0) === '/'
3077        ),
3078        mustEndAbs = (isRelAbs || isSourceAbs ||
3079                      (result.host && relative.pathname)),
3080        removeAllDots = mustEndAbs,
3081        srcPath = result.pathname && result.pathname.split('/') || [],
3082        relPath = relative.pathname && relative.pathname.split('/') || [],
3083        psychotic = result.protocol && !slashedProtocol[result.protocol];
3084  
3085    // if the url is a non-slashed url, then relative
3086    // links like ../.. should be able
3087    // to crawl up to the hostname, as well.  This is strange.
3088    // result.protocol has already been set by now.
3089    // Later on, put the first path part into the host field.
3090    if (psychotic) {
3091      result.hostname = '';
3092      result.port = null;
3093      if (result.host) {
3094        if (srcPath[0] === '') srcPath[0] = result.host;
3095        else srcPath.unshift(result.host);
3096      }
3097      result.host = '';
3098      if (relative.protocol) {
3099        relative.hostname = null;
3100        relative.port = null;
3101        if (relative.host) {
3102          if (relPath[0] === '') relPath[0] = relative.host;
3103          else relPath.unshift(relative.host);
3104        }
3105        relative.host = null;
3106      }
3107      mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');
3108    }
3109  
3110    if (isRelAbs) {
3111      // it's absolute.
3112      result.host = (relative.host || relative.host === '') ?
3113                    relative.host : result.host;
3114      result.hostname = (relative.hostname || relative.hostname === '') ?
3115                        relative.hostname : result.hostname;
3116      result.search = relative.search;
3117      result.query = relative.query;
3118      srcPath = relPath;
3119      // fall through to the dot-handling below.
3120    } else if (relPath.length) {
3121      // it's relative
3122      // throw away the existing file, and take the new path instead.
3123      if (!srcPath) srcPath = [];
3124      srcPath.pop();
3125      srcPath = srcPath.concat(relPath);
3126      result.search = relative.search;
3127      result.query = relative.query;
3128    } else if (!util.isNullOrUndefined(relative.search)) {
3129      // just pull out the search.
3130      // like href='?foo'.
3131      // Put this after the other two cases because it simplifies the booleans
3132      if (psychotic) {
3133        result.hostname = result.host = srcPath.shift();
3134        //occationaly the auth can get stuck only in host
3135        //this especially happens in cases like
3136        //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
3137        var authInHost = result.host && result.host.indexOf('@') > 0 ?
3138                         result.host.split('@') : false;
3139        if (authInHost) {
3140          result.auth = authInHost.shift();
3141          result.host = result.hostname = authInHost.shift();
3142        }
3143      }
3144      result.search = relative.search;
3145      result.query = relative.query;
3146      //to support http.request
3147      if (!util.isNull(result.pathname) || !util.isNull(result.search)) {
3148        result.path = (result.pathname ? result.pathname : '') +
3149                      (result.search ? result.search : '');
3150      }
3151      result.href = result.format();
3152      return result;
3153    }
3154  
3155    if (!srcPath.length) {
3156      // no path at all.  easy.
3157      // we've already handled the other stuff above.
3158      result.pathname = null;
3159      //to support http.request
3160      if (result.search) {
3161        result.path = '/' + result.search;
3162      } else {
3163        result.path = null;
3164      }
3165      result.href = result.format();
3166      return result;
3167    }
3168  
3169    // if a url ENDs in . or .., then it must get a trailing slash.
3170    // however, if it ends in anything else non-slashy,
3171    // then it must NOT get a trailing slash.
3172    var last = srcPath.slice(-1)[0];
3173    var hasTrailingSlash = (
3174        (result.host || relative.host || srcPath.length > 1) &&
3175        (last === '.' || last === '..') || last === '');
3176  
3177    // strip single dots, resolve double dots to parent dir
3178    // if the path tries to go above the root, `up` ends up > 0
3179    var up = 0;
3180    for (var i = srcPath.length; i >= 0; i--) {
3181      last = srcPath[i];
3182      if (last === '.') {
3183        srcPath.splice(i, 1);
3184      } else if (last === '..') {
3185        srcPath.splice(i, 1);
3186        up++;
3187      } else if (up) {
3188        srcPath.splice(i, 1);
3189        up--;
3190      }
3191    }
3192  
3193    // if the path is allowed to go above the root, restore leading ..s
3194    if (!mustEndAbs && !removeAllDots) {
3195      for (; up--; up) {
3196        srcPath.unshift('..');
3197      }
3198    }
3199  
3200    if (mustEndAbs && srcPath[0] !== '' &&
3201        (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
3202      srcPath.unshift('');
3203    }
3204  
3205    if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {
3206      srcPath.push('');
3207    }
3208  
3209    var isAbsolute = srcPath[0] === '' ||
3210        (srcPath[0] && srcPath[0].charAt(0) === '/');
3211  
3212    // put the host back
3213    if (psychotic) {
3214      result.hostname = result.host = isAbsolute ? '' :
3215                                      srcPath.length ? srcPath.shift() : '';
3216      //occationaly the auth can get stuck only in host
3217      //this especially happens in cases like
3218      //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
3219      var authInHost = result.host && result.host.indexOf('@') > 0 ?
3220                       result.host.split('@') : false;
3221      if (authInHost) {
3222        result.auth = authInHost.shift();
3223        result.host = result.hostname = authInHost.shift();
3224      }
3225    }
3226  
3227    mustEndAbs = mustEndAbs || (result.host && srcPath.length);
3228  
3229    if (mustEndAbs && !isAbsolute) {
3230      srcPath.unshift('');
3231    }
3232  
3233    if (!srcPath.length) {
3234      result.pathname = null;
3235      result.path = null;
3236    } else {
3237      result.pathname = srcPath.join('/');
3238    }
3239  
3240    //to support request.http
3241    if (!util.isNull(result.pathname) || !util.isNull(result.search)) {
3242      result.path = (result.pathname ? result.pathname : '') +
3243                    (result.search ? result.search : '');
3244    }
3245    result.auth = relative.auth || result.auth;
3246    result.slashes = result.slashes || relative.slashes;
3247    result.href = result.format();
3248    return result;
3249  };
3250  
3251  Url.prototype.parseHost = function() {
3252    var host = this.host;
3253    var port = portPattern.exec(host);
3254    if (port) {
3255      port = port[0];
3256      if (port !== ':') {
3257        this.port = port.substr(1);
3258      }
3259      host = host.substr(0, host.length - port.length);
3260    }
3261    if (host) this.hostname = host;
3262  };
3263  
3264  
3265  /***/ }),
3266  /* 84 */
3267  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3268  
3269  "use strict";
3270  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return common; });
3271  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return others; });
3272  /* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36);
3273  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
3274  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
3275  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
3276  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
3277  /**
3278   * Internal dependencies
3279   */
3280  
3281  /**
3282   * WordPress dependencies
3283   */
3284  
3285  
3286  
3287  var common = [{
3288    name: 'core-embed/twitter',
3289    settings: {
3290      title: 'Twitter',
3291      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedTwitterIcon */ "k"],
3292      keywords: ['tweet'],
3293      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a tweet.')
3294    },
3295    patterns: [/^https?:\/\/(www\.)?twitter\.com\/.+/i]
3296  }, {
3297    name: 'core-embed/youtube',
3298    settings: {
3299      title: 'YouTube',
3300      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedYouTubeIcon */ "o"],
3301      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('video')],
3302      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a YouTube video.')
3303    },
3304    patterns: [/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i, /^https?:\/\/youtu\.be\/.+/i]
3305  }, {
3306    name: 'core-embed/facebook',
3307    settings: {
3308      title: 'Facebook',
3309      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedFacebookIcon */ "d"],
3310      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Facebook post.')
3311    },
3312    patterns: [/^https?:\/\/www\.facebook.com\/.+/i]
3313  }, {
3314    name: 'core-embed/instagram',
3315    settings: {
3316      title: 'Instagram',
3317      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedInstagramIcon */ "f"],
3318      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('image')],
3319      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed an Instagram post.')
3320    },
3321    patterns: [/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]
3322  }, {
3323    name: 'core-embed/wordpress',
3324    settings: {
3325      title: 'WordPress',
3326      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedWordPressIcon */ "n"],
3327      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('post'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('blog')],
3328      responsive: false,
3329      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a WordPress post.')
3330    }
3331  }, {
3332    name: 'core-embed/soundcloud',
3333    settings: {
3334      title: 'SoundCloud',
3335      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
3336      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('audio')],
3337      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed SoundCloud content.')
3338    },
3339    patterns: [/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]
3340  }, {
3341    name: 'core-embed/spotify',
3342    settings: {
3343      title: 'Spotify',
3344      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedSpotifyIcon */ "i"],
3345      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('audio')],
3346      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Spotify content.')
3347    },
3348    patterns: [/^https?:\/\/(open|play)\.spotify\.com\/.+/i]
3349  }, {
3350    name: 'core-embed/flickr',
3351    settings: {
3352      title: 'Flickr',
3353      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedFlickrIcon */ "e"],
3354      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('image')],
3355      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Flickr content.')
3356    },
3357    patterns: [/^https?:\/\/(www\.)?flickr\.com\/.+/i, /^https?:\/\/flic\.kr\/.+/i]
3358  }, {
3359    name: 'core-embed/vimeo',
3360    settings: {
3361      title: 'Vimeo',
3362      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVimeoIcon */ "m"],
3363      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('video')],
3364      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Vimeo video.')
3365    },
3366    patterns: [/^https?:\/\/(www\.)?vimeo\.com\/.+/i]
3367  }];
3368  var others = [{
3369    name: 'core-embed/animoto',
3370    settings: {
3371      title: 'Animoto',
3372      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3373      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed an Animoto video.')
3374    },
3375    patterns: [/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]
3376  }, {
3377    name: 'core-embed/cloudup',
3378    settings: {
3379      title: 'Cloudup',
3380      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3381      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Cloudup content.')
3382    },
3383    patterns: [/^https?:\/\/cloudup\.com\/.+/i]
3384  }, {
3385    name: 'core-embed/collegehumor',
3386    settings: {
3387      title: 'CollegeHumor',
3388      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3389      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed CollegeHumor content.')
3390    },
3391    patterns: [/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]
3392  }, {
3393    name: 'core-embed/crowdsignal',
3394    settings: {
3395      title: 'Crowdsignal',
3396      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3397      keywords: ['polldaddy'],
3398      transform: [{
3399        type: 'block',
3400        blocks: ['core-embed/polldaddy'],
3401        transform: function transform(content) {
3402          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core-embed/crowdsignal', {
3403            content: content
3404          });
3405        }
3406      }],
3407      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Crowdsignal (formerly Polldaddy) content.')
3408    },
3409    patterns: [/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]
3410  }, {
3411    name: 'core-embed/dailymotion',
3412    settings: {
3413      title: 'Dailymotion',
3414      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3415      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Dailymotion video.')
3416    },
3417    patterns: [/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]
3418  }, {
3419    name: 'core-embed/hulu',
3420    settings: {
3421      title: 'Hulu',
3422      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3423      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Hulu content.')
3424    },
3425    patterns: [/^https?:\/\/(www\.)?hulu\.com\/.+/i]
3426  }, {
3427    name: 'core-embed/imgur',
3428    settings: {
3429      title: 'Imgur',
3430      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedPhotoIcon */ "g"],
3431      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Imgur content.')
3432    },
3433    patterns: [/^https?:\/\/(.+\.)?imgur\.com\/.+/i]
3434  }, {
3435    name: 'core-embed/issuu',
3436    settings: {
3437      title: 'Issuu',
3438      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3439      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Issuu content.')
3440    },
3441    patterns: [/^https?:\/\/(www\.)?issuu\.com\/.+/i]
3442  }, {
3443    name: 'core-embed/kickstarter',
3444    settings: {
3445      title: 'Kickstarter',
3446      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3447      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Kickstarter content.')
3448    },
3449    patterns: [/^https?:\/\/(www\.)?kickstarter\.com\/.+/i, /^https?:\/\/kck\.st\/.+/i]
3450  }, {
3451    name: 'core-embed/meetup-com',
3452    settings: {
3453      title: 'Meetup.com',
3454      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3455      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Meetup.com content.')
3456    },
3457    patterns: [/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]
3458  }, {
3459    name: 'core-embed/mixcloud',
3460    settings: {
3461      title: 'Mixcloud',
3462      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
3463      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('music'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('audio')],
3464      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Mixcloud content.')
3465    },
3466    patterns: [/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]
3467  }, {
3468    // Deprecated in favour of the core-embed/crowdsignal block
3469    name: 'core-embed/polldaddy',
3470    settings: {
3471      title: 'Polldaddy',
3472      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3473      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Polldaddy content.'),
3474      supports: {
3475        inserter: false
3476      }
3477    },
3478    patterns: []
3479  }, {
3480    name: 'core-embed/reddit',
3481    settings: {
3482      title: 'Reddit',
3483      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedRedditIcon */ "h"],
3484      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Reddit thread.')
3485    },
3486    patterns: [/^https?:\/\/(www\.)?reddit\.com\/.+/i]
3487  }, {
3488    name: 'core-embed/reverbnation',
3489    settings: {
3490      title: 'ReverbNation',
3491      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
3492      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed ReverbNation content.')
3493    },
3494    patterns: [/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]
3495  }, {
3496    name: 'core-embed/screencast',
3497    settings: {
3498      title: 'Screencast',
3499      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3500      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Screencast content.')
3501    },
3502    patterns: [/^https?:\/\/(www\.)?screencast\.com\/.+/i]
3503  }, {
3504    name: 'core-embed/scribd',
3505    settings: {
3506      title: 'Scribd',
3507      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3508      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Scribd content.')
3509    },
3510    patterns: [/^https?:\/\/(www\.)?scribd\.com\/.+/i]
3511  }, {
3512    name: 'core-embed/slideshare',
3513    settings: {
3514      title: 'Slideshare',
3515      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3516      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Slideshare content.')
3517    },
3518    patterns: [/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]
3519  }, {
3520    name: 'core-embed/smugmug',
3521    settings: {
3522      title: 'SmugMug',
3523      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedPhotoIcon */ "g"],
3524      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed SmugMug content.')
3525    },
3526    patterns: [/^https?:\/\/(www\.)?smugmug\.com\/.+/i]
3527  }, {
3528    // Deprecated in favour of the core-embed/speaker-deck block.
3529    name: 'core-embed/speaker',
3530    settings: {
3531      title: 'Speaker',
3532      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAudioIcon */ "b"],
3533      supports: {
3534        inserter: false
3535      }
3536    },
3537    patterns: []
3538  }, {
3539    name: 'core-embed/speaker-deck',
3540    settings: {
3541      title: 'Speaker Deck',
3542      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedContentIcon */ "c"],
3543      transform: [{
3544        type: 'block',
3545        blocks: ['core-embed/speaker'],
3546        transform: function transform(content) {
3547          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["createBlock"])('core-embed/speaker-deck', {
3548            content: content
3549          });
3550        }
3551      }],
3552      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Speaker Deck content.')
3553    },
3554    patterns: [/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]
3555  }, {
3556    name: 'core-embed/ted',
3557    settings: {
3558      title: 'TED',
3559      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3560      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a TED video.')
3561    },
3562    patterns: [/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]
3563  }, {
3564    name: 'core-embed/tumblr',
3565    settings: {
3566      title: 'Tumblr',
3567      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedTumbrIcon */ "j"],
3568      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a Tumblr post.')
3569    },
3570    patterns: [/^https?:\/\/(www\.)?tumblr\.com\/.+/i]
3571  }, {
3572    name: 'core-embed/videopress',
3573    settings: {
3574      title: 'VideoPress',
3575      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3576      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('video')],
3577      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a VideoPress video.')
3578    },
3579    patterns: [/^https?:\/\/videopress\.com\/.+/i]
3580  }, {
3581    name: 'core-embed/wordpress-tv',
3582    settings: {
3583      title: 'WordPress.tv',
3584      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedVideoIcon */ "l"],
3585      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed a WordPress.tv video.')
3586    },
3587    patterns: [/^https?:\/\/wordpress\.tv\/.+/i]
3588  }, {
3589    name: 'core-embed/amazon-kindle',
3590    settings: {
3591      title: 'Amazon Kindle',
3592      icon: _icons__WEBPACK_IMPORTED_MODULE_0__[/* embedAmazonIcon */ "a"],
3593      keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('ebook')],
3594      responsive: false,
3595      description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Embed Amazon Kindle content.')
3596    },
3597    patterns: [/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i, /^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]
3598  }];
3599  
3600  
3601  /***/ }),
3602  /* 85 */,
3603  /* 86 */,
3604  /* 87 */,
3605  /* 88 */,
3606  /* 89 */,
3607  /* 90 */,
3608  /* 91 */,
3609  /* 92 */,
3610  /* 93 */,
3611  /* 94 */,
3612  /* 95 */,
3613  /* 96 */,
3614  /* 97 */,
3615  /* 98 */,
3616  /* 99 */,
3617  /* 100 */,
3618  /* 101 */,
3619  /* 102 */,
3620  /* 103 */,
3621  /* 104 */,
3622  /* 105 */,
3623  /* 106 */,
3624  /* 107 */,
3625  /* 108 */,
3626  /* 109 */,
3627  /* 110 */
3628  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3629  
3630  "use strict";
3631  __webpack_require__.r(__webpack_exports__);
3632  
3633  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
3634  var objectSpread = __webpack_require__(7);
3635  
3636  // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/core-embeds.js
3637  var core_embeds = __webpack_require__(84);
3638  
3639  // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js
3640  var icons = __webpack_require__(36);
3641  
3642  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
3643  var defineProperty = __webpack_require__(15);
3644  
3645  // EXTERNAL MODULE: external {"this":["wp","element"]}
3646  var external_this_wp_element_ = __webpack_require__(0);
3647  
3648  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
3649  var classCallCheck = __webpack_require__(10);
3650  
3651  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
3652  var createClass = __webpack_require__(9);
3653  
3654  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
3655  var possibleConstructorReturn = __webpack_require__(11);
3656  
3657  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
3658  var getPrototypeOf = __webpack_require__(12);
3659  
3660  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
3661  var inherits = __webpack_require__(13);
3662  
3663  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
3664  var assertThisInitialized = __webpack_require__(3);
3665  
3666  // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
3667  var util = __webpack_require__(53);
3668  
3669  // EXTERNAL MODULE: external {"this":["wp","i18n"]}
3670  var external_this_wp_i18n_ = __webpack_require__(1);
3671  
3672  // EXTERNAL MODULE: external {"this":["wp","components"]}
3673  var external_this_wp_components_ = __webpack_require__(4);
3674  
3675  // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
3676  var external_this_wp_blockEditor_ = __webpack_require__(8);
3677  
3678  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-controls.js
3679  
3680  
3681  /**
3682   * WordPress dependencies
3683   */
3684  
3685  
3686  
3687  
3688  
3689  var embed_controls_EmbedControls = function EmbedControls(props) {
3690    var blockSupportsResponsive = props.blockSupportsResponsive,
3691        showEditButton = props.showEditButton,
3692        themeSupportsResponsive = props.themeSupportsResponsive,
3693        allowResponsive = props.allowResponsive,
3694        getResponsiveHelp = props.getResponsiveHelp,
3695        toggleResponsive = props.toggleResponsive,
3696        switchBackToURLInput = props.switchBackToURLInput;
3697    return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], null, showEditButton && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["IconButton"], {
3698      className: "components-toolbar__control",
3699      label: Object(external_this_wp_i18n_["__"])('Edit URL'),
3700      icon: "edit",
3701      onClick: switchBackToURLInput
3702    }))), themeSupportsResponsive && blockSupportsResponsive && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
3703      title: Object(external_this_wp_i18n_["__"])('Media Settings'),
3704      className: "blocks-responsive"
3705    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
3706      label: Object(external_this_wp_i18n_["__"])('Resize for smaller devices'),
3707      checked: allowResponsive,
3708      help: getResponsiveHelp,
3709      onChange: toggleResponsive
3710    }))));
3711  };
3712  
3713  /* harmony default export */ var embed_controls = (embed_controls_EmbedControls);
3714  
3715  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-loading.js
3716  
3717  
3718  /**
3719   * WordPress dependencies
3720   */
3721  
3722  
3723  
3724  var embed_loading_EmbedLoading = function EmbedLoading() {
3725    return Object(external_this_wp_element_["createElement"])("div", {
3726      className: "wp-block-embed is-loading"
3727    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null), Object(external_this_wp_element_["createElement"])("p", null, Object(external_this_wp_i18n_["__"])('Embedding…')));
3728  };
3729  
3730  /* harmony default export */ var embed_loading = (embed_loading_EmbedLoading);
3731  
3732  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-placeholder.js
3733  
3734  
3735  /**
3736   * WordPress dependencies
3737   */
3738  
3739  
3740  
3741  
3742  var embed_placeholder_EmbedPlaceholder = function EmbedPlaceholder(props) {
3743    var icon = props.icon,
3744        label = props.label,
3745        value = props.value,
3746        onSubmit = props.onSubmit,
3747        onChange = props.onChange,
3748        cannotEmbed = props.cannotEmbed,
3749        fallback = props.fallback,
3750        tryAgain = props.tryAgain;
3751    return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
3752      icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
3753        icon: icon,
3754        showColors: true
3755      }),
3756      label: label,
3757      className: "wp-block-embed"
3758    }, Object(external_this_wp_element_["createElement"])("form", {
3759      onSubmit: onSubmit
3760    }, Object(external_this_wp_element_["createElement"])("input", {
3761      type: "url",
3762      value: value || '',
3763      className: "components-placeholder__input",
3764      "aria-label": label,
3765      placeholder: Object(external_this_wp_i18n_["__"])('Enter URL to embed here…'),
3766      onChange: onChange
3767    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
3768      isLarge: true,
3769      type: "submit"
3770    }, Object(external_this_wp_i18n_["_x"])('Embed', 'button label')), cannotEmbed && Object(external_this_wp_element_["createElement"])("p", {
3771      className: "components-placeholder__error"
3772    }, Object(external_this_wp_i18n_["__"])('Sorry, this content could not be embedded.'), Object(external_this_wp_element_["createElement"])("br", null), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
3773      isLarge: true,
3774      onClick: tryAgain
3775    }, Object(external_this_wp_i18n_["_x"])('Try again', 'button label')), " ", Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
3776      isLarge: true,
3777      onClick: fallback
3778    }, Object(external_this_wp_i18n_["_x"])('Convert to link', 'button label')))));
3779  };
3780  
3781  /* harmony default export */ var embed_placeholder = (embed_placeholder_EmbedPlaceholder);
3782  
3783  // EXTERNAL MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
3784  var constants = __webpack_require__(57);
3785  
3786  // EXTERNAL MODULE: ./node_modules/url/url.js
3787  var url_url = __webpack_require__(83);
3788  
3789  // EXTERNAL MODULE: external "lodash"
3790  var external_lodash_ = __webpack_require__(2);
3791  
3792  // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js
3793  var dedupe = __webpack_require__(68);
3794  var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe);
3795  
3796  // EXTERNAL MODULE: external {"this":["wp","compose"]}
3797  var external_this_wp_compose_ = __webpack_require__(6);
3798  
3799  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js
3800  
3801  
3802  
3803  
3804  
3805  
3806  
3807  
3808  /**
3809   * WordPress dependencies
3810   */
3811  
3812  
3813  /**
3814   * Browser dependencies
3815   */
3816  
3817  var _window = window,
3818      FocusEvent = _window.FocusEvent;
3819  
3820  var wp_embed_preview_WpEmbedPreview =
3821  /*#__PURE__*/
3822  function (_Component) {
3823    Object(inherits["a" /* default */])(WpEmbedPreview, _Component);
3824  
3825    function WpEmbedPreview() {
3826      var _this;
3827  
3828      Object(classCallCheck["a" /* default */])(this, WpEmbedPreview);
3829  
3830      _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(WpEmbedPreview).apply(this, arguments));
3831      _this.checkFocus = _this.checkFocus.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
3832      _this.node = Object(external_this_wp_element_["createRef"])();
3833      return _this;
3834    }
3835    /**
3836     * Checks whether the wp embed iframe is the activeElement,
3837     * if it is dispatch a focus event.
3838     */
3839  
3840  
3841    Object(createClass["a" /* default */])(WpEmbedPreview, [{
3842      key: "checkFocus",
3843      value: function checkFocus() {
3844        var _document = document,
3845            activeElement = _document.activeElement;
3846  
3847        if (activeElement.tagName !== 'IFRAME' || activeElement.parentNode !== this.node.current) {
3848          return;
3849        }
3850  
3851        var focusEvent = new FocusEvent('focus', {
3852          bubbles: true
3853        });
3854        activeElement.dispatchEvent(focusEvent);
3855      }
3856    }, {
3857      key: "render",
3858      value: function render() {
3859        var html = this.props.html;
3860        return Object(external_this_wp_element_["createElement"])("div", {
3861          ref: this.node,
3862          className: "wp-block-embed__wrapper",
3863          dangerouslySetInnerHTML: {
3864            __html: html
3865          }
3866        });
3867      }
3868    }]);
3869  
3870    return WpEmbedPreview;
3871  }(external_this_wp_element_["Component"]);
3872  
3873  /* harmony default export */ var wp_embed_preview = (Object(external_this_wp_compose_["withGlobalEvents"])({
3874    blur: 'checkFocus'
3875  })(wp_embed_preview_WpEmbedPreview));
3876  
3877  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-preview.js
3878  
3879  
3880  
3881  
3882  
3883  
3884  
3885  
3886  /**
3887   * Internal dependencies
3888   */
3889  
3890  
3891  /**
3892   * External dependencies
3893   */
3894  
3895  
3896  
3897  
3898  /**
3899   * WordPress dependencies
3900   */
3901  
3902  
3903  
3904  
3905  
3906  /**
3907   * Internal dependencies
3908   */
3909  
3910  
3911  
3912  var embed_preview_EmbedPreview =
3913  /*#__PURE__*/
3914  function (_Component) {
3915    Object(inherits["a" /* default */])(EmbedPreview, _Component);
3916  
3917    function EmbedPreview() {
3918      var _this;
3919  
3920      Object(classCallCheck["a" /* default */])(this, EmbedPreview);
3921  
3922      _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(EmbedPreview).apply(this, arguments));
3923      _this.hideOverlay = _this.hideOverlay.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
3924      _this.state = {
3925        interactive: false
3926      };
3927      return _this;
3928    }
3929  
3930    Object(createClass["a" /* default */])(EmbedPreview, [{
3931      key: "hideOverlay",
3932      value: function hideOverlay() {
3933        // This is called onMouseUp on the overlay. We can't respond to the `isSelected` prop
3934        // changing, because that happens on mouse down, and the overlay immediately disappears,
3935        // and the mouse event can end up in the preview content. We can't use onClick on
3936        // the overlay to hide it either, because then the editor misses the mouseup event, and
3937        // thinks we're multi-selecting blocks.
3938        this.setState({
3939          interactive: true
3940        });
3941      }
3942    }, {
3943      key: "render",
3944      value: function render() {
3945        var _this$props = this.props,
3946            preview = _this$props.preview,
3947            url = _this$props.url,
3948            type = _this$props.type,
3949            caption = _this$props.caption,
3950            onCaptionChange = _this$props.onCaptionChange,
3951            isSelected = _this$props.isSelected,
3952            className = _this$props.className,
3953            icon = _this$props.icon,
3954            label = _this$props.label;
3955        var scripts = preview.scripts;
3956        var interactive = this.state.interactive;
3957        var html = 'photo' === type ? Object(util["d" /* getPhotoHtml */])(preview) : preview.html;
3958        var parsedHost = Object(url_url["parse"])(url).host.split('.');
3959        var parsedHostBaseUrl = parsedHost.splice(parsedHost.length - 2, parsedHost.length - 1).join('.');
3960        var cannotPreview = Object(external_lodash_["includes"])(constants["c" /* HOSTS_NO_PREVIEWS */], parsedHostBaseUrl); // translators: %s: host providing embed content e.g: www.youtube.com
3961  
3962        var iframeTitle = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Embedded content from %s'), parsedHostBaseUrl);
3963        var sandboxClassnames = dedupe_default()(type, className, 'wp-block-embed__wrapper'); // Disabled because the overlay div doesn't actually have a role or functionality
3964        // as far as the user is concerned. We're just catching the first click so that
3965        // the block can be selected without interacting with the embed preview that the overlay covers.
3966  
3967        /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
3968  
3969        /* eslint-disable jsx-a11y/no-static-element-interactions */
3970  
3971        var embedWrapper = 'wp-embed' === type ? Object(external_this_wp_element_["createElement"])(wp_embed_preview, {
3972          html: html
3973        }) : Object(external_this_wp_element_["createElement"])("div", {
3974          className: "wp-block-embed__wrapper"
3975        }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SandBox"], {
3976          html: html,
3977          scripts: scripts,
3978          title: iframeTitle,
3979          type: sandboxClassnames,
3980          onFocus: this.hideOverlay
3981        }), !interactive && Object(external_this_wp_element_["createElement"])("div", {
3982          className: "block-library-embed__interactive-overlay",
3983          onMouseUp: this.hideOverlay
3984        }));
3985        /* eslint-enable jsx-a11y/no-static-element-interactions */
3986  
3987        /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
3988  
3989        return Object(external_this_wp_element_["createElement"])("figure", {
3990          className: dedupe_default()(className, 'wp-block-embed', {
3991            'is-type-video': 'video' === type
3992          })
3993        }, cannotPreview ? Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
3994          icon: Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockIcon"], {
3995            icon: icon,
3996            showColors: true
3997          }),
3998          label: label
3999        }, Object(external_this_wp_element_["createElement"])("p", {
4000          className: "components-placeholder__error"
4001        }, Object(external_this_wp_element_["createElement"])("a", {
4002          href: url
4003        }, url)), Object(external_this_wp_element_["createElement"])("p", {
4004          className: "components-placeholder__error"
4005        },
4006        /* translators: %s: host providing embed content e.g: www.youtube.com */
4007        Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])("Embedded content from %s can't be previewed in the editor."), parsedHostBaseUrl))) : embedWrapper, (!external_this_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
4008          tagName: "figcaption",
4009          placeholder: Object(external_this_wp_i18n_["__"])('Write caption…'),
4010          value: caption,
4011          onChange: onCaptionChange,
4012          inlineToolbar: true
4013        }));
4014      }
4015    }], [{
4016      key: "getDerivedStateFromProps",
4017      value: function getDerivedStateFromProps(nextProps, state) {
4018        if (!nextProps.isSelected && state.interactive) {
4019          // We only want to change this when the block is not selected, because changing it when
4020          // the block becomes selected makes the overlap disappear too early. Hiding the overlay
4021          // happens on mouseup when the overlay is clicked.
4022          return {
4023            interactive: false
4024          };
4025        }
4026  
4027        return null;
4028      }
4029    }]);
4030  
4031    return EmbedPreview;
4032  }(external_this_wp_element_["Component"]);
4033  
4034  /* harmony default export */ var embed_preview = (embed_preview_EmbedPreview);
4035  
4036  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/edit.js
4037  
4038  
4039  
4040  
4041  
4042  
4043  
4044  
4045  /**
4046   * Internal dependencies
4047   */
4048  
4049  
4050  
4051  
4052  
4053  /**
4054   * External dependencies
4055   */
4056  
4057  
4058  /**
4059   * WordPress dependencies
4060   */
4061  
4062  
4063  
4064  function getEmbedEditComponent(title, icon) {
4065    var responsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
4066    return (
4067      /*#__PURE__*/
4068      function (_Component) {
4069        Object(inherits["a" /* default */])(_class, _Component);
4070  
4071        function _class() {
4072          var _this;
4073  
4074          Object(classCallCheck["a" /* default */])(this, _class);
4075  
4076          _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(_class).apply(this, arguments));
4077          _this.switchBackToURLInput = _this.switchBackToURLInput.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4078          _this.setUrl = _this.setUrl.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4079          _this.getAttributesFromPreview = _this.getAttributesFromPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4080          _this.setAttributesFromPreview = _this.setAttributesFromPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4081          _this.getResponsiveHelp = _this.getResponsiveHelp.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4082          _this.toggleResponsive = _this.toggleResponsive.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4083          _this.handleIncomingPreview = _this.handleIncomingPreview.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
4084          _this.state = {
4085            editingURL: false,
4086            url: _this.props.attributes.url
4087          };
4088  
4089          if (_this.props.preview) {
4090            _this.handleIncomingPreview();
4091          }
4092  
4093          return _this;
4094        }
4095  
4096        Object(createClass["a" /* default */])(_class, [{
4097          key: "handleIncomingPreview",
4098          value: function handleIncomingPreview() {
4099            var allowResponsive = this.props.attributes.allowResponsive;
4100            this.setAttributesFromPreview();
4101            var upgradedBlock = Object(util["a" /* createUpgradedEmbedBlock */])(this.props, this.getAttributesFromPreview(this.props.preview, allowResponsive));
4102  
4103            if (upgradedBlock) {
4104              this.props.onReplace(upgradedBlock);
4105            }
4106          }
4107        }, {
4108          key: "componentDidUpdate",
4109          value: function componentDidUpdate(prevProps) {
4110            var hasPreview = undefined !== this.props.preview;
4111            var hadPreview = undefined !== prevProps.preview;
4112            var previewChanged = prevProps.preview && this.props.preview && this.props.preview.html !== prevProps.preview.html;
4113            var switchedPreview = previewChanged || hasPreview && !hadPreview;
4114            var switchedURL = this.props.attributes.url !== prevProps.attributes.url;
4115  
4116            if (switchedPreview || switchedURL) {
4117              if (this.props.cannotEmbed) {
4118                // We either have a new preview or a new URL, but we can't embed it.
4119                if (!this.props.fetching) {
4120                  // If we're not fetching the preview, then we know it can't be embedded, so try
4121                  // removing any trailing slash, and resubmit.
4122                  this.resubmitWithoutTrailingSlash();
4123                }
4124  
4125                return;
4126              }
4127  
4128              this.handleIncomingPreview();
4129            }
4130          }
4131        }, {
4132          key: "resubmitWithoutTrailingSlash",
4133          value: function resubmitWithoutTrailingSlash() {
4134            this.setState(function (prevState) {
4135              return {
4136                url: prevState.url.replace(/\/$/, '')
4137              };
4138            }, this.setUrl);
4139          }
4140        }, {
4141          key: "setUrl",
4142          value: function setUrl(event) {
4143            if (event) {
4144              event.preventDefault();
4145            }
4146  
4147            var url = this.state.url;
4148            var setAttributes = this.props.setAttributes;
4149            this.setState({
4150              editingURL: false
4151            });
4152            setAttributes({
4153              url: url
4154            });
4155          }
4156          /***
4157           * Gets block attributes based on the preview and responsive state.
4158           *
4159           * @param {string} preview The preview data.
4160           * @param {boolean} allowResponsive Apply responsive classes to fixed size content.
4161           * @return {Object} Attributes and values.
4162           */
4163  
4164        }, {
4165          key: "getAttributesFromPreview",
4166          value: function getAttributesFromPreview(preview) {
4167            var allowResponsive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
4168            var attributes = {}; // Some plugins only return HTML with no type info, so default this to 'rich'.
4169  
4170            var _preview$type = preview.type,
4171                type = _preview$type === void 0 ? 'rich' : _preview$type; // If we got a provider name from the API, use it for the slug, otherwise we use the title,
4172            // because not all embed code gives us a provider name.
4173  
4174            var html = preview.html,
4175                providerName = preview.provider_name;
4176            var providerNameSlug = Object(external_lodash_["kebabCase"])(Object(external_lodash_["toLower"])('' !== providerName ? providerName : title));
4177  
4178            if (Object(util["e" /* isFromWordPress */])(html)) {
4179              type = 'wp-embed';
4180            }
4181  
4182            if (html || 'photo' === type) {
4183              attributes.type = type;
4184              attributes.providerNameSlug = providerNameSlug;
4185            }
4186  
4187            attributes.className = Object(util["c" /* getClassNames */])(html, this.props.attributes.className, responsive && allowResponsive);
4188            return attributes;
4189          }
4190          /***
4191           * Sets block attributes based on the preview data.
4192           */
4193  
4194        }, {
4195          key: "setAttributesFromPreview",
4196          value: function setAttributesFromPreview() {
4197            var _this$props = this.props,
4198                setAttributes = _this$props.setAttributes,
4199                preview = _this$props.preview;
4200            var allowResponsive = this.props.attributes.allowResponsive;
4201            setAttributes(this.getAttributesFromPreview(preview, allowResponsive));
4202          }
4203        }, {
4204          key: "switchBackToURLInput",
4205          value: function switchBackToURLInput() {
4206            this.setState({
4207              editingURL: true
4208            });
4209          }
4210        }, {
4211          key: "getResponsiveHelp",
4212          value: function getResponsiveHelp(checked) {
4213            return checked ? Object(external_this_wp_i18n_["__"])('This embed will preserve its aspect ratio when the browser is resized.') : Object(external_this_wp_i18n_["__"])('This embed may not preserve its aspect ratio when the browser is resized.');
4214          }
4215        }, {
4216          key: "toggleResponsive",
4217          value: function toggleResponsive() {
4218            var _this$props$attribute = this.props.attributes,
4219                allowResponsive = _this$props$attribute.allowResponsive,
4220                className = _this$props$attribute.className;
4221            var html = this.props.preview.html;
4222            var newAllowResponsive = !allowResponsive;
4223            this.props.setAttributes({
4224              allowResponsive: newAllowResponsive,
4225              className: Object(util["c" /* getClassNames */])(html, className, responsive && newAllowResponsive)
4226            });
4227          }
4228        }, {
4229          key: "render",
4230          value: function render() {
4231            var _this2 = this;
4232  
4233            var _this$state = this.state,
4234                url = _this$state.url,
4235                editingURL = _this$state.editingURL;
4236            var _this$props$attribute2 = this.props.attributes,
4237                caption = _this$props$attribute2.caption,
4238                type = _this$props$attribute2.type,
4239                allowResponsive = _this$props$attribute2.allowResponsive;
4240            var _this$props2 = this.props,
4241                fetching = _this$props2.fetching,
4242                setAttributes = _this$props2.setAttributes,
4243                isSelected = _this$props2.isSelected,
4244                className = _this$props2.className,
4245                preview = _this$props2.preview,
4246                cannotEmbed = _this$props2.cannotEmbed,
4247                themeSupportsResponsive = _this$props2.themeSupportsResponsive,
4248                tryAgain = _this$props2.tryAgain;
4249  
4250            if (fetching) {
4251              return Object(external_this_wp_element_["createElement"])(embed_loading, null);
4252            } // translators: %s: type of embed e.g: "YouTube", "Twitter", etc. "Embed" is used when no specific type exists
4253  
4254  
4255            var label = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('%s URL'), title); // No preview, or we can't embed the current URL, or we've clicked the edit button.
4256  
4257            if (!preview || cannotEmbed || editingURL) {
4258              return Object(external_this_wp_element_["createElement"])(embed_placeholder, {
4259                icon: icon,
4260                label: label,
4261                onSubmit: this.setUrl,
4262                value: url,
4263                cannotEmbed: cannotEmbed,
4264                onChange: function onChange(event) {
4265                  return _this2.setState({
4266                    url: event.target.value
4267                  });
4268                },
4269                fallback: function fallback() {
4270                  return Object(util["b" /* fallback */])(url, _this2.props.onReplace);
4271                },
4272                tryAgain: tryAgain
4273              });
4274            }
4275  
4276            return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(embed_controls, {
4277              showEditButton: preview && !cannotEmbed,
4278              themeSupportsResponsive: themeSupportsResponsive,
4279              blockSupportsResponsive: responsive,
4280              allowResponsive: allowResponsive,
4281              getResponsiveHelp: this.getResponsiveHelp,
4282              toggleResponsive: this.toggleResponsive,
4283              switchBackToURLInput: this.switchBackToURLInput
4284            }), Object(external_this_wp_element_["createElement"])(embed_preview, {
4285              preview: preview,
4286              className: className,
4287              url: url,
4288              type: type,
4289              caption: caption,
4290              onCaptionChange: function onCaptionChange(value) {
4291                return setAttributes({
4292                  caption: value
4293                });
4294              },
4295              isSelected: isSelected,
4296              icon: icon,
4297              label: label
4298            }));
4299          }
4300        }]);
4301  
4302        return _class;
4303      }(external_this_wp_element_["Component"])
4304    );
4305  }
4306  
4307  // EXTERNAL MODULE: external {"this":["wp","data"]}
4308  var external_this_wp_data_ = __webpack_require__(5);
4309  
4310  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/settings.js
4311  
4312  
4313  
4314  
4315  /**
4316   * Internal dependencies
4317   */
4318  
4319  /**
4320   * External dependencies
4321   */
4322  
4323  
4324  /**
4325   * WordPress dependencies
4326   */
4327  
4328  
4329  
4330  
4331  
4332  var embedAttributes = {
4333    url: {
4334      type: 'string'
4335    },
4336    caption: {
4337      type: 'string',
4338      source: 'html',
4339      selector: 'figcaption'
4340    },
4341    type: {
4342      type: 'string'
4343    },
4344    providerNameSlug: {
4345      type: 'string'
4346    },
4347    allowResponsive: {
4348      type: 'boolean',
4349      default: true
4350    }
4351  };
4352  function getEmbedBlockSettings(_ref) {
4353    var title = _ref.title,
4354        description = _ref.description,
4355        icon = _ref.icon,
4356        _ref$category = _ref.category,
4357        category = _ref$category === void 0 ? 'embed' : _ref$category,
4358        transforms = _ref.transforms,
4359        _ref$keywords = _ref.keywords,
4360        keywords = _ref$keywords === void 0 ? [] : _ref$keywords,
4361        _ref$supports = _ref.supports,
4362        supports = _ref$supports === void 0 ? {} : _ref$supports,
4363        _ref$responsive = _ref.responsive,
4364        responsive = _ref$responsive === void 0 ? true : _ref$responsive;
4365  
4366    var blockDescription = description || Object(external_this_wp_i18n_["__"])('Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.');
4367  
4368    var edit = getEmbedEditComponent(title, icon, responsive);
4369    return {
4370      title: title,
4371      description: blockDescription,
4372      icon: icon,
4373      category: category,
4374      keywords: keywords,
4375      attributes: embedAttributes,
4376      supports: Object(objectSpread["a" /* default */])({
4377        align: true
4378      }, supports),
4379      transforms: transforms,
4380      edit: Object(external_this_wp_compose_["compose"])(Object(external_this_wp_data_["withSelect"])(function (select, ownProps) {
4381        var url = ownProps.attributes.url;
4382        var core = select('core');
4383        var getEmbedPreview = core.getEmbedPreview,
4384            isPreviewEmbedFallback = core.isPreviewEmbedFallback,
4385            isRequestingEmbedPreview = core.isRequestingEmbedPreview,
4386            getThemeSupports = core.getThemeSupports;
4387        var preview = undefined !== url && getEmbedPreview(url);
4388        var previewIsFallback = undefined !== url && isPreviewEmbedFallback(url);
4389        var fetching = undefined !== url && isRequestingEmbedPreview(url);
4390        var themeSupports = getThemeSupports(); // The external oEmbed provider does not exist. We got no type info and no html.
4391  
4392        var badEmbedProvider = !!preview && undefined === preview.type && false === preview.html; // Some WordPress URLs that can't be embedded will cause the API to return
4393        // a valid JSON response with no HTML and `data.status` set to 404, rather
4394        // than generating a fallback response as other embeds do.
4395  
4396        var wordpressCantEmbed = !!preview && preview.data && preview.data.status === 404;
4397        var validPreview = !!preview && !badEmbedProvider && !wordpressCantEmbed;
4398        var cannotEmbed = undefined !== url && (!validPreview || previewIsFallback);
4399        return {
4400          preview: validPreview ? preview : undefined,
4401          fetching: fetching,
4402          themeSupportsResponsive: themeSupports['responsive-embeds'],
4403          cannotEmbed: cannotEmbed
4404        };
4405      }), Object(external_this_wp_data_["withDispatch"])(function (dispatch, ownProps) {
4406        var url = ownProps.attributes.url;
4407        var coreData = dispatch('core/data');
4408  
4409        var tryAgain = function tryAgain() {
4410          coreData.invalidateResolution('core', 'getEmbedPreview', [url]);
4411        };
4412  
4413        return {
4414          tryAgain: tryAgain
4415        };
4416      }))(edit),
4417      save: function save(_ref2) {
4418        var _classnames;
4419  
4420        var attributes = _ref2.attributes;
4421        var url = attributes.url,
4422            caption = attributes.caption,
4423            type = attributes.type,
4424            providerNameSlug = attributes.providerNameSlug;
4425  
4426        if (!url) {
4427          return null;
4428        }
4429  
4430        var embedClassName = dedupe_default()('wp-block-embed', (_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "is-type-".concat(type), type), Object(defineProperty["a" /* default */])(_classnames, "is-provider-".concat(providerNameSlug), providerNameSlug), _classnames));
4431        return Object(external_this_wp_element_["createElement"])("figure", {
4432          className: embedClassName
4433        }, Object(external_this_wp_element_["createElement"])("div", {
4434          className: "wp-block-embed__wrapper"
4435        }, "\n".concat(url, "\n")
4436        /* URL needs to be on its own line. */
4437        ), !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
4438          tagName: "figcaption",
4439          value: caption
4440        }));
4441      },
4442      deprecated: [{
4443        attributes: embedAttributes,
4444        save: function save(_ref3) {
4445          var _classnames2;
4446  
4447          var attributes = _ref3.attributes;
4448          var url = attributes.url,
4449              caption = attributes.caption,
4450              type = attributes.type,
4451              providerNameSlug = attributes.providerNameSlug;
4452  
4453          if (!url) {
4454            return null;
4455          }
4456  
4457          var embedClassName = dedupe_default()('wp-block-embed', (_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, "is-type-".concat(type), type), Object(defineProperty["a" /* default */])(_classnames2, "is-provider-".concat(providerNameSlug), providerNameSlug), _classnames2));
4458          return Object(external_this_wp_element_["createElement"])("figure", {
4459            className: embedClassName
4460          }, "\n".concat(url, "\n")
4461          /* URL needs to be on its own line. */
4462          , !external_this_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
4463            tagName: "figcaption",
4464            value: caption
4465          }));
4466        }
4467      }]
4468    };
4469  }
4470  
4471  // EXTERNAL MODULE: external {"this":["wp","blocks"]}
4472  var external_this_wp_blocks_ = __webpack_require__(14);
4473  
4474  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/index.js
4475  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return embed_name; });
4476  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
4477  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "common", function() { return common; });
4478  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "others", function() { return others; });
4479  
4480  
4481  /**
4482   * Internal dependencies
4483   */
4484  
4485  
4486  
4487  /**
4488   * WordPress dependencies
4489   */
4490  
4491  
4492  
4493  var embed_name = 'core/embed';
4494  var settings = getEmbedBlockSettings({
4495    title: Object(external_this_wp_i18n_["_x"])('Embed', 'block title'),
4496    description: Object(external_this_wp_i18n_["__"])('Embed videos, images, tweets, audio, and other content from external sources.'),
4497    icon: icons["c" /* embedContentIcon */],
4498    // Unknown embeds should not be responsive by default.
4499    responsive: false,
4500    transforms: {
4501      from: [{
4502        type: 'raw',
4503        isMatch: function isMatch(node) {
4504          return node.nodeName === 'P' && /^\s*(https?:\/\/\S+)\s*$/i.test(node.textContent);
4505        },
4506        transform: function transform(node) {
4507          return Object(external_this_wp_blocks_["createBlock"])('core/embed', {
4508            url: node.textContent.trim()
4509          });
4510        }
4511      }]
4512    }
4513  });
4514  var common = core_embeds["a" /* common */].map(function (embedDefinition) {
4515    return Object(objectSpread["a" /* default */])({}, embedDefinition, {
4516      settings: getEmbedBlockSettings(embedDefinition.settings)
4517    });
4518  });
4519  var others = core_embeds["b" /* others */].map(function (embedDefinition) {
4520    return Object(objectSpread["a" /* default */])({}, embedDefinition, {
4521      settings: getEmbedBlockSettings(embedDefinition.settings)
4522    });
4523  });
4524  
4525  
4526  /***/ }),
4527  /* 111 */,
4528  /* 112 */,
4529  /* 113 */,
4530  /* 114 */,
4531  /* 115 */,
4532  /* 116 */,
4533  /* 117 */
4534  /***/ (function(module, exports, __webpack_require__) {
4535  
4536  /* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathias */
4537  ;(function(root) {
4538  
4539      /** Detect free variables */
4540      var freeExports =  true && exports &&
4541          !exports.nodeType && exports;
4542      var freeModule =  true && module &&
4543          !module.nodeType && module;
4544      var freeGlobal = typeof global == 'object' && global;
4545      if (
4546          freeGlobal.global === freeGlobal ||
4547          freeGlobal.window === freeGlobal ||
4548          freeGlobal.self === freeGlobal
4549      ) {
4550          root = freeGlobal;
4551      }
4552  
4553      /**
4554       * The `punycode` object.
4555       * @name punycode
4556       * @type Object
4557       */
4558      var punycode,
4559  
4560      /** Highest positive signed 32-bit float value */
4561      maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1
4562  
4563      /** Bootstring parameters */
4564      base = 36,
4565      tMin = 1,
4566      tMax = 26,
4567      skew = 38,
4568      damp = 700,
4569      initialBias = 72,
4570      initialN = 128, // 0x80
4571      delimiter = '-', // '\x2D'
4572  
4573      /** Regular expressions */
4574      regexPunycode = /^xn--/,
4575      regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars
4576      regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators
4577  
4578      /** Error messages */
4579      errors = {
4580          'overflow': 'Overflow: input needs wider integers to process',
4581          'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
4582          'invalid-input': 'Invalid input'
4583      },
4584  
4585      /** Convenience shortcuts */
4586      baseMinusTMin = base - tMin,
4587      floor = Math.floor,
4588      stringFromCharCode = String.fromCharCode,
4589  
4590      /** Temporary variable */
4591      key;
4592  
4593      /*--------------------------------------------------------------------------*/
4594  
4595      /**
4596       * A generic error utility function.
4597       * @private
4598       * @param {String} type The error type.
4599       * @returns {Error} Throws a `RangeError` with the applicable error message.
4600       */
4601  	function error(type) {
4602          throw RangeError(errors[type]);
4603      }
4604  
4605      /**
4606       * A generic `Array#map` utility function.
4607       * @private
4608       * @param {Array} array The array to iterate over.
4609       * @param {Function} callback The function that gets called for every array
4610       * item.
4611       * @returns {Array} A new array of values returned by the callback function.
4612       */
4613  	function map(array, fn) {
4614          var length = array.length;
4615          var result = [];
4616          while (length--) {
4617              result[length] = fn(array[length]);
4618          }
4619          return result;
4620      }
4621  
4622      /**
4623       * A simple `Array#map`-like wrapper to work with domain name strings or email
4624       * addresses.
4625       * @private
4626       * @param {String} domain The domain name or email address.
4627       * @param {Function} callback The function that gets called for every
4628       * character.
4629       * @returns {Array} A new string of characters returned by the callback
4630       * function.
4631       */
4632  	function mapDomain(string, fn) {
4633          var parts = string.split('@');
4634          var result = '';
4635          if (parts.length > 1) {
4636              // In email addresses, only the domain name should be punycoded. Leave
4637              // the local part (i.e. everything up to `@`) intact.
4638              result = parts[0] + '@';
4639              string = parts[1];
4640          }
4641          // Avoid `split(regex)` for IE8 compatibility. See #17.
4642          string = string.replace(regexSeparators, '\x2E');
4643          var labels = string.split('.');
4644          var encoded = map(labels, fn).join('.');
4645          return result + encoded;
4646      }
4647  
4648      /**
4649       * Creates an array containing the numeric code points of each Unicode
4650       * character in the string. While JavaScript uses UCS-2 internally,
4651       * this function will convert a pair of surrogate halves (each of which
4652       * UCS-2 exposes as separate characters) into a single code point,
4653       * matching UTF-16.
4654       * @see `punycode.ucs2.encode`
4655       * @see <https://mathiasbynens.be/notes/javascript-encoding>
4656       * @memberOf punycode.ucs2
4657       * @name decode
4658       * @param {String} string The Unicode input string (UCS-2).
4659       * @returns {Array} The new array of code points.
4660       */
4661  	function ucs2decode(string) {
4662          var output = [],
4663              counter = 0,
4664              length = string.length,
4665              value,
4666              extra;
4667          while (counter < length) {
4668              value = string.charCodeAt(counter++);
4669              if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
4670                  // high surrogate, and there is a next character
4671                  extra = string.charCodeAt(counter++);
4672                  if ((extra & 0xFC00) == 0xDC00) { // low surrogate
4673                      output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
4674                  } else {
4675                      // unmatched surrogate; only append this code unit, in case the next
4676                      // code unit is the high surrogate of a surrogate pair
4677                      output.push(value);
4678                      counter--;
4679                  }
4680              } else {
4681                  output.push(value);
4682              }
4683          }
4684          return output;
4685      }
4686  
4687      /**
4688       * Creates a string based on an array of numeric code points.
4689       * @see `punycode.ucs2.decode`
4690       * @memberOf punycode.ucs2
4691       * @name encode
4692       * @param {Array} codePoints The array of numeric code points.
4693       * @returns {String} The new Unicode string (UCS-2).
4694       */
4695  	function ucs2encode(array) {
4696          return map(array, function(value) {
4697              var output = '';
4698              if (value > 0xFFFF) {
4699                  value -= 0x10000;
4700                  output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);
4701                  value = 0xDC00 | value & 0x3FF;
4702              }
4703              output += stringFromCharCode(value);
4704              return output;
4705          }).join('');
4706      }
4707  
4708      /**
4709       * Converts a basic code point into a digit/integer.
4710       * @see `digitToBasic()`
4711       * @private
4712       * @param {Number} codePoint The basic numeric code point value.
4713       * @returns {Number} The numeric value of a basic code point (for use in
4714       * representing integers) in the range `0` to `base - 1`, or `base` if
4715       * the code point does not represent a value.
4716       */
4717  	function basicToDigit(codePoint) {
4718          if (codePoint - 48 < 10) {
4719              return codePoint - 22;
4720          }
4721          if (codePoint - 65 < 26) {
4722              return codePoint - 65;
4723          }
4724          if (codePoint - 97 < 26) {
4725              return codePoint - 97;
4726          }
4727          return base;
4728      }
4729  
4730      /**
4731       * Converts a digit/integer into a basic code point.
4732       * @see `basicToDigit()`
4733       * @private
4734       * @param {Number} digit The numeric value of a basic code point.
4735       * @returns {Number} The basic code point whose value (when used for
4736       * representing integers) is `digit`, which needs to be in the range
4737       * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
4738       * used; else, the lowercase form is used. The behavior is undefined
4739       * if `flag` is non-zero and `digit` has no uppercase form.
4740       */
4741  	function digitToBasic(digit, flag) {
4742          //  0..25 map to ASCII a..z or A..Z
4743          // 26..35 map to ASCII 0..9
4744          return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
4745      }
4746  
4747      /**
4748       * Bias adaptation function as per section 3.4 of RFC 3492.
4749       * http://tools.ietf.org/html/rfc3492#section-3.4
4750       * @private
4751       */
4752  	function adapt(delta, numPoints, firstTime) {
4753          var k = 0;
4754          delta = firstTime ? floor(delta / damp) : delta >> 1;
4755          delta += floor(delta / numPoints);
4756          for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {
4757              delta = floor(delta / baseMinusTMin);
4758          }
4759          return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
4760      }
4761  
4762      /**
4763       * Converts a Punycode string of ASCII-only symbols to a string of Unicode
4764       * symbols.
4765       * @memberOf punycode
4766       * @param {String} input The Punycode string of ASCII-only symbols.
4767       * @returns {String} The resulting string of Unicode symbols.
4768       */
4769  	function decode(input) {
4770          // Don't use UCS-2
4771          var output = [],
4772              inputLength = input.length,
4773              out,
4774              i = 0,
4775              n = initialN,
4776              bias = initialBias,
4777              basic,
4778              j,
4779              index,
4780              oldi,
4781              w,
4782              k,
4783              digit,
4784              t,
4785              /** Cached calculation results */
4786              baseMinusT;
4787  
4788          // Handle the basic code points: let `basic` be the number of input code
4789          // points before the last delimiter, or `0` if there is none, then copy
4790          // the first basic code points to the output.
4791  
4792          basic = input.lastIndexOf(delimiter);
4793          if (basic < 0) {
4794              basic = 0;
4795          }
4796  
4797          for (j = 0; j < basic; ++j) {
4798              // if it's not a basic code point
4799              if (input.charCodeAt(j) >= 0x80) {
4800                  error('not-basic');
4801              }
4802              output.push(input.charCodeAt(j));
4803          }
4804  
4805          // Main decoding loop: start just after the last delimiter if any basic code
4806          // points were copied; start at the beginning otherwise.
4807  
4808          for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {
4809  
4810              // `index` is the index of the next character to be consumed.
4811              // Decode a generalized variable-length integer into `delta`,
4812              // which gets added to `i`. The overflow checking is easier
4813              // if we increase `i` as we go, then subtract off its starting
4814              // value at the end to obtain `delta`.
4815              for (oldi = i, w = 1, k = base; /* no condition */; k += base) {
4816  
4817                  if (index >= inputLength) {
4818                      error('invalid-input');
4819                  }
4820  
4821                  digit = basicToDigit(input.charCodeAt(index++));
4822  
4823                  if (digit >= base || digit > floor((maxInt - i) / w)) {
4824                      error('overflow');
4825                  }
4826  
4827                  i += digit * w;
4828                  t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
4829  
4830                  if (digit < t) {
4831                      break;
4832                  }
4833  
4834                  baseMinusT = base - t;
4835                  if (w > floor(maxInt / baseMinusT)) {
4836                      error('overflow');
4837                  }
4838  
4839                  w *= baseMinusT;
4840  
4841              }
4842  
4843              out = output.length + 1;
4844              bias = adapt(i - oldi, out, oldi == 0);
4845  
4846              // `i` was supposed to wrap around from `out` to `0`,
4847              // incrementing `n` each time, so we'll fix that now:
4848              if (floor(i / out) > maxInt - n) {
4849                  error('overflow');
4850              }
4851  
4852              n += floor(i / out);
4853              i %= out;
4854  
4855              // Insert `n` at position `i` of the output
4856              output.splice(i++, 0, n);
4857  
4858          }
4859  
4860          return ucs2encode(output);
4861      }
4862  
4863      /**
4864       * Converts a string of Unicode symbols (e.g. a domain name label) to a
4865       * Punycode string of ASCII-only symbols.
4866       * @memberOf punycode
4867       * @param {String} input The string of Unicode symbols.
4868       * @returns {String} The resulting Punycode string of ASCII-only symbols.
4869       */
4870  	function encode(input) {
4871          var n,
4872              delta,
4873              handledCPCount,
4874              basicLength,
4875              bias,
4876              j,
4877              m,
4878              q,
4879              k,
4880              t,
4881              currentValue,
4882              output = [],
4883              /** `inputLength` will hold the number of code points in `input`. */
4884              inputLength,
4885              /** Cached calculation results */
4886              handledCPCountPlusOne,
4887              baseMinusT,
4888              qMinusT;
4889  
4890          // Convert the input in UCS-2 to Unicode
4891          input = ucs2decode(input);
4892  
4893          // Cache the length
4894          inputLength = input.length;
4895  
4896          // Initialize the state
4897          n = initialN;
4898          delta = 0;
4899          bias = initialBias;
4900  
4901          // Handle the basic code points
4902          for (j = 0; j < inputLength; ++j) {
4903              currentValue = input[j];
4904              if (currentValue < 0x80) {
4905                  output.push(stringFromCharCode(currentValue));
4906              }
4907          }
4908  
4909          handledCPCount = basicLength = output.length;
4910  
4911          // `handledCPCount` is the number of code points that have been handled;
4912          // `basicLength` is the number of basic code points.
4913  
4914          // Finish the basic string - if it is not empty - with a delimiter
4915          if (basicLength) {
4916              output.push(delimiter);
4917          }
4918  
4919          // Main encoding loop:
4920          while (handledCPCount < inputLength) {
4921  
4922              // All non-basic code points < n have been handled already. Find the next
4923              // larger one:
4924              for (m = maxInt, j = 0; j < inputLength; ++j) {
4925                  currentValue = input[j];
4926                  if (currentValue >= n && currentValue < m) {
4927                      m = currentValue;
4928                  }
4929              }
4930  
4931              // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,
4932              // but guard against overflow
4933              handledCPCountPlusOne = handledCPCount + 1;
4934              if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
4935                  error('overflow');
4936              }
4937  
4938              delta += (m - n) * handledCPCountPlusOne;
4939              n = m;
4940  
4941              for (j = 0; j < inputLength; ++j) {
4942                  currentValue = input[j];
4943  
4944                  if (currentValue < n && ++delta > maxInt) {
4945                      error('overflow');
4946                  }
4947  
4948                  if (currentValue == n) {
4949                      // Represent delta as a generalized variable-length integer
4950                      for (q = delta, k = base; /* no condition */; k += base) {
4951                          t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
4952                          if (q < t) {
4953                              break;
4954                          }
4955                          qMinusT = q - t;
4956                          baseMinusT = base - t;
4957                          output.push(
4958                              stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))
4959                          );
4960                          q = floor(qMinusT / baseMinusT);
4961                      }
4962  
4963                      output.push(stringFromCharCode(digitToBasic(q, 0)));
4964                      bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
4965                      delta = 0;
4966                      ++handledCPCount;
4967                  }
4968              }
4969  
4970              ++delta;
4971              ++n;
4972  
4973          }
4974          return output.join('');
4975      }
4976  
4977      /**
4978       * Converts a Punycode string representing a domain name or an email address
4979       * to Unicode. Only the Punycoded parts of the input will be converted, i.e.
4980       * it doesn't matter if you call it on a string that has already been
4981       * converted to Unicode.
4982       * @memberOf punycode
4983       * @param {String} input The Punycoded domain name or email address to
4984       * convert to Unicode.
4985       * @returns {String} The Unicode representation of the given Punycode
4986       * string.
4987       */
4988  	function toUnicode(input) {
4989          return mapDomain(input, function(string) {
4990              return regexPunycode.test(string)
4991                  ? decode(string.slice(4).toLowerCase())
4992                  : string;
4993          });
4994      }
4995  
4996      /**
4997       * Converts a Unicode string representing a domain name or an email address to
4998       * Punycode. Only the non-ASCII parts of the domain name will be converted,
4999       * i.e. it doesn't matter if you call it with a domain that's already in
5000       * ASCII.
5001       * @memberOf punycode
5002       * @param {String} input The domain name or email address to convert, as a
5003       * Unicode string.
5004       * @returns {String} The Punycode representation of the given domain name or
5005       * email address.
5006       */
5007  	function toASCII(input) {
5008          return mapDomain(input, function(string) {
5009              return regexNonASCII.test(string)
5010                  ? 'xn--' + encode(string)
5011                  : string;
5012          });
5013      }
5014  
5015      /*--------------------------------------------------------------------------*/
5016  
5017      /** Define the public API */
5018      punycode = {
5019          /**
5020           * A string representing the current Punycode.js version number.
5021           * @memberOf punycode
5022           * @type String
5023           */
5024          'version': '1.3.2',
5025          /**
5026           * An object of methods to convert from JavaScript's internal character
5027           * representation (UCS-2) to Unicode code points, and back.
5028           * @see <https://mathiasbynens.be/notes/javascript-encoding>
5029           * @memberOf punycode
5030           * @type Object
5031           */
5032          'ucs2': {
5033              'decode': ucs2decode,
5034              'encode': ucs2encode
5035          },
5036          'decode': decode,
5037          'encode': encode,
5038          'toASCII': toASCII,
5039          'toUnicode': toUnicode
5040      };
5041  
5042      /** Expose `punycode` */
5043      // Some AMD build optimizers, like r.js, check for specific condition patterns
5044      // like the following:
5045      if (
5046          true
5047      ) {
5048          !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
5049              return punycode;
5050          }).call(exports, __webpack_require__, exports, module),
5051                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
5052      } else {}
5053  
5054  }(this));
5055  
5056  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(118)(module), __webpack_require__(58)))
5057  
5058  /***/ }),
5059  /* 118 */
5060  /***/ (function(module, exports) {
5061  
5062  module.exports = function(module) {
5063      if (!module.webpackPolyfill) {
5064          module.deprecate = function() {};
5065          module.paths = [];
5066          // module.parent = undefined by default
5067          if (!module.children) module.children = [];
5068          Object.defineProperty(module, "loaded", {
5069              enumerable: true,
5070              get: function() {
5071                  return module.l;
5072              }
5073          });
5074          Object.defineProperty(module, "id", {
5075              enumerable: true,
5076              get: function() {
5077                  return module.i;
5078              }
5079          });
5080          module.webpackPolyfill = 1;
5081      }
5082      return module;
5083  };
5084  
5085  
5086  /***/ }),
5087  /* 119 */
5088  /***/ (function(module, exports, __webpack_require__) {
5089  
5090  "use strict";
5091  
5092  
5093  module.exports = {
5094    isString: function(arg) {
5095      return typeof(arg) === 'string';
5096    },
5097    isObject: function(arg) {
5098      return typeof(arg) === 'object' && arg !== null;
5099    },
5100    isNull: function(arg) {
5101      return arg === null;
5102    },
5103    isNullOrUndefined: function(arg) {
5104      return arg == null;
5105    }
5106  };
5107  
5108  
5109  /***/ }),
5110  /* 120 */
5111  /***/ (function(module, exports, __webpack_require__) {
5112  
5113  "use strict";
5114  
5115  
5116  exports.decode = exports.parse = __webpack_require__(121);
5117  exports.encode = exports.stringify = __webpack_require__(122);
5118  
5119  
5120  /***/ }),
5121  /* 121 */
5122  /***/ (function(module, exports, __webpack_require__) {
5123  
5124  "use strict";
5125  // Copyright Joyent, Inc. and other Node contributors.
5126  //
5127  // Permission is hereby granted, free of charge, to any person obtaining a
5128  // copy of this software and associated documentation files (the
5129  // "Software"), to deal in the Software without restriction, including
5130  // without limitation the rights to use, copy, modify, merge, publish,
5131  // distribute, sublicense, and/or sell copies of the Software, and to permit
5132  // persons to whom the Software is furnished to do so, subject to the
5133  // following conditions:
5134  //
5135  // The above copyright notice and this permission notice shall be included
5136  // in all copies or substantial portions of the Software.
5137  //
5138  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
5139  // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5140  // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
5141  // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
5142  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
5143  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
5144  // USE OR OTHER DEALINGS IN THE SOFTWARE.
5145  
5146  
5147  
5148  // If obj.hasOwnProperty has been overridden, then calling
5149  // obj.hasOwnProperty(prop) will break.
5150  // See: https://github.com/joyent/node/issues/1707
5151  function hasOwnProperty(obj, prop) {
5152    return Object.prototype.hasOwnProperty.call(obj, prop);
5153  }
5154  
5155  module.exports = function(qs, sep, eq, options) {
5156    sep = sep || '&';
5157    eq = eq || '=';
5158    var obj = {};
5159  
5160    if (typeof qs !== 'string' || qs.length === 0) {
5161      return obj;
5162    }
5163  
5164    var regexp = /\+/g;
5165    qs = qs.split(sep);
5166  
5167    var maxKeys = 1000;
5168    if (options && typeof options.maxKeys === 'number') {
5169      maxKeys = options.maxKeys;
5170    }
5171  
5172    var len = qs.length;
5173    // maxKeys <= 0 means that we should not limit keys count
5174    if (maxKeys > 0 && len > maxKeys) {
5175      len = maxKeys;
5176    }
5177  
5178    for (var i = 0; i < len; ++i) {
5179      var x = qs[i].replace(regexp, '%20'),
5180          idx = x.indexOf(eq),
5181          kstr, vstr, k, v;
5182  
5183      if (idx >= 0) {
5184        kstr = x.substr(0, idx);
5185        vstr = x.substr(idx + 1);
5186      } else {
5187        kstr = x;
5188        vstr = '';
5189      }
5190  
5191      k = decodeURIComponent(kstr);
5192      v = decodeURIComponent(vstr);
5193  
5194      if (!hasOwnProperty(obj, k)) {
5195        obj[k] = v;
5196      } else if (isArray(obj[k])) {
5197        obj[k].push(v);
5198      } else {
5199        obj[k] = [obj[k], v];
5200      }
5201    }
5202  
5203    return obj;
5204  };
5205  
5206  var isArray = Array.isArray || function (xs) {
5207    return Object.prototype.toString.call(xs) === '[object Array]';
5208  };
5209  
5210  
5211  /***/ }),
5212  /* 122 */
5213  /***/ (function(module, exports, __webpack_require__) {
5214  
5215  "use strict";
5216  // Copyright Joyent, Inc. and other Node contributors.
5217  //
5218  // Permission is hereby granted, free of charge, to any person obtaining a
5219  // copy of this software and associated documentation files (the
5220  // "Software"), to deal in the Software without restriction, including
5221  // without limitation the rights to use, copy, modify, merge, publish,
5222  // distribute, sublicense, and/or sell copies of the Software, and to permit
5223  // persons to whom the Software is furnished to do so, subject to the
5224  // following conditions:
5225  //
5226  // The above copyright notice and this permission notice shall be included
5227  // in all copies or substantial portions of the Software.
5228  //
5229  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
5230  // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5231  // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
5232  // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
5233  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
5234  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
5235  // USE OR OTHER DEALINGS IN THE SOFTWARE.
5236  
5237  
5238  
5239  var stringifyPrimitive = function(v) {
5240    switch (typeof v) {
5241      case 'string':
5242        return v;
5243  
5244      case 'boolean':
5245        return v ? 'true' : 'false';
5246  
5247      case 'number':
5248        return isFinite(v) ? v : '';
5249  
5250      default:
5251        return '';
5252    }
5253  };
5254  
5255  module.exports = function(obj, sep, eq, name) {
5256    sep = sep || '&';
5257    eq = eq || '=';
5258    if (obj === null) {
5259      obj = undefined;
5260    }
5261  
5262    if (typeof obj === 'object') {
5263      return map(objectKeys(obj), function(k) {
5264        var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
5265        if (isArray(obj[k])) {
5266          return map(obj[k], function(v) {
5267            return ks + encodeURIComponent(stringifyPrimitive(v));
5268          }).join(sep);
5269        } else {
5270          return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
5271        }
5272      }).join(sep);
5273  
5274    }
5275  
5276    if (!name) return '';
5277    return encodeURIComponent(stringifyPrimitive(name)) + eq +
5278           encodeURIComponent(stringifyPrimitive(obj));
5279  };
5280  
5281  var isArray = Array.isArray || function (xs) {
5282    return Object.prototype.toString.call(xs) === '[object Array]';
5283  };
5284  
5285  function map (xs, f) {
5286    if (xs.map) return xs.map(f);
5287    var res = [];
5288    for (var i = 0; i < xs.length; i++) {
5289      res.push(f(xs[i], i));
5290    }
5291    return res;
5292  }
5293  
5294  var objectKeys = Object.keys || function (obj) {
5295    var res = [];
5296    for (var key in obj) {
5297      if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
5298    }
5299    return res;
5300  };
5301  
5302  
5303  /***/ }),
5304  /* 123 */,
5305  /* 124 */,
5306  /* 125 */,
5307  /* 126 */,
5308  /* 127 */,
5309  /* 128 */,
5310  /* 129 */,
5311  /* 130 */,
5312  /* 131 */,
5313  /* 132 */,
5314  /* 133 */,
5315  /* 134 */,
5316  /* 135 */,
5317  /* 136 */,
5318  /* 137 */,
5319  /* 138 */
5320  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5321  
5322  "use strict";
5323  __webpack_require__.r(__webpack_exports__);
5324  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
5325  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
5326  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
5327  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
5328  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
5329  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
5330  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
5331  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
5332  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
5333  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
5334  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5);
5335  /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
5336  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8);
5337  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5__);
5338  
5339  
5340  /**
5341   * WordPress dependencies
5342   */
5343  
5344  
5345  
5346  
5347  
5348  
5349  
5350  function MissingBlockWarning(_ref) {
5351    var attributes = _ref.attributes,
5352        convertToHTML = _ref.convertToHTML;
5353    var originalName = attributes.originalName,
5354        originalUndelimitedContent = attributes.originalUndelimitedContent;
5355    var hasContent = !!originalUndelimitedContent;
5356    var hasHTMLBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["getBlockType"])('core/html');
5357    var actions = [];
5358    var messageHTML;
5359  
5360    if (hasContent && hasHTMLBlock) {
5361      messageHTML = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'), originalName);
5362      actions.push(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], {
5363        key: "convert",
5364        onClick: convertToHTML,
5365        isLarge: true,
5366        isPrimary: true
5367      }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Keep as HTML')));
5368    } else {
5369      messageHTML = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'), originalName);
5370    }
5371  
5372    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_5__["Warning"], {
5373      actions: actions
5374    }, messageHTML), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["RawHTML"], null, originalUndelimitedContent));
5375  }
5376  
5377  var edit = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])(function (dispatch, _ref2) {
5378    var clientId = _ref2.clientId,
5379        attributes = _ref2.attributes;
5380  
5381    var _dispatch = dispatch('core/block-editor'),
5382        replaceBlock = _dispatch.replaceBlock;
5383  
5384    return {
5385      convertToHTML: function convertToHTML() {
5386        replaceBlock(clientId, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["createBlock"])('core/html', {
5387          content: attributes.originalUndelimitedContent
5388        }));
5389      }
5390    };
5391  })(MissingBlockWarning);
5392  var name = 'core/missing';
5393  var settings = {
5394    name: name,
5395    category: 'common',
5396    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Unrecognized Block'),
5397    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Your site doesn’t include support for this block.'),
5398    supports: {
5399      className: false,
5400      customClassName: false,
5401      inserter: false,
5402      html: false,
5403      reusable: false
5404    },
5405    attributes: {
5406      originalName: {
5407        type: 'string'
5408      },
5409      originalUndelimitedContent: {
5410        type: 'string'
5411      },
5412      originalContent: {
5413        type: 'string',
5414        source: 'html'
5415      }
5416    },
5417    edit: edit,
5418    save: function save(_ref3) {
5419      var attributes = _ref3.attributes;
5420      // Preserve the missing block's content.
5421      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["RawHTML"], null, attributes.originalContent);
5422    }
5423  };
5424  
5425  
5426  /***/ }),
5427  /* 139 */,
5428  /* 140 */
5429  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5430  
5431  "use strict";
5432  __webpack_require__.r(__webpack_exports__);
5433  
5434  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
5435  var defineProperty = __webpack_require__(15);
5436  
5437  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
5438  var objectSpread = __webpack_require__(7);
5439  
5440  // EXTERNAL MODULE: external {"this":["wp","element"]}
5441  var external_this_wp_element_ = __webpack_require__(0);
5442  
5443  // EXTERNAL MODULE: ./node_modules/classnames/index.js
5444  var classnames = __webpack_require__(16);
5445  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
5446  
5447  // EXTERNAL MODULE: external "lodash"
5448  var external_lodash_ = __webpack_require__(2);
5449  
5450  // EXTERNAL MODULE: external {"this":["wp","i18n"]}
5451  var external_this_wp_i18n_ = __webpack_require__(1);
5452  
5453  // EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
5454  var external_this_wp_blockEditor_ = __webpack_require__(8);
5455  
5456  // EXTERNAL MODULE: external {"this":["wp","blocks"]}
5457  var external_this_wp_blocks_ = __webpack_require__(14);
5458  
5459  // EXTERNAL MODULE: external {"this":["wp","components"]}
5460  var external_this_wp_components_ = __webpack_require__(4);
5461  
5462  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
5463  var esm_extends = __webpack_require__(19);
5464  
5465  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
5466  var classCallCheck = __webpack_require__(10);
5467  
5468  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
5469  var createClass = __webpack_require__(9);
5470  
5471  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
5472  var possibleConstructorReturn = __webpack_require__(11);
5473  
5474  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
5475  var getPrototypeOf = __webpack_require__(12);
5476  
5477  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
5478  var inherits = __webpack_require__(13);
5479  
5480  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
5481  var assertThisInitialized = __webpack_require__(3);
5482  
5483  // EXTERNAL MODULE: external {"this":["wp","compose"]}
5484  var external_this_wp_compose_ = __webpack_require__(6);
5485  
5486  // EXTERNAL MODULE: external {"this":["wp","data"]}
5487  var external_this_wp_data_ = __webpack_require__(5);
5488  
5489  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/edit.js
5490  
5491  
5492  
5493  
5494  
5495  
5496  
5497  
5498  
5499  
5500  
5501  /**
5502   * External dependencies
5503   */
5504  
5505  /**
5506   * WordPress dependencies
5507   */
5508  
5509  
5510  
5511  
5512  
5513  
5514  
5515  
5516  var _window = window,
5517      getComputedStyle = _window.getComputedStyle;
5518  var edit_name = 'core/paragraph';
5519  var applyFallbackStyles = Object(external_this_wp_components_["withFallbackStyles"])(function (node, ownProps) {
5520    var _ownProps$attributes = ownProps.attributes,
5521        textColor = _ownProps$attributes.textColor,
5522        backgroundColor = _ownProps$attributes.backgroundColor,
5523        fontSize = _ownProps$attributes.fontSize,
5524        customFontSize = _ownProps$attributes.customFontSize;
5525    var editableNode = node.querySelector('[contenteditable="true"]'); //verify if editableNode is available, before using getComputedStyle.
5526  
5527    var computedStyles = editableNode ? getComputedStyle(editableNode) : null;
5528    return {
5529      fallbackBackgroundColor: backgroundColor || !computedStyles ? undefined : computedStyles.backgroundColor,
5530      fallbackTextColor: textColor || !computedStyles ? undefined : computedStyles.color,
5531      fallbackFontSize: fontSize || customFontSize || !computedStyles ? undefined : parseInt(computedStyles.fontSize) || undefined
5532    };
5533  });
5534  
5535  var edit_ParagraphBlock =
5536  /*#__PURE__*/
5537  function (_Component) {
5538    Object(inherits["a" /* default */])(ParagraphBlock, _Component);
5539  
5540    function ParagraphBlock() {
5541      var _this;
5542  
5543      Object(classCallCheck["a" /* default */])(this, ParagraphBlock);
5544  
5545      _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ParagraphBlock).apply(this, arguments));
5546      _this.onReplace = _this.onReplace.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
5547      _this.toggleDropCap = _this.toggleDropCap.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
5548      _this.splitBlock = _this.splitBlock.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
5549      return _this;
5550    }
5551  
5552    Object(createClass["a" /* default */])(ParagraphBlock, [{
5553      key: "onReplace",
5554      value: function onReplace(blocks) {
5555        var _this$props = this.props,
5556            attributes = _this$props.attributes,
5557            onReplace = _this$props.onReplace;
5558        onReplace(blocks.map(function (block, index) {
5559          return index === 0 && block.name === edit_name ? Object(objectSpread["a" /* default */])({}, block, {
5560            attributes: Object(objectSpread["a" /* default */])({}, attributes, block.attributes)
5561          }) : block;
5562        }));
5563      }
5564    }, {
5565      key: "toggleDropCap",
5566      value: function toggleDropCap() {
5567        var _this$props2 = this.props,
5568            attributes = _this$props2.attributes,
5569            setAttributes = _this$props2.setAttributes;
5570        setAttributes({
5571          dropCap: !attributes.dropCap
5572        });
5573      }
5574    }, {
5575      key: "getDropCapHelp",
5576      value: function getDropCapHelp(checked) {
5577        return checked ? Object(external_this_wp_i18n_["__"])('Showing large initial letter.') : Object(external_this_wp_i18n_["__"])('Toggle to show a large initial letter.');
5578      }
5579      /**
5580       * Split handler for RichText value, namely when content is pasted or the
5581       * user presses the Enter key.
5582       *
5583       * @param {?Array}     before Optional before value, to be used as content
5584       *                            in place of what exists currently for the
5585       *                            block. If undefined, the block is deleted.
5586       * @param {?Array}     after  Optional after value, to be appended in a new
5587       *                            paragraph block to the set of blocks passed
5588       *                            as spread.
5589       * @param {...WPBlock} blocks Optional blocks inserted between the before
5590       *                            and after value blocks.
5591       */
5592  
5593    }, {
5594      key: "splitBlock",
5595      value: function splitBlock(before, after) {
5596        var _this$props3 = this.props,
5597            attributes = _this$props3.attributes,
5598            insertBlocksAfter = _this$props3.insertBlocksAfter,
5599            setAttributes = _this$props3.setAttributes,
5600            onReplace = _this$props3.onReplace;
5601  
5602        for (var _len = arguments.length, blocks = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
5603          blocks[_key - 2] = arguments[_key];
5604        }
5605  
5606        if (after !== null) {
5607          // Append "After" content as a new paragraph block to the end of
5608          // any other blocks being inserted after the current paragraph.
5609          blocks.push(Object(external_this_wp_blocks_["createBlock"])(edit_name, {
5610            content: after
5611          }));
5612        }
5613  
5614        if (blocks.length && insertBlocksAfter) {
5615          insertBlocksAfter(blocks);
5616        }
5617  
5618        var content = attributes.content;
5619  
5620        if (before === null) {
5621          // If before content is omitted, treat as intent to delete block.
5622          onReplace([]);
5623        } else if (content !== before) {
5624          // Only update content if it has in-fact changed. In case that user
5625          // has created a new paragraph at end of an existing one, the value
5626          // of before will be strictly equal to the current content.
5627          setAttributes({
5628            content: before
5629          });
5630        }
5631      }
5632    }, {
5633      key: "render",
5634      value: function render() {
5635        var _classnames;
5636  
5637        var _this$props4 = this.props,
5638            attributes = _this$props4.attributes,
5639            setAttributes = _this$props4.setAttributes,
5640            mergeBlocks = _this$props4.mergeBlocks,
5641            onReplace = _this$props4.onReplace,
5642            className = _this$props4.className,
5643            backgroundColor = _this$props4.backgroundColor,
5644            textColor = _this$props4.textColor,
5645            setBackgroundColor = _this$props4.setBackgroundColor,
5646            setTextColor = _this$props4.setTextColor,
5647            fallbackBackgroundColor = _this$props4.fallbackBackgroundColor,
5648            fallbackTextColor = _this$props4.fallbackTextColor,
5649            fallbackFontSize = _this$props4.fallbackFontSize,
5650            fontSize = _this$props4.fontSize,
5651            setFontSize = _this$props4.setFontSize,
5652            isRTL = _this$props4.isRTL;
5653        var align = attributes.align,
5654            content = attributes.content,
5655            dropCap = attributes.dropCap,
5656            placeholder = attributes.placeholder,
5657            direction = attributes.direction;
5658        return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["BlockControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["AlignmentToolbar"], {
5659          value: align,
5660          onChange: function onChange(nextAlign) {
5661            setAttributes({
5662              align: nextAlign
5663            });
5664          }
5665        }), isRTL && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Toolbar"], {
5666          controls: [{
5667            icon: 'editor-ltr',
5668            title: Object(external_this_wp_i18n_["_x"])('Left to right', 'editor button'),
5669            isActive: direction === 'ltr',
5670            onClick: function onClick() {
5671              var nextDirection = direction === 'ltr' ? undefined : 'ltr';
5672              setAttributes({
5673                direction: nextDirection
5674              });
5675            }
5676          }]
5677        })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["InspectorControls"], null, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["PanelBody"], {
5678          title: Object(external_this_wp_i18n_["__"])('Text Settings'),
5679          className: "blocks-font-size"
5680        }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["FontSizePicker"], {
5681          fallbackFontSize: fallbackFontSize,
5682          value: fontSize.size,
5683          onChange: setFontSize
5684        }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["ToggleControl"], {
5685          label: Object(external_this_wp_i18n_["__"])('Drop Cap'),
5686          checked: !!dropCap,
5687          onChange: this.toggleDropCap,
5688          help: this.getDropCapHelp
5689        })), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["PanelColorSettings"], {
5690          title: Object(external_this_wp_i18n_["__"])('Color Settings'),
5691          initialOpen: false,
5692          colorSettings: [{
5693            value: backgroundColor.color,
5694            onChange: setBackgroundColor,
5695            label: Object(external_this_wp_i18n_["__"])('Background Color')
5696          }, {
5697            value: textColor.color,
5698            onChange: setTextColor,
5699            label: Object(external_this_wp_i18n_["__"])('Text Color')
5700          }]
5701        }, Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["ContrastChecker"], Object(esm_extends["a" /* default */])({
5702          textColor: textColor.color,
5703          backgroundColor: backgroundColor.color,
5704          fallbackTextColor: fallbackTextColor,
5705          fallbackBackgroundColor: fallbackBackgroundColor
5706        }, {
5707          fontSize: fontSize.size
5708        })))), Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"], {
5709          identifier: "content",
5710          tagName: "p",
5711          className: classnames_default()('wp-block-paragraph', className, (_classnames = {
5712            'has-text-color': textColor.color,
5713            'has-background': backgroundColor.color,
5714            'has-drop-cap': dropCap
5715          }, Object(defineProperty["a" /* default */])(_classnames, backgroundColor.class, backgroundColor.class), Object(defineProperty["a" /* default */])(_classnames, textColor.class, textColor.class), Object(defineProperty["a" /* default */])(_classnames, fontSize.class, fontSize.class), _classnames)),
5716          style: {
5717            backgroundColor: backgroundColor.color,
5718            color: textColor.color,
5719            fontSize: fontSize.size ? fontSize.size + 'px' : undefined,
5720            textAlign: align,
5721            direction: direction
5722          },
5723          value: content,
5724          onChange: function onChange(nextContent) {
5725            setAttributes({
5726              content: nextContent
5727            });
5728          },
5729          unstableOnSplit: this.splitBlock,
5730          onMerge: mergeBlocks,
5731          onReplace: this.onReplace,
5732          onRemove: function onRemove() {
5733            return onReplace([]);
5734          },
5735          "aria-label": content ? Object(external_this_wp_i18n_["__"])('Paragraph block') : Object(external_this_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'),
5736          placeholder: placeholder || Object(external_this_wp_i18n_["__"])('Start writing or type / to choose a block')
5737        }));
5738      }
5739    }]);
5740  
5741    return ParagraphBlock;
5742  }(external_this_wp_element_["Component"]);
5743  
5744  var ParagraphEdit = Object(external_this_wp_compose_["compose"])([Object(external_this_wp_blockEditor_["withColors"])('backgroundColor', {
5745    textColor: 'color'
5746  }), Object(external_this_wp_blockEditor_["withFontSizes"])('fontSize'), applyFallbackStyles, Object(external_this_wp_data_["withSelect"])(function (select) {
5747    var _select = select('core/block-editor'),
5748        getSettings = _select.getSettings;
5749  
5750    return {
5751      isRTL: getSettings().isRTL
5752    };
5753  })])(edit_ParagraphBlock);
5754  /* harmony default export */ var edit = (ParagraphEdit);
5755  
5756  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
5757  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return paragraph_name; });
5758  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
5759  
5760  
5761  
5762  
5763  /**
5764   * External dependencies
5765   */
5766  
5767  
5768  /**
5769   * WordPress dependencies
5770   */
5771  
5772  
5773  
5774  
5775  
5776  
5777  /**
5778   * Internal dependencies
5779   */
5780  
5781  
5782  var supports = {
5783    className: false
5784  };
5785  var schema = {
5786    content: {
5787      type: 'string',
5788      source: 'html',
5789      selector: 'p',
5790      default: ''
5791    },
5792    align: {
5793      type: 'string'
5794    },
5795    dropCap: {
5796      type: 'boolean',
5797      default: false
5798    },
5799    placeholder: {
5800      type: 'string'
5801    },
5802    textColor: {
5803      type: 'string'
5804    },
5805    customTextColor: {
5806      type: 'string'
5807    },
5808    backgroundColor: {
5809      type: 'string'
5810    },
5811    customBackgroundColor: {
5812      type: 'string'
5813    },
5814    fontSize: {
5815      type: 'string'
5816    },
5817    customFontSize: {
5818      type: 'number'
5819    },
5820    direction: {
5821      type: 'string',
5822      enum: ['ltr', 'rtl']
5823    }
5824  };
5825  var paragraph_name = 'core/paragraph';
5826  var settings = {
5827    title: Object(external_this_wp_i18n_["__"])('Paragraph'),
5828    description: Object(external_this_wp_i18n_["__"])('Start with the building block of all narrative.'),
5829    icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
5830      xmlns: "http://www.w3.org/2000/svg",
5831      viewBox: "0 0 24 24"
5832    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
5833      d: "M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"
5834    })),
5835    category: 'common',
5836    keywords: [Object(external_this_wp_i18n_["__"])('text')],
5837    supports: supports,
5838    attributes: schema,
5839    transforms: {
5840      from: [{
5841        type: 'raw',
5842        // Paragraph is a fallback and should be matched last.
5843        priority: 20,
5844        selector: 'p',
5845        schema: {
5846          p: {
5847            children: Object(external_this_wp_blocks_["getPhrasingContentSchema"])()
5848          }
5849        }
5850      }]
5851    },
5852    deprecated: [{
5853      supports: supports,
5854      attributes: Object(objectSpread["a" /* default */])({}, schema, {
5855        width: {
5856          type: 'string'
5857        }
5858      }),
5859      save: function save(_ref) {
5860        var _classnames;
5861  
5862        var attributes = _ref.attributes;
5863        var width = attributes.width,
5864            align = attributes.align,
5865            content = attributes.content,
5866            dropCap = attributes.dropCap,
5867            backgroundColor = attributes.backgroundColor,
5868            textColor = attributes.textColor,
5869            customBackgroundColor = attributes.customBackgroundColor,
5870            customTextColor = attributes.customTextColor,
5871            fontSize = attributes.fontSize,
5872            customFontSize = attributes.customFontSize;
5873        var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
5874        var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
5875        var fontSizeClass = fontSize && "is-".concat(fontSize, "-text");
5876        var className = classnames_default()((_classnames = {}, Object(defineProperty["a" /* default */])(_classnames, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames, 'has-background', backgroundColor || customBackgroundColor), Object(defineProperty["a" /* default */])(_classnames, 'has-drop-cap', dropCap), Object(defineProperty["a" /* default */])(_classnames, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames, backgroundClass, backgroundClass), _classnames));
5877        var styles = {
5878          backgroundColor: backgroundClass ? undefined : customBackgroundColor,
5879          color: textClass ? undefined : customTextColor,
5880          fontSize: fontSizeClass ? undefined : customFontSize,
5881          textAlign: align
5882        };
5883        return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
5884          tagName: "p",
5885          style: styles,
5886          className: className ? className : undefined,
5887          value: content
5888        });
5889      }
5890    }, {
5891      supports: supports,
5892      attributes: Object(external_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, schema, {
5893        fontSize: {
5894          type: 'number'
5895        }
5896      }), 'customFontSize', 'customTextColor', 'customBackgroundColor'),
5897      save: function save(_ref2) {
5898        var _classnames2;
5899  
5900        var attributes = _ref2.attributes;
5901        var width = attributes.width,
5902            align = attributes.align,
5903            content = attributes.content,
5904            dropCap = attributes.dropCap,
5905            backgroundColor = attributes.backgroundColor,
5906            textColor = attributes.textColor,
5907            fontSize = attributes.fontSize;
5908        var className = classnames_default()((_classnames2 = {}, Object(defineProperty["a" /* default */])(_classnames2, "align".concat(width), width), Object(defineProperty["a" /* default */])(_classnames2, 'has-background', backgroundColor), Object(defineProperty["a" /* default */])(_classnames2, 'has-drop-cap', dropCap), _classnames2));
5909        var styles = {
5910          backgroundColor: backgroundColor,
5911          color: textColor,
5912          fontSize: fontSize,
5913          textAlign: align
5914        };
5915        return Object(external_this_wp_element_["createElement"])("p", {
5916          style: styles,
5917          className: className ? className : undefined
5918        }, content);
5919      },
5920      migrate: function migrate(attributes) {
5921        return Object(external_lodash_["omit"])(Object(objectSpread["a" /* default */])({}, attributes, {
5922          customFontSize: Object(external_lodash_["isFinite"])(attributes.fontSize) ? attributes.fontSize : undefined,
5923          customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
5924          customBackgroundColor: attributes.backgroundColor && '#' === attributes.backgroundColor[0] ? attributes.backgroundColor : undefined
5925        }), ['fontSize', 'textColor', 'backgroundColor']);
5926      }
5927    }, {
5928      supports: supports,
5929      attributes: Object(objectSpread["a" /* default */])({}, schema, {
5930        content: {
5931          type: 'string',
5932          source: 'html',
5933          default: ''
5934        }
5935      }),
5936      save: function save(_ref3) {
5937        var attributes = _ref3.attributes;
5938        return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, attributes.content);
5939      },
5940      migrate: function migrate(attributes) {
5941        return attributes;
5942      }
5943    }],
5944    merge: function merge(attributes, attributesToMerge) {
5945      return {
5946        content: (attributes.content || '') + (attributesToMerge.content || '')
5947      };
5948    },
5949    getEditWrapperProps: function getEditWrapperProps(attributes) {
5950      var width = attributes.width;
5951  
5952      if (['wide', 'full', 'left', 'right'].indexOf(width) !== -1) {
5953        return {
5954          'data-align': width
5955        };
5956      }
5957    },
5958    edit: edit,
5959    save: function save(_ref4) {
5960      var _classnames3;
5961  
5962      var attributes = _ref4.attributes;
5963      var align = attributes.align,
5964          content = attributes.content,
5965          dropCap = attributes.dropCap,
5966          backgroundColor = attributes.backgroundColor,
5967          textColor = attributes.textColor,
5968          customBackgroundColor = attributes.customBackgroundColor,
5969          customTextColor = attributes.customTextColor,
5970          fontSize = attributes.fontSize,
5971          customFontSize = attributes.customFontSize,
5972          direction = attributes.direction;
5973      var textClass = Object(external_this_wp_blockEditor_["getColorClassName"])('color', textColor);
5974      var backgroundClass = Object(external_this_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
5975      var fontSizeClass = Object(external_this_wp_blockEditor_["getFontSizeClass"])(fontSize);
5976      var className = classnames_default()((_classnames3 = {
5977        'has-text-color': textColor || customTextColor,
5978        'has-background': backgroundColor || customBackgroundColor,
5979        'has-drop-cap': dropCap
5980      }, Object(defineProperty["a" /* default */])(_classnames3, fontSizeClass, fontSizeClass), Object(defineProperty["a" /* default */])(_classnames3, textClass, textClass), Object(defineProperty["a" /* default */])(_classnames3, backgroundClass, backgroundClass), _classnames3));
5981      var styles = {
5982        backgroundColor: backgroundClass ? undefined : customBackgroundColor,
5983        color: textClass ? undefined : customTextColor,
5984        fontSize: fontSizeClass ? undefined : customFontSize,
5985        textAlign: align
5986      };
5987      return Object(external_this_wp_element_["createElement"])(external_this_wp_blockEditor_["RichText"].Content, {
5988        tagName: "p",
5989        style: styles,
5990        className: className ? className : undefined,
5991        value: content,
5992        dir: direction
5993      });
5994    }
5995  };
5996  
5997  
5998  /***/ }),
5999  /* 141 */
6000  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6001  
6002  "use strict";
6003  __webpack_require__.r(__webpack_exports__);
6004  
6005  // EXTERNAL MODULE: external {"this":["wp","element"]}
6006  var external_this_wp_element_ = __webpack_require__(0);
6007  
6008  // EXTERNAL MODULE: external {"this":["wp","i18n"]}
6009  var external_this_wp_i18n_ = __webpack_require__(1);
6010  
6011  // EXTERNAL MODULE: external {"this":["wp","components"]}
6012  var external_this_wp_components_ = __webpack_require__(4);
6013  
6014  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
6015  var objectSpread = __webpack_require__(7);
6016  
6017  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
6018  var classCallCheck = __webpack_require__(10);
6019  
6020  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
6021  var createClass = __webpack_require__(9);
6022  
6023  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
6024  var possibleConstructorReturn = __webpack_require__(11);
6025  
6026  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
6027  var getPrototypeOf = __webpack_require__(12);
6028  
6029  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
6030  var inherits = __webpack_require__(13);
6031  
6032  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
6033  var assertThisInitialized = __webpack_require__(3);
6034  
6035  // EXTERNAL MODULE: external {"this":["wp","keycodes"]}
6036  var external_this_wp_keycodes_ = __webpack_require__(18);
6037  
6038  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/edit.js
6039  
6040  
6041  
6042  
6043  
6044  
6045  
6046  
6047  
6048  /**
6049   * WordPress dependencies
6050   */
6051  
6052  
6053  
6054  var _window = window,
6055      wp = _window.wp;
6056  
6057  function isTmceEmpty(editor) {
6058    // When tinyMce is empty the content seems to be:
6059    // <p><br data-mce-bogus="1"></p>
6060    // avoid expensive checks for large documents
6061    var body = editor.getBody();
6062  
6063    if (body.childNodes.length > 1) {
6064      return false;
6065    } else if (body.childNodes.length === 0) {
6066      return true;
6067    }
6068  
6069    if (body.childNodes[0].childNodes.length > 1) {
6070      return false;
6071    }
6072  
6073    return /^\n?$/.test(body.innerText || body.textContent);
6074  }
6075  
6076  var edit_ClassicEdit =
6077  /*#__PURE__*/
6078  function (_Component) {
6079    Object(inherits["a" /* default */])(ClassicEdit, _Component);
6080  
6081    function ClassicEdit(props) {
6082      var _this;
6083  
6084      Object(classCallCheck["a" /* default */])(this, ClassicEdit);
6085  
6086      _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ClassicEdit).call(this, props));
6087      _this.initialize = _this.initialize.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
6088      _this.onSetup = _this.onSetup.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
6089      _this.focus = _this.focus.bind(Object(assertThisInitialized["a" /* default */])(Object(assertThisInitialized["a" /* default */])(_this)));
6090      return _this;
6091    }
6092  
6093    Object(createClass["a" /* default */])(ClassicEdit, [{
6094      key: "componentDidMount",
6095      value: function componentDidMount() {
6096        var _window$wpEditorL10n$ = window.wpEditorL10n.tinymce,
6097            baseURL = _window$wpEditorL10n$.baseURL,
6098            suffix = _window$wpEditorL10n$.suffix;
6099        window.tinymce.EditorManager.overrideDefaults({
6100          base_url: baseURL,
6101          suffix: suffix
6102        });
6103  
6104        if (document.readyState === 'complete') {
6105          this.initialize();
6106        } else {
6107          window.addEventListener('DOMContentLoaded', this.initialize);
6108        }
6109      }
6110    }, {
6111      key: "componentWillUnmount",
6112      value: function componentWillUnmount() {
6113        window.addEventListener('DOMContentLoaded', this.initialize);
6114        wp.oldEditor.remove("editor-".concat(this.props.clientId));
6115      }
6116    }, {
6117      key: "componentDidUpdate",
6118      value: function componentDidUpdate(prevProps) {
6119        var _this$props = this.props,
6120            clientId = _this$props.clientId,
6121            content = _this$props.attributes.content;
6122        var editor = window.tinymce.get("editor-".concat(clientId));
6123  
6124        if (prevProps.attributes.content !== content) {
6125          editor.setContent(content || '');
6126        }
6127      }
6128    }, {
6129      key: "initialize",
6130      value: function initialize() {
6131        var clientId = this.props.clientId;
6132        var settings = window.wpEditorL10n.tinymce.settings;
6133        wp.oldEditor.initialize("editor-".concat(clientId), {
6134          tinymce: Object(objectSpread["a" /* default */])({}, settings, {
6135            inline: true,
6136            content_css: false,
6137            fixed_toolbar_container: "#toolbar-".concat(clientId),
6138            setup: this.onSetup
6139          })
6140        });
6141      }
6142    }, {
6143      key: "onSetup",
6144      value: function onSetup(editor) {
6145        var _this2 = this;
6146  
6147        var _this$props2 = this.props,
6148            content = _this$props2.attributes.content,
6149            setAttributes = _this$props2.setAttributes;
6150        var ref = this.ref;
6151        var bookmark;
6152        this.editor = editor;
6153  
6154        if (content) {
6155          editor.on('loadContent', function () {
6156            return editor.setContent(content);
6157          });
6158        }
6159  
6160        editor.on('blur', function () {
6161          bookmark = editor.selection.getBookmark(2, true);
6162          setAttributes({
6163            content: editor.getContent()
6164          });
6165          editor.once('focus', function () {
6166            if (bookmark) {
6167              editor.selection.moveToBookmark(bookmark);
6168            }
6169          });
6170          return false;
6171        });
6172        editor.on('mousedown touchstart', function () {
6173          bookmark = null;
6174        });
6175        editor.on('keydown', function (event) {
6176          if ((event.keyCode === external_this_wp_keycodes_["BACKSPACE"] || event.keyCode === external_this_wp_keycodes_["DELETE"]) && isTmceEmpty(editor)) {
6177            // delete the block
6178            _this2.props.onReplace([]);
6179  
6180            event.preventDefault();
6181            event.stopImmediatePropagation();
6182          }
6183  
6184          var altKey = event.altKey;
6185          /*
6186           * Prevent Mousetrap from kicking in: TinyMCE already uses its own
6187           * `alt+f10` shortcut to focus its toolbar.
6188           */
6189  
6190          if (altKey && event.keyCode === external_this_wp_keycodes_["F10"]) {
6191            event.stopPropagation();
6192          }
6193        }); // TODO: the following is for back-compat with WP 4.9, not needed in WP 5.0. Remove it after the release.
6194  
6195        editor.addButton('kitchensink', {
6196          tooltip: Object(external_this_wp_i18n_["_x"])('More', 'button to expand options'),
6197          icon: 'dashicon dashicons-editor-kitchensink',
6198          onClick: function onClick() {
6199            var button = this;
6200            var active = !button.active();
6201            button.active(active);
6202            editor.dom.toggleClass(ref, 'has-advanced-toolbar', active);
6203          }
6204        }); // Show the second, third, etc. toolbars when the `kitchensink` button is removed by a plugin.
6205  
6206        editor.on('init', function () {
6207          if (editor.settings.toolbar1 && editor.settings.toolbar1.indexOf('kitchensink') === -1) {
6208            editor.dom.addClass(ref, 'has-advanced-toolbar');
6209          }
6210        });
6211        editor.addButton('wp_add_media', {
6212          tooltip: Object(external_this_wp_i18n_["__"])('Insert Media'),
6213          icon: 'dashicon dashicons-admin-media',
6214          cmd: 'WP_Medialib'
6215        }); // End TODO.
6216  
6217        editor.on('init', function () {
6218          var rootNode = _this2.editor.getBody(); // Create the toolbar by refocussing the editor.
6219  
6220  
6221          if (document.activeElement === rootNode) {
6222            rootNode.blur();
6223  
6224            _this2.editor.focus();
6225          }
6226        });
6227      }
6228    }, {
6229      key: "focus",
6230      value: function focus() {
6231        if (this.editor) {
6232          this.editor.focus();
6233        }
6234      }
6235    }, {
6236      key: "onToolbarKeyDown",
6237      value: function onToolbarKeyDown(event) {
6238        // Prevent WritingFlow from kicking in and allow arrows navigation on the toolbar.
6239        event.stopPropagation(); // Prevent Mousetrap from moving focus to the top toolbar when pressing `alt+f10` on this block toolbar.
6240  
6241        event.nativeEvent.stopImmediatePropagation();
6242      }
6243    }, {
6244      key: "render",
6245      value: function render() {
6246        var _this3 = this;
6247  
6248        var clientId = this.props.clientId; // Disable reason: the toolbar itself is non-interactive, but must capture
6249        // events from the KeyboardShortcuts component to stop their propagation.
6250  
6251        /* eslint-disable jsx-a11y/no-static-element-interactions */
6252  
6253        return [// Disable reason: Clicking on this visual placeholder should create
6254        // the toolbar, it can also be created by focussing the field below.
6255  
6256        /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
6257        Object(external_this_wp_element_["createElement"])("div", {
6258          key: "toolbar",
6259          id: "toolbar-".concat(clientId),
6260          ref: function ref(_ref) {
6261            return _this3.ref = _ref;
6262          },
6263          className: "block-library-classic__toolbar",
6264          onClick: this.focus,
6265          "data-placeholder": Object(external_this_wp_i18n_["__"])('Classic'),
6266          onKeyDown: this.onToolbarKeyDown
6267        }), Object(external_this_wp_element_["createElement"])("div", {
6268          key: "editor",
6269          id: "editor-".concat(clientId),
6270          className: "wp-block-freeform block-library-rich-text__tinymce"
6271        })];
6272        /* eslint-enable jsx-a11y/no-static-element-interactions */
6273      }
6274    }]);
6275  
6276    return ClassicEdit;
6277  }(external_this_wp_element_["Component"]);
6278  
6279  
6280  
6281  // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/classic/index.js
6282  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return classic_name; });
6283  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return classic_settings; });
6284  
6285  
6286  /**
6287   * WordPress dependencies
6288   */
6289  
6290  
6291  
6292  /**
6293   * Internal dependencies
6294   */
6295  
6296  
6297  var classic_name = 'core/freeform';
6298  var classic_settings = {
6299    title: Object(external_this_wp_i18n_["_x"])('Classic', 'block title'),
6300    description: Object(external_this_wp_i18n_["__"])('Use the classic WordPress editor.'),
6301    icon: Object(external_this_wp_element_["createElement"])(external_this_wp_components_["SVG"], {
6302      viewBox: "0 0 24 24",
6303      xmlns: "http://www.w3.org/2000/svg"
6304    }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
6305      d: "M0,0h24v24H0V0z M0,0h24v24H0V0z",
6306      fill: "none"
6307    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Path"], {
6308      d: "m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"
6309    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6310      x: "11",
6311      y: "8",
6312      width: "2",
6313      height: "2"
6314    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6315      x: "11",
6316      y: "11",
6317      width: "2",
6318      height: "2"
6319    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6320      x: "8",
6321      y: "8",
6322      width: "2",
6323      height: "2"
6324    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6325      x: "8",
6326      y: "11",
6327      width: "2",
6328      height: "2"
6329    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6330      x: "5",
6331      y: "11",
6332      width: "2",
6333      height: "2"
6334    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6335      x: "5",
6336      y: "8",
6337      width: "2",
6338      height: "2"
6339    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6340      x: "8",
6341      y: "14",
6342      width: "8",
6343      height: "2"
6344    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6345      x: "14",
6346      y: "11",
6347      width: "2",
6348      height: "2"
6349    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6350      x: "14",
6351      y: "8",
6352      width: "2",
6353      height: "2"
6354    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6355      x: "17",
6356      y: "11",
6357      width: "2",
6358      height: "2"
6359    }), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Rect"], {
6360      x: "17",
6361      y: "8",
6362      width: "2",
6363      height: "2"
6364    })),
6365    category: 'formatting',
6366    attributes: {
6367      content: {
6368        type: 'string',
6369        source: 'html'
6370      }
6371    },
6372    supports: {
6373      className: false,
6374      customClassName: false,
6375      // Hide 'Add to Reusable Blocks' on Classic blocks. Showing it causes a
6376      // confusing UX, because of its similarity to the 'Convert to Blocks' button.
6377      reusable: false
6378    },
6379    edit: edit_ClassicEdit,
6380    save: function save(_ref) {
6381      var attributes = _ref.attributes;
6382      var content = attributes.content;
6383      return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], null, content);
6384    }
6385  };
6386  
6387  
6388  /***/ }),
6389  /* 142 */,
6390  /* 143 */,
6391  /* 144 */,
6392  /* 145 */,
6393  /* 146 */,
6394  /* 147 */,
6395  /* 148 */,
6396  /* 149 */,
6397  /* 150 */,
6398  /* 151 */,
6399  /* 152 */,
6400  /* 153 */,
6401  /* 154 */,
6402  /* 155 */,
6403  /* 156 */,
6404  /* 157 */,
6405  /* 158 */,
6406  /* 159 */,
6407  /* 160 */,
6408  /* 161 */,
6409  /* 162 */,
6410  /* 163 */,
6411  /* 164 */,
6412  /* 165 */,
6413  /* 166 */,
6414  /* 167 */,
6415  /* 168 */,
6416  /* 169 */,
6417  /* 170 */,
6418  /* 171 */,
6419  /* 172 */,
6420  /* 173 */,
6421  /* 174 */,
6422  /* 175 */,
6423  /* 176 */,
6424  /* 177 */,
6425  /* 178 */,
6426  /* 179 */,
6427  /* 180 */,
6428  /* 181 */,
6429  /* 182 */,
6430  /* 183 */,
6431  /* 184 */,
6432  /* 185 */,
6433  /* 186 */,
6434  /* 187 */,
6435  /* 188 */,
6436  /* 189 */,
6437  /* 190 */,
6438  /* 191 */,
6439  /* 192 */,
6440  /* 193 */,
6441  /* 194 */,
6442  /* 195 */,
6443  /* 196 */,
6444  /* 197 */,
6445  /* 198 */,
6446  /* 199 */,
6447  /* 200 */,
6448  /* 201 */,
6449  /* 202 */
6450  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6451  
6452  "use strict";
6453  __webpack_require__.r(__webpack_exports__);
6454  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
6455  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
6456  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
6457  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
6458  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
6459  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
6460  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(0);
6461  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__);
6462  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2);
6463  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
6464  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
6465  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);
6466  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(14);
6467  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__);
6468  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8);
6469  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__);
6470  /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(20);
6471  /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__);
6472  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4);
6473  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__);
6474  
6475  
6476  
6477  
6478  
6479  var _blockAttributes;
6480  
6481  
6482  
6483  /**
6484   * External dependencies
6485   */
6486  
6487  /**
6488   * WordPress dependencies
6489   */
6490  
6491  
6492  
6493  
6494  
6495  
6496  
6497  var ATTRIBUTE_QUOTE = 'value';
6498  var ATTRIBUTE_CITATION = 'citation';
6499  var blockAttributes = (_blockAttributes = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_blockAttributes, ATTRIBUTE_QUOTE, {
6500    type: 'string',
6501    source: 'html',
6502    selector: 'blockquote',
6503    multiline: 'p',
6504    default: ''
6505  }), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_blockAttributes, ATTRIBUTE_CITATION, {
6506    type: 'string',
6507    source: 'html',
6508    selector: 'cite',
6509    default: ''
6510  }), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_blockAttributes, "align", {
6511    type: 'string'
6512  }), _blockAttributes);
6513  var name = 'core/quote';
6514  var settings = {
6515    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Quote'),
6516    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),
6517    icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__["SVG"], {
6518      viewBox: "0 0 24 24",
6519      xmlns: "http://www.w3.org/2000/svg"
6520    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__["Path"], {
6521      fill: "none",
6522      d: "M0 0h24v24H0V0z"
6523    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__["Path"], {
6524      d: "M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"
6525    })),
6526    category: 'common',
6527    keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('blockquote')],
6528    attributes: blockAttributes,
6529    styles: [{
6530      name: 'default',
6531      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["_x"])('Default', 'block style'),
6532      isDefault: true
6533    }, {
6534      name: 'large',
6535      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["_x"])('Large', 'block style')
6536    }],
6537    transforms: {
6538      from: [{
6539        type: 'block',
6540        isMultiBlock: true,
6541        blocks: ['core/paragraph'],
6542        transform: function transform(attributes) {
6543          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
6544            value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
6545              value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["join"])(attributes.map(function (_ref) {
6546                var content = _ref.content;
6547                return Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])({
6548                  html: content
6549                });
6550              }), "\u2028"),
6551              multilineTag: 'p'
6552            })
6553          });
6554        }
6555      }, {
6556        type: 'block',
6557        blocks: ['core/heading'],
6558        transform: function transform(_ref2) {
6559          var content = _ref2.content;
6560          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
6561            value: "<p>".concat(content, "</p>")
6562          });
6563        }
6564      }, {
6565        type: 'block',
6566        blocks: ['core/pullquote'],
6567        transform: function transform(_ref3) {
6568          var value = _ref3.value,
6569              citation = _ref3.citation;
6570          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
6571            value: value,
6572            citation: citation
6573          });
6574        }
6575      }, {
6576        type: 'prefix',
6577        prefix: '>',
6578        transform: function transform(content) {
6579          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', {
6580            value: "<p>".concat(content, "</p>")
6581          });
6582        }
6583      }, {
6584        type: 'raw',
6585        isMatch: function isMatch(node) {
6586          var isParagraphOrSingleCite = function () {
6587            var hasCitation = false;
6588            return function (child) {
6589              // Child is a paragraph.
6590              if (child.nodeName === 'P') {
6591                return true;
6592              } // Child is a cite and no other cite child exists before it.
6593  
6594  
6595              if (!hasCitation && child.nodeName === 'CITE') {
6596                hasCitation = true;
6597                return true;
6598              }
6599            };
6600          }();
6601  
6602          return node.nodeName === 'BLOCKQUOTE' && // The quote block can only handle multiline paragraph
6603          // content with an optional cite child.
6604          Array.from(node.childNodes).every(isParagraphOrSingleCite);
6605        },
6606        schema: {
6607          blockquote: {
6608            children: {
6609              p: {
6610                children: Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["getPhrasingContentSchema"])()
6611              },
6612              cite: {
6613                children: Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["getPhrasingContentSchema"])()
6614              }
6615            }
6616          }
6617        }
6618      }],
6619      to: [{
6620        type: 'block',
6621        blocks: ['core/paragraph'],
6622        transform: function transform(_ref4) {
6623          var value = _ref4.value,
6624              citation = _ref4.citation;
6625          var paragraphs = [];
6626  
6627          if (value && value !== '<p></p>') {
6628            paragraphs.push.apply(paragraphs, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["split"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])({
6629              html: value,
6630              multilineTag: 'p'
6631            }), "\u2028").map(function (piece) {
6632              return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/paragraph', {
6633                content: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
6634                  value: piece
6635                })
6636              });
6637            })));
6638          }
6639  
6640          if (citation && citation !== '<p></p>') {
6641            paragraphs.push(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/paragraph', {
6642              content: citation
6643            }));
6644          }
6645  
6646          if (paragraphs.length === 0) {
6647            return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/paragraph', {
6648              content: ''
6649            });
6650          }
6651  
6652          return paragraphs;
6653        }
6654      }, {
6655        type: 'block',
6656        blocks: ['core/heading'],
6657        transform: function transform(_ref5) {
6658          var value = _ref5.value,
6659              citation = _ref5.citation,
6660              attrs = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref5, ["value", "citation"]);
6661  
6662          // If there is no quote content, use the citation as the
6663          // content of the resulting heading. A nonexistent citation
6664          // will result in an empty heading.
6665          if (value === '<p></p>') {
6666            return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/heading', {
6667              content: citation
6668            });
6669          }
6670  
6671          var pieces = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["split"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])({
6672            html: value,
6673            multilineTag: 'p'
6674          }), "\u2028");
6675          var headingBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/heading', {
6676            content: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
6677              value: pieces[0]
6678            })
6679          });
6680  
6681          if (!citation && pieces.length === 1) {
6682            return headingBlock;
6683          }
6684  
6685          var quotePieces = pieces.slice(1);
6686          var quoteBlock = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/quote', Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attrs, {
6687            citation: citation,
6688            value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["toHTMLString"])({
6689              value: quotePieces.length ? Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["join"])(pieces.slice(1), "\u2028") : Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_9__["create"])(),
6690              multilineTag: 'p'
6691            })
6692          }));
6693          return [headingBlock, quoteBlock];
6694        }
6695      }, {
6696        type: 'block',
6697        blocks: ['core/pullquote'],
6698        transform: function transform(_ref6) {
6699          var value = _ref6.value,
6700              citation = _ref6.citation;
6701          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_7__["createBlock"])('core/pullquote', {
6702            value: value,
6703            citation: citation
6704          });
6705        }
6706      }]
6707    },
6708    edit: function edit(_ref7) {
6709      var attributes = _ref7.attributes,
6710          setAttributes = _ref7.setAttributes,
6711          isSelected = _ref7.isSelected,
6712          mergeBlocks = _ref7.mergeBlocks,
6713          onReplace = _ref7.onReplace,
6714          className = _ref7.className;
6715      var align = attributes.align,
6716          value = attributes.value,
6717          citation = attributes.citation;
6718      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["BlockControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["AlignmentToolbar"], {
6719        value: align,
6720        onChange: function onChange(nextAlign) {
6721          setAttributes({
6722            align: nextAlign
6723          });
6724        }
6725      })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
6726        className: className,
6727        style: {
6728          textAlign: align
6729        }
6730      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"], {
6731        identifier: ATTRIBUTE_QUOTE,
6732        multiline: true,
6733        value: value,
6734        onChange: function onChange(nextValue) {
6735          return setAttributes({
6736            value: nextValue
6737          });
6738        },
6739        onMerge: mergeBlocks,
6740        onRemove: function onRemove(forward) {
6741          var hasEmptyCitation = !citation || citation.length === 0;
6742  
6743          if (!forward && hasEmptyCitation) {
6744            onReplace([]);
6745          }
6746        },
6747        placeholder: // translators: placeholder text used for the quote
6748        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Write quote…')
6749      }), (!_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) || isSelected) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"], {
6750        identifier: ATTRIBUTE_CITATION,
6751        value: citation,
6752        onChange: function onChange(nextCitation) {
6753          return setAttributes({
6754            citation: nextCitation
6755          });
6756        },
6757        placeholder: // translators: placeholder text used for the citation
6758        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('Write citation…'),
6759        className: "wp-block-quote__citation"
6760      })));
6761    },
6762    save: function save(_ref8) {
6763      var attributes = _ref8.attributes;
6764      var align = attributes.align,
6765          value = attributes.value,
6766          citation = attributes.citation;
6767      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
6768        style: {
6769          textAlign: align ? align : null
6770        }
6771      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
6772        multiline: true,
6773        value: value
6774      }), !_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
6775        tagName: "cite",
6776        value: citation
6777      }));
6778    },
6779    merge: function merge(attributes, _ref9) {
6780      var value = _ref9.value,
6781          citation = _ref9.citation;
6782  
6783      if (!value || value === '<p></p>') {
6784        return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attributes, {
6785          citation: attributes.citation + citation
6786        });
6787      }
6788  
6789      return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, attributes, {
6790        value: attributes.value + value,
6791        citation: attributes.citation + citation
6792      });
6793    },
6794    deprecated: [{
6795      attributes: Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, blockAttributes, {
6796        style: {
6797          type: 'number',
6798          default: 1
6799        }
6800      }),
6801      migrate: function migrate(attributes) {
6802        if (attributes.style === 2) {
6803          return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(lodash__WEBPACK_IMPORTED_MODULE_5__["omit"])(attributes, ['style']), {
6804            className: attributes.className ? attributes.className + ' is-style-large' : 'is-style-large'
6805          });
6806        }
6807  
6808        return attributes;
6809      },
6810      save: function save(_ref10) {
6811        var attributes = _ref10.attributes;
6812        var align = attributes.align,
6813            value = attributes.value,
6814            citation = attributes.citation,
6815            style = attributes.style;
6816        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
6817          className: style === 2 ? 'is-large' : '',
6818          style: {
6819            textAlign: align ? align : null
6820          }
6821        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
6822          multiline: true,
6823          value: value
6824        }), !_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
6825          tagName: "cite",
6826          value: citation
6827        }));
6828      }
6829    }, {
6830      attributes: Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, blockAttributes, {
6831        citation: {
6832          type: 'string',
6833          source: 'html',
6834          selector: 'footer',
6835          default: ''
6836        },
6837        style: {
6838          type: 'number',
6839          default: 1
6840        }
6841      }),
6842      save: function save(_ref11) {
6843        var attributes = _ref11.attributes;
6844        var align = attributes.align,
6845            value = attributes.value,
6846            citation = attributes.citation,
6847            style = attributes.style;
6848        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])("blockquote", {
6849          className: "blocks-quote-style-".concat(style),
6850          style: {
6851            textAlign: align ? align : null
6852          }
6853        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
6854          multiline: true,
6855          value: value
6856        }), !_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].isEmpty(citation) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_8__["RichText"].Content, {
6857          tagName: "footer",
6858          value: citation
6859        }));
6860      }
6861    }]
6862  };
6863  
6864  
6865  /***/ }),
6866  /* 203 */
6867  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6868  
6869  "use strict";
6870  __webpack_require__.r(__webpack_exports__);
6871  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
6872  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
6873  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
6874  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
6875  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
6876  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
6877  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
6878  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
6879  /* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41);
6880  /* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_3__);
6881  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
6882  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
6883  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
6884  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
6885  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
6886  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__);
6887  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8);
6888  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__);
6889  
6890  
6891  /**
6892   * External dependencies
6893   */
6894  
6895  
6896  
6897  /**
6898   * WordPress dependencies
6899   */
6900  
6901  
6902  
6903  
6904  
6905  
6906  /**
6907   * Allowed blocks constant is passed to InnerBlocks precisely as specified here.
6908   * The contents of the array should never change.
6909   * The array should contain the name of each block that is allowed.
6910   * In columns block, the only block we allow is 'core/column'.
6911   *
6912   * @constant
6913   * @type {string[]}
6914  */
6915  
6916  var ALLOWED_BLOCKS = ['core/column'];
6917  /**
6918   * Returns the layouts configuration for a given number of columns.
6919   *
6920   * @param {number} columns Number of columns.
6921   *
6922   * @return {Object[]} Columns layout configuration.
6923   */
6924  
6925  var getColumnsTemplate = memize__WEBPACK_IMPORTED_MODULE_3___default()(function (columns) {
6926    return Object(lodash__WEBPACK_IMPORTED_MODULE_1__["times"])(columns, function () {
6927      return ['core/column'];
6928    });
6929  });
6930  /**
6931   * Given an HTML string for a deprecated columns inner block, returns the
6932   * column index to which the migrated inner block should be assigned. Returns
6933   * undefined if the inner block was not assigned to a column.
6934   *
6935   * @param {string} originalContent Deprecated Columns inner block HTML.
6936   *
6937   * @return {?number} Column to which inner block is to be assigned.
6938   */
6939  
6940  function getDeprecatedLayoutColumn(originalContent) {
6941    var doc = getDeprecatedLayoutColumn.doc;
6942  
6943    if (!doc) {
6944      doc = document.implementation.createHTMLDocument('');
6945      getDeprecatedLayoutColumn.doc = doc;
6946    }
6947  
6948    var columnMatch;
6949    doc.body.innerHTML = originalContent;
6950    var _iteratorNormalCompletion = true;
6951    var _didIteratorError = false;
6952    var _iteratorError = undefined;
6953  
6954    try {
6955      for (var _iterator = doc.body.firstChild.classList[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
6956        var classListItem = _step.value;
6957  
6958        if (columnMatch = classListItem.match(/^layout-column-(\d+)$/)) {
6959          return Number(columnMatch[1]) - 1;
6960        }
6961      }
6962    } catch (err) {
6963      _didIteratorError = true;
6964      _iteratorError = err;
6965    } finally {
6966      try {
6967        if (!_iteratorNormalCompletion && _iterator.return != null) {
6968          _iterator.return();
6969        }
6970      } finally {
6971        if (_didIteratorError) {
6972          throw _iteratorError;
6973        }
6974      }
6975    }
6976  }
6977  
6978  var name = 'core/columns';
6979  var settings = {
6980    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Columns'),
6981    icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["SVG"], {
6982      viewBox: "0 0 24 24",
6983      xmlns: "http://www.w3.org/2000/svg"
6984    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Path"], {
6985      fill: "none",
6986      d: "M0 0h24v24H0V0z"
6987    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Path"], {
6988      d: "M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"
6989    }))),
6990    category: 'layout',
6991    attributes: {
6992      columns: {
6993        type: 'number',
6994        default: 2
6995      }
6996    },
6997    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Add a block that displays content in multiple columns, then add whatever content blocks you’d like.'),
6998    supports: {
6999      align: ['wide', 'full'],
7000      html: false
7001    },
7002    deprecated: [{
7003      attributes: {
7004        columns: {
7005          type: 'number',
7006          default: 2
7007        }
7008      },
7009      isEligible: function isEligible(attributes, innerBlocks) {
7010        // Since isEligible is called on every valid instance of the
7011        // Columns block and a deprecation is the unlikely case due to
7012        // its subsequent migration, optimize for the `false` condition
7013        // by performing a naive, inaccurate pass at inner blocks.
7014        var isFastPassEligible = innerBlocks.some(function (innerBlock) {
7015          return /layout-column-\d+/.test(innerBlock.originalContent);
7016        });
7017  
7018        if (!isFastPassEligible) {
7019          return false;
7020        } // Only if the fast pass is considered eligible is the more
7021        // accurate, durable, slower condition performed.
7022  
7023  
7024        return innerBlocks.some(function (innerBlock) {
7025          return getDeprecatedLayoutColumn(innerBlock.originalContent) !== undefined;
7026        });
7027      },
7028      migrate: function migrate(attributes, innerBlocks) {
7029        var columns = innerBlocks.reduce(function (result, innerBlock) {
7030          var originalContent = innerBlock.originalContent;
7031          var columnIndex = getDeprecatedLayoutColumn(originalContent);
7032  
7033          if (columnIndex === undefined) {
7034            columnIndex = 0;
7035          }
7036  
7037          if (!result[columnIndex]) {
7038            result[columnIndex] = [];
7039          }
7040  
7041          result[columnIndex].push(innerBlock);
7042          return result;
7043        }, []);
7044        var migratedInnerBlocks = columns.map(function (columnBlocks) {
7045          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/column', {}, columnBlocks);
7046        });
7047        return [attributes, migratedInnerBlocks];
7048      },
7049      save: function save(_ref) {
7050        var attributes = _ref.attributes;
7051        var columns = attributes.columns;
7052        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
7053          className: "has-".concat(columns, "-columns")
7054        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InnerBlocks"].Content, null));
7055      }
7056    }],
7057    edit: function edit(_ref2) {
7058      var attributes = _ref2.attributes,
7059          setAttributes = _ref2.setAttributes,
7060          className = _ref2.className;
7061      var columns = attributes.columns;
7062      var classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, "has-".concat(columns, "-columns"));
7063      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InspectorControls"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["PanelBody"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["RangeControl"], {
7064        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Columns'),
7065        value: columns,
7066        onChange: function onChange(nextColumns) {
7067          setAttributes({
7068            columns: nextColumns
7069          });
7070        },
7071        min: 2,
7072        max: 6,
7073        required: true
7074      }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
7075        className: classes
7076      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InnerBlocks"], {
7077        template: getColumnsTemplate(columns),
7078        templateLock: "all",
7079        allowedBlocks: ALLOWED_BLOCKS
7080      })));
7081    },
7082    save: function save(_ref3) {
7083      var attributes = _ref3.attributes;
7084      var columns = attributes.columns;
7085      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
7086        className: "has-".concat(columns, "-columns")
7087      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__["InnerBlocks"].Content, null));
7088    }
7089  };
7090  
7091  
7092  /***/ }),
7093  /* 204 */
7094  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7095  
7096  "use strict";
7097  __webpack_require__.r(__webpack_exports__);
7098  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
7099  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
7100  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
7101  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
7102  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
7103  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
7104  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
7105  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
7106  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
7107  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
7108  
7109  
7110  /**
7111   * WordPress dependencies
7112   */
7113  
7114  
7115  
7116  var name = 'core/column';
7117  var settings = {
7118    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Column'),
7119    parent: ['core/columns'],
7120    icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
7121      xmlns: "http://www.w3.org/2000/svg",
7122      viewBox: "0 0 24 24"
7123    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
7124      fill: "none",
7125      d: "M0 0h24v24H0V0z"
7126    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Path"], {
7127      d: "M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"
7128    })),
7129    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('A single column within a columns block.'),
7130    category: 'common',
7131    supports: {
7132      inserter: false,
7133      reusable: false,
7134      html: false
7135    },
7136    edit: function edit() {
7137      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["InnerBlocks"], {
7138        templateLock: false
7139      });
7140    },
7141    save: function save() {
7142      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__["InnerBlocks"].Content, null));
7143    }
7144  };
7145  
7146  
7147  /***/ }),
7148  /* 205 */
7149  /***/ (function(module, exports, __webpack_require__) {
7150  
7151  /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
7152  (function (global, factory) {
7153       true ? module.exports = factory() :
7154      undefined;
7155  }(this, (function () { 'use strict';
7156  
7157  function _classCallCheck(instance, Constructor) {
7158    if (!(instance instanceof Constructor)) {
7159      throw new TypeError("Cannot call a class as a function");
7160    }
7161  }
7162  
7163  function _defineProperties(target, props) {
7164    for (var i = 0; i < props.length; i++) {
7165      var descriptor = props[i];
7166      descriptor.enumerable = descriptor.enumerable || false;
7167      descriptor.configurable = true;
7168      if ("value" in descriptor) descriptor.writable = true;
7169      Object.defineProperty(target, descriptor.key, descriptor);
7170    }
7171  }
7172  
7173  function _createClass(Constructor, protoProps, staticProps) {
7174    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
7175    if (staticProps) _defineProperties(Constructor, staticProps);
7176    return Constructor;
7177  }
7178  
7179  function _slicedToArray(arr, i) {
7180    return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
7181  }
7182  
7183  function _arrayWithHoles(arr) {
7184    if (Array.isArray(arr)) return arr;
7185  }
7186  
7187  function _iterableToArrayLimit(arr, i) {
7188    var _arr = [];
7189    var _n = true;
7190    var _d = false;
7191    var _e = undefined;
7192  
7193    try {
7194      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
7195        _arr.push(_s.value);
7196  
7197        if (i && _arr.length === i) break;
7198      }
7199    } catch (err) {
7200      _d = true;
7201      _e = err;
7202    } finally {
7203      try {
7204        if (!_n && _i["return"] != null) _i["return"]();
7205      } finally {
7206        if (_d) throw _e;
7207      }
7208    }
7209  
7210    return _arr;
7211  }
7212  
7213  function _nonIterableRest() {
7214    throw new TypeError("Invalid attempt to destructure non-iterable instance");
7215  }
7216  
7217  var FastAverageColor =
7218  /*#__PURE__*/
7219  function () {
7220    function FastAverageColor() {
7221      _classCallCheck(this, FastAverageColor);
7222    }
7223  
7224    _createClass(FastAverageColor, [{
7225      key: "getColorAsync",
7226  
7227      /**
7228       * Get asynchronously the average color from not loaded image.
7229       *
7230       * @param {HTMLImageElement} resource
7231       * @param {Function} callback
7232       * @param {Object|null} [options]
7233       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
7234       * @param {*}      [options.data]
7235       * @param {string} [options.mode="speed"] "precision" or "speed"
7236       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
7237       * @param {number} [options.step=1]
7238       * @param {number} [options.left=0]
7239       * @param {number} [options.top=0]
7240       * @param {number} [options.width=width of resource]
7241       * @param {number} [options.height=height of resource]
7242       */
7243      value: function getColorAsync(resource, callback, options) {
7244        if (resource.complete) {
7245          callback.call(resource, this.getColor(resource, options), options && options.data);
7246        } else {
7247          this._bindImageEvents(resource, callback, options);
7248        }
7249      }
7250      /**
7251       * Get the average color from images, videos and canvas.
7252       *
7253       * @param {HTMLImageElement|HTMLVideoElement|HTMLCanvasElement} resource
7254       * @param {Object|null} [options]
7255       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
7256       * @param {*}      [options.data]
7257       * @param {string} [options.mode="speed"] "precision" or "speed"
7258       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
7259       * @param {number} [options.step=1]
7260       * @param {number} [options.left=0]
7261       * @param {number} [options.top=0]
7262       * @param {number} [options.width=width of resource]
7263       * @param {number} [options.height=height of resource]
7264       *
7265       * @returns {Object}
7266       */
7267  
7268    }, {
7269      key: "getColor",
7270      value: function getColor(resource, options) {
7271        options = options || {};
7272  
7273        var defaultColor = this._getDefaultColor(options),
7274            originalSize = this._getOriginalSize(resource),
7275            size = this._prepareSizeAndPosition(originalSize, options);
7276  
7277        var error = null,
7278            value = defaultColor;
7279  
7280        if (!size.srcWidth || !size.srcHeight || !size.destWidth || !size.destHeight) {
7281          return this._prepareResult(defaultColor, new Error('FastAverageColor: Incorrect sizes.'));
7282        }
7283  
7284        if (!this._ctx) {
7285          this._canvas = this._makeCanvas();
7286          this._ctx = this._canvas.getContext && this._canvas.getContext('2d');
7287  
7288          if (!this._ctx) {
7289            return this._prepareResult(defaultColor, new Error('FastAverageColor: Canvas Context 2D is not supported in this browser.'));
7290          }
7291        }
7292  
7293        this._canvas.width = size.destWidth;
7294        this._canvas.height = size.destHeight;
7295  
7296        try {
7297          this._ctx.clearRect(0, 0, size.destWidth, size.destHeight);
7298  
7299          this._ctx.drawImage(resource, size.srcLeft, size.srcTop, size.srcWidth, size.srcHeight, 0, 0, size.destWidth, size.destHeight);
7300  
7301          var bitmapData = this._ctx.getImageData(0, 0, size.destWidth, size.destHeight).data;
7302  
7303          value = this.getColorFromArray4(bitmapData, options);
7304        } catch (e) {
7305          // Security error, CORS
7306          // https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image
7307          error = e;
7308        }
7309  
7310        return this._prepareResult(value, error);
7311      }
7312      /**
7313       * Get the average color from a array when 1 pixel is 4 bytes.
7314       *
7315       * @param {Array|Uint8Array} arr
7316       * @param {Object} [options]
7317       * @param {string} [options.algorithm="sqrt"] "simple", "sqrt" or "dominant"
7318       * @param {Array}  [options.defaultColor=[255, 255, 255, 255]]
7319       * @param {number} [options.step=1]
7320       *
7321       * @returns {Array} [red (0-255), green (0-255), blue (0-255), alpha (0-255)]
7322       */
7323  
7324    }, {
7325      key: "getColorFromArray4",
7326      value: function getColorFromArray4(arr, options) {
7327        options = options || {};
7328        var bytesPerPixel = 4,
7329            arrLength = arr.length;
7330  
7331        if (arrLength < bytesPerPixel) {
7332          return this._getDefaultColor(options);
7333        }
7334  
7335        var len = arrLength - arrLength % bytesPerPixel,
7336            preparedStep = (options.step || 1) * bytesPerPixel,
7337            algorithm = '_' + (options.algorithm || 'sqrt') + 'Algorithm';
7338  
7339        if (typeof this[algorithm] !== 'function') {
7340          throw new Error("FastAverageColor: ".concat(options.algorithm, " is unknown algorithm."));
7341        }
7342  
7343        return this[algorithm](arr, len, preparedStep);
7344      }
7345      /**
7346       * Destroy the instance.
7347       */
7348  
7349    }, {
7350      key: "destroy",
7351      value: function destroy() {
7352        delete this._canvas;
7353        delete this._ctx;
7354      }
7355    }, {
7356      key: "_getDefaultColor",
7357      value: function _getDefaultColor(options) {
7358        return this._getOption(options, 'defaultColor', [255, 255, 255, 255]);
7359      }
7360    }, {
7361      key: "_getOption",
7362      value: function _getOption(options, name, defaultValue) {
7363        return typeof options[name] === 'undefined' ? defaultValue : options[name];
7364      }
7365    }, {
7366      key: "_prepareSizeAndPosition",
7367      value: function _prepareSizeAndPosition(originalSize, options) {
7368        var srcLeft = this._getOption(options, 'left', 0),
7369            srcTop = this._getOption(options, 'top', 0),
7370            srcWidth = this._getOption(options, 'width', originalSize.width),
7371            srcHeight = this._getOption(options, 'height', originalSize.height),
7372            destWidth = srcWidth,
7373            destHeight = srcHeight;
7374  
7375        if (options.mode === 'precision') {
7376          return {
7377            srcLeft: srcLeft,
7378            srcTop: srcTop,
7379            srcWidth: srcWidth,
7380            srcHeight: srcHeight,
7381            destWidth: destWidth,
7382            destHeight: destHeight
7383          };
7384        }
7385  
7386        var maxSize = 100,
7387            minSize = 10;
7388        var factor;
7389  
7390        if (srcWidth > srcHeight) {
7391          factor = srcWidth / srcHeight;
7392          destWidth = maxSize;
7393          destHeight = Math.round(destWidth / factor);
7394        } else {
7395          factor = srcHeight / srcWidth;
7396          destHeight = maxSize;
7397          destWidth = Math.round(destHeight / factor);
7398        }
7399  
7400        if (destWidth > srcWidth || destHeight > srcHeight || destWidth < minSize || destHeight < minSize) {
7401          destWidth = srcWidth;
7402          destHeight = srcHeight;
7403        }
7404  
7405        return {
7406          srcLeft: srcLeft,
7407          srcTop: srcTop,
7408          srcWidth: srcWidth,
7409          srcHeight: srcHeight,
7410          destWidth: destWidth,
7411          destHeight: destHeight
7412        };
7413      }
7414    }, {
7415      key: "_simpleAlgorithm",
7416      value: function _simpleAlgorithm(arr, len, preparedStep) {
7417        var redTotal = 0,
7418            greenTotal = 0,
7419            blueTotal = 0,
7420            alphaTotal = 0,
7421            count = 0;
7422  
7423        for (var i = 0; i < len; i += preparedStep) {
7424          var alpha = arr[i + 3],
7425              red = arr[i] * alpha,
7426              green = arr[i + 1] * alpha,
7427              blue = arr[i + 2] * alpha;
7428          redTotal += red;
7429          greenTotal += green;
7430          blueTotal += blue;
7431          alphaTotal += alpha;
7432          count++;
7433        }
7434  
7435        return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
7436      }
7437    }, {
7438      key: "_sqrtAlgorithm",
7439      value: function _sqrtAlgorithm(arr, len, preparedStep) {
7440        var redTotal = 0,
7441            greenTotal = 0,
7442            blueTotal = 0,
7443            alphaTotal = 0,
7444            count = 0;
7445  
7446        for (var i = 0; i < len; i += preparedStep) {
7447          var red = arr[i],
7448              green = arr[i + 1],
7449              blue = arr[i + 2],
7450              alpha = arr[i + 3];
7451          redTotal += red * red * alpha;
7452          greenTotal += green * green * alpha;
7453          blueTotal += blue * blue * alpha;
7454          alphaTotal += alpha;
7455          count++;
7456        }
7457  
7458        return alphaTotal ? [Math.round(Math.sqrt(redTotal / alphaTotal)), Math.round(Math.sqrt(greenTotal / alphaTotal)), Math.round(Math.sqrt(blueTotal / alphaTotal)), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
7459      }
7460    }, {
7461      key: "_dominantAlgorithm",
7462      value: function _dominantAlgorithm(arr, len, preparedStep) {
7463        var colorHash = {},
7464            divider = 24;
7465  
7466        for (var i = 0; i < len; i += preparedStep) {
7467          var red = arr[i],
7468              green = arr[i + 1],
7469              blue = arr[i + 2],
7470              alpha = arr[i + 3],
7471              key = Math.round(red / divider) + ',' + Math.round(green / divider) + ',' + Math.round(blue / divider);
7472  
7473          if (colorHash[key]) {
7474            colorHash[key] = [colorHash[key][0] + red * alpha, colorHash[key][1] + green * alpha, colorHash[key][2] + blue * alpha, colorHash[key][3] + alpha, colorHash[key][4] + 1];
7475          } else {
7476            colorHash[key] = [red * alpha, green * alpha, blue * alpha, alpha, 1];
7477          }
7478        }
7479  
7480        var buffer = Object.keys(colorHash).map(function (key) {
7481          return colorHash[key];
7482        }).sort(function (a, b) {
7483          var countA = a[4],
7484              countB = b[4];
7485          return countA > countB ? -1 : countA === countB ? 0 : 1;
7486        });
7487  
7488        var _buffer$ = _slicedToArray(buffer[0], 5),
7489            redTotal = _buffer$[0],
7490            greenTotal = _buffer$[1],
7491            blueTotal = _buffer$[2],
7492            alphaTotal = _buffer$[3],
7493            count = _buffer$[4];
7494  
7495        return alphaTotal ? [Math.round(redTotal / alphaTotal), Math.round(greenTotal / alphaTotal), Math.round(blueTotal / alphaTotal), Math.round(alphaTotal / count)] : [0, 0, 0, 0];
7496      }
7497    }, {
7498      key: "_bindImageEvents",
7499      value: function _bindImageEvents(resource, callback, options) {
7500        var _this = this;
7501  
7502        options = options || {};
7503  
7504        var data = options && options.data,
7505            defaultColor = this._getDefaultColor(options),
7506            onload = function onload() {
7507          unbindEvents();
7508          callback.call(resource, _this.getColor(resource, options), data);
7509        },
7510            onerror = function onerror() {
7511          unbindEvents();
7512          callback.call(resource, _this._prepareResult(defaultColor, new Error('Image error')), data);
7513        },
7514            onabort = function onabort() {
7515          unbindEvents();
7516          callback.call(resource, _this._prepareResult(defaultColor, new Error('Image abort')), data);
7517        },
7518            unbindEvents = function unbindEvents() {
7519          resource.removeEventListener('load', onload);
7520          resource.removeEventListener('error', onerror);
7521          resource.removeEventListener('abort', onabort);
7522        };
7523  
7524        resource.addEventListener('load', onload);
7525        resource.addEventListener('error', onerror);
7526        resource.addEventListener('abort', onabort);
7527      }
7528    }, {
7529      key: "_prepareResult",
7530      value: function _prepareResult(value, error) {
7531        var rgb = value.slice(0, 3),
7532            rgba = [].concat(rgb, value[3] / 255),
7533            isDark = this._isDark(value);
7534  
7535        return {
7536          error: error,
7537          value: value,
7538          rgb: 'rgb(' + rgb.join(',') + ')',
7539          rgba: 'rgba(' + rgba.join(',') + ')',
7540          hex: this._arrayToHex(rgb),
7541          hexa: this._arrayToHex(value),
7542          isDark: isDark,
7543          isLight: !isDark
7544        };
7545      }
7546    }, {
7547      key: "_getOriginalSize",
7548      value: function _getOriginalSize(resource) {
7549        if (resource instanceof HTMLImageElement) {
7550          return {
7551            width: resource.naturalWidth,
7552            height: resource.naturalHeight
7553          };
7554        }
7555  
7556        if (resource instanceof HTMLVideoElement) {
7557          return {
7558            width: resource.videoWidth,
7559            height: resource.videoHeight
7560          };
7561        }
7562  
7563        return {
7564          width: resource.width,
7565          height: resource.height
7566        };
7567      }
7568    }, {
7569      key: "_toHex",
7570      value: function _toHex(num) {
7571        var str = num.toString(16);
7572        return str.length === 1 ? '0' + str : str;
7573      }
7574    }, {
7575      key: "_arrayToHex",
7576      value: function _arrayToHex(arr) {
7577        return '#' + arr.map(this._toHex).join('');
7578      }
7579    }, {
7580      key: "_isDark",
7581      value: function _isDark(color) {
7582        // http://www.w3.org/TR/AERT#color-contrast
7583        var result = (color[0] * 299 + color[1] * 587 + color[2] * 114) / 1000;
7584        return result < 128;
7585      }
7586    }, {
7587      key: "_makeCanvas",
7588      value: function _makeCanvas() {
7589        return typeof window === 'undefined' ? new OffscreenCanvas(1, 1) : document.createElement('canvas');
7590      }
7591    }]);
7592  
7593    return FastAverageColor;
7594  }();
7595  
7596  return FastAverageColor;
7597  
7598  })));
7599  
7600  
7601  /***/ }),
7602  /* 206 */
7603  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7604  
7605  "use strict";
7606  __webpack_require__.r(__webpack_exports__);
7607  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "name", function() { return name; });
7608  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
7609  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21);
7610  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
7611  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
7612  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0);
7613  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
7614  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
7615  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
7616  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1);
7617  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
7618  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
7619  /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__);
7620  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8);
7621  /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_7__);
7622  /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(20);
7623  /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__);
7624  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4);
7625  /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__);
7626  
7627  
7628  
7629  
7630  
7631  /**
7632   * External dependencies
7633   */
7634  
7635  /**
7636   * WordPress dependencies
7637   */
7638  
7639  
7640  
7641  
7642  
7643  
7644  
7645  var listContentSchema = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["getPhrasingContentSchema"])(), {
7646    ul: {},
7647    ol: {
7648      attributes: ['type']
7649    }
7650  }); // Recursion is needed.
7651  // Possible: ul > li > ul.
7652  // Impossible: ul > ul.
7653  
7654  
7655  ['ul', 'ol'].forEach(function (tag) {
7656    listContentSchema[tag].children = {
7657      li: {
7658        children: listContentSchema
7659      }
7660    };
7661  });
7662  var supports = {
7663    className: false
7664  };
7665  var schema = {
7666    ordered: {
7667      type: 'boolean',
7668      default: false
7669    },
7670    values: {
7671      type: 'string',
7672      source: 'html',
7673      selector: 'ol,ul',
7674      multiline: 'li',
7675      default: ''
7676    }
7677  };
7678  var name = 'core/list';
7679  var settings = {
7680    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('List'),
7681    description: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Create a bulleted or numbered list.'),
7682    icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["SVG"], {
7683      viewBox: "0 0 24 24",
7684      xmlns: "http://www.w3.org/2000/svg"
7685    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_9__["Path"], {
7686      d: "M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"
7687    }))),
7688    category: 'common',
7689    keywords: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('bullet list'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('ordered list'), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('numbered list')],
7690    attributes: schema,
7691    supports: supports,
7692    transforms: {
7693      from: [{
7694        type: 'block',
7695        isMultiBlock: true,
7696        blocks: ['core/paragraph'],
7697        transform: function transform(blockAttributes) {
7698          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
7699            values: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["toHTMLString"])({
7700              value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["join"])(blockAttributes.map(function (_ref) {
7701                var content = _ref.content;
7702                var value = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["create"])({
7703                  html: content
7704                });
7705  
7706                if (blockAttributes.length > 1) {
7707                  return value;
7708                } // When converting only one block, transform
7709                // every line to a list item.
7710  
7711  
7712                return Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["replace"])(value, /\n/g, _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["LINE_SEPARATOR"]);
7713              }), _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["LINE_SEPARATOR"]),
7714              multilineTag: 'li'
7715            })
7716          });
7717        }
7718      }, {
7719        type: 'block',
7720        blocks: ['core/quote'],
7721        transform: function transform(_ref2) {
7722          var value = _ref2.value;
7723          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
7724            values: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["toHTMLString"])({
7725              value: Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_8__["create"])({
7726                html: value,
7727                multilineTag: 'p'
7728              }),
7729              multilineTag: 'li'
7730            })
7731          });
7732        }
7733      }, {
7734        type: 'raw',
7735        selector: 'ol,ul',
7736        schema: {
7737          ol: listContentSchema.ol,
7738          ul: listContentSchema.ul
7739        },
7740        transform: function transform(node) {
7741          return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["getBlockAttributes"])('core/list', node.outerHTML), {
7742            ordered: node.nodeName === 'OL'
7743          }));
7744        }
7745      }].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(['*', '-'].map(function (prefix) {
7746        return {
7747          type: 'prefix',
7748          prefix: prefix,
7749          transform: function transform(content) {
7750            return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
7751              values: "<li>".concat(content, "</li>")
7752            });
7753          }
7754        };
7755      })), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(['1.', '1)'].map(function (prefix) {
7756        return {
7757          type: 'prefix',
7758          prefix: prefix,
7759          transform: function transform(content) {
7760            return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["createBlock"])('core/list', {
7761              ordered: true,
7762              values: "<li>".concat(content, "</li>")
7763            });
7764          }
7765        };
7766      }))),
7767      to: [{
7768        type: 'block',
7769        blocks: ['core/paragraph'],
7770        transform: function transform(_ref3) {
7771          var values = _ref3.values;
7772          return