[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> components.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["components"] =
   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 = "SB3u");
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ "+51k":
  91  /***/ (function(module, exports, __webpack_require__) {
  92  
  93  "use strict";
  94  
  95  
  96  Object.defineProperty(exports, "__esModule", {
  97    value: true
  98  });
  99  exports['default'] = getActiveElement;
 100  function getActiveElement() {
 101    return typeof document !== 'undefined' && document.activeElement;
 102  }
 103  
 104  /***/ }),
 105  
 106  /***/ "+WFq":
 107  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 108  
 109  "use strict";
 110  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useSlot; });
 111  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
 112  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 113  /* harmony import */ var _slot_fill_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("JYkG");
 114  /**
 115   * WordPress dependencies
 116   */
 117  
 118  /**
 119   * Internal dependencies
 120   */
 121  
 122  
 123  function useSlot(name) {
 124    const registry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_slot_fill_context__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"]);
 125    const slot = registry.slots[name] || {};
 126    const slotFills = registry.fills[name];
 127    const fills = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => slotFills || [], [slotFills]);
 128    const updateSlot = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillProps => {
 129      registry.updateSlot(name, fillProps);
 130    }, [name, registry.updateSlot]);
 131    const unregisterSlot = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(slotRef => {
 132      registry.unregisterSlot(name, slotRef);
 133    }, [name, registry.unregisterSlot]);
 134    const registerFill = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillRef => {
 135      registry.registerFill(name, fillRef);
 136    }, [name, registry.registerFill]);
 137    const unregisterFill = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillRef => {
 138      registry.unregisterFill(name, fillRef);
 139    }, [name, registry.unregisterFill]);
 140    return { ...slot,
 141      updateSlot,
 142      unregisterSlot,
 143      fills,
 144      registerFill,
 145      unregisterFill
 146    };
 147  }
 148  
 149  
 150  /***/ }),
 151  
 152  /***/ "+ipW":
 153  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 154  
 155  "use strict";
 156  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return canUseDOM; });
 157  /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("SyVe");
 158  
 159  
 160  
 161  function checkIsBrowser() {
 162    var _window = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[/* getWindow */ "a"])();
 163  
 164    return Boolean(typeof _window !== "undefined" && _window.document && _window.document.createElement);
 165  }
 166  /**
 167   * It's `true` if it is running in a browser environment or `false` if it is not (SSR).
 168   *
 169   * @example
 170   * import { canUseDOM } from "reakit-utils";
 171   *
 172   * const title = canUseDOM ? document.title : "";
 173   */
 174  
 175  
 176  var canUseDOM = checkIsBrowser();
 177  
 178  
 179  
 180  
 181  /***/ }),
 182  
 183  /***/ "/9aa":
 184  /***/ (function(module, exports, __webpack_require__) {
 185  
 186  var baseGetTag = __webpack_require__("NykK"),
 187      isObjectLike = __webpack_require__("ExA7");
 188  
 189  /** `Object#toString` result references. */
 190  var symbolTag = '[object Symbol]';
 191  
 192  /**
 193   * Checks if `value` is classified as a `Symbol` primitive or object.
 194   *
 195   * @static
 196   * @memberOf _
 197   * @since 4.0.0
 198   * @category Lang
 199   * @param {*} value The value to check.
 200   * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
 201   * @example
 202   *
 203   * _.isSymbol(Symbol.iterator);
 204   * // => true
 205   *
 206   * _.isSymbol('abc');
 207   * // => false
 208   */
 209  function isSymbol(value) {
 210    return typeof value == 'symbol' ||
 211      (isObjectLike(value) && baseGetTag(value) == symbolTag);
 212  }
 213  
 214  module.exports = isSymbol;
 215  
 216  
 217  /***/ }),
 218  
 219  /***/ "/ZKw":
 220  /***/ (function(module, exports, __webpack_require__) {
 221  
 222  "use strict";
 223  
 224  
 225  var define = __webpack_require__("82c2");
 226  var callBind = __webpack_require__("PrET");
 227  
 228  var implementation = __webpack_require__("yN6O");
 229  var getPolyfill = __webpack_require__("22yB");
 230  var polyfill = getPolyfill();
 231  var shim = __webpack_require__("v3P4");
 232  
 233  var boundFlat = callBind(polyfill);
 234  
 235  define(boundFlat, {
 236      getPolyfill: getPolyfill,
 237      implementation: implementation,
 238      shim: shim
 239  });
 240  
 241  module.exports = boundFlat;
 242  
 243  
 244  /***/ }),
 245  
 246  /***/ "/sVA":
 247  /***/ (function(module, exports, __webpack_require__) {
 248  
 249  "use strict";
 250  
 251  
 252  var toStr = Object.prototype.toString;
 253  var hasSymbols = __webpack_require__("UVaH")();
 254  
 255  if (hasSymbols) {
 256      var symToStr = Symbol.prototype.toString;
 257      var symStringRegex = /^Symbol\(.*\)$/;
 258      var isSymbolObject = function isRealSymbolObject(value) {
 259          if (typeof value.valueOf() !== 'symbol') {
 260              return false;
 261          }
 262          return symStringRegex.test(symToStr.call(value));
 263      };
 264  
 265      module.exports = function isSymbol(value) {
 266          if (typeof value === 'symbol') {
 267              return true;
 268          }
 269          if (toStr.call(value) !== '[object Symbol]') {
 270              return false;
 271          }
 272          try {
 273              return isSymbolObject(value);
 274          } catch (e) {
 275              return false;
 276          }
 277      };
 278  } else {
 279  
 280      module.exports = function isSymbol(value) {
 281          // this environment does not support Symbols.
 282          return  false && false;
 283      };
 284  }
 285  
 286  
 287  /***/ }),
 288  
 289  /***/ 0:
 290  /***/ (function(module, exports) {
 291  
 292  /* (ignored) */
 293  
 294  /***/ }),
 295  
 296  /***/ "030x":
 297  /***/ (function(module, exports, __webpack_require__) {
 298  
 299  "use strict";
 300  
 301  
 302  Object.defineProperty(exports, "__esModule", {
 303    value: true
 304  });
 305  var styleInterface = void 0;
 306  var styleTheme = void 0;
 307  
 308  var START_MARK = 'react-with-styles.resolve.start';
 309  var END_MARK = 'react-with-styles.resolve.end';
 310  var MEASURE_MARK = '\uD83D\uDC69\u200D\uD83C\uDFA8 [resolve]';
 311  
 312  function registerTheme(theme) {
 313    styleTheme = theme;
 314  }
 315  
 316  function registerInterface(interfaceToRegister) {
 317    styleInterface = interfaceToRegister;
 318  }
 319  
 320  function create(makeFromTheme, createWithDirection) {
 321    var styles = createWithDirection(makeFromTheme(styleTheme));
 322    return function () {
 323      return styles;
 324    };
 325  }
 326  
 327  function createLTR(makeFromTheme) {
 328    return create(makeFromTheme, styleInterface.createLTR || styleInterface.create);
 329  }
 330  
 331  function createRTL(makeFromTheme) {
 332    return create(makeFromTheme, styleInterface.createRTL || styleInterface.create);
 333  }
 334  
 335  function get() {
 336    return styleTheme;
 337  }
 338  
 339  function resolve() {
 340    if (false) {}
 341  
 342    for (var _len = arguments.length, styles = Array(_len), _key = 0; _key < _len; _key++) {
 343      styles[_key] = arguments[_key];
 344    }
 345  
 346    var result = styleInterface.resolve(styles);
 347  
 348    if (false) {}
 349  
 350    return result;
 351  }
 352  
 353  function resolveLTR() {
 354    for (var _len2 = arguments.length, styles = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
 355      styles[_key2] = arguments[_key2];
 356    }
 357  
 358    if (styleInterface.resolveLTR) {
 359      return styleInterface.resolveLTR(styles);
 360    }
 361  
 362    return resolve(styles);
 363  }
 364  
 365  function resolveRTL() {
 366    for (var _len3 = arguments.length, styles = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
 367      styles[_key3] = arguments[_key3];
 368    }
 369  
 370    if (styleInterface.resolveRTL) {
 371      return styleInterface.resolveRTL(styles);
 372    }
 373  
 374    return resolve(styles);
 375  }
 376  
 377  function flush() {
 378    if (styleInterface.flush) {
 379      styleInterface.flush();
 380    }
 381  }
 382  
 383  exports['default'] = {
 384    registerTheme: registerTheme,
 385    registerInterface: registerInterface,
 386    create: createLTR,
 387    createLTR: createLTR,
 388    createRTL: createRTL,
 389    get: get,
 390    resolve: resolveLTR,
 391    resolveLTR: resolveLTR,
 392    resolveRTL: resolveRTL,
 393    flush: flush
 394  };
 395  
 396  /***/ }),
 397  
 398  /***/ "0Dl3":
 399  /***/ (function(module, exports, __webpack_require__) {
 400  
 401  "use strict";
 402  
 403  
 404  Object.defineProperty(exports, "__esModule", {
 405    value: true
 406  });
 407  exports['default'] = getNumberOfCalendarMonthWeeks;
 408  
 409  var _moment = __webpack_require__("wy2R");
 410  
 411  var _moment2 = _interopRequireDefault(_moment);
 412  
 413  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 414  
 415  function getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek) {
 416    var weekDayDiff = firstDayOfMonth.day() - firstDayOfWeek;
 417    return (weekDayDiff + 7) % 7;
 418  }
 419  
 420  function getNumberOfCalendarMonthWeeks(month) {
 421    var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _moment2['default'].localeData().firstDayOfWeek();
 422  
 423    var firstDayOfMonth = month.clone().startOf('month');
 424    var numBlankDays = getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek);
 425    return Math.ceil((numBlankDays + month.daysInMonth()) / 7);
 426  }
 427  
 428  /***/ }),
 429  
 430  /***/ "0HL0":
 431  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 432  
 433  "use strict";
 434  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return setTextFieldValue; });
 435  /* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("qOxZ");
 436  
 437  
 438  function setTextFieldValue(element, value) {
 439    if (element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement) {
 440      var _Object$getOwnPropert;
 441  
 442      var proto = Object.getPrototypeOf(element);
 443      var setValue = (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(proto, "value")) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.set;
 444  
 445      if (setValue) {
 446        setValue.call(element, value);
 447        Object(reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_0__[/* fireEvent */ "a"])(element, "input", {
 448          bubbles: true
 449        });
 450      }
 451    }
 452  }
 453  
 454  
 455  
 456  
 457  /***/ }),
 458  
 459  /***/ "0XP8":
 460  /***/ (function(module, exports, __webpack_require__) {
 461  
 462  "use strict";
 463  
 464  
 465  Object.defineProperty(exports, "__esModule", {
 466    value: true
 467  });
 468  
 469  var _react = __webpack_require__("cDcd");
 470  
 471  var _react2 = _interopRequireDefault(_react);
 472  
 473  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 474  
 475  var LeftArrow = function () {
 476    function LeftArrow(props) {
 477      return _react2['default'].createElement(
 478        'svg',
 479        props,
 480        _react2['default'].createElement('path', {
 481          d: 'M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z'
 482        })
 483      );
 484    }
 485  
 486    return LeftArrow;
 487  }();
 488  
 489  LeftArrow.defaultProps = {
 490    viewBox: '0 0 1000 1000'
 491  };
 492  exports['default'] = LeftArrow;
 493  
 494  /***/ }),
 495  
 496  /***/ "1+Kn":
 497  /***/ (function(module, exports, __webpack_require__) {
 498  
 499  "use strict";
 500  
 501  
 502  Object.defineProperty(exports, "__esModule", {
 503    value: true
 504  });
 505  exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined;
 506  
 507  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
 508  
 509  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 510  
 511  var _object = __webpack_require__("Koq/");
 512  
 513  var _object2 = _interopRequireDefault(_object);
 514  
 515  var _react = __webpack_require__("cDcd");
 516  
 517  var _react2 = _interopRequireDefault(_react);
 518  
 519  var _propTypes = __webpack_require__("17x9");
 520  
 521  var _propTypes2 = _interopRequireDefault(_propTypes);
 522  
 523  var _airbnbPropTypes = __webpack_require__("Hsqg");
 524  
 525  var _reactWithStyles = __webpack_require__("TG4+");
 526  
 527  var _defaultPhrases = __webpack_require__("vV+G");
 528  
 529  var _getPhrasePropTypes = __webpack_require__("yc2e");
 530  
 531  var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
 532  
 533  var _KeyboardShortcutRow = __webpack_require__("zN8g");
 534  
 535  var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow);
 536  
 537  var _CloseButton = __webpack_require__("xEte");
 538  
 539  var _CloseButton2 = _interopRequireDefault(_CloseButton);
 540  
 541  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 542  
 543  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 544  
 545  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 546  
 547  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 548  
 549  var TOP_LEFT = exports.TOP_LEFT = 'top-left';
 550  var TOP_RIGHT = exports.TOP_RIGHT = 'top-right';
 551  var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right';
 552  
 553  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
 554    block: _propTypes2['default'].bool,
 555    buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]),
 556    showKeyboardShortcutsPanel: _propTypes2['default'].bool,
 557    openKeyboardShortcutsPanel: _propTypes2['default'].func,
 558    closeKeyboardShortcutsPanel: _propTypes2['default'].func,
 559    phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases))
 560  }));
 561  
 562  var defaultProps = {
 563    block: false,
 564    buttonLocation: BOTTOM_RIGHT,
 565    showKeyboardShortcutsPanel: false,
 566    openKeyboardShortcutsPanel: function () {
 567      function openKeyboardShortcutsPanel() {}
 568  
 569      return openKeyboardShortcutsPanel;
 570    }(),
 571    closeKeyboardShortcutsPanel: function () {
 572      function closeKeyboardShortcutsPanel() {}
 573  
 574      return closeKeyboardShortcutsPanel;
 575    }(),
 576  
 577    phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases
 578  };
 579  
 580  function getKeyboardShortcuts(phrases) {
 581    return [{
 582      unicode: '↵',
 583      label: phrases.enterKey,
 584      action: phrases.selectFocusedDate
 585    }, {
 586      unicode: '←/→',
 587      label: phrases.leftArrowRightArrow,
 588      action: phrases.moveFocusByOneDay
 589    }, {
 590      unicode: '↑/↓',
 591      label: phrases.upArrowDownArrow,
 592      action: phrases.moveFocusByOneWeek
 593    }, {
 594      unicode: 'PgUp/PgDn',
 595      label: phrases.pageUpPageDown,
 596      action: phrases.moveFocusByOneMonth
 597    }, {
 598      unicode: 'Home/End',
 599      label: phrases.homeEnd,
 600      action: phrases.moveFocustoStartAndEndOfWeek
 601    }, {
 602      unicode: 'Esc',
 603      label: phrases.escape,
 604      action: phrases.returnFocusToInput
 605    }, {
 606      unicode: '?',
 607      label: phrases.questionMark,
 608      action: phrases.openThisPanel
 609    }];
 610  }
 611  
 612  var DayPickerKeyboardShortcuts = function (_React$Component) {
 613    _inherits(DayPickerKeyboardShortcuts, _React$Component);
 614  
 615    function DayPickerKeyboardShortcuts() {
 616      var _ref;
 617  
 618      _classCallCheck(this, DayPickerKeyboardShortcuts);
 619  
 620      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
 621        args[_key] = arguments[_key];
 622      }
 623  
 624      var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args)));
 625  
 626      var phrases = _this.props.phrases;
 627  
 628      _this.keyboardShortcuts = getKeyboardShortcuts(phrases);
 629  
 630      _this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this);
 631      _this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this);
 632      _this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this);
 633      _this.handleFocus = _this.handleFocus.bind(_this);
 634      _this.onKeyDown = _this.onKeyDown.bind(_this);
 635      return _this;
 636    }
 637  
 638    _createClass(DayPickerKeyboardShortcuts, [{
 639      key: 'componentWillReceiveProps',
 640      value: function () {
 641        function componentWillReceiveProps(nextProps) {
 642          var phrases = this.props.phrases;
 643  
 644          if (nextProps.phrases !== phrases) {
 645            this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases);
 646          }
 647        }
 648  
 649        return componentWillReceiveProps;
 650      }()
 651    }, {
 652      key: 'componentDidUpdate',
 653      value: function () {
 654        function componentDidUpdate() {
 655          this.handleFocus();
 656        }
 657  
 658        return componentDidUpdate;
 659      }()
 660    }, {
 661      key: 'onKeyDown',
 662      value: function () {
 663        function onKeyDown(e) {
 664          e.stopPropagation();
 665  
 666          var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel;
 667          // Because the close button is the only focusable element inside of the panel, this
 668          // amounts to a very basic focus trap. The user can exit the panel by "pressing" the
 669          // close button or hitting escape
 670  
 671          switch (e.key) {
 672            case 'Enter':
 673            case ' ':
 674            case 'Spacebar': // for older browsers
 675            case 'Escape':
 676              closeKeyboardShortcutsPanel();
 677              break;
 678  
 679            // do nothing - this allows the up and down arrows continue their
 680            // default behavior of scrolling the content of the Keyboard Shortcuts Panel
 681            // which is needed when only a single month is shown for instance.
 682            case 'ArrowUp':
 683            case 'ArrowDown':
 684              break;
 685  
 686            // completely block the rest of the keys that have functionality outside of this panel
 687            case 'Tab':
 688            case 'Home':
 689            case 'End':
 690            case 'PageUp':
 691            case 'PageDown':
 692            case 'ArrowLeft':
 693            case 'ArrowRight':
 694              e.preventDefault();
 695              break;
 696  
 697            default:
 698              break;
 699          }
 700        }
 701  
 702        return onKeyDown;
 703      }()
 704    }, {
 705      key: 'onShowKeyboardShortcutsButtonClick',
 706      value: function () {
 707        function onShowKeyboardShortcutsButtonClick() {
 708          var _this2 = this;
 709  
 710          var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel;
 711  
 712          // we want to return focus to this button after closing the keyboard shortcuts panel
 713  
 714          openKeyboardShortcutsPanel(function () {
 715            _this2.showKeyboardShortcutsButton.focus();
 716          });
 717        }
 718  
 719        return onShowKeyboardShortcutsButtonClick;
 720      }()
 721    }, {
 722      key: 'setShowKeyboardShortcutsButtonRef',
 723      value: function () {
 724        function setShowKeyboardShortcutsButtonRef(ref) {
 725          this.showKeyboardShortcutsButton = ref;
 726        }
 727  
 728        return setShowKeyboardShortcutsButtonRef;
 729      }()
 730    }, {
 731      key: 'setHideKeyboardShortcutsButtonRef',
 732      value: function () {
 733        function setHideKeyboardShortcutsButtonRef(ref) {
 734          this.hideKeyboardShortcutsButton = ref;
 735        }
 736  
 737        return setHideKeyboardShortcutsButtonRef;
 738      }()
 739    }, {
 740      key: 'handleFocus',
 741      value: function () {
 742        function handleFocus() {
 743          if (this.hideKeyboardShortcutsButton) {
 744            // automatically move focus into the dialog by moving
 745            // to the only interactive element, the hide button
 746            this.hideKeyboardShortcutsButton.focus();
 747          }
 748        }
 749  
 750        return handleFocus;
 751      }()
 752    }, {
 753      key: 'render',
 754      value: function () {
 755        function render() {
 756          var _this3 = this;
 757  
 758          var _props = this.props,
 759              block = _props.block,
 760              buttonLocation = _props.buttonLocation,
 761              showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel,
 762              closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel,
 763              styles = _props.styles,
 764              phrases = _props.phrases;
 765  
 766  
 767          var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel;
 768  
 769          var bottomRight = buttonLocation === BOTTOM_RIGHT;
 770          var topRight = buttonLocation === TOP_RIGHT;
 771          var topLeft = buttonLocation === TOP_LEFT;
 772  
 773          return _react2['default'].createElement(
 774            'div',
 775            null,
 776            _react2['default'].createElement(
 777              'button',
 778              _extends({
 779                ref: this.setShowKeyboardShortcutsButtonRef
 780              }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), {
 781                type: 'button',
 782                'aria-label': toggleButtonText,
 783                onClick: this.onShowKeyboardShortcutsButtonClick,
 784                onKeyDown: function () {
 785                  function onKeyDown(e) {
 786                    if (e.key === 'Enter') {
 787                      e.preventDefault();
 788                    } else if (e.key === 'Space') {
 789                      _this3.onShowKeyboardShortcutsButtonClick(e);
 790                    }
 791                  }
 792  
 793                  return onKeyDown;
 794                }(),
 795                onMouseUp: function () {
 796                  function onMouseUp(e) {
 797                    e.currentTarget.blur();
 798                  }
 799  
 800                  return onMouseUp;
 801                }()
 802              }),
 803              _react2['default'].createElement(
 804                'span',
 805                (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft),
 806                '?'
 807              )
 808            ),
 809            showKeyboardShortcutsPanel && _react2['default'].createElement(
 810              'div',
 811              _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), {
 812                role: 'dialog',
 813                'aria-labelledby': 'DayPickerKeyboardShortcuts_title',
 814                'aria-describedby': 'DayPickerKeyboardShortcuts_description'
 815              }),
 816              _react2['default'].createElement(
 817                'div',
 818                _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), {
 819                  id: 'DayPickerKeyboardShortcuts_title'
 820                }),
 821                phrases.keyboardShortcuts
 822              ),
 823              _react2['default'].createElement(
 824                'button',
 825                _extends({
 826                  ref: this.setHideKeyboardShortcutsButtonRef
 827                }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), {
 828                  type: 'button',
 829                  tabIndex: '0',
 830                  'aria-label': phrases.hideKeyboardShortcutsPanel,
 831                  onClick: closeKeyboardShortcutsPanel,
 832                  onKeyDown: this.onKeyDown
 833                }),
 834                _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg))
 835              ),
 836              _react2['default'].createElement(
 837                'ul',
 838                _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), {
 839                  id: 'DayPickerKeyboardShortcuts_description'
 840                }),
 841                this.keyboardShortcuts.map(function (_ref2) {
 842                  var unicode = _ref2.unicode,
 843                      label = _ref2.label,
 844                      action = _ref2.action;
 845                  return _react2['default'].createElement(_KeyboardShortcutRow2['default'], {
 846                    key: label,
 847                    unicode: unicode,
 848                    label: label,
 849                    action: action,
 850                    block: block
 851                  });
 852                })
 853              )
 854            )
 855          );
 856        }
 857  
 858        return render;
 859      }()
 860    }]);
 861  
 862    return DayPickerKeyboardShortcuts;
 863  }(_react2['default'].Component);
 864  
 865  DayPickerKeyboardShortcuts.propTypes = propTypes;
 866  DayPickerKeyboardShortcuts.defaultProps = defaultProps;
 867  
 868  exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) {
 869    var _ref3$reactDates = _ref3.reactDates,
 870        color = _ref3$reactDates.color,
 871        font = _ref3$reactDates.font,
 872        zIndex = _ref3$reactDates.zIndex;
 873    return {
 874      DayPickerKeyboardShortcuts_buttonReset: {
 875        background: 'none',
 876        border: 0,
 877        borderRadius: 0,
 878        color: 'inherit',
 879        font: 'inherit',
 880        lineHeight: 'normal',
 881        overflow: 'visible',
 882        padding: 0,
 883        cursor: 'pointer',
 884        fontSize: font.size,
 885  
 886        ':active': {
 887          outline: 'none'
 888        }
 889      },
 890  
 891      DayPickerKeyboardShortcuts_show: {
 892        width: 22,
 893        position: 'absolute',
 894        zIndex: zIndex + 2
 895      },
 896  
 897      DayPickerKeyboardShortcuts_show__bottomRight: {
 898        borderTop: '26px solid transparent',
 899        borderRight: '33px solid ' + String(color.core.primary),
 900        bottom: 0,
 901        right: 0,
 902  
 903        ':hover': {
 904          borderRight: '33px solid ' + String(color.core.primary_dark)
 905        }
 906      },
 907  
 908      DayPickerKeyboardShortcuts_show__topRight: {
 909        borderBottom: '26px solid transparent',
 910        borderRight: '33px solid ' + String(color.core.primary),
 911        top: 0,
 912        right: 0,
 913  
 914        ':hover': {
 915          borderRight: '33px solid ' + String(color.core.primary_dark)
 916        }
 917      },
 918  
 919      DayPickerKeyboardShortcuts_show__topLeft: {
 920        borderBottom: '26px solid transparent',
 921        borderLeft: '33px solid ' + String(color.core.primary),
 922        top: 0,
 923        left: 0,
 924  
 925        ':hover': {
 926          borderLeft: '33px solid ' + String(color.core.primary_dark)
 927        }
 928      },
 929  
 930      DayPickerKeyboardShortcuts_showSpan: {
 931        color: color.core.white,
 932        position: 'absolute'
 933      },
 934  
 935      DayPickerKeyboardShortcuts_showSpan__bottomRight: {
 936        bottom: 0,
 937        right: -28
 938      },
 939  
 940      DayPickerKeyboardShortcuts_showSpan__topRight: {
 941        top: 1,
 942        right: -28
 943      },
 944  
 945      DayPickerKeyboardShortcuts_showSpan__topLeft: {
 946        top: 1,
 947        left: -28
 948      },
 949  
 950      DayPickerKeyboardShortcuts_panel: {
 951        overflow: 'auto',
 952        background: color.background,
 953        border: '1px solid ' + String(color.core.border),
 954        borderRadius: 2,
 955        position: 'absolute',
 956        top: 0,
 957        bottom: 0,
 958        right: 0,
 959        left: 0,
 960        zIndex: zIndex + 2,
 961        padding: 22,
 962        margin: 33
 963      },
 964  
 965      DayPickerKeyboardShortcuts_title: {
 966        fontSize: 16,
 967        fontWeight: 'bold',
 968        margin: 0
 969      },
 970  
 971      DayPickerKeyboardShortcuts_list: {
 972        listStyle: 'none',
 973        padding: 0,
 974        fontSize: font.size
 975      },
 976  
 977      DayPickerKeyboardShortcuts_close: {
 978        position: 'absolute',
 979        right: 22,
 980        top: 22,
 981        zIndex: zIndex + 2,
 982  
 983        ':active': {
 984          outline: 'none'
 985        }
 986      },
 987  
 988      DayPickerKeyboardShortcuts_closeSvg: {
 989        height: 15,
 990        width: 15,
 991        fill: color.core.grayLighter,
 992  
 993        ':hover': {
 994          fill: color.core.grayLight
 995        },
 996  
 997        ':focus': {
 998          fill: color.core.grayLight
 999        }
1000      }
1001    };
1002  })(DayPickerKeyboardShortcuts);
1003  
1004  /***/ }),
1005  
1006  /***/ "10Kj":
1007  /***/ (function(module, exports, __webpack_require__) {
1008  
1009  "use strict";
1010  
1011  
1012  var GetIntrinsic = __webpack_require__("rZ7t");
1013  
1014  var $TypeError = GetIntrinsic('%TypeError%');
1015  var $SyntaxError = GetIntrinsic('%SyntaxError%');
1016  
1017  var has = __webpack_require__("oNNP");
1018  
1019  var predicates = {
1020      // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
1021      'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
1022          if (Type(Desc) !== 'Object') {
1023              return false;
1024          }
1025          var allowed = {
1026              '[[Configurable]]': true,
1027              '[[Enumerable]]': true,
1028              '[[Get]]': true,
1029              '[[Set]]': true,
1030              '[[Value]]': true,
1031              '[[Writable]]': true
1032          };
1033  
1034          for (var key in Desc) { // eslint-disable-line
1035              if (has(Desc, key) && !allowed[key]) {
1036                  return false;
1037              }
1038          }
1039  
1040          var isData = has(Desc, '[[Value]]');
1041          var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');
1042          if (isData && IsAccessor) {
1043              throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');
1044          }
1045          return true;
1046      }
1047  };
1048  
1049  module.exports = function assertRecord(Type, recordType, argumentName, value) {
1050      var predicate = predicates[recordType];
1051      if (typeof predicate !== 'function') {
1052          throw new $SyntaxError('unknown record type: ' + recordType);
1053      }
1054      if (!predicate(Type, value)) {
1055          throw new $TypeError(argumentName + ' must be a ' + recordType);
1056      }
1057  };
1058  
1059  
1060  /***/ }),
1061  
1062  /***/ "16Al":
1063  /***/ (function(module, exports, __webpack_require__) {
1064  
1065  "use strict";
1066  /**
1067   * Copyright (c) 2013-present, Facebook, Inc.
1068   *
1069   * This source code is licensed under the MIT license found in the
1070   * LICENSE file in the root directory of this source tree.
1071   */
1072  
1073  
1074  
1075  var ReactPropTypesSecret = __webpack_require__("WbBG");
1076  
1077  function emptyFunction() {}
1078  function emptyFunctionWithReset() {}
1079  emptyFunctionWithReset.resetWarningCache = emptyFunction;
1080  
1081  module.exports = function() {
1082    function shim(props, propName, componentName, location, propFullName, secret) {
1083      if (secret === ReactPropTypesSecret) {
1084        // It is still safe when called from React.
1085        return;
1086      }
1087      var err = new Error(
1088        'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1089        'Use PropTypes.checkPropTypes() to call them. ' +
1090        'Read more at http://fb.me/use-check-prop-types'
1091      );
1092      err.name = 'Invariant Violation';
1093      throw err;
1094    };
1095    shim.isRequired = shim;
1096    function getShim() {
1097      return shim;
1098    };
1099    // Important!
1100    // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1101    var ReactPropTypes = {
1102      array: shim,
1103      bool: shim,
1104      func: shim,
1105      number: shim,
1106      object: shim,
1107      string: shim,
1108      symbol: shim,
1109  
1110      any: shim,
1111      arrayOf: getShim,
1112      element: shim,
1113      elementType: shim,
1114      instanceOf: getShim,
1115      node: shim,
1116      objectOf: getShim,
1117      oneOf: getShim,
1118      oneOfType: getShim,
1119      shape: getShim,
1120      exact: getShim,
1121  
1122      checkPropTypes: emptyFunctionWithReset,
1123      resetWarningCache: emptyFunction
1124    };
1125  
1126    ReactPropTypes.PropTypes = ReactPropTypes;
1127  
1128    return ReactPropTypes;
1129  };
1130  
1131  
1132  /***/ }),
1133  
1134  /***/ "17x9":
1135  /***/ (function(module, exports, __webpack_require__) {
1136  
1137  /**
1138   * Copyright (c) 2013-present, Facebook, Inc.
1139   *
1140   * This source code is licensed under the MIT license found in the
1141   * LICENSE file in the root directory of this source tree.
1142   */
1143  
1144  if (false) { var throwOnDirectAccess, ReactIs; } else {
1145    // By explicitly using `prop-types` you are opting into new production behavior.
1146    // http://fb.me/prop-types-in-prod
1147    module.exports = __webpack_require__("16Al")();
1148  }
1149  
1150  
1151  /***/ }),
1152  
1153  /***/ "1CF3":
1154  /***/ (function(module, exports) {
1155  
1156  (function() { module.exports = window["wp"]["dom"]; }());
1157  
1158  /***/ }),
1159  
1160  /***/ "1KsK":
1161  /***/ (function(module, exports, __webpack_require__) {
1162  
1163  "use strict";
1164  
1165  
1166  var toStr = Object.prototype.toString;
1167  
1168  module.exports = function isArguments(value) {
1169      var str = toStr.call(value);
1170      var isArgs = str === '[object Arguments]';
1171      if (!isArgs) {
1172          isArgs = str !== '[object Array]' &&
1173              value !== null &&
1174              typeof value === 'object' &&
1175              typeof value.length === 'number' &&
1176              value.length >= 0 &&
1177              toStr.call(value.callee) === '[object Function]';
1178      }
1179      return isArgs;
1180  };
1181  
1182  
1183  /***/ }),
1184  
1185  /***/ "1LY1":
1186  /***/ (function(module, exports, __webpack_require__) {
1187  
1188  "use strict";
1189  
1190  
1191  var bind = __webpack_require__("D3zA");
1192  var GetIntrinsic = __webpack_require__("rZ7t");
1193  
1194  var $apply = GetIntrinsic('%Function.prototype.apply%');
1195  var $call = GetIntrinsic('%Function.prototype.call%');
1196  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
1197  
1198  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1199  var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
1200  var $max = GetIntrinsic('%Math.max%');
1201  
1202  if ($defineProperty) {
1203      try {
1204          $defineProperty({}, 'a', { value: 1 });
1205      } catch (e) {
1206          // IE 8 has a broken defineProperty
1207          $defineProperty = null;
1208      }
1209  }
1210  
1211  module.exports = function callBind(originalFunction) {
1212      var func = $reflectApply(bind, $call, arguments);
1213      if ($gOPD && $defineProperty) {
1214          var desc = $gOPD(func, 'length');
1215          if (desc.configurable) {
1216              // original length, plus the receiver, minus any additional arguments (after the receiver)
1217              $defineProperty(
1218                  func,
1219                  'length',
1220                  { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
1221              );
1222          }
1223      }
1224      return func;
1225  };
1226  
1227  var applyBind = function applyBind() {
1228      return $reflectApply(bind, $apply, arguments);
1229  };
1230  
1231  if ($defineProperty) {
1232      $defineProperty(module.exports, 'apply', { value: applyBind });
1233  } else {
1234      module.exports.apply = applyBind;
1235  }
1236  
1237  
1238  /***/ }),
1239  
1240  /***/ "1TsT":
1241  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1242  
1243  "use strict";
1244  __webpack_require__.r(__webpack_exports__);
1245  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "addEventListener", function() { return addEventListener; });
1246  var CAN_USE_DOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
1247  
1248  // Adapted from Modernizr
1249  // https://github.com/Modernizr/Modernizr/blob/acb3f0d9/feature-detects/dom/passiveeventlisteners.js#L26-L37
1250  function testPassiveEventListeners() {
1251    if (!CAN_USE_DOM) {
1252      return false;
1253    }
1254  
1255    if (!window.addEventListener || !window.removeEventListener || !Object.defineProperty) {
1256      return false;
1257    }
1258  
1259    var supportsPassiveOption = false;
1260    try {
1261      var opts = Object.defineProperty({}, 'passive', {
1262        // eslint-disable-next-line getter-return
1263        get: function () {
1264          function get() {
1265            supportsPassiveOption = true;
1266          }
1267  
1268          return get;
1269        }()
1270      });
1271      var noop = function noop() {};
1272      window.addEventListener('testPassiveEventSupport', noop, opts);
1273      window.removeEventListener('testPassiveEventSupport', noop, opts);
1274    } catch (e) {
1275      // do nothing
1276    }
1277  
1278    return supportsPassiveOption;
1279  }
1280  
1281  var memoized = void 0;
1282  
1283  function canUsePassiveEventListeners() {
1284    if (memoized === undefined) {
1285      memoized = testPassiveEventListeners();
1286    }
1287    return memoized;
1288  }
1289  
1290  function normalizeEventOptions(eventOptions) {
1291    if (!eventOptions) {
1292      return undefined;
1293    }
1294  
1295    if (!canUsePassiveEventListeners()) {
1296      // If the browser does not support the passive option, then it is expecting
1297      // a boolean for the options argument to specify whether it should use
1298      // capture or not. In more modern browsers, this is passed via the `capture`
1299      // option, so let's just hoist that value up.
1300      return !!eventOptions.capture;
1301    }
1302  
1303    return eventOptions;
1304  }
1305  
1306  /* eslint-disable no-bitwise */
1307  
1308  /**
1309   * Generate a unique key for any set of event options
1310   */
1311  function eventOptionsKey(normalizedEventOptions) {
1312    if (!normalizedEventOptions) {
1313      return 0;
1314    }
1315  
1316    // If the browser does not support passive event listeners, the normalized
1317    // event options will be a boolean.
1318    if (normalizedEventOptions === true) {
1319      return 100;
1320    }
1321  
1322    // At this point, the browser supports passive event listeners, so we expect
1323    // the event options to be an object with possible properties of capture,
1324    // passive, and once.
1325    //
1326    // We want to consistently return the same value, regardless of the order of
1327    // these properties, so let's use binary maths to assign each property to a
1328    // bit, and then add those together (with an offset to account for the
1329    // booleans at the beginning of this function).
1330    var capture = normalizedEventOptions.capture << 0;
1331    var passive = normalizedEventOptions.passive << 1;
1332    var once = normalizedEventOptions.once << 2;
1333    return capture + passive + once;
1334  }
1335  
1336  function ensureCanMutateNextEventHandlers(eventHandlers) {
1337    if (eventHandlers.handlers === eventHandlers.nextHandlers) {
1338      // eslint-disable-next-line no-param-reassign
1339      eventHandlers.nextHandlers = eventHandlers.handlers.slice();
1340    }
1341  }
1342  
1343  function TargetEventHandlers(target) {
1344    this.target = target;
1345    this.events = {};
1346  }
1347  
1348  TargetEventHandlers.prototype.getEventHandlers = function () {
1349    function getEventHandlers(eventName, options) {
1350      var key = String(eventName) + ' ' + String(eventOptionsKey(options));
1351  
1352      if (!this.events[key]) {
1353        this.events[key] = {
1354          handlers: [],
1355          handleEvent: undefined
1356        };
1357        this.events[key].nextHandlers = this.events[key].handlers;
1358      }
1359  
1360      return this.events[key];
1361    }
1362  
1363    return getEventHandlers;
1364  }();
1365  
1366  TargetEventHandlers.prototype.handleEvent = function () {
1367    function handleEvent(eventName, options, event) {
1368      var eventHandlers = this.getEventHandlers(eventName, options);
1369      eventHandlers.handlers = eventHandlers.nextHandlers;
1370      eventHandlers.handlers.forEach(function (handler) {
1371        if (handler) {
1372          // We need to check for presence here because a handler function may
1373          // cause later handlers to get removed. This can happen if you for
1374          // instance have a waypoint that unmounts another waypoint as part of an
1375          // onEnter/onLeave handler.
1376          handler(event);
1377        }
1378      });
1379    }
1380  
1381    return handleEvent;
1382  }();
1383  
1384  TargetEventHandlers.prototype.add = function () {
1385    function add(eventName, listener, options) {
1386      var _this = this;
1387  
1388      // options has already been normalized at this point.
1389      var eventHandlers = this.getEventHandlers(eventName, options);
1390  
1391      ensureCanMutateNextEventHandlers(eventHandlers);
1392  
1393      if (eventHandlers.nextHandlers.length === 0) {
1394        eventHandlers.handleEvent = this.handleEvent.bind(this, eventName, options);
1395  
1396        this.target.addEventListener(eventName, eventHandlers.handleEvent, options);
1397      }
1398  
1399      eventHandlers.nextHandlers.push(listener);
1400  
1401      var isSubscribed = true;
1402      var unsubscribe = function () {
1403        function unsubscribe() {
1404          if (!isSubscribed) {
1405            return;
1406          }
1407  
1408          isSubscribed = false;
1409  
1410          ensureCanMutateNextEventHandlers(eventHandlers);
1411          var index = eventHandlers.nextHandlers.indexOf(listener);
1412          eventHandlers.nextHandlers.splice(index, 1);
1413  
1414          if (eventHandlers.nextHandlers.length === 0) {
1415            // All event handlers have been removed, so we want to remove the event
1416            // listener from the target node.
1417  
1418            if (_this.target) {
1419              // There can be a race condition where the target may no longer exist
1420              // when this function is called, e.g. when a React component is
1421              // unmounting. Guarding against this prevents the following error:
1422              //
1423              //   Cannot read property 'removeEventListener' of undefined
1424              _this.target.removeEventListener(eventName, eventHandlers.handleEvent, options);
1425            }
1426  
1427            eventHandlers.handleEvent = undefined;
1428          }
1429        }
1430  
1431        return unsubscribe;
1432      }();
1433      return unsubscribe;
1434    }
1435  
1436    return add;
1437  }();
1438  
1439  var EVENT_HANDLERS_KEY = '__consolidated_events_handlers__';
1440  
1441  // eslint-disable-next-line import/prefer-default-export
1442  function addEventListener(target, eventName, listener, options) {
1443    if (!target[EVENT_HANDLERS_KEY]) {
1444      // eslint-disable-next-line no-param-reassign
1445      target[EVENT_HANDLERS_KEY] = new TargetEventHandlers(target);
1446    }
1447    var normalizedEventOptions = normalizeEventOptions(options);
1448    return target[EVENT_HANDLERS_KEY].add(eventName, listener, normalizedEventOptions);
1449  }
1450  
1451  
1452  
1453  
1454  /***/ }),
1455  
1456  /***/ "1iEr":
1457  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1458  
1459  "use strict";
1460  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
1461  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1462  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
1463  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1464  
1465  
1466  /**
1467   * WordPress dependencies
1468   */
1469  
1470  const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1471    xmlns: "http://www.w3.org/2000/svg",
1472    viewBox: "0 0 24 24"
1473  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1474    d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
1475  }));
1476  /* harmony default export */ __webpack_exports__["a"] = (chevronRight);
1477  
1478  
1479  /***/ }),
1480  
1481  /***/ "1seS":
1482  /***/ (function(module, exports, __webpack_require__) {
1483  
1484  "use strict";
1485  
1486  
1487  var slice = Array.prototype.slice;
1488  var isArgs = __webpack_require__("1KsK");
1489  
1490  var origKeys = Object.keys;
1491  var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__("sYn3");
1492  
1493  var originalKeys = Object.keys;
1494  
1495  keysShim.shim = function shimObjectKeys() {
1496      if (Object.keys) {
1497          var keysWorksWithArguments = (function () {
1498              // Safari 5.0 bug
1499              var args = Object.keys(arguments);
1500              return args && args.length === arguments.length;
1501          }(1, 2));
1502          if (!keysWorksWithArguments) {
1503              Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1504                  if (isArgs(object)) {
1505                      return originalKeys(slice.call(object));
1506                  }
1507                  return originalKeys(object);
1508              };
1509          }
1510      } else {
1511          Object.keys = keysShim;
1512      }
1513      return Object.keys || keysShim;
1514  };
1515  
1516  module.exports = keysShim;
1517  
1518  
1519  /***/ }),
1520  
1521  /***/ "22yB":
1522  /***/ (function(module, exports, __webpack_require__) {
1523  
1524  "use strict";
1525  
1526  
1527  var implementation = __webpack_require__("yN6O");
1528  
1529  module.exports = function getPolyfill() {
1530      return Array.prototype.flat || implementation;
1531  };
1532  
1533  
1534  /***/ }),
1535  
1536  /***/ "25kQ":
1537  /***/ (function(module, exports, __webpack_require__) {
1538  
1539  "use strict";
1540  
1541  
1542  module.exports = __webpack_require__("aUaa");
1543  
1544  
1545  /***/ }),
1546  
1547  /***/ "2Q00":
1548  /***/ (function(module, exports, __webpack_require__) {
1549  
1550  "use strict";
1551  
1552  
1553  Object.defineProperty(exports, "__esModule", {
1554    value: true
1555  });
1556  exports['default'] = CalendarWeek;
1557  
1558  var _react = __webpack_require__("cDcd");
1559  
1560  var _react2 = _interopRequireDefault(_react);
1561  
1562  var _airbnbPropTypes = __webpack_require__("Hsqg");
1563  
1564  var _CalendarDay = __webpack_require__("N3k4");
1565  
1566  var _CalendarDay2 = _interopRequireDefault(_CalendarDay);
1567  
1568  var _CustomizableCalendarDay = __webpack_require__("GET3");
1569  
1570  var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay);
1571  
1572  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1573  
1574  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
1575    children: (0, _airbnbPropTypes.or)([(0, _airbnbPropTypes.childrenOfType)(_CalendarDay2['default']), (0, _airbnbPropTypes.childrenOfType)(_CustomizableCalendarDay2['default'])]).isRequired
1576  });
1577  
1578  function CalendarWeek(_ref) {
1579    var children = _ref.children;
1580  
1581    return _react2['default'].createElement(
1582      'tr',
1583      null,
1584      children
1585    );
1586  }
1587  
1588  CalendarWeek.propTypes = propTypes;
1589  
1590  /***/ }),
1591  
1592  /***/ "2S2E":
1593  /***/ (function(module, exports, __webpack_require__) {
1594  
1595  "use strict";
1596  
1597  
1598  Object.defineProperty(exports, "__esModule", {
1599    value: true
1600  });
1601  
1602  var _propTypes = __webpack_require__("17x9");
1603  
1604  var _propTypes2 = _interopRequireDefault(_propTypes);
1605  
1606  var _constants = __webpack_require__("Fv1B");
1607  
1608  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1609  
1610  exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS);
1611  
1612  /***/ }),
1613  
1614  /***/ "2gm7":
1615  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1616  
1617  "use strict";
1618  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
1619  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1620  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
1621  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
1622  
1623  
1624  /**
1625   * WordPress dependencies
1626   */
1627  
1628  const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
1629    xmlns: "http://www.w3.org/2000/svg",
1630    viewBox: "0 0 24 24"
1631  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
1632    d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
1633  }));
1634  /* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
1635  
1636  
1637  /***/ }),
1638  
1639  /***/ "2mql":
1640  /***/ (function(module, exports, __webpack_require__) {
1641  
1642  "use strict";
1643  
1644  
1645  var reactIs = __webpack_require__("TOwV");
1646  
1647  /**
1648   * Copyright 2015, Yahoo! Inc.
1649   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
1650   */
1651  var REACT_STATICS = {
1652    childContextTypes: true,
1653    contextType: true,
1654    contextTypes: true,
1655    defaultProps: true,
1656    displayName: true,
1657    getDefaultProps: true,
1658    getDerivedStateFromError: true,
1659    getDerivedStateFromProps: true,
1660    mixins: true,
1661    propTypes: true,
1662    type: true
1663  };
1664  var KNOWN_STATICS = {
1665    name: true,
1666    length: true,
1667    prototype: true,
1668    caller: true,
1669    callee: true,
1670    arguments: true,
1671    arity: true
1672  };
1673  var FORWARD_REF_STATICS = {
1674    '$$typeof': true,
1675    render: true,
1676    defaultProps: true,
1677    displayName: true,
1678    propTypes: true
1679  };
1680  var MEMO_STATICS = {
1681    '$$typeof': true,
1682    compare: true,
1683    defaultProps: true,
1684    displayName: true,
1685    propTypes: true,
1686    type: true
1687  };
1688  var TYPE_STATICS = {};
1689  TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1690  TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1691  
1692  function getStatics(component) {
1693    // React v16.11 and below
1694    if (reactIs.isMemo(component)) {
1695      return MEMO_STATICS;
1696    } // React v16.12 and above
1697  
1698  
1699    return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
1700  }
1701  
1702  var defineProperty = Object.defineProperty;
1703  var getOwnPropertyNames = Object.getOwnPropertyNames;
1704  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1705  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1706  var getPrototypeOf = Object.getPrototypeOf;
1707  var objectPrototype = Object.prototype;
1708  function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1709    if (typeof sourceComponent !== 'string') {
1710      // don't hoist over string (html) components
1711      if (objectPrototype) {
1712        var inheritedComponent = getPrototypeOf(sourceComponent);
1713  
1714        if (inheritedComponent && inheritedComponent !== objectPrototype) {
1715          hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1716        }
1717      }
1718  
1719      var keys = getOwnPropertyNames(sourceComponent);
1720  
1721      if (getOwnPropertySymbols) {
1722        keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1723      }
1724  
1725      var targetStatics = getStatics(targetComponent);
1726      var sourceStatics = getStatics(sourceComponent);
1727  
1728      for (var i = 0; i < keys.length; ++i) {
1729        var key = keys[i];
1730  
1731        if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1732          var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1733  
1734          try {
1735            // Avoid failures from read-only properties
1736            defineProperty(targetComponent, key, descriptor);
1737          } catch (e) {}
1738        }
1739      }
1740    }
1741  
1742    return targetComponent;
1743  }
1744  
1745  module.exports = hoistNonReactStatics;
1746  
1747  
1748  /***/ }),
1749  
1750  /***/ "3HjQ":
1751  /***/ (function(module, exports) {
1752  
1753  Object.defineProperty(exports, "__esModule", {
1754    value: true
1755  });
1756  // This function takes an array of styles and separates them into styles that
1757  // are handled by Aphrodite and inline styles.
1758  function separateStyles(stylesArray) {
1759    var classNames = [];
1760  
1761    // Since determining if an Object is empty requires collecting all of its
1762    // keys, and we want the best performance in this code because we are in the
1763    // render path, we are going to do a little bookkeeping ourselves.
1764    var hasInlineStyles = false;
1765    var inlineStyles = {};
1766  
1767    // This is run on potentially every node in the tree when rendering, where
1768    // performance is critical. Normally we would prefer using `forEach`, but
1769    // old-fashioned for loops are faster so that's what we have chosen here.
1770    for (var i = 0; i < stylesArray.length; i++) {
1771      // eslint-disable-line no-plusplus
1772      var style = stylesArray[i];
1773  
1774      // If this  style is falsy, we just want to disregard it. This allows for
1775      // syntax like:
1776      //
1777      //   css(isFoo && styles.foo)
1778      if (style) {
1779        if (typeof style === 'string') {
1780          classNames.push(style);
1781        } else {
1782          Object.assign(inlineStyles, style);
1783          hasInlineStyles = true;
1784        }
1785      }
1786    }
1787  
1788    return {
1789      classNames: classNames,
1790      hasInlineStyles: hasInlineStyles,
1791      inlineStyles: inlineStyles
1792    };
1793  }
1794  
1795  exports['default'] = separateStyles;
1796  
1797  /***/ }),
1798  
1799  /***/ "3aeR":
1800  /***/ (function(module, exports, __webpack_require__) {
1801  
1802  "use strict";
1803  
1804  
1805  var GetIntrinsic = __webpack_require__("rZ7t");
1806  
1807  var $TypeError = GetIntrinsic('%TypeError%');
1808  
1809  var inspect = __webpack_require__("4qvr");
1810  
1811  var IsPropertyKey = __webpack_require__("i10q");
1812  var Type = __webpack_require__("V1cy");
1813  
1814  /**
1815   * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
1816   * 1. Assert: Type(O) is Object.
1817   * 2. Assert: IsPropertyKey(P) is true.
1818   * 3. Return O.[[Get]](P, O).
1819   */
1820  
1821  module.exports = function Get(O, P) {
1822      // 7.3.1.1
1823      if (Type(O) !== 'Object') {
1824          throw new $TypeError('Assertion failed: Type(O) is not Object');
1825      }
1826      // 7.3.1.2
1827      if (!IsPropertyKey(P)) {
1828          throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
1829      }
1830      // 7.3.1.3
1831      return O[P];
1832  };
1833  
1834  
1835  /***/ }),
1836  
1837  /***/ "3gBW":
1838  /***/ (function(module, exports, __webpack_require__) {
1839  
1840  // eslint-disable-next-line import/no-unresolved
1841  module.exports = __webpack_require__("50qU");
1842  
1843  
1844  /***/ }),
1845  
1846  /***/ "4HRn":
1847  /***/ (function(module, exports, __webpack_require__) {
1848  
1849  "use strict";
1850  
1851  
1852  // var modulo = require('./modulo');
1853  var $floor = Math.floor;
1854  
1855  // http://262.ecma-international.org/5.1/#sec-5.2
1856  
1857  module.exports = function floor(x) {
1858      // return x - modulo(x, 1);
1859      return $floor(x);
1860  };
1861  
1862  
1863  /***/ }),
1864  
1865  /***/ "4cSd":
1866  /***/ (function(module, exports, __webpack_require__) {
1867  
1868  "use strict";
1869  
1870  
1871  var define = __webpack_require__("82c2");
1872  var callBind = __webpack_require__("PrET");
1873  
1874  var implementation = __webpack_require__("rQy3");
1875  var getPolyfill = __webpack_require__("xoj2");
1876  var shim = __webpack_require__("ib7Q");
1877  
1878  var polyfill = callBind(getPolyfill(), Object);
1879  
1880  define(polyfill, {
1881      getPolyfill: getPolyfill,
1882      implementation: implementation,
1883      shim: shim
1884  });
1885  
1886  module.exports = polyfill;
1887  
1888  
1889  /***/ }),
1890  
1891  /***/ "4eJC":
1892  /***/ (function(module, exports, __webpack_require__) {
1893  
1894  /**
1895   * Memize options object.
1896   *
1897   * @typedef MemizeOptions
1898   *
1899   * @property {number} [maxSize] Maximum size of the cache.
1900   */
1901  
1902  /**
1903   * Internal cache entry.
1904   *
1905   * @typedef MemizeCacheNode
1906   *
1907   * @property {?MemizeCacheNode|undefined} [prev] Previous node.
1908   * @property {?MemizeCacheNode|undefined} [next] Next node.
1909   * @property {Array<*>}                   args   Function arguments for cache
1910   *                                               entry.
1911   * @property {*}                          val    Function result.
1912   */
1913  
1914  /**
1915   * Properties of the enhanced function for controlling cache.
1916   *
1917   * @typedef MemizeMemoizedFunction
1918   *
1919   * @property {()=>void} clear Clear the cache.
1920   */
1921  
1922  /**
1923   * Accepts a function to be memoized, and returns a new memoized function, with
1924   * optional options.
1925   *
1926   * @template {Function} F
1927   *
1928   * @param {F}             fn        Function to memoize.
1929   * @param {MemizeOptions} [options] Options object.
1930   *
1931   * @return {F & MemizeMemoizedFunction} Memoized function.
1932   */
1933  function memize( fn, options ) {
1934      var size = 0;
1935  
1936      /** @type {?MemizeCacheNode|undefined} */
1937      var head;
1938  
1939      /** @type {?MemizeCacheNode|undefined} */
1940      var tail;
1941  
1942      options = options || {};
1943  
1944  	function memoized( /* ...args */ ) {
1945          var node = head,
1946              len = arguments.length,
1947              args, i;
1948  
1949          searchCache: while ( node ) {
1950              // Perform a shallow equality test to confirm that whether the node
1951              // under test is a candidate for the arguments passed. Two arrays
1952              // are shallowly equal if their length matches and each entry is
1953              // strictly equal between the two sets. Avoid abstracting to a
1954              // function which could incur an arguments leaking deoptimization.
1955  
1956              // Check whether node arguments match arguments length
1957              if ( node.args.length !== arguments.length ) {
1958                  node = node.next;
1959                  continue;
1960              }
1961  
1962              // Check whether node arguments match arguments values
1963              for ( i = 0; i < len; i++ ) {
1964                  if ( node.args[ i ] !== arguments[ i ] ) {
1965                      node = node.next;
1966                      continue searchCache;
1967                  }
1968              }
1969  
1970              // At this point we can assume we've found a match
1971  
1972              // Surface matched node to head if not already
1973              if ( node !== head ) {
1974                  // As tail, shift to previous. Must only shift if not also
1975                  // head, since if both head and tail, there is no previous.
1976                  if ( node === tail ) {
1977                      tail = node.prev;
1978                  }
1979  
1980                  // Adjust siblings to point to each other. If node was tail,
1981                  // this also handles new tail's empty `next` assignment.
1982                  /** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
1983                  if ( node.next ) {
1984                      node.next.prev = node.prev;
1985                  }
1986  
1987                  node.next = head;
1988                  node.prev = null;
1989                  /** @type {MemizeCacheNode} */ ( head ).prev = node;
1990                  head = node;
1991              }
1992  
1993              // Return immediately
1994              return node.val;
1995          }
1996  
1997          // No cached value found. Continue to insertion phase:
1998  
1999          // Create a copy of arguments (avoid leaking deoptimization)
2000          args = new Array( len );
2001          for ( i = 0; i < len; i++ ) {
2002              args[ i ] = arguments[ i ];
2003          }
2004  
2005          node = {
2006              args: args,
2007  
2008              // Generate the result from original function
2009              val: fn.apply( null, args ),
2010          };
2011  
2012          // Don't need to check whether node is already head, since it would
2013          // have been returned above already if it was
2014  
2015          // Shift existing head down list
2016          if ( head ) {
2017              head.prev = node;
2018              node.next = head;
2019          } else {
2020              // If no head, follows that there's no tail (at initial or reset)
2021              tail = node;
2022          }
2023  
2024          // Trim tail if we're reached max size and are pending cache insertion
2025          if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
2026              tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
2027              /** @type {MemizeCacheNode} */ ( tail ).next = null;
2028          } else {
2029              size++;
2030          }
2031  
2032          head = node;
2033  
2034          return node.val;
2035      }
2036  
2037      memoized.clear = function() {
2038          head = null;
2039          tail = null;
2040          size = 0;
2041      };
2042  
2043      if ( false ) {}
2044  
2045      // Ignore reason: There's not a clear solution to create an intersection of
2046      // the function with additional properties, where the goal is to retain the
2047      // function signature of the incoming argument and add control properties
2048      // on the return value.
2049  
2050      // @ts-ignore
2051      return memoized;
2052  }
2053  
2054  module.exports = memize;
2055  
2056  
2057  /***/ }),
2058  
2059  /***/ "4po3":
2060  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2061  
2062  "use strict";
2063  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isTextField; });
2064  /**
2065   * Check whether the given element is a text field, where text field is defined
2066   * by the ability to select within the input, or that it is contenteditable.
2067   *
2068   * @example
2069   * import { isTextField } from "reakit-utils";
2070   *
2071   * isTextField(document.querySelector("div")); // false
2072   * isTextField(document.querySelector("input")); // true
2073   * isTextField(document.querySelector("input[type='button']")); // false
2074   * isTextField(document.querySelector("textarea")); // true
2075   * isTextField(document.querySelector("div[contenteditable='true']")); // true
2076   */
2077  function isTextField(element) {
2078    try {
2079      var isTextInput = element instanceof HTMLInputElement && element.selectionStart !== null;
2080      var isTextArea = element.tagName === "TEXTAREA";
2081      var isContentEditable = element.contentEditable === "true";
2082      return isTextInput || isTextArea || isContentEditable || false;
2083    } catch (error) {
2084      // Safari throws an exception when trying to get `selectionStart`
2085      // on non-text <input> elements (which, understandably, don't
2086      // have the text selection API). We catch this via a try/catch
2087      // block, as opposed to a more explicit check of the element's
2088      // input types, because of Safari's non-standard behavior. This
2089      // also means we don't have to worry about the list of input
2090      // types that support `selectionStart` changing as the HTML spec
2091      // evolves over time.
2092      return false;
2093    }
2094  }
2095  
2096  
2097  
2098  
2099  /***/ }),
2100  
2101  /***/ "4qRI":
2102  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2103  
2104  "use strict";
2105  function memoize(fn) {
2106    var cache = {};
2107    return function (arg) {
2108      if (cache[arg] === undefined) cache[arg] = fn(arg);
2109      return cache[arg];
2110    };
2111  }
2112  
2113  /* harmony default export */ __webpack_exports__["a"] = (memoize);
2114  
2115  
2116  /***/ }),
2117  
2118  /***/ "4qvr":
2119  /***/ (function(module, exports, __webpack_require__) {
2120  
2121  var hasMap = typeof Map === 'function' && Map.prototype;
2122  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
2123  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
2124  var mapForEach = hasMap && Map.prototype.forEach;
2125  var hasSet = typeof Set === 'function' && Set.prototype;
2126  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
2127  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
2128  var setForEach = hasSet && Set.prototype.forEach;
2129  var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
2130  var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
2131  var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
2132  var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
2133  var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
2134  var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
2135  var booleanValueOf = Boolean.prototype.valueOf;
2136  var objectToString = Object.prototype.toString;
2137  var functionToString = Function.prototype.toString;
2138  var match = String.prototype.match;
2139  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
2140  var gOPS = Object.getOwnPropertySymbols;
2141  var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
2142  var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
2143  var isEnumerable = Object.prototype.propertyIsEnumerable;
2144  
2145  var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
2146      [].__proto__ === Array.prototype // eslint-disable-line no-proto
2147          ? function (O) {
2148              return O.__proto__; // eslint-disable-line no-proto
2149          }
2150          : null
2151  );
2152  
2153  var inspectCustom = __webpack_require__(0).custom;
2154  var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
2155  var toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;
2156  
2157  module.exports = function inspect_(obj, options, depth, seen) {
2158      var opts = options || {};
2159  
2160      if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
2161          throw new TypeError('option "quoteStyle" must be "single" or "double"');
2162      }
2163      if (
2164          has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
2165              ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
2166              : opts.maxStringLength !== null
2167          )
2168      ) {
2169          throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2170      }
2171      var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
2172      if (typeof customInspect !== 'boolean') {
2173          throw new TypeError('option "customInspect", if provided, must be `true` or `false`');
2174      }
2175  
2176      if (
2177          has(opts, 'indent')
2178          && opts.indent !== null
2179          && opts.indent !== '\t'
2180          && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
2181      ) {
2182          throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');
2183      }
2184  
2185      if (typeof obj === 'undefined') {
2186          return 'undefined';
2187      }
2188      if (obj === null) {
2189          return 'null';
2190      }
2191      if (typeof obj === 'boolean') {
2192          return obj ? 'true' : 'false';
2193      }
2194  
2195      if (typeof obj === 'string') {
2196          return inspectString(obj, opts);
2197      }
2198      if (typeof obj === 'number') {
2199          if (obj === 0) {
2200              return Infinity / obj > 0 ? '0' : '-0';
2201          }
2202          return String(obj);
2203      }
2204      if (typeof obj === 'bigint') {
2205          return String(obj) + 'n';
2206      }
2207  
2208      var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
2209      if (typeof depth === 'undefined') { depth = 0; }
2210      if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
2211          return isArray(obj) ? '[Array]' : '[Object]';
2212      }
2213  
2214      var indent = getIndent(opts, depth);
2215  
2216      if (typeof seen === 'undefined') {
2217          seen = [];
2218      } else if (indexOf(seen, obj) >= 0) {
2219          return '[Circular]';
2220      }
2221  
2222      function inspect(value, from, noIndent) {
2223          if (from) {
2224              seen = seen.slice();
2225              seen.push(from);
2226          }
2227          if (noIndent) {
2228              var newOpts = {
2229                  depth: opts.depth
2230              };
2231              if (has(opts, 'quoteStyle')) {
2232                  newOpts.quoteStyle = opts.quoteStyle;
2233              }
2234              return inspect_(value, newOpts, depth + 1, seen);
2235          }
2236          return inspect_(value, opts, depth + 1, seen);
2237      }
2238  
2239      if (typeof obj === 'function') {
2240          var name = nameOf(obj);
2241          var keys = arrObjKeys(obj, inspect);
2242          return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');
2243      }
2244      if (isSymbol(obj)) {
2245          var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
2246          return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
2247      }
2248      if (isElement(obj)) {
2249          var s = '<' + String(obj.nodeName).toLowerCase();
2250          var attrs = obj.attributes || [];
2251          for (var i = 0; i < attrs.length; i++) {
2252              s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
2253          }
2254          s += '>';
2255          if (obj.childNodes && obj.childNodes.length) { s += '...'; }
2256          s += '</' + String(obj.nodeName).toLowerCase() + '>';
2257          return s;
2258      }
2259      if (isArray(obj)) {
2260          if (obj.length === 0) { return '[]'; }
2261          var xs = arrObjKeys(obj, inspect);
2262          if (indent && !singleLineValues(xs)) {
2263              return '[' + indentedJoin(xs, indent) + ']';
2264          }
2265          return '[ ' + xs.join(', ') + ' ]';
2266      }
2267      if (isError(obj)) {
2268          var parts = arrObjKeys(obj, inspect);
2269          if (parts.length === 0) { return '[' + String(obj) + ']'; }
2270          return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';
2271      }
2272      if (typeof obj === 'object' && customInspect) {
2273          if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
2274              return obj[inspectSymbol]();
2275          } else if (typeof obj.inspect === 'function') {
2276              return obj.inspect();
2277          }
2278      }
2279      if (isMap(obj)) {
2280          var mapParts = [];
2281          mapForEach.call(obj, function (value, key) {
2282              mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
2283          });
2284          return collectionOf('Map', mapSize.call(obj), mapParts, indent);
2285      }
2286      if (isSet(obj)) {
2287          var setParts = [];
2288          setForEach.call(obj, function (value) {
2289              setParts.push(inspect(value, obj));
2290          });
2291          return collectionOf('Set', setSize.call(obj), setParts, indent);
2292      }
2293      if (isWeakMap(obj)) {
2294          return weakCollectionOf('WeakMap');
2295      }
2296      if (isWeakSet(obj)) {
2297          return weakCollectionOf('WeakSet');
2298      }
2299      if (isWeakRef(obj)) {
2300          return weakCollectionOf('WeakRef');
2301      }
2302      if (isNumber(obj)) {
2303          return markBoxed(inspect(Number(obj)));
2304      }
2305      if (isBigInt(obj)) {
2306          return markBoxed(inspect(bigIntValueOf.call(obj)));
2307      }
2308      if (isBoolean(obj)) {
2309          return markBoxed(booleanValueOf.call(obj));
2310      }
2311      if (isString(obj)) {
2312          return markBoxed(inspect(String(obj)));
2313      }
2314      if (!isDate(obj) && !isRegExp(obj)) {
2315          var ys = arrObjKeys(obj, inspect);
2316          var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2317          var protoTag = obj instanceof Object ? '' : 'null prototype';
2318          var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : '';
2319          var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
2320          var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');
2321          if (ys.length === 0) { return tag + '{}'; }
2322          if (indent) {
2323              return tag + '{' + indentedJoin(ys, indent) + '}';
2324          }
2325          return tag + '{ ' + ys.join(', ') + ' }';
2326      }
2327      return String(obj);
2328  };
2329  
2330  function wrapQuotes(s, defaultStyle, opts) {
2331      var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
2332      return quoteChar + s + quoteChar;
2333  }
2334  
2335  function quote(s) {
2336      return String(s).replace(/"/g, '&quot;');
2337  }
2338  
2339  function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2340  function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2341  function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2342  function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2343  function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2344  function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2345  function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2346  
2347  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
2348  function isSymbol(obj) {
2349      if (hasShammedSymbols) {
2350          return obj && typeof obj === 'object' && obj instanceof Symbol;
2351      }
2352      if (typeof obj === 'symbol') {
2353          return true;
2354      }
2355      if (!obj || typeof obj !== 'object' || !symToString) {
2356          return false;
2357      }
2358      try {
2359          symToString.call(obj);
2360          return true;
2361      } catch (e) {}
2362      return false;
2363  }
2364  
2365  function isBigInt(obj) {
2366      if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
2367          return false;
2368      }
2369      try {
2370          bigIntValueOf.call(obj);
2371          return true;
2372      } catch (e) {}
2373      return false;
2374  }
2375  
2376  var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
2377  function has(obj, key) {
2378      return hasOwn.call(obj, key);
2379  }
2380  
2381  function toStr(obj) {
2382      return objectToString.call(obj);
2383  }
2384  
2385  function nameOf(f) {
2386      if (f.name) { return f.name; }
2387      var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/);
2388      if (m) { return m[1]; }
2389      return null;
2390  }
2391  
2392  function indexOf(xs, x) {
2393      if (xs.indexOf) { return xs.indexOf(x); }
2394      for (var i = 0, l = xs.length; i < l; i++) {
2395          if (xs[i] === x) { return i; }
2396      }
2397      return -1;
2398  }
2399  
2400  function isMap(x) {
2401      if (!mapSize || !x || typeof x !== 'object') {
2402          return false;
2403      }
2404      try {
2405          mapSize.call(x);
2406          try {
2407              setSize.call(x);
2408          } catch (s) {
2409              return true;
2410          }
2411          return x instanceof Map; // core-js workaround, pre-v2.5.0
2412      } catch (e) {}
2413      return false;
2414  }
2415  
2416  function isWeakMap(x) {
2417      if (!weakMapHas || !x || typeof x !== 'object') {
2418          return false;
2419      }
2420      try {
2421          weakMapHas.call(x, weakMapHas);
2422          try {
2423              weakSetHas.call(x, weakSetHas);
2424          } catch (s) {
2425              return true;
2426          }
2427          return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
2428      } catch (e) {}
2429      return false;
2430  }
2431  
2432  function isWeakRef(x) {
2433      if (!weakRefDeref || !x || typeof x !== 'object') {
2434          return false;
2435      }
2436      try {
2437          weakRefDeref.call(x);
2438          return true;
2439      } catch (e) {}
2440      return false;
2441  }
2442  
2443  function isSet(x) {
2444      if (!setSize || !x || typeof x !== 'object') {
2445          return false;
2446      }
2447      try {
2448          setSize.call(x);
2449          try {
2450              mapSize.call(x);
2451          } catch (m) {
2452              return true;
2453          }
2454          return x instanceof Set; // core-js workaround, pre-v2.5.0
2455      } catch (e) {}
2456      return false;
2457  }
2458  
2459  function isWeakSet(x) {
2460      if (!weakSetHas || !x || typeof x !== 'object') {
2461          return false;
2462      }
2463      try {
2464          weakSetHas.call(x, weakSetHas);
2465          try {
2466              weakMapHas.call(x, weakMapHas);
2467          } catch (s) {
2468              return true;
2469          }
2470          return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
2471      } catch (e) {}
2472      return false;
2473  }
2474  
2475  function isElement(x) {
2476      if (!x || typeof x !== 'object') { return false; }
2477      if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
2478          return true;
2479      }
2480      return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
2481  }
2482  
2483  function inspectString(str, opts) {
2484      if (str.length > opts.maxStringLength) {
2485          var remaining = str.length - opts.maxStringLength;
2486          var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
2487          return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;
2488      }
2489      // eslint-disable-next-line no-control-regex
2490      var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte);
2491      return wrapQuotes(s, 'single', opts);
2492  }
2493  
2494  function lowbyte(c) {
2495      var n = c.charCodeAt(0);
2496      var x = {
2497          8: 'b',
2498          9: 't',
2499          10: 'n',
2500          12: 'f',
2501          13: 'r'
2502      }[n];
2503      if (x) { return '\\' + x; }
2504      return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();
2505  }
2506  
2507  function markBoxed(str) {
2508      return 'Object(' + str + ')';
2509  }
2510  
2511  function weakCollectionOf(type) {
2512      return type + ' { ? }';
2513  }
2514  
2515  function collectionOf(type, size, entries, indent) {
2516      var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');
2517      return type + ' (' + size + ') {' + joinedEntries + '}';
2518  }
2519  
2520  function singleLineValues(xs) {
2521      for (var i = 0; i < xs.length; i++) {
2522          if (indexOf(xs[i], '\n') >= 0) {
2523              return false;
2524          }
2525      }
2526      return true;
2527  }
2528  
2529  function getIndent(opts, depth) {
2530      var baseIndent;
2531      if (opts.indent === '\t') {
2532          baseIndent = '\t';
2533      } else if (typeof opts.indent === 'number' && opts.indent > 0) {
2534          baseIndent = Array(opts.indent + 1).join(' ');
2535      } else {
2536          return null;
2537      }
2538      return {
2539          base: baseIndent,
2540          prev: Array(depth + 1).join(baseIndent)
2541      };
2542  }
2543  
2544  function indentedJoin(xs, indent) {
2545      if (xs.length === 0) { return ''; }
2546      var lineJoiner = '\n' + indent.prev + indent.base;
2547      return lineJoiner + xs.join(',' + lineJoiner) + '\n' + indent.prev;
2548  }
2549  
2550  function arrObjKeys(obj, inspect) {
2551      var isArr = isArray(obj);
2552      var xs = [];
2553      if (isArr) {
2554          xs.length = obj.length;
2555          for (var i = 0; i < obj.length; i++) {
2556              xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
2557          }
2558      }
2559      var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
2560      var symMap;
2561      if (hasShammedSymbols) {
2562          symMap = {};
2563          for (var k = 0; k < syms.length; k++) {
2564              symMap['$' + syms[k]] = syms[k];
2565          }
2566      }
2567  
2568      for (var key in obj) { // eslint-disable-line no-restricted-syntax
2569          if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2570          if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2571          if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
2572              // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
2573              continue; // eslint-disable-line no-restricted-syntax, no-continue
2574          } else if ((/[^\w$]/).test(key)) {
2575              xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
2576          } else {
2577              xs.push(key + ': ' + inspect(obj[key], obj));
2578          }
2579      }
2580      if (typeof gOPS === 'function') {
2581          for (var j = 0; j < syms.length; j++) {
2582              if (isEnumerable.call(obj, syms[j])) {
2583                  xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
2584              }
2585          }
2586      }
2587      return xs;
2588  }
2589  
2590  
2591  /***/ }),
2592  
2593  /***/ "50qU":
2594  /***/ (function(module, exports, __webpack_require__) {
2595  
2596  "use strict";
2597  
2598  
2599  Object.defineProperty(exports, "__esModule", {
2600    value: true
2601  });
2602  
2603  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
2604  
2605  var _react = __webpack_require__("cDcd");
2606  
2607  var _react2 = _interopRequireDefault(_react);
2608  
2609  var _propTypes = __webpack_require__("17x9");
2610  
2611  var _propTypes2 = _interopRequireDefault(_propTypes);
2612  
2613  var _airbnbPropTypes = __webpack_require__("Hsqg");
2614  
2615  var _consolidatedEvents = __webpack_require__("1TsT");
2616  
2617  var _object = __webpack_require__("4cSd");
2618  
2619  var _object2 = _interopRequireDefault(_object);
2620  
2621  var _document = __webpack_require__("n1Y7");
2622  
2623  var _document2 = _interopRequireDefault(_document);
2624  
2625  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
2626  
2627  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2628  
2629  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
2630  
2631  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
2632  
2633  var DISPLAY = {
2634    BLOCK: 'block',
2635    FLEX: 'flex',
2636    INLINE: 'inline',
2637    INLINE_BLOCK: 'inline-block',
2638    CONTENTS: 'contents'
2639  };
2640  
2641  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
2642    children: _propTypes2['default'].node.isRequired,
2643    onOutsideClick: _propTypes2['default'].func.isRequired,
2644    disabled: _propTypes2['default'].bool,
2645    useCapture: _propTypes2['default'].bool,
2646    display: _propTypes2['default'].oneOf((0, _object2['default'])(DISPLAY))
2647  });
2648  
2649  var defaultProps = {
2650    disabled: false,
2651  
2652    // `useCapture` is set to true by default so that a `stopPropagation` in the
2653    // children will not prevent all outside click handlers from firing - maja
2654    useCapture: true,
2655    display: DISPLAY.BLOCK
2656  };
2657  
2658  var OutsideClickHandler = function (_React$Component) {
2659    _inherits(OutsideClickHandler, _React$Component);
2660  
2661    function OutsideClickHandler() {
2662      var _ref;
2663  
2664      _classCallCheck(this, OutsideClickHandler);
2665  
2666      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
2667        args[_key] = arguments[_key];
2668      }
2669  
2670      var _this = _possibleConstructorReturn(this, (_ref = OutsideClickHandler.__proto__ || Object.getPrototypeOf(OutsideClickHandler)).call.apply(_ref, [this].concat(args)));
2671  
2672      _this.onMouseDown = _this.onMouseDown.bind(_this);
2673      _this.onMouseUp = _this.onMouseUp.bind(_this);
2674      _this.setChildNodeRef = _this.setChildNodeRef.bind(_this);
2675      return _this;
2676    }
2677  
2678    _createClass(OutsideClickHandler, [{
2679      key: 'componentDidMount',
2680      value: function () {
2681        function componentDidMount() {
2682          var _props = this.props,
2683              disabled = _props.disabled,
2684              useCapture = _props.useCapture;
2685  
2686  
2687          if (!disabled) this.addMouseDownEventListener(useCapture);
2688        }
2689  
2690        return componentDidMount;
2691      }()
2692    }, {
2693      key: 'componentDidUpdate',
2694      value: function () {
2695        function componentDidUpdate(_ref2) {
2696          var prevDisabled = _ref2.disabled;
2697          var _props2 = this.props,
2698              disabled = _props2.disabled,
2699              useCapture = _props2.useCapture;
2700  
2701          if (prevDisabled !== disabled) {
2702            if (disabled) {
2703              this.removeEventListeners();
2704            } else {
2705              this.addMouseDownEventListener(useCapture);
2706            }
2707          }
2708        }
2709  
2710        return componentDidUpdate;
2711      }()
2712    }, {
2713      key: 'componentWillUnmount',
2714      value: function () {
2715        function componentWillUnmount() {
2716          this.removeEventListeners();
2717        }
2718  
2719        return componentWillUnmount;
2720      }()
2721  
2722      // Use mousedown/mouseup to enforce that clicks remain outside the root's
2723      // descendant tree, even when dragged. This should also get triggered on
2724      // touch devices.
2725  
2726    }, {
2727      key: 'onMouseDown',
2728      value: function () {
2729        function onMouseDown(e) {
2730          var useCapture = this.props.useCapture;
2731  
2732  
2733          var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
2734          if (!isDescendantOfRoot) {
2735            if (this.removeMouseUp) {
2736              this.removeMouseUp();
2737              this.removeMouseUp = null;
2738            }
2739            this.removeMouseUp = (0, _consolidatedEvents.addEventListener)(document, 'mouseup', this.onMouseUp, { capture: useCapture });
2740          }
2741        }
2742  
2743        return onMouseDown;
2744      }()
2745  
2746      // Use mousedown/mouseup to enforce that clicks remain outside the root's
2747      // descendant tree, even when dragged. This should also get triggered on
2748      // touch devices.
2749  
2750    }, {
2751      key: 'onMouseUp',
2752      value: function () {
2753        function onMouseUp(e) {
2754          var onOutsideClick = this.props.onOutsideClick;
2755  
2756  
2757          var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
2758          if (this.removeMouseUp) {
2759            this.removeMouseUp();
2760            this.removeMouseUp = null;
2761          }
2762  
2763          if (!isDescendantOfRoot) {
2764            onOutsideClick(e);
2765          }
2766        }
2767  
2768        return onMouseUp;
2769      }()
2770    }, {
2771      key: 'setChildNodeRef',
2772      value: function () {
2773        function setChildNodeRef(ref) {
2774          this.childNode = ref;
2775        }
2776  
2777        return setChildNodeRef;
2778      }()
2779    }, {
2780      key: 'addMouseDownEventListener',
2781      value: function () {
2782        function addMouseDownEventListener(useCapture) {
2783          this.removeMouseDown = (0, _consolidatedEvents.addEventListener)(document, 'mousedown', this.onMouseDown, { capture: useCapture });
2784        }
2785  
2786        return addMouseDownEventListener;
2787      }()
2788    }, {
2789      key: 'removeEventListeners',
2790      value: function () {
2791        function removeEventListeners() {
2792          if (this.removeMouseDown) this.removeMouseDown();
2793          if (this.removeMouseUp) this.removeMouseUp();
2794        }
2795  
2796        return removeEventListeners;
2797      }()
2798    }, {
2799      key: 'render',
2800      value: function () {
2801        function render() {
2802          var _props3 = this.props,
2803              children = _props3.children,
2804              display = _props3.display;
2805  
2806  
2807          return _react2['default'].createElement(
2808            'div',
2809            {
2810              ref: this.setChildNodeRef,
2811              style: display !== DISPLAY.BLOCK && (0, _object2['default'])(DISPLAY).includes(display) ? { display: display } : undefined
2812            },
2813            children
2814          );
2815        }
2816  
2817        return render;
2818      }()
2819    }]);
2820  
2821    return OutsideClickHandler;
2822  }(_react2['default'].Component);
2823  
2824  exports['default'] = OutsideClickHandler;
2825  
2826  
2827  OutsideClickHandler.propTypes = propTypes;
2828  OutsideClickHandler.defaultProps = defaultProps;
2829  
2830  /***/ }),
2831  
2832  /***/ "5V/u":
2833  /***/ (function(module, exports) {
2834  
2835  module.exports =
2836  /******/ (function(modules) { // webpackBootstrap
2837  /******/     // The module cache
2838  /******/     var installedModules = {};
2839  /******/
2840  /******/     // The require function
2841  /******/ 	function __webpack_require__(moduleId) {
2842  /******/
2843  /******/         // Check if module is in cache
2844  /******/         if(installedModules[moduleId])
2845  /******/             return installedModules[moduleId].exports;
2846  /******/
2847  /******/         // Create a new module (and put it into the cache)
2848  /******/         var module = installedModules[moduleId] = {
2849  /******/             exports: {},
2850  /******/             id: moduleId,
2851  /******/             loaded: false
2852  /******/         };
2853  /******/
2854  /******/         // Execute the module function
2855  /******/         modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
2856  /******/
2857  /******/         // Flag the module as loaded
2858  /******/         module.loaded = true;
2859  /******/
2860  /******/         // Return the exports of the module
2861  /******/         return module.exports;
2862  /******/     }
2863  /******/
2864  /******/
2865  /******/     // expose the modules object (__webpack_modules__)
2866  /******/     __webpack_require__.m = modules;
2867  /******/
2868  /******/     // expose the module cache
2869  /******/     __webpack_require__.c = installedModules;
2870  /******/
2871  /******/     // __webpack_public_path__
2872  /******/     __webpack_require__.p = "";
2873  /******/
2874  /******/     // Load entry module and return exports
2875  /******/     return __webpack_require__(0);
2876  /******/ })
2877  /************************************************************************/
2878  /******/ ([
2879  /* 0 */
2880  /***/ (function(module, exports, __webpack_require__) {
2881  
2882      module.exports = __webpack_require__(1);
2883  
2884  
2885  /***/ }),
2886  /* 1 */
2887  /***/ (function(module, exports, __webpack_require__) {
2888  
2889      'use strict';
2890      
2891      Object.defineProperty(exports, "__esModule", {
2892        value: true
2893      });
2894      
2895      var _utils = __webpack_require__(2);
2896      
2897      Object.defineProperty(exports, 'combineChunks', {
2898        enumerable: true,
2899        get: function get() {
2900          return _utils.combineChunks;
2901        }
2902      });
2903      Object.defineProperty(exports, 'fillInChunks', {
2904        enumerable: true,
2905        get: function get() {
2906          return _utils.fillInChunks;
2907        }
2908      });
2909      Object.defineProperty(exports, 'findAll', {
2910        enumerable: true,
2911        get: function get() {
2912          return _utils.findAll;
2913        }
2914      });
2915      Object.defineProperty(exports, 'findChunks', {
2916        enumerable: true,
2917        get: function get() {
2918          return _utils.findChunks;
2919        }
2920      });
2921  
2922  /***/ }),
2923  /* 2 */
2924  /***/ (function(module, exports) {
2925  
2926      'use strict';
2927      
2928      Object.defineProperty(exports, "__esModule", {
2929        value: true
2930      });
2931      
2932      
2933      /**
2934       * Creates an array of chunk objects representing both higlightable and non highlightable pieces of text that match each search word.
2935       * @return Array of "chunks" (where a Chunk is { start:number, end:number, highlight:boolean })
2936       */
2937      var findAll = exports.findAll = function findAll(_ref) {
2938        var autoEscape = _ref.autoEscape,
2939            _ref$caseSensitive = _ref.caseSensitive,
2940            caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,
2941            _ref$findChunks = _ref.findChunks,
2942            findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,
2943            sanitize = _ref.sanitize,
2944            searchWords = _ref.searchWords,
2945            textToHighlight = _ref.textToHighlight;
2946        return fillInChunks({
2947          chunksToHighlight: combineChunks({
2948            chunks: findChunks({
2949              autoEscape: autoEscape,
2950              caseSensitive: caseSensitive,
2951              sanitize: sanitize,
2952              searchWords: searchWords,
2953              textToHighlight: textToHighlight
2954            })
2955          }),
2956          totalLength: textToHighlight ? textToHighlight.length : 0
2957        });
2958      };
2959      
2960      /**
2961       * Takes an array of {start:number, end:number} objects and combines chunks that overlap into single chunks.
2962       * @return {start:number, end:number}[]
2963       */
2964      
2965      
2966      var combineChunks = exports.combineChunks = function combineChunks(_ref2) {
2967        var chunks = _ref2.chunks;
2968      
2969        chunks = chunks.sort(function (first, second) {
2970          return first.start - second.start;
2971        }).reduce(function (processedChunks, nextChunk) {
2972          // First chunk just goes straight in the array...
2973          if (processedChunks.length === 0) {
2974            return [nextChunk];
2975          } else {
2976            // ... subsequent chunks get checked to see if they overlap...
2977            var prevChunk = processedChunks.pop();
2978            if (nextChunk.start <= prevChunk.end) {
2979              // It may be the case that prevChunk completely surrounds nextChunk, so take the
2980              // largest of the end indeces.
2981              var endIndex = Math.max(prevChunk.end, nextChunk.end);
2982              processedChunks.push({ highlight: false, start: prevChunk.start, end: endIndex });
2983            } else {
2984              processedChunks.push(prevChunk, nextChunk);
2985            }
2986            return processedChunks;
2987          }
2988        }, []);
2989      
2990        return chunks;
2991      };
2992      
2993      /**
2994       * Examine text for any matches.
2995       * If we find matches, add them to the returned array as a "chunk" object ({start:number, end:number}).
2996       * @return {start:number, end:number}[]
2997       */
2998      var defaultFindChunks = function defaultFindChunks(_ref3) {
2999        var autoEscape = _ref3.autoEscape,
3000            caseSensitive = _ref3.caseSensitive,
3001            _ref3$sanitize = _ref3.sanitize,
3002            sanitize = _ref3$sanitize === undefined ? defaultSanitize : _ref3$sanitize,
3003            searchWords = _ref3.searchWords,
3004            textToHighlight = _ref3.textToHighlight;
3005      
3006        textToHighlight = sanitize(textToHighlight);
3007      
3008        return searchWords.filter(function (searchWord) {
3009          return searchWord;
3010        }) // Remove empty words
3011        .reduce(function (chunks, searchWord) {
3012          searchWord = sanitize(searchWord);
3013      
3014          if (autoEscape) {
3015            searchWord = escapeRegExpFn(searchWord);
3016          }
3017      
3018          var regex = new RegExp(searchWord, caseSensitive ? 'g' : 'gi');
3019      
3020          var match = void 0;
3021          while (match = regex.exec(textToHighlight)) {
3022            var _start = match.index;
3023            var _end = regex.lastIndex;
3024            // We do not return zero-length matches
3025            if (_end > _start) {
3026              chunks.push({ highlight: false, start: _start, end: _end });
3027            }
3028      
3029            // Prevent browsers like Firefox from getting stuck in an infinite loop
3030            // See http://www.regexguru.com/2008/04/watch-out-for-zero-length-matches/
3031            if (match.index === regex.lastIndex) {
3032              regex.lastIndex++;
3033            }
3034          }
3035      
3036          return chunks;
3037        }, []);
3038      };
3039      // Allow the findChunks to be overridden in findAll,
3040      // but for backwards compatibility we export as the old name
3041      exports.findChunks = defaultFindChunks;
3042      
3043      /**
3044       * Given a set of chunks to highlight, create an additional set of chunks
3045       * to represent the bits of text between the highlighted text.
3046       * @param chunksToHighlight {start:number, end:number}[]
3047       * @param totalLength number
3048       * @return {start:number, end:number, highlight:boolean}[]
3049       */
3050      
3051      var fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {
3052        var chunksToHighlight = _ref4.chunksToHighlight,
3053            totalLength = _ref4.totalLength;
3054      
3055        var allChunks = [];
3056        var append = function append(start, end, highlight) {
3057          if (end - start > 0) {
3058            allChunks.push({
3059              start: start,
3060              end: end,
3061              highlight: highlight
3062            });
3063          }
3064        };
3065      
3066        if (chunksToHighlight.length === 0) {
3067          append(0, totalLength, false);
3068        } else {
3069          var lastIndex = 0;
3070          chunksToHighlight.forEach(function (chunk) {
3071            append(lastIndex, chunk.start, false);
3072            append(chunk.start, chunk.end, true);
3073            lastIndex = chunk.end;
3074          });
3075          append(lastIndex, totalLength, false);
3076        }
3077        return allChunks;
3078      };
3079      
3080  	function defaultSanitize(string) {
3081        return string;
3082      }
3083      
3084  	function escapeRegExpFn(string) {
3085        return string.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
3086      }
3087  
3088  /***/ })
3089  /******/ ]);
3090  
3091  
3092  /***/ }),
3093  
3094  /***/ "5aBA":
3095  /***/ (function(module, exports, __webpack_require__) {
3096  
3097  "use strict";
3098  /** @license React v17.0.2
3099   * react-is.production.min.js
3100   *
3101   * Copyright (c) Facebook, Inc. and its affiliates.
3102   *
3103   * This source code is licensed under the MIT license found in the
3104   * LICENSE file in the root directory of this source tree.
3105   */
3106  var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
3107  if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden")}
3108  function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;exports.ContextConsumer=h;exports.ContextProvider=z;exports.Element=A;exports.ForwardRef=B;exports.Fragment=C;exports.Lazy=D;exports.Memo=E;exports.Portal=F;exports.Profiler=G;exports.StrictMode=H;
3109  exports.Suspense=I;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return y(a)===h};exports.isContextProvider=function(a){return y(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return y(a)===k};exports.isFragment=function(a){return y(a)===d};exports.isLazy=function(a){return y(a)===p};exports.isMemo=function(a){return y(a)===n};
3110  exports.isPortal=function(a){return y(a)===c};exports.isProfiler=function(a){return y(a)===f};exports.isStrictMode=function(a){return y(a)===e};exports.isSuspense=function(a){return y(a)===l};exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
3111  exports.typeOf=y;
3112  
3113  
3114  /***/ }),
3115  
3116  /***/ "5yQQ":
3117  /***/ (function(module, exports, __webpack_require__) {
3118  
3119  "use strict";
3120  
3121  
3122  var implementation = __webpack_require__("nRDI");
3123  
3124  module.exports = function getPolyfill() {
3125      if (typeof document !== 'undefined') {
3126          if (document.contains) {
3127              return document.contains;
3128          }
3129          if (document.body && document.body.contains) {
3130              try {
3131                  if (typeof document.body.contains.call(document, '') === 'boolean') {
3132                      return document.body.contains;
3133                  }
3134              } catch (e) { /**/ }
3135          }
3136      }
3137      return implementation;
3138  };
3139  
3140  
3141  /***/ }),
3142  
3143  /***/ "60zJ":
3144  /***/ (function(module, exports, __webpack_require__) {
3145  
3146  "use strict";
3147  
3148  
3149  // https://262.ecma-international.org/5.1/#sec-8
3150  
3151  module.exports = function Type(x) {
3152      if (x === null) {
3153          return 'Null';
3154      }
3155      if (typeof x === 'undefined') {
3156          return 'Undefined';
3157      }
3158      if (typeof x === 'function' || typeof x === 'object') {
3159          return 'Object';
3160      }
3161      if (typeof x === 'number') {
3162          return 'Number';
3163      }
3164      if (typeof x === 'boolean') {
3165          return 'Boolean';
3166      }
3167      if (typeof x === 'string') {
3168          return 'String';
3169      }
3170  };
3171  
3172  
3173  /***/ }),
3174  
3175  /***/ "6HWY":
3176  /***/ (function(module, exports, __webpack_require__) {
3177  
3178  "use strict";
3179  
3180  
3181  Object.defineProperty(exports, "__esModule", {
3182    value: true
3183  });
3184  exports['default'] = isNextMonth;
3185  
3186  var _moment = __webpack_require__("wy2R");
3187  
3188  var _moment2 = _interopRequireDefault(_moment);
3189  
3190  var _isSameMonth = __webpack_require__("ulUS");
3191  
3192  var _isSameMonth2 = _interopRequireDefault(_isSameMonth);
3193  
3194  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
3195  
3196  function isNextMonth(a, b) {
3197    if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
3198    return (0, _isSameMonth2['default'])(a.clone().add(1, 'month'), b);
3199  }
3200  
3201  /***/ }),
3202  
3203  /***/ "6I5v":
3204  /***/ (function(module, exports, __webpack_require__) {
3205  
3206  "use strict";
3207  
3208  
3209  module.exports = function sign(number) {
3210      return number >= 0 ? 1 : -1;
3211  };
3212  
3213  
3214  /***/ }),
3215  
3216  /***/ "6ZB3":
3217  /***/ (function(module, exports, __webpack_require__) {
3218  
3219  "use strict";
3220  
3221  
3222  var GetIntrinsic = __webpack_require__("rZ7t");
3223  
3224  var callBind = __webpack_require__("1LY1");
3225  
3226  var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
3227  
3228  module.exports = function callBoundIntrinsic(name, allowMissing) {
3229      var intrinsic = GetIntrinsic(name, !!allowMissing);
3230      if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
3231          return callBind(intrinsic);
3232      }
3233      return intrinsic;
3234  };
3235  
3236  
3237  /***/ }),
3238  
3239  /***/ "6zzY":
3240  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3241  
3242  "use strict";
3243  
3244  // EXPORTS
3245  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ useComponentsContext; });
3246  
3247  // UNUSED EXPORTS: ComponentsContext, ContextSystemProvider
3248  
3249  // EXTERNAL MODULE: external ["wp","element"]
3250  var external_wp_element_ = __webpack_require__("GRId");
3251  
3252  // EXTERNAL MODULE: external "lodash"
3253  var external_lodash_ = __webpack_require__("YLtl");
3254  
3255  // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/use-isomorphic-layout-effect.js
3256  /**
3257   * WordPress dependencies
3258   */
3259  
3260  /**
3261   * Copied from `@wordpress/compose` in order for us to be able to maintain all the types for the ui folder
3262   */
3263  
3264  const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? external_wp_element_["useLayoutEffect"] : external_wp_element_["useEffect"];
3265  
3266  // CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-system-provider.js
3267  
3268  
3269  /**
3270   * External dependencies
3271   */
3272  
3273  /**
3274   * WordPress dependencies
3275   */
3276  
3277  
3278  /**
3279   * Internal dependencies
3280   */
3281  
3282  
3283  const ComponentsContext = Object(external_wp_element_["createContext"])(
3284  /** @type {Record<string, any>} */
3285  {});
3286  const useComponentsContext = () => Object(external_wp_element_["useContext"])(ComponentsContext);
3287  /**
3288   * Consolidates incoming ContextSystem values with a (potential) parent ContextSystem value.
3289   *
3290   * @param {Object} props
3291   * @param {Record<string, any>} props.value
3292   * @return {Record<string, any>} The consolidated value.
3293   */
3294  
3295  function useContextSystemBridge({
3296    value
3297  }) {
3298    const parentContext = useComponentsContext();
3299    const parentContextRef = Object(external_wp_element_["useRef"])(parentContext);
3300    const valueRef = Object(external_wp_element_["useRef"])(Object(external_lodash_["merge"])(parentContext, value));
3301    const [config, setConfig] = Object(external_wp_element_["useState"])(valueRef.current);
3302    useIsomorphicLayoutEffect(() => {
3303      let hasChange = false;
3304  
3305      if (!Object(external_lodash_["isEqual"])(value, valueRef.current)) {
3306        valueRef.current = value;
3307        hasChange = true;
3308      }
3309  
3310      if (!Object(external_lodash_["isEqual"])(parentContext, parentContextRef.current)) {
3311        valueRef.current = Object(external_lodash_["merge"])(parentContext, valueRef.current);
3312        parentContextRef.current = parentContext;
3313        hasChange = true;
3314      }
3315  
3316      if (hasChange) {
3317        setConfig(prev => ({ ...prev,
3318          ...valueRef.current
3319        }));
3320      }
3321    }, [value, parentContext]);
3322    return config;
3323  }
3324  /**
3325   * A Provider component that can modify props for connected components within
3326   * the Context system.
3327   *
3328   * @example
3329   * ```jsx
3330   * <ContextSystemProvider value={{ Button: { size: 'small' }}}>
3331   *   <Button>...</Button>
3332   * </ContextSystemProvider>
3333   * ```
3334   *
3335   * @template {Record<string, any>} T
3336   * @param {Object} options
3337   * @param {import('react').ReactNode} options.children Children to render.
3338   * @param {T} options.value Props to render into connected components.
3339   * @return {JSX.Element} A Provider wrapped component.
3340   */
3341  
3342  
3343  const BaseContextSystemProvider = ({
3344    children,
3345    value
3346  }) => {
3347    const contextValue = useContextSystemBridge({
3348      value
3349    });
3350    return Object(external_wp_element_["createElement"])(ComponentsContext.Provider, {
3351      value: contextValue
3352    }, children);
3353  };
3354  
3355  const ContextSystemProvider = Object(external_wp_element_["memo"])(BaseContextSystemProvider);
3356  
3357  
3358  /***/ }),
3359  
3360  /***/ "71Og":
3361  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3362  
3363  "use strict";
3364  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isButton; });
3365  var buttonInputTypes = ["button", "color", "file", "image", "reset", "submit"];
3366  /**
3367   * Checks whether `element` is a native HTML button element.
3368   *
3369   * @example
3370   * import { isButton } from "reakit-utils";
3371   *
3372   * isButton(document.querySelector("button")); // true
3373   * isButton(document.querySelector("input[type='button']")); // true
3374   * isButton(document.querySelector("div")); // false
3375   * isButton(document.querySelector("input[type='text']")); // false
3376   * isButton(document.querySelector("div[role='button']")); // false
3377   *
3378   * @returns {boolean}
3379   */
3380  
3381  function isButton(element) {
3382    if (element.tagName === "BUTTON") return true;
3383  
3384    if (element.tagName === "INPUT") {
3385      var input = element;
3386      return buttonInputTypes.indexOf(input.type) !== -1;
3387    }
3388  
3389    return false;
3390  }
3391  
3392  
3393  
3394  
3395  /***/ }),
3396  
3397  /***/ "75pU":
3398  /***/ (function(module, exports) {
3399  
3400  //
3401  // Main
3402  //
3403  
3404  function memoize (fn, options) {
3405    var cache = options && options.cache
3406      ? options.cache
3407      : cacheDefault
3408  
3409    var serializer = options && options.serializer
3410      ? options.serializer
3411      : serializerDefault
3412  
3413    var strategy = options && options.strategy
3414      ? options.strategy
3415      : strategyDefault
3416  
3417    return strategy(fn, {
3418      cache: cache,
3419      serializer: serializer
3420    })
3421  }
3422  
3423  //
3424  // Strategy
3425  //
3426  
3427  function isPrimitive (value) {
3428    return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs
3429  }
3430  
3431  function monadic (fn, cache, serializer, arg) {
3432    var cacheKey = isPrimitive(arg) ? arg : serializer(arg)
3433  
3434    var computedValue = cache.get(cacheKey)
3435    if (typeof computedValue === 'undefined') {
3436      computedValue = fn.call(this, arg)
3437      cache.set(cacheKey, computedValue)
3438    }
3439  
3440    return computedValue
3441  }
3442  
3443  function variadic (fn, cache, serializer) {
3444    var args = Array.prototype.slice.call(arguments, 3)
3445    var cacheKey = serializer(args)
3446  
3447    var computedValue = cache.get(cacheKey)
3448    if (typeof computedValue === 'undefined') {
3449      computedValue = fn.apply(this, args)
3450      cache.set(cacheKey, computedValue)
3451    }
3452  
3453    return computedValue
3454  }
3455  
3456  function assemble (fn, context, strategy, cache, serialize) {
3457    return strategy.bind(
3458      context,
3459      fn,
3460      cache,
3461      serialize
3462    )
3463  }
3464  
3465  function strategyDefault (fn, options) {
3466    var strategy = fn.length === 1 ? monadic : variadic
3467  
3468    return assemble(
3469      fn,
3470      this,
3471      strategy,
3472      options.cache.create(),
3473      options.serializer
3474    )
3475  }
3476  
3477  function strategyVariadic (fn, options) {
3478    var strategy = variadic
3479  
3480    return assemble(
3481      fn,
3482      this,
3483      strategy,
3484      options.cache.create(),
3485      options.serializer
3486    )
3487  }
3488  
3489  function strategyMonadic (fn, options) {
3490    var strategy = monadic
3491  
3492    return assemble(
3493      fn,
3494      this,
3495      strategy,
3496      options.cache.create(),
3497      options.serializer
3498    )
3499  }
3500  
3501  //
3502  // Serializer
3503  //
3504  
3505  function serializerDefault () {
3506    return JSON.stringify(arguments)
3507  }
3508  
3509  //
3510  // Cache
3511  //
3512  
3513  function ObjectWithoutPrototypeCache () {
3514    this.cache = Object.create(null)
3515  }
3516  
3517  ObjectWithoutPrototypeCache.prototype.has = function (key) {
3518    return (key in this.cache)
3519  }
3520  
3521  ObjectWithoutPrototypeCache.prototype.get = function (key) {
3522    return this.cache[key]
3523  }
3524  
3525  ObjectWithoutPrototypeCache.prototype.set = function (key, value) {
3526    this.cache[key] = value
3527  }
3528  
3529  var cacheDefault = {
3530    create: function create () {
3531      return new ObjectWithoutPrototypeCache()
3532    }
3533  }
3534  
3535  //
3536  // API
3537  //
3538  
3539  module.exports = memoize
3540  module.exports.strategies = {
3541    variadic: strategyVariadic,
3542    monadic: strategyMonadic
3543  }
3544  
3545  
3546  /***/ }),
3547  
3548  /***/ "7Cbv":
3549  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3550  
3551  "use strict";
3552  
3553  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
3554  // Unique ID creation requires a high quality random # generator. In the browser we therefore
3555  // require the crypto API and do not support built-in fallback to lower quality random number
3556  // generators (like Math.random()).
3557  var getRandomValues;
3558  var rnds8 = new Uint8Array(16);
3559  function rng() {
3560    // lazy load so that environments that need to polyfill have a chance to do so
3561    if (!getRandomValues) {
3562      // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
3563      // find the complete implementation of crypto (msCrypto) on IE11.
3564      getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
3565  
3566      if (!getRandomValues) {
3567        throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
3568      }
3569    }
3570  
3571    return getRandomValues(rnds8);
3572  }
3573  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
3574  /* harmony default export */ var regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
3575  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
3576  
3577  
3578  function validate(uuid) {
3579    return typeof uuid === 'string' && regex.test(uuid);
3580  }
3581  
3582  /* harmony default export */ var esm_browser_validate = (validate);
3583  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
3584  
3585  /**
3586   * Convert array of 16 byte values to UUID string format of the form:
3587   * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
3588   */
3589  
3590  var byteToHex = [];
3591  
3592  for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
3593    byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
3594  }
3595  
3596  function stringify(arr) {
3597    var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
3598    // Note: Be careful editing this code!  It's been tuned for performance
3599    // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
3600    var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
3601    // of the following:
3602    // - One or more input array values don't map to a hex octet (leading to
3603    // "undefined" in the uuid)
3604    // - Invalid input values for the RFC `version` or `variant` fields
3605  
3606    if (!esm_browser_validate(uuid)) {
3607      throw TypeError('Stringified UUID is invalid');
3608    }
3609  
3610    return uuid;
3611  }
3612  
3613  /* harmony default export */ var esm_browser_stringify = (stringify);
3614  // CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
3615  
3616  
3617  
3618  function v4(options, buf, offset) {
3619    options = options || {};
3620    var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
3621  
3622    rnds[6] = rnds[6] & 0x0f | 0x40;
3623    rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
3624  
3625    if (buf) {
3626      offset = offset || 0;
3627  
3628      for (var i = 0; i < 16; ++i) {
3629        buf[offset + i] = rnds[i];
3630      }
3631  
3632      return buf;
3633    }
3634  
3635    return esm_browser_stringify(rnds);
3636  }
3637  
3638  /* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
3639  
3640  /***/ }),
3641  
3642  /***/ "7Ji+":
3643  /***/ (function(module, exports, __webpack_require__) {
3644  
3645  "use strict";
3646  
3647  
3648  var GetIntrinsic = __webpack_require__("rZ7t");
3649  
3650  var $Array = GetIntrinsic('%Array%');
3651  var $species = GetIntrinsic('%Symbol.species%', true);
3652  var $TypeError = GetIntrinsic('%TypeError%');
3653  
3654  var Get = __webpack_require__("3aeR");
3655  var IsArray = __webpack_require__("9cOx");
3656  var IsConstructor = __webpack_require__("kuGu");
3657  var IsInteger = __webpack_require__("R/b7");
3658  var Type = __webpack_require__("V1cy");
3659  
3660  // https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate
3661  
3662  module.exports = function ArraySpeciesCreate(originalArray, length) {
3663      if (!IsInteger(length) || length < 0) {
3664          throw new $TypeError('Assertion failed: length must be an integer >= 0');
3665      }
3666      var len = length === 0 ? 0 : length;
3667      var C;
3668      var isArray = IsArray(originalArray);
3669      if (isArray) {
3670          C = Get(originalArray, 'constructor');
3671          // TODO: figure out how to make a cross-realm normal Array, a same-realm Array
3672          // if (IsConstructor(C)) {
3673          //     if C is another realm's Array, C = undefined
3674          //     Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
3675          // }
3676          if ($species && Type(C) === 'Object') {
3677              C = Get(C, $species);
3678              if (C === null) {
3679                  C = void 0;
3680              }
3681          }
3682      }
3683      if (typeof C === 'undefined') {
3684          return $Array(len);
3685      }
3686      if (!IsConstructor(C)) {
3687          throw new $TypeError('C must be a constructor');
3688      }
3689      return new C(len); // Construct(C, len);
3690  };
3691  
3692  
3693  
3694  /***/ }),
3695  
3696  /***/ "7Jlx":
3697  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3698  
3699  "use strict";
3700  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return contextConnect; });
3701  /* unused harmony export getConnectNamespace */
3702  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return hasConnectNamespace; });
3703  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
3704  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
3705  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
3706  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
3707  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Z23Y");
3708  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_2__);
3709  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tQ+x");
3710  /* harmony import */ var _get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UAm0");
3711  /**
3712   * External dependencies
3713   */
3714  
3715  /**
3716   * WordPress dependencies
3717   */
3718  
3719  
3720  
3721  /**
3722   * Internal dependencies
3723   */
3724  
3725  
3726  
3727  /* eslint-disable jsdoc/valid-types */
3728  
3729  /**
3730   * Forwards ref (React.ForwardRef) and "Connects" (or registers) a component
3731   * within the Context system under a specified namespace.
3732   *
3733   * This is an (experimental) evolution of the initial connect() HOC.
3734   * The hope is that we can improve render performance by removing functional
3735   * component wrappers.
3736   *
3737   * @template {import('./polymorphic-component').ViewOwnProps<{}, any>} P
3738   * @param {(props: P, ref: import('react').Ref<any>) => JSX.Element | null} Component The component to register into the Context system.
3739   * @param {string} namespace The namespace to register the component under.
3740   * @param {Object} options
3741   * @param {boolean} [options.memo=false]
3742   * @return {import('./polymorphic-component').PolymorphicComponent<import('./polymorphic-component').ElementTypeFromViewOwnProps<P>, import('./polymorphic-component').PropsFromViewOwnProps<P>>} The connected PolymorphicComponent
3743   */
3744  
3745  function contextConnect(Component, namespace, options = {}) {
3746    /* eslint-enable jsdoc/valid-types */
3747    const {
3748      memo: memoProp = false
3749    } = options;
3750    let WrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(Component);
3751  
3752    if (memoProp) {
3753      // @ts-ignore
3754      WrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["memo"])(WrappedComponent);
3755    }
3756  
3757    if (typeof namespace === 'undefined') {
3758      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default()('contextConnect: Please provide a namespace') : void 0;
3759    } // @ts-ignore internal property
3760  
3761  
3762    let mergedNamespace = WrappedComponent[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]] || [namespace];
3763    /**
3764     * Consolidate (merge) namespaces before attaching it to the WrappedComponent.
3765     */
3766  
3767    if (Array.isArray(namespace)) {
3768      mergedNamespace = [...mergedNamespace, ...namespace];
3769    }
3770  
3771    if (typeof namespace === 'string') {
3772      mergedNamespace = [...mergedNamespace, namespace];
3773    }
3774  
3775    WrappedComponent.displayName = namespace; // @ts-ignore internal property
3776  
3777    WrappedComponent[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]] = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniq"])(mergedNamespace); // @ts-ignore PolymorphicComponent property
3778  
3779    WrappedComponent.selector = `.$Object(_get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__[/* getStyledClassNameFromKey */ "a"])(namespace)}`; // @ts-ignore
3780  
3781    return WrappedComponent;
3782  }
3783  /**
3784   * Attempts to retrieve the connected namespace from a component.
3785   *
3786   * @param {import('react').ReactChild | undefined | {}} Component The component to retrieve a namespace from.
3787   * @return {Array<string>} The connected namespaces.
3788   */
3789  
3790  function getConnectNamespace(Component) {
3791    if (!Component) return [];
3792    let namespaces = []; // @ts-ignore internal property
3793  
3794    if (Component[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]]) {
3795      // @ts-ignore internal property
3796      namespaces = Component[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]];
3797    } // @ts-ignore
3798  
3799  
3800    if (Component.type && Component.type[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]]) {
3801      // @ts-ignore
3802      namespaces = Component.type[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]];
3803    }
3804  
3805    return namespaces;
3806  }
3807  /**
3808   * Checks to see if a component is connected within the Context system.
3809   *
3810   * @param {import('react').ReactNode} Component The component to retrieve a namespace from.
3811   * @param {Array<string>|string} match The namespace to check.
3812   * @return {boolean} The result.
3813   */
3814  
3815  function hasConnectNamespace(Component, match) {
3816    if (!Component) return false;
3817  
3818    if (typeof match === 'string') {
3819      return getConnectNamespace(Component).includes(match);
3820    }
3821  
3822    if (Array.isArray(match)) {
3823      return match.some(result => getConnectNamespace(Component).includes(result));
3824    }
3825  
3826    return false;
3827  }
3828  
3829  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
3830  
3831  /***/ }),
3832  
3833  /***/ "82c2":
3834  /***/ (function(module, exports, __webpack_require__) {
3835  
3836  "use strict";
3837  
3838  
3839  var keys = __webpack_require__("1seS");
3840  var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
3841  
3842  var toStr = Object.prototype.toString;
3843  var concat = Array.prototype.concat;
3844  var origDefineProperty = Object.defineProperty;
3845  
3846  var isFunction = function (fn) {
3847      return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
3848  };
3849  
3850  var arePropertyDescriptorsSupported = function () {
3851      var obj = {};
3852      try {
3853          origDefineProperty(obj, 'x', { enumerable: false, value: obj });
3854          // eslint-disable-next-line no-unused-vars, no-restricted-syntax
3855          for (var _ in obj) { // jscs:ignore disallowUnusedVariables
3856              return false;
3857          }
3858          return obj.x === obj;
3859      } catch (e) { /* this is IE 8. */
3860          return false;
3861      }
3862  };
3863  var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();
3864  
3865  var defineProperty = function (object, name, value, predicate) {
3866      if (name in object && (!isFunction(predicate) || !predicate())) {
3867          return;
3868      }
3869      if (supportsDescriptors) {
3870          origDefineProperty(object, name, {
3871              configurable: true,
3872              enumerable: false,
3873              value: value,
3874              writable: true
3875          });
3876      } else {
3877          object[name] = value;
3878      }
3879  };
3880  
3881  var defineProperties = function (object, map) {
3882      var predicates = arguments.length > 2 ? arguments[2] : {};
3883      var props = keys(map);
3884      if (hasSymbols) {
3885          props = concat.call(props, Object.getOwnPropertySymbols(map));
3886      }
3887      for (var i = 0; i < props.length; i += 1) {
3888          defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
3889      }
3890  };
3891  
3892  defineProperties.supportsDescriptors = !!supportsDescriptors;
3893  
3894  module.exports = defineProperties;
3895  
3896  
3897  /***/ }),
3898  
3899  /***/ "8OQS":
3900  /***/ (function(module, exports) {
3901  
3902  function _objectWithoutPropertiesLoose(source, excluded) {
3903    if (source == null) return {};
3904    var target = {};
3905    var sourceKeys = Object.keys(source);
3906    var key, i;
3907  
3908    for (i = 0; i < sourceKeys.length; i++) {
3909      key = sourceKeys[i];
3910      if (excluded.indexOf(key) >= 0) continue;
3911      target[key] = source[key];
3912    }
3913  
3914    return target;
3915  }
3916  
3917  module.exports = _objectWithoutPropertiesLoose;
3918  module.exports["default"] = module.exports, module.exports.__esModule = true;
3919  
3920  /***/ }),
3921  
3922  /***/ "8R9v":
3923  /***/ (function(module, exports, __webpack_require__) {
3924  
3925  "use strict";
3926  
3927  
3928  var define = __webpack_require__("82c2");
3929  var getPolyfill = __webpack_require__("yLpt");
3930  
3931  module.exports = function shimAssign() {
3932      var polyfill = getPolyfill();
3933      define(
3934          Object,
3935          { assign: polyfill },
3936          { assign: function () { return Object.assign !== polyfill; } }
3937      );
3938      return polyfill;
3939  };
3940  
3941  
3942  /***/ }),
3943  
3944  /***/ "8oxB":
3945  /***/ (function(module, exports) {
3946  
3947  // shim for using process in browser
3948  var process = module.exports = {};
3949  
3950  // cached from whatever global is present so that test runners that stub it
3951  // don't break things.  But we need to wrap it in a try catch in case it is
3952  // wrapped in strict mode code which doesn't define any globals.  It's inside a
3953  // function because try/catches deoptimize in certain engines.
3954  
3955  var cachedSetTimeout;
3956  var cachedClearTimeout;
3957  
3958  function defaultSetTimout() {
3959      throw new Error('setTimeout has not been defined');
3960  }
3961  function defaultClearTimeout () {
3962      throw new Error('clearTimeout has not been defined');
3963  }
3964  (function () {
3965      try {
3966          if (typeof setTimeout === 'function') {
3967              cachedSetTimeout = setTimeout;
3968          } else {
3969              cachedSetTimeout = defaultSetTimout;
3970          }
3971      } catch (e) {
3972          cachedSetTimeout = defaultSetTimout;
3973      }
3974      try {
3975          if (typeof clearTimeout === 'function') {
3976              cachedClearTimeout = clearTimeout;
3977          } else {
3978              cachedClearTimeout = defaultClearTimeout;
3979          }
3980      } catch (e) {
3981          cachedClearTimeout = defaultClearTimeout;
3982      }
3983  } ())
3984  function runTimeout(fun) {
3985      if (cachedSetTimeout === setTimeout) {
3986          //normal enviroments in sane situations
3987          return setTimeout(fun, 0);
3988      }
3989      // if setTimeout wasn't available but was latter defined
3990      if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
3991          cachedSetTimeout = setTimeout;
3992          return setTimeout(fun, 0);
3993      }
3994      try {
3995          // when when somebody has screwed with setTimeout but no I.E. maddness
3996          return cachedSetTimeout(fun, 0);
3997      } catch(e){
3998          try {
3999              // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
4000              return cachedSetTimeout.call(null, fun, 0);
4001          } catch(e){
4002              // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
4003              return cachedSetTimeout.call(this, fun, 0);
4004          }
4005      }
4006  
4007  
4008  }
4009  function runClearTimeout(marker) {
4010      if (cachedClearTimeout === clearTimeout) {
4011          //normal enviroments in sane situations
4012          return clearTimeout(marker);
4013      }
4014      // if clearTimeout wasn't available but was latter defined
4015      if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
4016          cachedClearTimeout = clearTimeout;
4017          return clearTimeout(marker);
4018      }
4019      try {
4020          // when when somebody has screwed with setTimeout but no I.E. maddness
4021          return cachedClearTimeout(marker);
4022      } catch (e){
4023          try {
4024              // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
4025              return cachedClearTimeout.call(null, marker);
4026          } catch (e){
4027              // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
4028              // Some versions of I.E. have different rules for clearTimeout vs setTimeout
4029              return cachedClearTimeout.call(this, marker);
4030          }
4031      }
4032  
4033  
4034  
4035  }
4036  var queue = [];
4037  var draining = false;
4038  var currentQueue;
4039  var queueIndex = -1;
4040  
4041  function cleanUpNextTick() {
4042      if (!draining || !currentQueue) {
4043          return;
4044      }
4045      draining = false;
4046      if (currentQueue.length) {
4047          queue = currentQueue.concat(queue);
4048      } else {
4049          queueIndex = -1;
4050      }
4051      if (queue.length) {
4052          drainQueue();
4053      }
4054  }
4055  
4056  function drainQueue() {
4057      if (draining) {
4058          return;
4059      }
4060      var timeout = runTimeout(cleanUpNextTick);
4061      draining = true;
4062  
4063      var len = queue.length;
4064      while(len) {
4065          currentQueue = queue;
4066          queue = [];
4067          while (++queueIndex < len) {
4068              if (currentQueue) {
4069                  currentQueue[queueIndex].run();
4070              }
4071          }
4072          queueIndex = -1;
4073          len = queue.length;
4074      }
4075      currentQueue = null;
4076      draining = false;
4077      runClearTimeout(timeout);
4078  }
4079  
4080  process.nextTick = function (fun) {
4081      var args = new Array(arguments.length - 1);
4082      if (arguments.length > 1) {
4083          for (var i = 1; i < arguments.length; i++) {
4084              args[i - 1] = arguments[i];
4085          }
4086      }
4087      queue.push(new Item(fun, args));
4088      if (queue.length === 1 && !draining) {
4089          runTimeout(drainQueue);
4090      }
4091  };
4092  
4093  // v8 likes predictible objects
4094  function Item(fun, array) {
4095      this.fun = fun;
4096      this.array = array;
4097  }
4098  Item.prototype.run = function () {
4099      this.fun.apply(null, this.array);
4100  };
4101  process.title = 'browser';
4102  process.browser = true;
4103  process.env = {};
4104  process.argv = [];
4105  process.version = ''; // empty string to avoid regexp issues
4106  process.versions = {};
4107  
4108  function noop() {}
4109  
4110  process.on = noop;
4111  process.addListener = noop;
4112  process.once = noop;
4113  process.off = noop;
4114  process.removeListener = noop;
4115  process.removeAllListeners = noop;
4116  process.emit = noop;
4117  process.prependListener = noop;
4118  process.prependOnceListener = noop;
4119  
4120  process.listeners = function (name) { return [] }
4121  
4122  process.binding = function (name) {
4123      throw new Error('process.binding is not supported');
4124  };
4125  
4126  process.cwd = function () { return '/' };
4127  process.chdir = function (dir) {
4128      throw new Error('process.chdir is not supported');
4129  };
4130  process.umask = function() { return 0; };
4131  
4132  
4133  /***/ }),
4134  
4135  /***/ "9Do8":
4136  /***/ (function(module, exports, __webpack_require__) {
4137  
4138  "use strict";
4139  
4140  
4141  module.exports = __webpack_require__("zt9T");
4142  
4143  /***/ }),
4144  
4145  /***/ "9NHk":
4146  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4147  
4148  "use strict";
4149  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return withNext; });
4150  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
4151  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
4152  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
4153  
4154  
4155  
4156  /**
4157   * Internal dependencies
4158   */
4159  
4160  
4161  /**
4162   * @template {{}} TCurrentProps
4163   * @template {{}} TNextProps
4164   * @param {import('react').ForwardRefExoticComponent<TCurrentProps>} CurrentComponent
4165   * @param {import('react').ComponentType<TNextProps>} NextComponent
4166   * @param {string} namespace
4167   * @param {(props: TCurrentProps) => TNextProps} adapter
4168   */
4169  
4170  function withNext(CurrentComponent, NextComponent = () => null, namespace = 'Component', adapter = p =>
4171  /** @type {any} */
4172  p) {
4173    if (false) {}
4174  
4175    return CurrentComponent;
4176  }
4177  
4178  
4179  /***/ }),
4180  
4181  /***/ "9VDH":
4182  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4183  
4184  "use strict";
4185  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
4186  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
4187  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
4188  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Tqx9");
4189  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__);
4190  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("vUUf");
4191  
4192  
4193  /**
4194   * WordPress dependencies
4195   */
4196  
4197  
4198  /**
4199   * Internal dependencies
4200   */
4201  
4202  
4203  
4204  function Icon({
4205    icon = null,
4206    size,
4207    ...additionalProps
4208  }) {
4209    if ('string' === typeof icon) {
4210      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
4211        icon: icon
4212      }, additionalProps));
4213    }
4214  
4215    if (icon && _dashicon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"] === icon.type) {
4216      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(icon, { ...additionalProps
4217      });
4218    } // Icons should be 24x24 by default.
4219  
4220  
4221    const iconSize = size || 24;
4222  
4223    if ('function' === typeof icon) {
4224      if (icon.prototype instanceof _wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Component"]) {
4225        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(icon, {
4226          size: iconSize,
4227          ...additionalProps
4228        });
4229      }
4230  
4231      return icon({
4232        size: iconSize,
4233        ...additionalProps
4234      });
4235    }
4236  
4237    if (icon && (icon.type === 'svg' || icon.type === _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__["SVG"])) {
4238      const appliedProps = {
4239        width: iconSize,
4240        height: iconSize,
4241        ...icon.props,
4242        ...additionalProps
4243      };
4244      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__["SVG"], appliedProps);
4245    }
4246  
4247    if (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["isValidElement"])(icon)) {
4248      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(icon, {
4249        size: iconSize,
4250        ...additionalProps
4251      });
4252    }
4253  
4254    return icon;
4255  }
4256  
4257  /* harmony default export */ __webpack_exports__["a"] = (Icon);
4258  
4259  
4260  /***/ }),
4261  
4262  /***/ "9cOx":
4263  /***/ (function(module, exports, __webpack_require__) {
4264  
4265  "use strict";
4266  
4267  
4268  var GetIntrinsic = __webpack_require__("rZ7t");
4269  
4270  var $Array = GetIntrinsic('%Array%');
4271  
4272  // eslint-disable-next-line global-require
4273  var toStr = !$Array.isArray && __webpack_require__("EXo9")('Object.prototype.toString');
4274  
4275  // https://ecma-international.org/ecma-262/6.0/#sec-isarray
4276  
4277  module.exports = $Array.isArray || function IsArray(argument) {
4278      return toStr(argument) === '[object Array]';
4279  };
4280  
4281  
4282  /***/ }),
4283  
4284  /***/ "9gmn":
4285  /***/ (function(module, exports, __webpack_require__) {
4286  
4287  "use strict";
4288  
4289  
4290  Object.defineProperty(exports, "__esModule", {
4291    value: true
4292  });
4293  
4294  var _react = __webpack_require__("cDcd");
4295  
4296  var _react2 = _interopRequireDefault(_react);
4297  
4298  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
4299  
4300  var ChevronUp = function () {
4301    function ChevronUp(props) {
4302      return _react2['default'].createElement(
4303        'svg',
4304        props,
4305        _react2['default'].createElement('path', {
4306          d: 'M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z'
4307        })
4308      );
4309    }
4310  
4311    return ChevronUp;
4312  }();
4313  
4314  ChevronUp.defaultProps = {
4315    viewBox: '0 0 1000 1000'
4316  };
4317  exports['default'] = ChevronUp;
4318  
4319  /***/ }),
4320  
4321  /***/ "9pTB":
4322  /***/ (function(module, exports, __webpack_require__) {
4323  
4324  "use strict";
4325  /* WEBPACK VAR INJECTION */(function(global) {
4326  
4327  var define = __webpack_require__("82c2");
4328  var isSymbol = __webpack_require__("/sVA");
4329  
4330  var globalKey = '__ global cache key __';
4331  /* istanbul ignore else */
4332  // eslint-disable-next-line no-restricted-properties
4333  if (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') {
4334      // eslint-disable-next-line no-restricted-properties
4335      globalKey = Symbol['for'](globalKey);
4336  }
4337  
4338  var trueThunk = function () {
4339      return true;
4340  };
4341  
4342  var ensureCache = function ensureCache() {
4343      if (!global[globalKey]) {
4344          var properties = {};
4345          properties[globalKey] = {};
4346          var predicates = {};
4347          predicates[globalKey] = trueThunk;
4348          define(global, properties, predicates);
4349      }
4350      return global[globalKey];
4351  };
4352  
4353  var cache = ensureCache();
4354  
4355  var isPrimitive = function isPrimitive(val) {
4356      return val === null || (typeof val !== 'object' && typeof val !== 'function');
4357  };
4358  
4359  var getPrimitiveKey = function getPrimitiveKey(val) {
4360      if (isSymbol(val)) {
4361          return Symbol.prototype.valueOf.call(val);
4362      }
4363      return typeof val + ' | ' + String(val);
4364  };
4365  
4366  var requirePrimitiveKey = function requirePrimitiveKey(val) {
4367      if (!isPrimitive(val)) {
4368          throw new TypeError('key must not be an object');
4369      }
4370  };
4371  
4372  var globalCache = {
4373      clear: function clear() {
4374          delete global[globalKey];
4375          cache = ensureCache();
4376      },
4377  
4378      'delete': function deleteKey(key) {
4379          requirePrimitiveKey(key);
4380          delete cache[getPrimitiveKey(key)];
4381          return !globalCache.has(key);
4382      },
4383  
4384      get: function get(key) {
4385          requirePrimitiveKey(key);
4386          return cache[getPrimitiveKey(key)];
4387      },
4388  
4389      has: function has(key) {
4390          requirePrimitiveKey(key);
4391          return getPrimitiveKey(key) in cache;
4392      },
4393  
4394      set: function set(key, value) {
4395          requirePrimitiveKey(key);
4396          var primitiveKey = getPrimitiveKey(key);
4397          var props = {};
4398          props[primitiveKey] = value;
4399          var predicates = {};
4400          predicates[primitiveKey] = trueThunk;
4401          define(cache, props, predicates);
4402          return globalCache.has(key);
4403      },
4404  
4405      setIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) {
4406          if (globalCache.has(key)) {
4407              return globalCache.get(key);
4408          }
4409          var item = valueThunk();
4410          globalCache.set(key, item);
4411          return item;
4412      }
4413  };
4414  
4415  module.exports = globalCache;
4416  
4417  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("yLpj")))
4418  
4419  /***/ }),
4420  
4421  /***/ "9uj6":
4422  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4423  
4424  "use strict";
4425  __webpack_require__.r(__webpack_exports__);
4426  /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4qRI");
4427  
4428  
4429  var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
4430  
4431  var index = Object(_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(function (prop) {
4432    return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
4433    /* o */
4434    && prop.charCodeAt(1) === 110
4435    /* n */
4436    && prop.charCodeAt(2) < 91;
4437  }
4438  /* Z+1 */
4439  );
4440  
4441  /* harmony default export */ __webpack_exports__["default"] = (index);
4442  
4443  
4444  /***/ }),
4445  
4446  /***/ "AClM":
4447  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4448  
4449  "use strict";
4450  
4451  // EXPORTS
4452  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ ensureFocus; });
4453  
4454  // EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
4455  var getActiveElement = __webpack_require__("Nym8");
4456  
4457  // CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocus.js
4458  
4459  
4460  
4461  /**
4462   * Checks if `element` has focus. Elements that are referenced by
4463   * `aria-activedescendant` are also considered.
4464   *
4465   * @example
4466   * import { hasFocus } from "reakit-utils";
4467   *
4468   * hasFocus(document.getElementById("id"));
4469   */
4470  
4471  function hasFocus(element) {
4472    var activeElement = Object(getActiveElement["a" /* getActiveElement */])(element);
4473    if (!activeElement) return false;
4474    if (activeElement === element) return true;
4475    var activeDescendant = activeElement.getAttribute("aria-activedescendant");
4476    if (!activeDescendant) return false;
4477    return activeDescendant === element.id;
4478  }
4479  
4480  
4481  
4482  // CONCATENATED MODULE: ./node_modules/reakit-utils/es/ensureFocus.js
4483  
4484  
4485  
4486  
4487  /**
4488   * Ensures `element` will receive focus if it's not already.
4489   *
4490   * @example
4491   * import { ensureFocus } from "reakit-utils";
4492   *
4493   * ensureFocus(document.activeElement); // does nothing
4494   *
4495   * const element = document.querySelector("input");
4496   *
4497   * ensureFocus(element); // focuses element
4498   * ensureFocus(element, { preventScroll: true }); // focuses element preventing scroll jump
4499   *
4500   * function isActive(el) {
4501   *   return el.dataset.active === "true";
4502   * }
4503   *
4504   * ensureFocus(document.querySelector("[data-active='true']"), { isActive }); // does nothing
4505   *
4506   * @returns {number} `requestAnimationFrame` call ID so it can be passed to `cancelAnimationFrame` if needed.
4507   */
4508  function ensureFocus(element, _temp) {
4509    var _ref = _temp === void 0 ? {} : _temp,
4510        preventScroll = _ref.preventScroll,
4511        _ref$isActive = _ref.isActive,
4512        isActive = _ref$isActive === void 0 ? hasFocus : _ref$isActive;
4513  
4514    if (isActive(element)) return -1;
4515    element.focus({
4516      preventScroll: preventScroll
4517    });
4518    if (isActive(element)) return -1;
4519    return requestAnimationFrame(function () {
4520      element.focus({
4521        preventScroll: preventScroll
4522      });
4523    });
4524  }
4525  
4526  
4527  
4528  
4529  /***/ }),
4530  
4531  /***/ "AM7I":
4532  /***/ (function(module, exports, __webpack_require__) {
4533  
4534  "use strict";
4535  
4536  
4537  /* globals
4538      AggregateError,
4539      Atomics,
4540      FinalizationRegistry,
4541      SharedArrayBuffer,
4542      WeakRef,
4543  */
4544  
4545  var undefined;
4546  
4547  var $SyntaxError = SyntaxError;
4548  var $Function = Function;
4549  var $TypeError = TypeError;
4550  
4551  // eslint-disable-next-line consistent-return
4552  var getEvalledConstructor = function (expressionSyntax) {
4553      try {
4554          // eslint-disable-next-line no-new-func
4555          return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
4556      } catch (e) {}
4557  };
4558  
4559  var $gOPD = Object.getOwnPropertyDescriptor;
4560  if ($gOPD) {
4561      try {
4562          $gOPD({}, '');
4563      } catch (e) {
4564          $gOPD = null; // this is IE 8, which has a broken gOPD
4565      }
4566  }
4567  
4568  var throwTypeError = function () {
4569      throw new $TypeError();
4570  };
4571  var ThrowTypeError = $gOPD
4572      ? (function () {
4573          try {
4574              // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
4575              arguments.callee; // IE 8 does not throw here
4576              return throwTypeError;
4577          } catch (calleeThrows) {
4578              try {
4579                  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
4580                  return $gOPD(arguments, 'callee').get;
4581              } catch (gOPDthrows) {
4582                  return throwTypeError;
4583              }
4584          }
4585      }())
4586      : throwTypeError;
4587  
4588  var hasSymbols = __webpack_require__("UVaH")();
4589  
4590  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
4591  
4592  var asyncGenFunction = getEvalledConstructor('async function* () {}');
4593  var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
4594  var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;
4595  
4596  var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
4597  
4598  var INTRINSICS = {
4599      '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
4600      '%Array%': Array,
4601      '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
4602      '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
4603      '%AsyncFromSyncIteratorPrototype%': undefined,
4604      '%AsyncFunction%': getEvalledConstructor('async function () {}'),
4605      '%AsyncGenerator%': asyncGenFunctionPrototype,
4606      '%AsyncGeneratorFunction%': asyncGenFunction,
4607      '%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
4608      '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
4609      '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
4610      '%Boolean%': Boolean,
4611      '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
4612      '%Date%': Date,
4613      '%decodeURI%': decodeURI,
4614      '%decodeURIComponent%': decodeURIComponent,
4615      '%encodeURI%': encodeURI,
4616      '%encodeURIComponent%': encodeURIComponent,
4617      '%Error%': Error,
4618      '%eval%': eval, // eslint-disable-line no-eval
4619      '%EvalError%': EvalError,
4620      '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
4621      '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
4622      '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
4623      '%Function%': $Function,
4624      '%GeneratorFunction%': getEvalledConstructor('function* () {}'),
4625      '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
4626      '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
4627      '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
4628      '%isFinite%': isFinite,
4629      '%isNaN%': isNaN,
4630      '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
4631      '%JSON%': typeof JSON === 'object' ? JSON : undefined,
4632      '%Map%': typeof Map === 'undefined' ? undefined : Map,
4633      '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
4634      '%Math%': Math,
4635      '%Number%': Number,
4636      '%Object%': Object,
4637      '%parseFloat%': parseFloat,
4638      '%parseInt%': parseInt,
4639      '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
4640      '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
4641      '%RangeError%': RangeError,
4642      '%ReferenceError%': ReferenceError,
4643      '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
4644      '%RegExp%': RegExp,
4645      '%Set%': typeof Set === 'undefined' ? undefined : Set,
4646      '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
4647      '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
4648      '%String%': String,
4649      '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
4650      '%Symbol%': hasSymbols ? Symbol : undefined,
4651      '%SyntaxError%': $SyntaxError,
4652      '%ThrowTypeError%': ThrowTypeError,
4653      '%TypedArray%': TypedArray,
4654      '%TypeError%': $TypeError,
4655      '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
4656      '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
4657      '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
4658      '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
4659      '%URIError%': URIError,
4660      '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
4661      '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
4662      '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
4663  };
4664  
4665  var LEGACY_ALIASES = {
4666      '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
4667      '%ArrayPrototype%': ['Array', 'prototype'],
4668      '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
4669      '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
4670      '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
4671      '%ArrayProto_values%': ['Array', 'prototype', 'values'],
4672      '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
4673      '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
4674      '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
4675      '%BooleanPrototype%': ['Boolean', 'prototype'],
4676      '%DataViewPrototype%': ['DataView', 'prototype'],
4677      '%DatePrototype%': ['Date', 'prototype'],
4678      '%ErrorPrototype%': ['Error', 'prototype'],
4679      '%EvalErrorPrototype%': ['EvalError', 'prototype'],
4680      '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
4681      '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
4682      '%FunctionPrototype%': ['Function', 'prototype'],
4683      '%Generator%': ['GeneratorFunction', 'prototype'],
4684      '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
4685      '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
4686      '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
4687      '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
4688      '%JSONParse%': ['JSON', 'parse'],
4689      '%JSONStringify%': ['JSON', 'stringify'],
4690      '%MapPrototype%': ['Map', 'prototype'],
4691      '%NumberPrototype%': ['Number', 'prototype'],
4692      '%ObjectPrototype%': ['Object', 'prototype'],
4693      '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
4694      '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
4695      '%PromisePrototype%': ['Promise', 'prototype'],
4696      '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
4697      '%Promise_all%': ['Promise', 'all'],
4698      '%Promise_reject%': ['Promise', 'reject'],
4699      '%Promise_resolve%': ['Promise', 'resolve'],
4700      '%RangeErrorPrototype%': ['RangeError', 'prototype'],
4701      '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
4702      '%RegExpPrototype%': ['RegExp', 'prototype'],
4703      '%SetPrototype%': ['Set', 'prototype'],
4704      '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
4705      '%StringPrototype%': ['String', 'prototype'],
4706      '%SymbolPrototype%': ['Symbol', 'prototype'],
4707      '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
4708      '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
4709      '%TypeErrorPrototype%': ['TypeError', 'prototype'],
4710      '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
4711      '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
4712      '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
4713      '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
4714      '%URIErrorPrototype%': ['URIError', 'prototype'],
4715      '%WeakMapPrototype%': ['WeakMap', 'prototype'],
4716      '%WeakSetPrototype%': ['WeakSet', 'prototype']
4717  };
4718  
4719  var bind = __webpack_require__("D3zA");
4720  var hasOwn = __webpack_require__("oNNP");
4721  var $concat = bind.call(Function.call, Array.prototype.concat);
4722  var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
4723  var $replace = bind.call(Function.call, String.prototype.replace);
4724  var $strSlice = bind.call(Function.call, String.prototype.slice);
4725  
4726  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
4727  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
4728  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
4729  var stringToPath = function stringToPath(string) {
4730      var first = $strSlice(string, 0, 1);
4731      var last = $strSlice(string, -1);
4732      if (first === '%' && last !== '%') {
4733          throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
4734      } else if (last === '%' && first !== '%') {
4735          throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
4736      }
4737      var result = [];
4738      $replace(string, rePropName, function (match, number, quote, subString) {
4739          result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
4740      });
4741      return result;
4742  };
4743  /* end adaptation */
4744  
4745  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
4746      var intrinsicName = name;
4747      var alias;
4748      if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
4749          alias = LEGACY_ALIASES[intrinsicName];
4750          intrinsicName = '%' + alias[0] + '%';
4751      }
4752  
4753      if (hasOwn(INTRINSICS, intrinsicName)) {
4754          var value = INTRINSICS[intrinsicName];
4755          if (typeof value === 'undefined' && !allowMissing) {
4756              throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
4757          }
4758  
4759          return {
4760              alias: alias,
4761              name: intrinsicName,
4762              value: value
4763          };
4764      }
4765  
4766      throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
4767  };
4768  
4769  module.exports = function GetIntrinsic(name, allowMissing) {
4770      if (typeof name !== 'string' || name.length === 0) {
4771          throw new $TypeError('intrinsic name must be a non-empty string');
4772      }
4773      if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
4774          throw new $TypeError('"allowMissing" argument must be a boolean');
4775      }
4776  
4777      var parts = stringToPath(name);
4778      var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
4779  
4780      var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
4781      var intrinsicRealName = intrinsic.name;
4782      var value = intrinsic.value;
4783      var skipFurtherCaching = false;
4784  
4785      var alias = intrinsic.alias;
4786      if (alias) {
4787          intrinsicBaseName = alias[0];
4788          $spliceApply(parts, $concat([0, 1], alias));
4789      }
4790  
4791      for (var i = 1, isOwn = true; i < parts.length; i += 1) {
4792          var part = parts[i];
4793          var first = $strSlice(part, 0, 1);
4794          var last = $strSlice(part, -1);
4795          if (
4796              (
4797                  (first === '"' || first === "'" || first === '`')
4798                  || (last === '"' || last === "'" || last === '`')
4799              )
4800              && first !== last
4801          ) {
4802              throw new $SyntaxError('property names with quotes must have matching quotes');
4803          }
4804          if (part === 'constructor' || !isOwn) {
4805              skipFurtherCaching = true;
4806          }
4807  
4808          intrinsicBaseName += '.' + part;
4809          intrinsicRealName = '%' + intrinsicBaseName + '%';
4810  
4811          if (hasOwn(INTRINSICS, intrinsicRealName)) {
4812              value = INTRINSICS[intrinsicRealName];
4813          } else if (value != null) {
4814              if (!(part in value)) {
4815                  if (!allowMissing) {
4816                      throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
4817                  }
4818                  return void undefined;
4819              }
4820              if ($gOPD && (i + 1) >= parts.length) {
4821                  var desc = $gOPD(value, part);
4822                  isOwn = !!desc;
4823  
4824                  // By convention, when a data property is converted to an accessor
4825                  // property to emulate a data property that does not suffer from
4826                  // the override mistake, that accessor's getter is marked with
4827                  // an `originalValue` property. Here, when we detect this, we
4828                  // uphold the illusion by pretending to see that original data
4829                  // property, i.e., returning the value rather than the getter
4830                  // itself.
4831                  if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
4832                      value = desc.get;
4833                  } else {
4834                      value = value[part];
4835                  }
4836              } else {
4837                  isOwn = hasOwn(value, part);
4838                  value = value[part];
4839              }
4840  
4841              if (isOwn && !skipFurtherCaching) {
4842                  INTRINSICS[intrinsicRealName] = value;
4843              }
4844          }
4845      }
4846      return value;
4847  };
4848  
4849  
4850  /***/ }),
4851  
4852  /***/ "AP2z":
4853  /***/ (function(module, exports, __webpack_require__) {
4854  
4855  var Symbol = __webpack_require__("nmnc");
4856  
4857  /** Used for built-in method references. */
4858  var objectProto = Object.prototype;
4859  
4860  /** Used to check objects for own properties. */
4861  var hasOwnProperty = objectProto.hasOwnProperty;
4862  
4863  /**
4864   * Used to resolve the
4865   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4866   * of values.
4867   */
4868  var nativeObjectToString = objectProto.toString;
4869  
4870  /** Built-in value references. */
4871  var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
4872  
4873  /**
4874   * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
4875   *
4876   * @private
4877   * @param {*} value The value to query.
4878   * @returns {string} Returns the raw `toStringTag`.
4879   */
4880  function getRawTag(value) {
4881    var isOwn = hasOwnProperty.call(value, symToStringTag),
4882        tag = value[symToStringTag];
4883  
4884    try {
4885      value[symToStringTag] = undefined;
4886      var unmasked = true;
4887    } catch (e) {}
4888  
4889    var result = nativeObjectToString.call(value);
4890    if (unmasked) {
4891      if (isOwn) {
4892        value[symToStringTag] = tag;
4893      } else {
4894        delete value[symToStringTag];
4895      }
4896    }
4897    return result;
4898  }
4899  
4900  module.exports = getRawTag;
4901  
4902  
4903  /***/ }),
4904  
4905  /***/ "AXvK":
4906  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4907  
4908  "use strict";
4909  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsomorphicEffect; });
4910  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
4911  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
4912  /* harmony import */ var _canUseDOM_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("+ipW");
4913  
4914  
4915  
4916  
4917  
4918  /**
4919   * `React.useLayoutEffect` that fallbacks to `React.useEffect` on server side
4920   * rendering.
4921   */
4922  
4923  var useIsomorphicEffect = !_canUseDOM_js__WEBPACK_IMPORTED_MODULE_1__[/* canUseDOM */ "a"] ? react__WEBPACK_IMPORTED_MODULE_0__["useEffect"] : react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"];
4924  
4925  
4926  
4927  
4928  /***/ }),
4929  
4930  /***/ "Ae65":
4931  /***/ (function(module, exports, __webpack_require__) {
4932  
4933  "use strict";
4934  
4935  
4936  Object.defineProperty(exports, "__esModule", {
4937    value: true
4938  });
4939  exports['default'] = getCalendarDaySettings;
4940  
4941  var _getPhrase = __webpack_require__("oOcr");
4942  
4943  var _getPhrase2 = _interopRequireDefault(_getPhrase);
4944  
4945  var _constants = __webpack_require__("Fv1B");
4946  
4947  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
4948  
4949  function getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrases) {
4950    var chooseAvailableDate = phrases.chooseAvailableDate,
4951        dateIsUnavailable = phrases.dateIsUnavailable,
4952        dateIsSelected = phrases.dateIsSelected;
4953  
4954  
4955    var daySizeStyles = {
4956      width: daySize,
4957      height: daySize - 1
4958    };
4959  
4960    var useDefaultCursor = modifiers.has('blocked-minimum-nights') || modifiers.has('blocked-calendar') || modifiers.has('blocked-out-of-range');
4961  
4962    var selected = modifiers.has('selected') || modifiers.has('selected-start') || modifiers.has('selected-end');
4963  
4964    var hoveredSpan = !selected && (modifiers.has('hovered-span') || modifiers.has('after-hovered-start'));
4965  
4966    var isOutsideRange = modifiers.has('blocked-out-of-range');
4967  
4968    var formattedDate = { date: day.format(ariaLabelFormat) };
4969  
4970    var ariaLabel = (0, _getPhrase2['default'])(chooseAvailableDate, formattedDate);
4971    if (modifiers.has(_constants.BLOCKED_MODIFIER)) {
4972      ariaLabel = (0, _getPhrase2['default'])(dateIsUnavailable, formattedDate);
4973    } else if (selected) {
4974      ariaLabel = (0, _getPhrase2['default'])(dateIsSelected, formattedDate);
4975    }
4976  
4977    return {
4978      daySizeStyles: daySizeStyles,
4979      useDefaultCursor: useDefaultCursor,
4980      selected: selected,
4981      hoveredSpan: hoveredSpan,
4982      isOutsideRange: isOutsideRange,
4983      ariaLabel: ariaLabel
4984    };
4985  }
4986  
4987  /***/ }),
4988  
4989  /***/ "Asd8":
4990  /***/ (function(module, exports, __webpack_require__) {
4991  
4992  "use strict";
4993  
4994  
4995  var fnToStr = Function.prototype.toString;
4996  var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
4997  var badArrayLike;
4998  var isCallableMarker;
4999  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
5000      try {
5001          badArrayLike = Object.defineProperty({}, 'length', {
5002              get: function () {
5003                  throw isCallableMarker;
5004              }
5005          });
5006          isCallableMarker = {};
5007          // eslint-disable-next-line no-throw-literal
5008          reflectApply(function () { throw 42; }, null, badArrayLike);
5009      } catch (_) {
5010          if (_ !== isCallableMarker) {
5011              reflectApply = null;
5012          }
5013      }
5014  } else {
5015      reflectApply = null;
5016  }
5017  
5018  var constructorRegex = /^\s*class\b/;
5019  var isES6ClassFn = function isES6ClassFunction(value) {
5020      try {
5021          var fnStr = fnToStr.call(value);
5022          return constructorRegex.test(fnStr);
5023      } catch (e) {
5024          return false; // not a function
5025      }
5026  };
5027  
5028  var tryFunctionObject = function tryFunctionToStr(value) {
5029      try {
5030          if (isES6ClassFn(value)) { return false; }
5031          fnToStr.call(value);
5032          return true;
5033      } catch (e) {
5034          return false;
5035      }
5036  };
5037  var toStr = Object.prototype.toString;
5038  var fnClass = '[object Function]';
5039  var genClass = '[object GeneratorFunction]';
5040  var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
5041  /* globals document: false */
5042  var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
5043  
5044  module.exports = reflectApply
5045      ? function isCallable(value) {
5046          if (value === documentDotAll) { return true; }
5047          if (!value) { return false; }
5048          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
5049          if (typeof value === 'function' && !value.prototype) { return true; }
5050          try {
5051              reflectApply(value, null, badArrayLike);
5052          } catch (e) {
5053              if (e !== isCallableMarker) { return false; }
5054          }
5055          return !isES6ClassFn(value);
5056      }
5057      : function isCallable(value) {
5058          if (value === documentDotAll) { return true; }
5059          if (!value) { return false; }
5060          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
5061          if (typeof value === 'function' && !value.prototype) { return true; }
5062          if (hasToStringTag) { return tryFunctionObject(value); }
5063          if (isES6ClassFn(value)) { return false; }
5064          var strClass = toStr.call(value);
5065          return strClass === fnClass || strClass === genClass;
5066      };
5067  
5068  
5069  /***/ }),
5070  
5071  /***/ "B9Az":
5072  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5073  
5074  "use strict";
5075  
5076  // EXTERNAL MODULE: external ["wp","element"]
5077  var external_wp_element_ = __webpack_require__("GRId");
5078  
5079  // EXTERNAL MODULE: external ["wp","primitives"]
5080  var external_wp_primitives_ = __webpack_require__("Tqx9");
5081  
5082  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
5083  
5084  
5085  /**
5086   * WordPress dependencies
5087   */
5088  
5089  const pencil = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
5090    xmlns: "http://www.w3.org/2000/svg",
5091    viewBox: "0 0 24 24"
5092  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
5093    d: "M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"
5094  }));
5095  /* harmony default export */ var library_pencil = (pencil);
5096  
5097  // CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
5098  /**
5099   * Internal dependencies
5100   */
5101  
5102  /* harmony default export */ var edit = __webpack_exports__["a"] = (library_pencil);
5103  
5104  
5105  /***/ }),
5106  
5107  /***/ "BZp5":
5108  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5109  
5110  "use strict";
5111  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
5112  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; });
5113  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _createForOfIteratorHelperLoose; });
5114  function _defineProperty(obj, key, value) {
5115    if (key in obj) {
5116      Object.defineProperty(obj, key, {
5117        value: value,
5118        enumerable: true,
5119        configurable: true,
5120        writable: true
5121      });
5122    } else {
5123      obj[key] = value;
5124    }
5125  
5126    return obj;
5127  }
5128  
5129  function ownKeys(object, enumerableOnly) {
5130    var keys = Object.keys(object);
5131  
5132    if (Object.getOwnPropertySymbols) {
5133      var symbols = Object.getOwnPropertySymbols(object);
5134      if (enumerableOnly) symbols = symbols.filter(function (sym) {
5135        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
5136      });
5137      keys.push.apply(keys, symbols);
5138    }
5139  
5140    return keys;
5141  }
5142  
5143  function _objectSpread2(target) {
5144    for (var i = 1; i < arguments.length; i++) {
5145      var source = arguments[i] != null ? arguments[i] : {};
5146  
5147      if (i % 2) {
5148        ownKeys(Object(source), true).forEach(function (key) {
5149          _defineProperty(target, key, source[key]);
5150        });
5151      } else if (Object.getOwnPropertyDescriptors) {
5152        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
5153      } else {
5154        ownKeys(Object(source)).forEach(function (key) {
5155          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
5156        });
5157      }
5158    }
5159  
5160    return target;
5161  }
5162  
5163  function _objectWithoutPropertiesLoose(source, excluded) {
5164    if (source == null) return {};
5165    var target = {};
5166    var sourceKeys = Object.keys(source);
5167    var key, i;
5168  
5169    for (i = 0; i < sourceKeys.length; i++) {
5170      key = sourceKeys[i];
5171      if (excluded.indexOf(key) >= 0) continue;
5172      target[key] = source[key];
5173    }
5174  
5175    return target;
5176  }
5177  
5178  function _unsupportedIterableToArray(o, minLen) {
5179    if (!o) return;
5180    if (typeof o === "string") return _arrayLikeToArray(o, minLen);
5181    var n = Object.prototype.toString.call(o).slice(8, -1);
5182    if (n === "Object" && o.constructor) n = o.constructor.name;
5183    if (n === "Map" || n === "Set") return Array.from(o);
5184    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
5185  }
5186  
5187  function _arrayLikeToArray(arr, len) {
5188    if (len == null || len > arr.length) len = arr.length;
5189  
5190    for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
5191  
5192    return arr2;
5193  }
5194  
5195  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
5196    var it;
5197  
5198    if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
5199      if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
5200        if (it) o = it;
5201        var i = 0;
5202        return function () {
5203          if (i >= o.length) return {
5204            done: true
5205          };
5206          return {
5207            done: false,
5208            value: o[i++]
5209          };
5210        };
5211      }
5212  
5213      throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5214    }
5215  
5216    it = o[Symbol.iterator]();
5217    return it.next.bind(it);
5218  }
5219  
5220  
5221  
5222  
5223  /***/ }),
5224  
5225  /***/ "BeK9":
5226  /***/ (function(module, exports, __webpack_require__) {
5227  
5228  "use strict";
5229  
5230  
5231  module.exports = function isPrimitive(value) {
5232      return value === null || (typeof value !== 'function' && typeof value !== 'object');
5233  };
5234  
5235  
5236  /***/ }),
5237  
5238  /***/ "Bpkj":
5239  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5240  
5241  "use strict";
5242  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
5243  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
5244  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
5245  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
5246  
5247  
5248  /**
5249   * WordPress dependencies
5250   */
5251  
5252  const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
5253    xmlns: "http://www.w3.org/2000/svg",
5254    viewBox: "0 0 24 24"
5255  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
5256    d: "M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"
5257  }));
5258  /* harmony default export */ __webpack_exports__["a"] = (link);
5259  
5260  
5261  /***/ }),
5262  
5263  /***/ "C6yU":
5264  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5265  
5266  "use strict";
5267  /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useContextSystem; });
5268  /* harmony import */ var emotion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("kDDq");
5269  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Z23Y");
5270  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_1__);
5271  /* harmony import */ var _context_system_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("6zzY");
5272  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("Ohaz");
5273  /* harmony import */ var _get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UAm0");
5274  
5275  
5276  /**
5277   * WordPress dependencies
5278   */
5279  
5280  /**
5281   * Internal dependencies
5282   */
5283  
5284  
5285  
5286  
5287  /* eslint-disable jsdoc/valid-types */
5288  
5289  /**
5290   * @template TProps
5291   * @typedef {TProps & { className: string; children?: import('react').ReactNode }} ConnectedProps
5292   */
5293  
5294  /* eslint-enable jsdoc/valid-types */
5295  
5296  /**
5297   * Custom hook that derives registered props from the Context system.
5298   * These derived props are then consolidated with incoming component props.
5299   *
5300   * @template {{ className?: string }} P
5301   * @param {P} props Incoming props from the component.
5302   * @param {string} namespace The namespace to register and to derive context props from.
5303   * @return {ConnectedProps<P>} The connected props.
5304   */
5305  
5306  function useContextSystem(props, namespace) {
5307    const contextSystemProps = Object(_context_system_provider__WEBPACK_IMPORTED_MODULE_2__[/* useComponentsContext */ "a"])();
5308  
5309    if (typeof namespace === 'undefined') {
5310      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default()('useContextSystem: Please provide a namespace') : void 0;
5311    }
5312  
5313    const contextProps = (contextSystemProps === null || contextSystemProps === void 0 ? void 0 : contextSystemProps[namespace]) || {};
5314    /* eslint-disable jsdoc/no-undefined-types */
5315  
5316    /** @type {ConnectedProps<P>} */
5317    // @ts-ignore We fill in the missing properties below
5318  
5319    const finalComponentProps = { ...Object(_utils__WEBPACK_IMPORTED_MODULE_3__[/* getConnectedNamespace */ "a"])(),
5320      ...Object(_utils__WEBPACK_IMPORTED_MODULE_3__[/* getNamespace */ "b"])(namespace)
5321    };
5322    /* eslint-enable jsdoc/no-undefined-types */
5323  
5324    const {
5325      _overrides: overrideProps,
5326      ...otherContextProps
5327    } = contextProps;
5328    const initialMergedProps = Object.entries(otherContextProps).length ? Object.assign({}, otherContextProps, props) : props;
5329  
5330    const classes = Object(emotion__WEBPACK_IMPORTED_MODULE_0__[/* cx */ "b"])(Object(_get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__[/* getStyledClassNameFromKey */ "a"])(namespace), props.className); // Provides the ability to customize the render of the component.
5331  
5332  
5333    const rendered = typeof initialMergedProps.renderChildren === 'function' ? initialMergedProps.renderChildren(initialMergedProps) : initialMergedProps.children;
5334  
5335    for (const key in initialMergedProps) {
5336      // @ts-ignore filling in missing props
5337      finalComponentProps[key] = initialMergedProps[key];
5338    }
5339  
5340    for (const key in overrideProps) {
5341      // @ts-ignore filling in missing props
5342      finalComponentProps[key] = overrideProps[key];
5343    }
5344  
5345    finalComponentProps.children = rendered;
5346    finalComponentProps.className = classes;
5347    return finalComponentProps;
5348  }
5349  
5350  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
5351  
5352  /***/ }),
5353  
5354  /***/ "CGNl":
5355  /***/ (function(module, exports, __webpack_require__) {
5356  
5357  "use strict";
5358  
5359  
5360  var has = __webpack_require__("oNNP");
5361  
5362  var assertRecord = __webpack_require__("10Kj");
5363  
5364  var Type = __webpack_require__("V1cy");
5365  
5366  // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
5367  
5368  module.exports = function IsDataDescriptor(Desc) {
5369      if (typeof Desc === 'undefined') {
5370          return false;
5371      }
5372  
5373      assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
5374  
5375      if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {
5376          return false;
5377      }
5378  
5379      return true;
5380  };
5381  
5382  
5383  /***/ }),
5384  
5385  /***/ "Cw+6":
5386  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5387  
5388  "use strict";
5389  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
5390  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
5391  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
5392  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
5393  
5394  
5395  /**
5396   * External dependencies
5397   */
5398  
5399  /** @typedef {string | { display: string, ariaLabel: string }} Shortcut */
5400  
5401  /**
5402   * @typedef Props
5403   * @property {Shortcut} shortcut Shortcut configuration
5404   * @property {string} [className] Classname
5405   */
5406  
5407  /**
5408   * @param {Props} props Props
5409   * @return {JSX.Element | null} Element
5410   */
5411  
5412  function Shortcut({
5413    shortcut,
5414    className
5415  }) {
5416    if (!shortcut) {
5417      return null;
5418    }
5419  
5420    let displayText;
5421    let ariaLabel;
5422  
5423    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isString"])(shortcut)) {
5424      displayText = shortcut;
5425    }
5426  
5427    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isObject"])(shortcut)) {
5428      displayText = shortcut.display;
5429      ariaLabel = shortcut.ariaLabel;
5430    }
5431  
5432    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
5433      className: className,
5434      "aria-label": ariaLabel
5435    }, displayText);
5436  }
5437  
5438  /* harmony default export */ __webpack_exports__["a"] = (Shortcut);
5439  
5440  
5441  /***/ }),
5442  
5443  /***/ "D3zA":
5444  /***/ (function(module, exports, __webpack_require__) {
5445  
5446  "use strict";
5447  
5448  
5449  var implementation = __webpack_require__("aI7X");
5450  
5451  module.exports = Function.prototype.bind || implementation;
5452  
5453  
5454  /***/ }),
5455  
5456  /***/ "DHWS":
5457  /***/ (function(module, exports, __webpack_require__) {
5458  
5459  "use strict";
5460  
5461  
5462  Object.defineProperty(exports, "__esModule", {
5463    value: true
5464  });
5465  
5466  var _react = __webpack_require__("cDcd");
5467  
5468  var _react2 = _interopRequireDefault(_react);
5469  
5470  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
5471  
5472  var ChevronDown = function () {
5473    function ChevronDown(props) {
5474      return _react2['default'].createElement(
5475        'svg',
5476        props,
5477        _react2['default'].createElement('path', {
5478          d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z'
5479        })
5480      );
5481    }
5482  
5483    return ChevronDown;
5484  }();
5485  
5486  ChevronDown.defaultProps = {
5487    viewBox: '0 0 1000 1000'
5488  };
5489  exports['default'] = ChevronDown;
5490  
5491  /***/ }),
5492  
5493  /***/ "DciD":
5494  /***/ (function(module, exports, __webpack_require__) {
5495  
5496  "use strict";
5497  
5498  
5499  function noop() {
5500    return null;
5501  }
5502  
5503  noop.isRequired = noop;
5504  
5505  function noopThunk() {
5506    return noop;
5507  }
5508  
5509  module.exports = {
5510    and: noopThunk,
5511    between: noopThunk,
5512    booleanSome: noopThunk,
5513    childrenHavePropXorChildren: noopThunk,
5514    childrenOf: noopThunk,
5515    childrenOfType: noopThunk,
5516    childrenSequenceOf: noopThunk,
5517    componentWithName: noopThunk,
5518    disallowedIf: noopThunk,
5519    elementType: noopThunk,
5520    empty: noopThunk,
5521    explicitNull: noopThunk,
5522    forbidExtraProps: Object,
5523    integer: noopThunk,
5524    keysOf: noopThunk,
5525    mutuallyExclusiveProps: noopThunk,
5526    mutuallyExclusiveTrueProps: noopThunk,
5527    nChildren: noopThunk,
5528    nonNegativeInteger: noop,
5529    nonNegativeNumber: noopThunk,
5530    numericString: noopThunk,
5531    object: noopThunk,
5532    or: noopThunk,
5533    predicate: noopThunk,
5534    range: noopThunk,
5535    ref: noopThunk,
5536    requiredBy: noopThunk,
5537    restrictedProp: noopThunk,
5538    sequenceOf: noopThunk,
5539    shape: noopThunk,
5540    stringEndsWith: noopThunk,
5541    stringStartsWith: noopThunk,
5542    uniqueArray: noopThunk,
5543    uniqueArrayOf: noopThunk,
5544    valuesOf: noopThunk,
5545    withShape: noopThunk
5546  };
5547  
5548  
5549  /***/ }),
5550  
5551  /***/ "DmXP":
5552  /***/ (function(module, exports, __webpack_require__) {
5553  
5554  "use strict";
5555  
5556  
5557  var getDay = Date.prototype.getDay;
5558  var tryDateObject = function tryDateGetDayCall(value) {
5559      try {
5560          getDay.call(value);
5561          return true;
5562      } catch (e) {
5563          return false;
5564      }
5565  };
5566  
5567  var toStr = Object.prototype.toString;
5568  var dateClass = '[object Date]';
5569  var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
5570  
5571  module.exports = function isDateObject(value) {
5572      if (typeof value !== 'object' || value === null) {
5573          return false;
5574      }
5575      return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
5576  };
5577  
5578  
5579  /***/ }),
5580  
5581  /***/ "DvWQ":
5582  /***/ (function(module, exports, __webpack_require__) {
5583  
5584  "use strict";
5585  
5586  
5587  var GetIntrinsic = __webpack_require__("rZ7t");
5588  
5589  var $TypeError = GetIntrinsic('%TypeError%');
5590  
5591  var DefineOwnProperty = __webpack_require__("wTIp");
5592  
5593  var FromPropertyDescriptor = __webpack_require__("zYbv");
5594  var OrdinaryGetOwnProperty = __webpack_require__("kgBv");
5595  var IsDataDescriptor = __webpack_require__("CGNl");
5596  var IsExtensible = __webpack_require__("rDFq");
5597  var IsPropertyKey = __webpack_require__("i10q");
5598  var SameValue = __webpack_require__("HI8u");
5599  var Type = __webpack_require__("V1cy");
5600  
5601  // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
5602  
5603  module.exports = function CreateDataProperty(O, P, V) {
5604      if (Type(O) !== 'Object') {
5605          throw new $TypeError('Assertion failed: Type(O) is not Object');
5606      }
5607      if (!IsPropertyKey(P)) {
5608          throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
5609      }
5610      var oldDesc = OrdinaryGetOwnProperty(O, P);
5611      var extensible = !oldDesc || IsExtensible(O);
5612      var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
5613      if (immutable || !extensible) {
5614          return false;
5615      }
5616      return DefineOwnProperty(
5617          IsDataDescriptor,
5618          SameValue,
5619          FromPropertyDescriptor,
5620          O,
5621          P,
5622          {
5623              '[[Configurable]]': true,
5624              '[[Enumerable]]': true,
5625              '[[Value]]': V,
5626              '[[Writable]]': true
5627          }
5628      );
5629  };
5630  
5631  
5632  /***/ }),
5633  
5634  /***/ "DzJC":
5635  /***/ (function(module, exports, __webpack_require__) {
5636  
5637  var debounce = __webpack_require__("sEfC"),
5638      isObject = __webpack_require__("GoyQ");
5639  
5640  /** Error message constants. */
5641  var FUNC_ERROR_TEXT = 'Expected a function';
5642  
5643  /**
5644   * Creates a throttled function that only invokes `func` at most once per
5645   * every `wait` milliseconds. The throttled function comes with a `cancel`
5646   * method to cancel delayed `func` invocations and a `flush` method to
5647   * immediately invoke them. Provide `options` to indicate whether `func`
5648   * should be invoked on the leading and/or trailing edge of the `wait`
5649   * timeout. The `func` is invoked with the last arguments provided to the
5650   * throttled function. Subsequent calls to the throttled function return the
5651   * result of the last `func` invocation.
5652   *
5653   * **Note:** If `leading` and `trailing` options are `true`, `func` is
5654   * invoked on the trailing edge of the timeout only if the throttled function
5655   * is invoked more than once during the `wait` timeout.
5656   *
5657   * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
5658   * until to the next tick, similar to `setTimeout` with a timeout of `0`.
5659   *
5660   * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
5661   * for details over the differences between `_.throttle` and `_.debounce`.
5662   *
5663   * @static
5664   * @memberOf _
5665   * @since 0.1.0
5666   * @category Function
5667   * @param {Function} func The function to throttle.
5668   * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
5669   * @param {Object} [options={}] The options object.
5670   * @param {boolean} [options.leading=true]
5671   *  Specify invoking on the leading edge of the timeout.
5672   * @param {boolean} [options.trailing=true]
5673   *  Specify invoking on the trailing edge of the timeout.
5674   * @returns {Function} Returns the new throttled function.
5675   * @example
5676   *
5677   * // Avoid excessively updating the position while scrolling.
5678   * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
5679   *
5680   * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
5681   * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
5682   * jQuery(element).on('click', throttled);
5683   *
5684   * // Cancel the trailing throttled invocation.
5685   * jQuery(window).on('popstate', throttled.cancel);
5686   */
5687  function throttle(func, wait, options) {
5688    var leading = true,
5689        trailing = true;
5690  
5691    if (typeof func != 'function') {
5692      throw new TypeError(FUNC_ERROR_TEXT);
5693    }
5694    if (isObject(options)) {
5695      leading = 'leading' in options ? !!options.leading : leading;
5696      trailing = 'trailing' in options ? !!options.trailing : trailing;
5697    }
5698    return debounce(func, wait, {
5699      'leading': leading,
5700      'maxWait': wait,
5701      'trailing': trailing
5702    });
5703  }
5704  
5705  module.exports = throttle;
5706  
5707  
5708  /***/ }),
5709  
5710  /***/ "EXo9":
5711  /***/ (function(module, exports, __webpack_require__) {
5712  
5713  "use strict";
5714  
5715  
5716  var GetIntrinsic = __webpack_require__("rZ7t");
5717  
5718  var callBind = __webpack_require__("hZ2/");
5719  
5720  var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
5721  
5722  module.exports = function callBoundIntrinsic(name, allowMissing) {
5723      var intrinsic = GetIntrinsic(name, !!allowMissing);
5724      if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
5725          return callBind(intrinsic);
5726      }
5727      return intrinsic;
5728  };
5729  
5730  
5731  /***/ }),
5732  
5733  /***/ "ExA7":
5734  /***/ (function(module, exports) {
5735  
5736  /**
5737   * Checks if `value` is object-like. A value is object-like if it's not `null`
5738   * and has a `typeof` result of "object".
5739   *
5740   * @static
5741   * @memberOf _
5742   * @since 4.0.0
5743   * @category Lang
5744   * @param {*} value The value to check.
5745   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
5746   * @example
5747   *
5748   * _.isObjectLike({});
5749   * // => true
5750   *
5751   * _.isObjectLike([1, 2, 3]);
5752   * // => true
5753   *
5754   * _.isObjectLike(_.noop);
5755   * // => false
5756   *
5757   * _.isObjectLike(null);
5758   * // => false
5759   */
5760  function isObjectLike(value) {
5761    return value != null && typeof value == 'object';
5762  }
5763  
5764  module.exports = isObjectLike;
5765  
5766  
5767  /***/ }),
5768  
5769  /***/ "F7ZS":
5770  /***/ (function(module, exports, __webpack_require__) {
5771  
5772  "use strict";
5773  
5774  
5775  Object.defineProperty(exports, "__esModule", {
5776    value: true
5777  });
5778  exports['default'] = getCalendarMonthWeeks;
5779  
5780  var _moment = __webpack_require__("wy2R");
5781  
5782  var _moment2 = _interopRequireDefault(_moment);
5783  
5784  var _constants = __webpack_require__("Fv1B");
5785  
5786  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
5787  
5788  function getCalendarMonthWeeks(month, enableOutsideDays) {
5789    var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek();
5790  
5791    if (!_moment2['default'].isMoment(month) || !month.isValid()) {
5792      throw new TypeError('`month` must be a valid moment object');
5793    }
5794    if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) {
5795      throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6');
5796    }
5797  
5798    // set utc offset to get correct dates in future (when timezone changes)
5799    var firstOfMonth = month.clone().startOf('month').hour(12);
5800    var lastOfMonth = month.clone().endOf('month').hour(12);
5801  
5802    // calculate the exact first and last days to fill the entire matrix
5803    // (considering days outside month)
5804    var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7;
5805    var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7;
5806    var firstDay = firstOfMonth.clone().subtract(prevDays, 'day');
5807    var lastDay = lastOfMonth.clone().add(nextDays, 'day');
5808  
5809    var totalDays = lastDay.diff(firstDay, 'days') + 1;
5810  
5811    var currentDay = firstDay.clone();
5812    var weeksInMonth = [];
5813  
5814    for (var i = 0; i < totalDays; i += 1) {
5815      if (i % 7 === 0) {
5816        weeksInMonth.push([]);
5817      }
5818  
5819      var day = null;
5820      if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) {
5821        day = currentDay.clone();
5822      }
5823  
5824      weeksInMonth[weeksInMonth.length - 1].push(day);
5825  
5826      currentDay.add(1, 'day');
5827    }
5828  
5829    return weeksInMonth;
5830  }
5831  
5832  /***/ }),
5833  
5834  /***/ "FpZJ":
5835  /***/ (function(module, exports, __webpack_require__) {
5836  
5837  "use strict";
5838  
5839  
5840  /* eslint complexity: [2, 18], max-statements: [2, 33] */
5841  module.exports = function hasSymbols() {
5842      if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
5843      if (typeof Symbol.iterator === 'symbol') { return true; }
5844  
5845      var obj = {};
5846      var sym = Symbol('test');
5847      var symObj = Object(sym);
5848      if (typeof sym === 'string') { return false; }
5849  
5850      if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
5851      if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
5852  
5853      // temp disabled per https://github.com/ljharb/object.assign/issues/17
5854      // if (sym instanceof Symbol) { return false; }
5855      // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
5856      // if (!(symObj instanceof Symbol)) { return false; }
5857  
5858      // if (typeof Symbol.prototype.toString !== 'function') { return false; }
5859      // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
5860  
5861      var symVal = 42;
5862      obj[sym] = symVal;
5863      for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
5864      if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
5865  
5866      if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
5867  
5868      var syms = Object.getOwnPropertySymbols(obj);
5869      if (syms.length !== 1 || syms[0] !== sym) { return false; }
5870  
5871      if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
5872  
5873      if (typeof Object.getOwnPropertyDescriptor === 'function') {
5874          var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
5875          if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
5876      }
5877  
5878      return true;
5879  };
5880  
5881  
5882  /***/ }),
5883  
5884  /***/ "FqII":
5885  /***/ (function(module, exports) {
5886  
5887  (function() { module.exports = window["wp"]["date"]; }());
5888  
5889  /***/ }),
5890  
5891  /***/ "FufO":
5892  /***/ (function(module, exports, __webpack_require__) {
5893  
5894  "use strict";
5895  
5896  
5897  // modified from https://github.com/es-shims/es6-shim
5898  var keys = __webpack_require__("1seS");
5899  var canBeObject = function (obj) {
5900      return typeof obj !== 'undefined' && obj !== null;
5901  };
5902  var hasSymbols = __webpack_require__("FpZJ")();
5903  var callBound = __webpack_require__("VF6F");
5904  var toObject = Object;
5905  var $push = callBound('Array.prototype.push');
5906  var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
5907  var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
5908  
5909  // eslint-disable-next-line no-unused-vars
5910  module.exports = function assign(target, source1) {
5911      if (!canBeObject(target)) { throw new TypeError('target must be an object'); }
5912      var objTarget = toObject(target);
5913      var s, source, i, props, syms, value, key;
5914      for (s = 1; s < arguments.length; ++s) {
5915          source = toObject(arguments[s]);
5916          props = keys(source);
5917          var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
5918          if (getSymbols) {
5919              syms = getSymbols(source);
5920              for (i = 0; i < syms.length; ++i) {
5921                  key = syms[i];
5922                  if ($propIsEnumerable(source, key)) {
5923                      $push(props, key);
5924                  }
5925              }
5926          }
5927          for (i = 0; i < props.length; ++i) {
5928              key = props[i];
5929              value = source[key];
5930              if ($propIsEnumerable(source, key)) {
5931                  objTarget[key] = value;
5932              }
5933          }
5934      }
5935      return objTarget;
5936  };
5937  
5938  
5939  /***/ }),
5940  
5941  /***/ "Fv1B":
5942  /***/ (function(module, exports, __webpack_require__) {
5943  
5944  "use strict";
5945  
5946  
5947  Object.defineProperty(exports, "__esModule", {
5948    value: true
5949  });
5950  var DISPLAY_FORMAT = exports.DISPLAY_FORMAT = 'L';
5951  var ISO_FORMAT = exports.ISO_FORMAT = 'YYYY-MM-DD';
5952  var ISO_MONTH_FORMAT = exports.ISO_MONTH_FORMAT = 'YYYY-MM';
5953  
5954  var START_DATE = exports.START_DATE = 'startDate';
5955  var END_DATE = exports.END_DATE = 'endDate';
5956  
5957  var HORIZONTAL_ORIENTATION = exports.HORIZONTAL_ORIENTATION = 'horizontal';
5958  var VERTICAL_ORIENTATION = exports.VERTICAL_ORIENTATION = 'vertical';
5959  var VERTICAL_SCROLLABLE = exports.VERTICAL_SCROLLABLE = 'verticalScrollable';
5960  
5961  var ICON_BEFORE_POSITION = exports.ICON_BEFORE_POSITION = 'before';
5962  var ICON_AFTER_POSITION = exports.ICON_AFTER_POSITION = 'after';
5963  
5964  var INFO_POSITION_TOP = exports.INFO_POSITION_TOP = 'top';
5965  var INFO_POSITION_BOTTOM = exports.INFO_POSITION_BOTTOM = 'bottom';
5966  var INFO_POSITION_BEFORE = exports.INFO_POSITION_BEFORE = 'before';
5967  var INFO_POSITION_AFTER = exports.INFO_POSITION_AFTER = 'after';
5968  
5969  var ANCHOR_LEFT = exports.ANCHOR_LEFT = 'left';
5970  var ANCHOR_RIGHT = exports.ANCHOR_RIGHT = 'right';
5971  
5972  var OPEN_DOWN = exports.OPEN_DOWN = 'down';
5973  var OPEN_UP = exports.OPEN_UP = 'up';
5974  
5975  var DAY_SIZE = exports.DAY_SIZE = 39;
5976  var BLOCKED_MODIFIER = exports.BLOCKED_MODIFIER = 'blocked';
5977  var WEEKDAYS = exports.WEEKDAYS = [0, 1, 2, 3, 4, 5, 6];
5978  
5979  var FANG_WIDTH_PX = exports.FANG_WIDTH_PX = 20;
5980  var FANG_HEIGHT_PX = exports.FANG_HEIGHT_PX = 10;
5981  var DEFAULT_VERTICAL_SPACING = exports.DEFAULT_VERTICAL_SPACING = 22;
5982  
5983  var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']);
5984  
5985  /***/ }),
5986  
5987  /***/ "G3V0":
5988  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5989  
5990  "use strict";
5991  /* unused harmony export Tabbable */
5992  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useTabbable; });
5993  /* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
5994  /* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
5995  /* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
5996  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
5997  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
5998  /* harmony import */ var reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("aU41");
5999  /* harmony import */ var reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("71Og");
6000  /* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("KA1K");
6001  /* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("eNtd");
6002  /* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("AXvK");
6003  /* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("PcHe");
6004  /* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("Vq1w");
6005  /* harmony import */ var reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("reMF");
6006  /* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("kqkJ");
6007  /* harmony import */ var _Role_Role_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("zGFp");
6008  
6009  
6010  
6011  
6012  
6013  
6014  
6015  
6016  
6017  
6018  
6019  
6020  
6021  
6022  
6023  
6024  // Automatically generated
6025  var TABBABLE_KEYS = ["disabled", "focusable"];
6026  
6027  var isSafariOrFirefoxOnMac = Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Mac") && !Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Chrome") && (Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Safari") || Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Firefox"));
6028  
6029  function focusIfNeeded(element) {
6030    if (!Object(reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__[/* hasFocusWithin */ "a"])(element) && Object(reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_12__[/* isFocusable */ "a"])(element)) {
6031      element.focus();
6032    }
6033  }
6034  
6035  function isNativeTabbable(element) {
6036    return element.tagName === "BUTTON" || element.tagName === "INPUT" || element.tagName === "SELECT" || element.tagName === "TEXTAREA" || element.tagName === "A";
6037  }
6038  
6039  function supportsDisabledAttribute(element) {
6040    return element.tagName === "BUTTON" || element.tagName === "INPUT" || element.tagName === "SELECT" || element.tagName === "TEXTAREA";
6041  }
6042  
6043  function getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex) {
6044    if (trulyDisabled) {
6045      if (nativeTabbable && !supportsDisabled) {
6046        // Anchor, audio and video tags don't support the `disabled` attribute.
6047        // We must pass tabIndex={-1} so they don't receive focus on tab.
6048        return -1;
6049      } // Elements that support the `disabled` attribute don't need tabIndex.
6050  
6051  
6052      return undefined;
6053    }
6054  
6055    if (nativeTabbable) {
6056      // If the element is enabled and it's natively tabbable, we don't need to
6057      // specify a tabIndex attribute unless it's explicitly set by the user.
6058      return htmlTabIndex;
6059    } // If the element is enabled and is not natively tabbable, we have to
6060    // fallback tabIndex={0}.
6061  
6062  
6063    return htmlTabIndex || 0;
6064  }
6065  
6066  function useDisableEvent(htmlEventRef, disabled) {
6067    return Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
6068      var _htmlEventRef$current;
6069  
6070      (_htmlEventRef$current = htmlEventRef.current) === null || _htmlEventRef$current === void 0 ? void 0 : _htmlEventRef$current.call(htmlEventRef, event);
6071      if (event.defaultPrevented) return;
6072  
6073      if (disabled) {
6074        event.stopPropagation();
6075        event.preventDefault();
6076      }
6077    }, [htmlEventRef, disabled]);
6078  }
6079  
6080  var useTabbable = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
6081    name: "Tabbable",
6082    compose: _Role_Role_js__WEBPACK_IMPORTED_MODULE_13__[/* useRole */ "a"],
6083    keys: TABBABLE_KEYS,
6084    useOptions: function useOptions(options, _ref) {
6085      var disabled = _ref.disabled;
6086      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
6087        disabled: disabled
6088      }, options);
6089    },
6090    useProps: function useProps(options, _ref2) {
6091      var htmlRef = _ref2.ref,
6092          htmlTabIndex = _ref2.tabIndex,
6093          htmlOnClickCapture = _ref2.onClickCapture,
6094          htmlOnMouseDownCapture = _ref2.onMouseDownCapture,
6095          htmlOnMouseDown = _ref2.onMouseDown,
6096          htmlOnKeyPressCapture = _ref2.onKeyPressCapture,
6097          htmlStyle = _ref2.style,
6098          htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref2, ["ref", "tabIndex", "onClickCapture", "onMouseDownCapture", "onMouseDown", "onKeyPressCapture", "style"]);
6099  
6100      var ref = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])(null);
6101      var onClickCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnClickCapture);
6102      var onMouseDownCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnMouseDownCapture);
6103      var onMouseDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnMouseDown);
6104      var onKeyPressCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnKeyPressCapture);
6105      var trulyDisabled = !!options.disabled && !options.focusable;
6106  
6107      var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
6108          nativeTabbable = _React$useState[0],
6109          setNativeTabbable = _React$useState[1];
6110  
6111      var _React$useState2 = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
6112          supportsDisabled = _React$useState2[0],
6113          setSupportsDisabled = _React$useState2[1];
6114  
6115      var style = options.disabled ? Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
6116        pointerEvents: "none"
6117      }, htmlStyle) : htmlStyle;
6118      Object(reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__[/* useIsomorphicEffect */ "a"])(function () {
6119        var tabbable = ref.current;
6120  
6121        if (!tabbable) {
6122           false ? undefined : void 0;
6123          return;
6124        }
6125  
6126        if (!isNativeTabbable(tabbable)) {
6127          setNativeTabbable(false);
6128        }
6129  
6130        if (!supportsDisabledAttribute(tabbable)) {
6131          setSupportsDisabled(false);
6132        }
6133      }, []);
6134      var onClickCapture = useDisableEvent(onClickCaptureRef, options.disabled);
6135      var onMouseDownCapture = useDisableEvent(onMouseDownCaptureRef, options.disabled);
6136      var onKeyPressCapture = useDisableEvent(onKeyPressCaptureRef, options.disabled);
6137      var onMouseDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
6138        var _onMouseDownRef$curre;
6139  
6140        (_onMouseDownRef$curre = onMouseDownRef.current) === null || _onMouseDownRef$curre === void 0 ? void 0 : _onMouseDownRef$curre.call(onMouseDownRef, event);
6141        var element = event.currentTarget;
6142        if (event.defaultPrevented) return; // Safari and Firefox on MacOS don't focus on buttons on mouse down
6143        // like other browsers/platforms. Instead, they focus on the closest
6144        // focusable ancestor element, which is ultimately the body element. So
6145        // we make sure to give focus to the tabbable element on mouse down so
6146        // it works consistently across browsers.
6147  
6148        if (!isSafariOrFirefoxOnMac) return;
6149        if (Object(reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__[/* isPortalEvent */ "a"])(event)) return;
6150        if (!Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__[/* isButton */ "a"])(element)) return; // We can't focus right away after on mouse down, otherwise it would
6151        // prevent drag events from happening. So we schedule the focus to the
6152        // next animation frame.
6153  
6154        var raf = requestAnimationFrame(function () {
6155          element.removeEventListener("mouseup", focusImmediately, true);
6156          focusIfNeeded(element);
6157        }); // If mouseUp happens before the next animation frame (which is common
6158        // on touch screens or by just tapping the trackpad on MacBook's), we
6159        // cancel the animation frame and immediately focus on the element.
6160  
6161        var focusImmediately = function focusImmediately() {
6162          cancelAnimationFrame(raf);
6163          focusIfNeeded(element);
6164        }; // By listening to the event in the capture phase, we make sure the
6165        // focus event is fired before the onMouseUp and onMouseUpCapture React
6166        // events, which is aligned with the default browser behavior.
6167  
6168  
6169        element.addEventListener("mouseup", focusImmediately, {
6170          once: true,
6171          capture: true
6172        });
6173      }, []);
6174      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
6175        ref: Object(reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__[/* useForkRef */ "a"])(ref, htmlRef),
6176        style: style,
6177        tabIndex: getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex),
6178        disabled: trulyDisabled && supportsDisabled ? true : undefined,
6179        "aria-disabled": options.disabled ? true : undefined,
6180        onClickCapture: onClickCapture,
6181        onMouseDownCapture: onMouseDownCapture,
6182        onMouseDown: onMouseDown,
6183        onKeyPressCapture: onKeyPressCapture
6184      }, htmlProps);
6185    }
6186  });
6187  var Tabbable = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
6188    as: "div",
6189    useHook: useTabbable
6190  });
6191  
6192  
6193  
6194  
6195  /***/ }),
6196  
6197  /***/ "GET3":
6198  /***/ (function(module, exports, __webpack_require__) {
6199  
6200  "use strict";
6201  
6202  
6203  Object.defineProperty(exports, "__esModule", {
6204    value: true
6205  });
6206  exports.PureCustomizableCalendarDay = exports.selectedStyles = exports.lastInRangeStyles = exports.selectedSpanStyles = exports.hoveredSpanStyles = exports.blockedOutOfRangeStyles = exports.blockedCalendarStyles = exports.blockedMinNightsStyles = exports.highlightedCalendarStyles = exports.outsideStyles = exports.defaultStyles = undefined;
6207  
6208  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
6209  
6210  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
6211  
6212  var _object = __webpack_require__("Koq/");
6213  
6214  var _object2 = _interopRequireDefault(_object);
6215  
6216  var _react = __webpack_require__("cDcd");
6217  
6218  var _react2 = _interopRequireDefault(_react);
6219  
6220  var _propTypes = __webpack_require__("17x9");
6221  
6222  var _propTypes2 = _interopRequireDefault(_propTypes);
6223  
6224  var _reactAddonsShallowCompare = __webpack_require__("YZDV");
6225  
6226  var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
6227  
6228  var _reactMomentProptypes = __webpack_require__("XGBb");
6229  
6230  var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
6231  
6232  var _airbnbPropTypes = __webpack_require__("Hsqg");
6233  
6234  var _reactWithStyles = __webpack_require__("TG4+");
6235  
6236  var _moment = __webpack_require__("wy2R");
6237  
6238  var _moment2 = _interopRequireDefault(_moment);
6239  
6240  var _defaultPhrases = __webpack_require__("vV+G");
6241  
6242  var _getPhrasePropTypes = __webpack_require__("yc2e");
6243  
6244  var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
6245  
6246  var _getCalendarDaySettings = __webpack_require__("Ae65");
6247  
6248  var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings);
6249  
6250  var _constants = __webpack_require__("Fv1B");
6251  
6252  var _DefaultTheme = __webpack_require__("xOhs");
6253  
6254  var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme);
6255  
6256  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
6257  
6258  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6259  
6260  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6261  
6262  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
6263  
6264  var color = _DefaultTheme2['default'].reactDates.color;
6265  
6266  
6267  function getStyles(stylesObj, isHovered) {
6268    if (!stylesObj) return null;
6269  
6270    var hover = stylesObj.hover;
6271  
6272    if (isHovered && hover) {
6273      return hover;
6274    }
6275  
6276    return stylesObj;
6277  }
6278  
6279  var DayStyleShape = _propTypes2['default'].shape({
6280    background: _propTypes2['default'].string,
6281    border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]),
6282    color: _propTypes2['default'].string,
6283  
6284    hover: _propTypes2['default'].shape({
6285      background: _propTypes2['default'].string,
6286      border: (0, _airbnbPropTypes.or)([_propTypes2['default'].string, _propTypes2['default'].number]),
6287      color: _propTypes2['default'].string
6288    })
6289  });
6290  
6291  var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
6292    day: _reactMomentProptypes2['default'].momentObj,
6293    daySize: _airbnbPropTypes.nonNegativeInteger,
6294    isOutsideDay: _propTypes2['default'].bool,
6295    modifiers: _propTypes2['default'].instanceOf(Set),
6296    isFocused: _propTypes2['default'].bool,
6297    tabIndex: _propTypes2['default'].oneOf([0, -1]),
6298    onDayClick: _propTypes2['default'].func,
6299    onDayMouseEnter: _propTypes2['default'].func,
6300    onDayMouseLeave: _propTypes2['default'].func,
6301    renderDayContents: _propTypes2['default'].func,
6302    ariaLabelFormat: _propTypes2['default'].string,
6303  
6304    // style overrides
6305    defaultStyles: DayStyleShape,
6306    outsideStyles: DayStyleShape,
6307    todayStyles: DayStyleShape,
6308    firstDayOfWeekStyles: DayStyleShape,
6309    lastDayOfWeekStyles: DayStyleShape,
6310    highlightedCalendarStyles: DayStyleShape,
6311    blockedMinNightsStyles: DayStyleShape,
6312    blockedCalendarStyles: DayStyleShape,
6313    blockedOutOfRangeStyles: DayStyleShape,
6314    hoveredSpanStyles: DayStyleShape,
6315    selectedSpanStyles: DayStyleShape,
6316    lastInRangeStyles: DayStyleShape,
6317    selectedStyles: DayStyleShape,
6318    selectedStartStyles: DayStyleShape,
6319    selectedEndStyles: DayStyleShape,
6320    afterHoveredStartStyles: DayStyleShape,
6321  
6322    // internationalization
6323    phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases))
6324  }));
6325  
6326  var defaultStyles = exports.defaultStyles = {
6327    border: '1px solid ' + String(color.core.borderLight),
6328    color: color.text,
6329    background: color.background,
6330  
6331    hover: {
6332      background: color.core.borderLight,
6333      border: '1px double ' + String(color.core.borderLight),
6334      color: 'inherit'
6335    }
6336  };
6337  
6338  var outsideStyles = exports.outsideStyles = {
6339    background: color.outside.backgroundColor,
6340    border: 0,
6341    color: color.outside.color
6342  };
6343  
6344  var highlightedCalendarStyles = exports.highlightedCalendarStyles = {
6345    background: color.highlighted.backgroundColor,
6346    color: color.highlighted.color,
6347  
6348    hover: {
6349      background: color.highlighted.backgroundColor_hover,
6350      color: color.highlighted.color_active
6351    }
6352  };
6353  
6354  var blockedMinNightsStyles = exports.blockedMinNightsStyles = {
6355    background: color.minimumNights.backgroundColor,
6356    border: '1px solid ' + String(color.minimumNights.borderColor),
6357    color: color.minimumNights.color,
6358  
6359    hover: {
6360      background: color.minimumNights.backgroundColor_hover,
6361      color: color.minimumNights.color_active
6362    }
6363  };
6364  
6365  var blockedCalendarStyles = exports.blockedCalendarStyles = {
6366    background: color.blocked_calendar.backgroundColor,
6367    border: '1px solid ' + String(color.blocked_calendar.borderColor),
6368    color: color.blocked_calendar.color,
6369  
6370    hover: {
6371      background: color.blocked_calendar.backgroundColor_hover,
6372      border: '1px solid ' + String(color.blocked_calendar.borderColor),
6373      color: color.blocked_calendar.color_active
6374    }
6375  };
6376  
6377  var blockedOutOfRangeStyles = exports.blockedOutOfRangeStyles = {
6378    background: color.blocked_out_of_range.backgroundColor,
6379    border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
6380    color: color.blocked_out_of_range.color,
6381  
6382    hover: {
6383      background: color.blocked_out_of_range.backgroundColor_hover,
6384      border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
6385      color: color.blocked_out_of_range.color_active
6386    }
6387  };
6388  
6389  var hoveredSpanStyles = exports.hoveredSpanStyles = {
6390    background: color.hoveredSpan.backgroundColor,
6391    border: '1px solid ' + String(color.hoveredSpan.borderColor),
6392    color: color.hoveredSpan.color,
6393  
6394    hover: {
6395      background: color.hoveredSpan.backgroundColor_hover,
6396      border: '1px solid ' + String(color.hoveredSpan.borderColor),
6397      color: color.hoveredSpan.color_active
6398    }
6399  };
6400  
6401  var selectedSpanStyles = exports.selectedSpanStyles = {
6402    background: color.selectedSpan.backgroundColor,
6403    border: '1px solid ' + String(color.selectedSpan.borderColor),
6404    color: color.selectedSpan.color,
6405  
6406    hover: {
6407      background: color.selectedSpan.backgroundColor_hover,
6408      border: '1px solid ' + String(color.selectedSpan.borderColor),
6409      color: color.selectedSpan.color_active
6410    }
6411  };
6412  
6413  var lastInRangeStyles = exports.lastInRangeStyles = {
6414    borderRight: color.core.primary
6415  };
6416  
6417  var selectedStyles = exports.selectedStyles = {
6418    background: color.selected.backgroundColor,
6419    border: '1px solid ' + String(color.selected.borderColor),
6420    color: color.selected.color,
6421  
6422    hover: {
6423      background: color.selected.backgroundColor_hover,
6424      border: '1px solid ' + String(color.selected.borderColor),
6425      color: color.selected.color_active
6426    }
6427  };
6428  
6429  var defaultProps = {
6430    day: (0, _moment2['default'])(),
6431    daySize: _constants.DAY_SIZE,
6432    isOutsideDay: false,
6433    modifiers: new Set(),
6434    isFocused: false,
6435    tabIndex: -1,
6436    onDayClick: function () {
6437      function onDayClick() {}
6438  
6439      return onDayClick;
6440    }(),
6441    onDayMouseEnter: function () {
6442      function onDayMouseEnter() {}
6443  
6444      return onDayMouseEnter;
6445    }(),
6446    onDayMouseLeave: function () {
6447      function onDayMouseLeave() {}
6448  
6449      return onDayMouseLeave;
6450    }(),
6451  
6452    renderDayContents: null,
6453    ariaLabelFormat: 'dddd, LL',
6454  
6455    // style defaults
6456    defaultStyles: defaultStyles,
6457    outsideStyles: outsideStyles,
6458    todayStyles: {},
6459    highlightedCalendarStyles: highlightedCalendarStyles,
6460    blockedMinNightsStyles: blockedMinNightsStyles,
6461    blockedCalendarStyles: blockedCalendarStyles,
6462    blockedOutOfRangeStyles: blockedOutOfRangeStyles,
6463    hoveredSpanStyles: hoveredSpanStyles,
6464    selectedSpanStyles: selectedSpanStyles,
6465    lastInRangeStyles: lastInRangeStyles,
6466    selectedStyles: selectedStyles,
6467    selectedStartStyles: {},
6468    selectedEndStyles: {},
6469    afterHoveredStartStyles: {},
6470    firstDayOfWeekStyles: {},
6471    lastDayOfWeekStyles: {},
6472  
6473    // internationalization
6474    phrases: _defaultPhrases.CalendarDayPhrases
6475  };
6476  
6477  var CustomizableCalendarDay = function (_React$Component) {
6478    _inherits(CustomizableCalendarDay, _React$Component);
6479  
6480    function CustomizableCalendarDay() {
6481      var _ref;
6482  
6483      _classCallCheck(this, CustomizableCalendarDay);
6484  
6485      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
6486        args[_key] = arguments[_key];
6487      }
6488  
6489      var _this = _possibleConstructorReturn(this, (_ref = CustomizableCalendarDay.__proto__ || Object.getPrototypeOf(CustomizableCalendarDay)).call.apply(_ref, [this].concat(args)));
6490  
6491      _this.state = {
6492        isHovered: false
6493      };
6494  
6495      _this.setButtonRef = _this.setButtonRef.bind(_this);
6496      return _this;
6497    }
6498  
6499    _createClass(CustomizableCalendarDay, [{
6500      key: 'shouldComponentUpdate',
6501      value: function () {
6502        function shouldComponentUpdate(nextProps, nextState) {
6503          return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
6504        }
6505  
6506        return shouldComponentUpdate;
6507      }()
6508    }, {
6509      key: 'componentDidUpdate',
6510      value: function () {
6511        function componentDidUpdate(prevProps) {
6512          var _props = this.props,
6513              isFocused = _props.isFocused,
6514              tabIndex = _props.tabIndex;
6515  
6516          if (tabIndex === 0) {
6517            if (isFocused || tabIndex !== prevProps.tabIndex) {
6518              this.buttonRef.focus();
6519            }
6520          }
6521        }
6522  
6523        return componentDidUpdate;
6524      }()
6525    }, {
6526      key: 'onDayClick',
6527      value: function () {
6528        function onDayClick(day, e) {
6529          var onDayClick = this.props.onDayClick;
6530  
6531          onDayClick(day, e);
6532        }
6533  
6534        return onDayClick;
6535      }()
6536    }, {
6537      key: 'onDayMouseEnter',
6538      value: function () {
6539        function onDayMouseEnter(day, e) {
6540          var onDayMouseEnter = this.props.onDayMouseEnter;
6541  
6542          this.setState({ isHovered: true });
6543          onDayMouseEnter(day, e);
6544        }
6545  
6546        return onDayMouseEnter;
6547      }()
6548    }, {
6549      key: 'onDayMouseLeave',
6550      value: function () {
6551        function onDayMouseLeave(day, e) {
6552          var onDayMouseLeave = this.props.onDayMouseLeave;
6553  
6554          this.setState({ isHovered: false });
6555          onDayMouseLeave(day, e);
6556        }
6557  
6558        return onDayMouseLeave;
6559      }()
6560    }, {
6561      key: 'onKeyDown',
6562      value: function () {
6563        function onKeyDown(day, e) {
6564          var onDayClick = this.props.onDayClick;
6565          var key = e.key;
6566  
6567          if (key === 'Enter' || key === ' ') {
6568            onDayClick(day, e);
6569          }
6570        }
6571  
6572        return onKeyDown;
6573      }()
6574    }, {
6575      key: 'setButtonRef',
6576      value: function () {
6577        function setButtonRef(ref) {
6578          this.buttonRef = ref;
6579        }
6580  
6581        return setButtonRef;
6582      }()
6583    }, {
6584      key: 'render',
6585      value: function () {
6586        function render() {
6587          var _this2 = this;
6588  
6589          var _props2 = this.props,
6590              day = _props2.day,
6591              ariaLabelFormat = _props2.ariaLabelFormat,
6592              daySize = _props2.daySize,
6593              isOutsideDay = _props2.isOutsideDay,
6594              modifiers = _props2.modifiers,
6595              tabIndex = _props2.tabIndex,
6596              renderDayContents = _props2.renderDayContents,
6597              styles = _props2.styles,
6598              phrases = _props2.phrases,
6599              defaultStylesWithHover = _props2.defaultStyles,
6600              outsideStylesWithHover = _props2.outsideStyles,
6601              todayStylesWithHover = _props2.todayStyles,
6602              firstDayOfWeekStylesWithHover = _props2.firstDayOfWeekStyles,
6603              lastDayOfWeekStylesWithHover = _props2.lastDayOfWeekStyles,
6604              highlightedCalendarStylesWithHover = _props2.highlightedCalendarStyles,
6605              blockedMinNightsStylesWithHover = _props2.blockedMinNightsStyles,
6606              blockedCalendarStylesWithHover = _props2.blockedCalendarStyles,
6607              blockedOutOfRangeStylesWithHover = _props2.blockedOutOfRangeStyles,
6608              hoveredSpanStylesWithHover = _props2.hoveredSpanStyles,
6609              selectedSpanStylesWithHover = _props2.selectedSpanStyles,
6610              lastInRangeStylesWithHover = _props2.lastInRangeStyles,
6611              selectedStylesWithHover = _props2.selectedStyles,
6612              selectedStartStylesWithHover = _props2.selectedStartStyles,
6613              selectedEndStylesWithHover = _props2.selectedEndStyles,
6614              afterHoveredStartStylesWithHover = _props2.afterHoveredStartStyles;
6615          var isHovered = this.state.isHovered;
6616  
6617  
6618          if (!day) return _react2['default'].createElement('td', null);
6619  
6620          var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases),
6621              daySizeStyles = _getCalendarDaySettin.daySizeStyles,
6622              useDefaultCursor = _getCalendarDaySettin.useDefaultCursor,
6623              selected = _getCalendarDaySettin.selected,
6624              hoveredSpan = _getCalendarDaySettin.hoveredSpan,
6625              isOutsideRange = _getCalendarDaySettin.isOutsideRange,
6626              ariaLabel = _getCalendarDaySettin.ariaLabel;
6627  
6628          return _react2['default'].createElement(
6629            'td',
6630            _extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, daySizeStyles, getStyles(defaultStylesWithHover, isHovered), isOutsideDay && getStyles(outsideStylesWithHover, isHovered), modifiers.has('today') && getStyles(todayStylesWithHover, isHovered), modifiers.has('first-day-of-week') && getStyles(firstDayOfWeekStylesWithHover, isHovered), modifiers.has('last-day-of-week') && getStyles(lastDayOfWeekStylesWithHover, isHovered), modifiers.has('highlighted-calendar') && getStyles(highlightedCalendarStylesWithHover, isHovered), modifiers.has('blocked-minimum-nights') && getStyles(blockedMinNightsStylesWithHover, isHovered), modifiers.has('blocked-calendar') && getStyles(blockedCalendarStylesWithHover, isHovered), hoveredSpan && getStyles(hoveredSpanStylesWithHover, isHovered), modifiers.has('after-hovered-start') && getStyles(afterHoveredStartStylesWithHover, isHovered), modifiers.has('selected-span') && getStyles(selectedSpanStylesWithHover, isHovered), modifiers.has('last-in-range') && getStyles(lastInRangeStylesWithHover, isHovered), selected && getStyles(selectedStylesWithHover, isHovered), modifiers.has('selected-start') && getStyles(selectedStartStylesWithHover, isHovered), modifiers.has('selected-end') && getStyles(selectedEndStylesWithHover, isHovered), isOutsideRange && getStyles(blockedOutOfRangeStylesWithHover, isHovered)), {
6631              role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role
6632              , ref: this.setButtonRef,
6633              'aria-label': ariaLabel,
6634              onMouseEnter: function () {
6635                function onMouseEnter(e) {
6636                  _this2.onDayMouseEnter(day, e);
6637                }
6638  
6639                return onMouseEnter;
6640              }(),
6641              onMouseLeave: function () {
6642                function onMouseLeave(e) {
6643                  _this2.onDayMouseLeave(day, e);
6644                }
6645  
6646                return onMouseLeave;
6647              }(),
6648              onMouseUp: function () {
6649                function onMouseUp(e) {
6650                  e.currentTarget.blur();
6651                }
6652  
6653                return onMouseUp;
6654              }(),
6655              onClick: function () {
6656                function onClick(e) {
6657                  _this2.onDayClick(day, e);
6658                }
6659  
6660                return onClick;
6661              }(),
6662              onKeyDown: function () {
6663                function onKeyDown(e) {
6664                  _this2.onKeyDown(day, e);
6665                }
6666  
6667                return onKeyDown;
6668              }(),
6669              tabIndex: tabIndex
6670            }),
6671            renderDayContents ? renderDayContents(day, modifiers) : day.format('D')
6672          );
6673        }
6674  
6675        return render;
6676      }()
6677    }]);
6678  
6679    return CustomizableCalendarDay;
6680  }(_react2['default'].Component);
6681  
6682  CustomizableCalendarDay.propTypes = propTypes;
6683  CustomizableCalendarDay.defaultProps = defaultProps;
6684  
6685  exports.PureCustomizableCalendarDay = CustomizableCalendarDay;
6686  exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
6687    var font = _ref2.reactDates.font;
6688    return {
6689      CalendarDay: {
6690        boxSizing: 'border-box',
6691        cursor: 'pointer',
6692        fontSize: font.size,
6693        textAlign: 'center',
6694  
6695        ':active': {
6696          outline: 0
6697        }
6698      },
6699  
6700      CalendarDay__defaultCursor: {
6701        cursor: 'default'
6702      }
6703    };
6704  })(CustomizableCalendarDay);
6705  
6706  /***/ }),
6707  
6708  /***/ "GG7f":
6709  /***/ (function(module, exports, __webpack_require__) {
6710  
6711  // eslint-disable-next-line import/no-unresolved
6712  __webpack_require__("H24B");
6713  
6714  
6715  /***/ }),
6716  
6717  /***/ "GK4x":
6718  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6719  
6720  "use strict";
6721  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
6722  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
6723  /**
6724   * WordPress dependencies
6725   */
6726  
6727  const ToolbarContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
6728  /* harmony default export */ __webpack_exports__["a"] = (ToolbarContext);
6729  
6730  
6731  /***/ }),
6732  
6733  /***/ "GRId":
6734  /***/ (function(module, exports) {
6735  
6736  (function() { module.exports = window["wp"]["element"]; }());
6737  
6738  /***/ }),
6739  
6740  /***/ "Gn0q":
6741  /***/ (function(module, exports, __webpack_require__) {
6742  
6743  "use strict";
6744  
6745  
6746  var define = __webpack_require__("82c2");
6747  var getPolyfill = __webpack_require__("5yQQ");
6748  
6749  module.exports = function shimContains() {
6750      var polyfill = getPolyfill();
6751      if (typeof document !== 'undefined') {
6752          define(
6753              document,
6754              { contains: polyfill },
6755              { contains: function () { return document.contains !== polyfill; } }
6756          );
6757          if (typeof Element !== 'undefined') {
6758              define(
6759                  Element.prototype,
6760                  { contains: polyfill },
6761                  { contains: function () { return Element.prototype.contains !== polyfill; } }
6762              );
6763          }
6764      }
6765      return polyfill;
6766  };
6767  
6768  
6769  /***/ }),
6770  
6771  /***/ "GoyQ":
6772  /***/ (function(module, exports) {
6773  
6774  /**
6775   * Checks if `value` is the
6776   * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6777   * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
6778   *
6779   * @static
6780   * @memberOf _
6781   * @since 0.1.0
6782   * @category Lang
6783   * @param {*} value The value to check.
6784   * @returns {boolean} Returns `true` if `value` is an object, else `false`.
6785   * @example
6786   *
6787   * _.isObject({});
6788   * // => true
6789   *
6790   * _.isObject([1, 2, 3]);
6791   * // => true
6792   *
6793   * _.isObject(_.noop);
6794   * // => true
6795   *
6796   * _.isObject(null);
6797   * // => false
6798   */
6799  function isObject(value) {
6800    var type = typeof value;
6801    return value != null && (type == 'object' || type == 'function');
6802  }
6803  
6804  module.exports = isObject;
6805  
6806  
6807  /***/ }),
6808  
6809  /***/ "H24B":
6810  /***/ (function(module, exports, __webpack_require__) {
6811  
6812  "use strict";
6813  
6814  
6815  var _registerCSSInterfaceWithDefaultTheme = __webpack_require__("TUyu");
6816  
6817  var _registerCSSInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerCSSInterfaceWithDefaultTheme);
6818  
6819  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
6820  
6821  (0, _registerCSSInterfaceWithDefaultTheme2['default'])();
6822  
6823  /***/ }),
6824  
6825  /***/ "HI8u":
6826  /***/ (function(module, exports, __webpack_require__) {
6827  
6828  "use strict";
6829  
6830  
6831  var $isNaN = __webpack_require__("HwJD");
6832  
6833  // http://262.ecma-international.org/5.1/#sec-9.12
6834  
6835  module.exports = function SameValue(x, y) {
6836      if (x === y) { // 0 === -0, but they are not identical.
6837          if (x === 0) { return 1 / x === 1 / y; }
6838          return true;
6839      }
6840      return $isNaN(x) && $isNaN(y);
6841  };
6842  
6843  
6844  /***/ }),
6845  
6846  /***/ "Hsqg":
6847  /***/ (function(module, exports, __webpack_require__) {
6848  
6849  module.exports =  true ? __webpack_require__("DciD") : undefined;
6850  
6851  
6852  
6853  /***/ }),
6854  
6855  /***/ "HwJD":
6856  /***/ (function(module, exports, __webpack_require__) {
6857  
6858  "use strict";
6859  
6860  
6861  module.exports = Number.isNaN || function isNaN(a) {
6862      return a !== a;
6863  };
6864  
6865  
6866  /***/ }),
6867  
6868  /***/ "Hx/O":
6869  /***/ (function(module, exports, __webpack_require__) {
6870  
6871  "use strict";
6872  
6873  
6874  var GetIntrinsic = __webpack_require__("rZ7t");
6875  
6876  var $String = GetIntrinsic('%String%');
6877  var $TypeError = GetIntrinsic('%TypeError%');
6878  
6879  // https://ecma-international.org/ecma-262/6.0/#sec-tostring
6880  
6881  module.exports = function ToString(argument) {
6882      if (typeof argument === 'symbol') {
6883          throw new $TypeError('Cannot convert a Symbol value to a string');
6884      }
6885      return $String(argument);
6886  };
6887  
6888  
6889  /***/ }),
6890  
6891  /***/ "HyUg":
6892  /***/ (function(module, exports, __webpack_require__) {
6893  
6894  "use strict";
6895  
6896  
6897  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
6898  var hasSymbolSham = __webpack_require__("eJkf");
6899  
6900  module.exports = function hasNativeSymbols() {
6901      if (typeof origSymbol !== 'function') { return false; }
6902      if (typeof Symbol !== 'function') { return false; }
6903      if (typeof origSymbol('foo') !== 'symbol') { return false; }
6904      if (typeof Symbol('bar') !== 'symbol') { return false; }
6905  
6906      return hasSymbolSham();
6907  };
6908  
6909  
6910  /***/ }),
6911  
6912  /***/ "I/A+":
6913  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6914  
6915  "use strict";
6916  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
6917  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; });
6918  /* unused harmony export b */
6919  function _defineProperty(obj, key, value) {
6920    if (key in obj) {
6921      Object.defineProperty(obj, key, {
6922        value: value,
6923        enumerable: true,
6924        configurable: true,
6925        writable: true
6926      });
6927    } else {
6928      obj[key] = value;
6929    }
6930  
6931    return obj;
6932  }
6933  
6934  function ownKeys(object, enumerableOnly) {
6935    var keys = Object.keys(object);
6936  
6937    if (Object.getOwnPropertySymbols) {
6938      var symbols = Object.getOwnPropertySymbols(object);
6939      if (enumerableOnly) symbols = symbols.filter(function (sym) {
6940        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
6941      });
6942      keys.push.apply(keys, symbols);
6943    }
6944  
6945    return keys;
6946  }
6947  
6948  function _objectSpread2(target) {
6949    for (var i = 1; i < arguments.length; i++) {
6950      var source = arguments[i] != null ? arguments[i] : {};
6951  
6952      if (i % 2) {
6953        ownKeys(Object(source), true).forEach(function (key) {
6954          _defineProperty(target, key, source[key]);
6955        });
6956      } else if (Object.getOwnPropertyDescriptors) {
6957        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
6958      } else {
6959        ownKeys(Object(source)).forEach(function (key) {
6960          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
6961        });
6962      }
6963    }
6964  
6965    return target;
6966  }
6967  
6968  function _objectWithoutPropertiesLoose(source, excluded) {
6969    if (source == null) return {};
6970    var target = {};
6971    var sourceKeys = Object.keys(source);
6972    var key, i;
6973  
6974    for (i = 0; i < sourceKeys.length; i++) {
6975      key = sourceKeys[i];
6976      if (excluded.indexOf(key) >= 0) continue;
6977      target[key] = source[key];
6978    }
6979  
6980    return target;
6981  }
6982  
6983  function _unsupportedIterableToArray(o, minLen) {
6984    if (!o) return;
6985    if (typeof o === "string") return _arrayLikeToArray(o, minLen);
6986    var n = Object.prototype.toString.call(o).slice(8, -1);
6987    if (n === "Object" && o.constructor) n = o.constructor.name;
6988    if (n === "Map" || n === "Set") return Array.from(o);
6989    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
6990  }
6991  
6992  function _arrayLikeToArray(arr, len) {
6993    if (len == null || len > arr.length) len = arr.length;
6994  
6995    for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
6996  
6997    return arr2;
6998  }
6999  
7000  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
7001    var it;
7002  
7003    if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
7004      if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
7005        if (it) o = it;
7006        var i = 0;
7007        return function () {
7008          if (i >= o.length) return {
7009            done: true
7010          };
7011          return {
7012            done: false,
7013            value: o[i++]
7014          };
7015        };
7016      }
7017  
7018      throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7019    }
7020  
7021    it = o[Symbol.iterator]();
7022    return it.next.bind(it);
7023  }
7024  
7025  
7026  
7027  
7028  /***/ }),
7029  
7030  /***/ "IVEb":
7031  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7032  
7033  "use strict";
7034  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useCreateElement; });
7035  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
7036  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7037  /* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("eUCI");
7038  /* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("RDTF");
7039  
7040  
7041  
7042  
7043  function isRenderProp(children) {
7044    return typeof children === "function";
7045  }
7046  
7047  /**
7048   * Custom hook that will call `children` if it's a function. If
7049   * `useCreateElement` has been passed to the context, it'll be used instead.
7050   *
7051   * @example
7052   * import React from "react";
7053   * import { SystemProvider, useCreateElement } from "reakit-system";
7054   *
7055   * const system = {
7056   *   useCreateElement(type, props, children = props.children) {
7057   *     // very similar to what `useCreateElement` does already
7058   *     if (typeof children === "function") {
7059   *       const { children: _, ...rest } = props;
7060   *       return children(rest);
7061   *     }
7062   *     return React.createElement(type, props, children);
7063   *   },
7064   * };
7065   *
7066   * function Component(props) {
7067   *   return useCreateElement("div", props);
7068   * }
7069   *
7070   * function App() {
7071   *   return (
7072   *     <SystemProvider unstable_system={system}>
7073   *       <Component url="url">{({ url }) => <a href={url}>link</a>}</Component>
7074   *     </SystemProvider>
7075   *   );
7076   * }
7077   */
7078  
7079  var useCreateElement = function useCreateElement(type, props, children) {
7080    if (children === void 0) {
7081      children = props.children;
7082    }
7083  
7084    var context = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_SystemContext_js__WEBPACK_IMPORTED_MODULE_1__[/* SystemContext */ "a"]);
7085  
7086    if (context.useCreateElement) {
7087      return context.useCreateElement(type, props, children);
7088    }
7089  
7090    if (typeof type === "string" && isRenderProp(children)) {
7091      var _ = props.children,
7092          rest = Object(_rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__[/* a */ "b"])(props, ["children"]);
7093  
7094      return children(rest);
7095    }
7096  
7097    return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(type, props, children);
7098  };
7099  
7100  
7101  
7102  
7103  /***/ }),
7104  
7105  /***/ "IdCN":
7106  /***/ (function(module, exports, __webpack_require__) {
7107  
7108  "use strict";
7109  
7110  
7111  var fnToStr = Function.prototype.toString;
7112  var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
7113  var badArrayLike;
7114  var isCallableMarker;
7115  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
7116      try {
7117          badArrayLike = Object.defineProperty({}, 'length', {
7118              get: function () {
7119                  throw isCallableMarker;
7120              }
7121          });
7122          isCallableMarker = {};
7123          // eslint-disable-next-line no-throw-literal
7124          reflectApply(function () { throw 42; }, null, badArrayLike);
7125      } catch (_) {
7126          if (_ !== isCallableMarker) {
7127              reflectApply = null;
7128          }
7129      }
7130  } else {
7131      reflectApply = null;
7132  }
7133  
7134  var constructorRegex = /^\s*class\b/;
7135  var isES6ClassFn = function isES6ClassFunction(value) {
7136      try {
7137          var fnStr = fnToStr.call(value);
7138          return constructorRegex.test(fnStr);
7139      } catch (e) {
7140          return false; // not a function
7141      }
7142  };
7143  
7144  var tryFunctionObject = function tryFunctionToStr(value) {
7145      try {
7146          if (isES6ClassFn(value)) { return false; }
7147          fnToStr.call(value);
7148          return true;
7149      } catch (e) {
7150          return false;
7151      }
7152  };
7153  var toStr = Object.prototype.toString;
7154  var fnClass = '[object Function]';
7155  var genClass = '[object GeneratorFunction]';
7156  var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
7157  
7158  module.exports = reflectApply
7159      ? function isCallable(value) {
7160          if (!value) { return false; }
7161          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
7162          if (typeof value === 'function' && !value.prototype) { return true; }
7163          try {
7164              reflectApply(value, null, badArrayLike);
7165          } catch (e) {
7166              if (e !== isCallableMarker) { return false; }
7167          }
7168          return !isES6ClassFn(value);
7169      }
7170      : function isCallable(value) {
7171          if (!value) { return false; }
7172          if (typeof value !== 'function' && typeof value !== 'object') { return false; }
7173          if (typeof value === 'function' && !value.prototype) { return true; }
7174          if (hasToStringTag) { return tryFunctionObject(value); }
7175          if (isES6ClassFn(value)) { return false; }
7176          var strClass = toStr.call(value);
7177          return strClass === fnClass || strClass === genClass;
7178      };
7179  
7180  
7181  /***/ }),
7182  
7183  /***/ "IgE5":
7184  /***/ (function(module, exports, __webpack_require__) {
7185  
7186  "use strict";
7187  
7188  
7189  Object.defineProperty(exports, "__esModule", {
7190    value: true
7191  });
7192  exports['default'] = isDayVisible;
7193  
7194  var _isBeforeDay = __webpack_require__("h6xH");
7195  
7196  var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);
7197  
7198  var _isAfterDay = __webpack_require__("Nho6");
7199  
7200  var _isAfterDay2 = _interopRequireDefault(_isAfterDay);
7201  
7202  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
7203  
7204  function isDayVisible(day, month, numberOfMonths, enableOutsideDays) {
7205    var firstDayOfFirstMonth = month.clone().startOf('month');
7206    if (enableOutsideDays) firstDayOfFirstMonth = firstDayOfFirstMonth.startOf('week');
7207    if ((0, _isBeforeDay2['default'])(day, firstDayOfFirstMonth)) return false;
7208  
7209    var lastDayOfLastMonth = month.clone().add(numberOfMonths - 1, 'months').endOf('month');
7210    if (enableOutsideDays) lastDayOfLastMonth = lastDayOfLastMonth.endOf('week');
7211    return !(0, _isAfterDay2['default'])(day, lastDayOfLastMonth);
7212  }
7213  
7214  /***/ }),
7215  
7216  /***/ "In1I":
7217  /***/ (function(module, exports, __webpack_require__) {
7218  
7219  "use strict";
7220  
7221  
7222  var GetIntrinsic = __webpack_require__("rZ7t");
7223  
7224  var $abs = GetIntrinsic('%Math.abs%');
7225  
7226  // http://262.ecma-international.org/5.1/#sec-5.2
7227  
7228  module.exports = function abs(x) {
7229      return $abs(x);
7230  };
7231  
7232  
7233  /***/ }),
7234  
7235  /***/ "J7JS":
7236  /***/ (function(module, exports, __webpack_require__) {
7237  
7238  "use strict";
7239  
7240  
7241  Object.defineProperty(exports, "__esModule", {
7242    value: true
7243  });
7244  
7245  var _propTypes = __webpack_require__("17x9");
7246  
7247  var _propTypes2 = _interopRequireDefault(_propTypes);
7248  
7249  var _airbnbPropTypes = __webpack_require__("Hsqg");
7250  
7251  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
7252  
7253  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7254  
7255  function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
7256  
7257  exports['default'] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceOf(Set), function () {
7258    function modifiers(props, propName) {
7259      for (var _len = arguments.length, rest = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7260        rest[_key - 2] = arguments[_key];
7261      }
7262  
7263      var propValue = props[propName];
7264  
7265      var firstError = void 0;
7266      [].concat(_toConsumableArray(propValue)).some(function (v, i) {
7267        var _PropTypes$string;
7268  
7269        var fakePropName = String(propName) + ': index ' + String(i);
7270        firstError = (_PropTypes$string = _propTypes2['default'].string).isRequired.apply(_PropTypes$string, [_defineProperty({}, fakePropName, v), fakePropName].concat(rest));
7271        return firstError != null;
7272      });
7273      return firstError == null ? null : firstError;
7274    }
7275  
7276    return modifiers;
7277  }()], 'Modifiers (Set of Strings)');
7278  
7279  /***/ }),
7280  
7281  /***/ "JLmN":
7282  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7283  
7284  "use strict";
7285  /* unused harmony export Clickable */
7286  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useClickable; });
7287  /* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
7288  /* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
7289  /* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
7290  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
7291  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
7292  /* harmony import */ var reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("71Og");
7293  /* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("KA1K");
7294  /* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("eNtd");
7295  /* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("k2cL");
7296  /* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("G3V0");
7297  
7298  
7299  
7300  
7301  
7302  
7303  
7304  
7305  
7306  
7307  
7308  
7309  
7310  
7311  
7312  
7313  
7314  
7315  // Automatically generated
7316  var CLICKABLE_KEYS = ["unstable_clickOnEnter", "unstable_clickOnSpace"];
7317  
7318  function isNativeClick(event) {
7319    var element = event.currentTarget;
7320    if (!event.isTrusted) return false; // istanbul ignore next: can't test trusted events yet
7321  
7322    return Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__[/* isButton */ "a"])(element) || element.tagName === "INPUT" || element.tagName === "TEXTAREA" || element.tagName === "A" || element.tagName === "SELECT";
7323  }
7324  
7325  var useClickable = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
7326    name: "Clickable",
7327    compose: _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__[/* useTabbable */ "a"],
7328    keys: CLICKABLE_KEYS,
7329    useOptions: function useOptions(_ref) {
7330      var _ref$unstable_clickOn = _ref.unstable_clickOnEnter,
7331          unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn,
7332          _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace,
7333          unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2,
7334          options = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]);
7335  
7336      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
7337        unstable_clickOnEnter: unstable_clickOnEnter,
7338        unstable_clickOnSpace: unstable_clickOnSpace
7339      }, options);
7340    },
7341    useProps: function useProps(options, _ref2) {
7342      var htmlOnKeyDown = _ref2.onKeyDown,
7343          htmlOnKeyUp = _ref2.onKeyUp,
7344          htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref2, ["onKeyDown", "onKeyUp"]);
7345  
7346      var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(false),
7347          active = _React$useState[0],
7348          setActive = _React$useState[1];
7349  
7350      var onKeyDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyDown);
7351      var onKeyUpRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyUp);
7352      var onKeyDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
7353        var _onKeyDownRef$current;
7354  
7355        (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
7356        if (event.defaultPrevented) return;
7357        if (options.disabled) return;
7358        if (event.metaKey) return;
7359        if (!Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__[/* isSelfTarget */ "a"])(event)) return;
7360        var isEnter = options.unstable_clickOnEnter && event.key === "Enter";
7361        var isSpace = options.unstable_clickOnSpace && event.key === " ";
7362  
7363        if (isEnter || isSpace) {
7364          if (isNativeClick(event)) return;
7365          event.preventDefault();
7366  
7367          if (isEnter) {
7368            event.currentTarget.click();
7369          } else if (isSpace) {
7370            setActive(true);
7371          }
7372        }
7373      }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace]);
7374      var onKeyUp = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
7375        var _onKeyUpRef$current;
7376  
7377        (_onKeyUpRef$current = onKeyUpRef.current) === null || _onKeyUpRef$current === void 0 ? void 0 : _onKeyUpRef$current.call(onKeyUpRef, event);
7378        if (event.defaultPrevented) return;
7379        if (options.disabled) return;
7380        if (event.metaKey) return;
7381        var isSpace = options.unstable_clickOnSpace && event.key === " ";
7382  
7383        if (active && isSpace) {
7384          setActive(false);
7385          event.currentTarget.click();
7386        }
7387      }, [options.disabled, options.unstable_clickOnSpace, active]);
7388      return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
7389        "data-active": active || undefined,
7390        onKeyDown: onKeyDown,
7391        onKeyUp: onKeyUp
7392      }, htmlProps);
7393    }
7394  });
7395  var Clickable = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
7396    as: "button",
7397    memo: true,
7398    useHook: useClickable
7399  });
7400  
7401  
7402  
7403  
7404  /***/ }),
7405  
7406  /***/ "JYkG":
7407  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7408  
7409  "use strict";
7410  /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
7411  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
7412  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Z23Y");
7413  /* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_1__);
7414  /**
7415   * WordPress dependencies
7416   */
7417  
7418  
7419  const SlotFillContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])({
7420    slots: {},
7421    fills: {},
7422    registerSlot: () => {
7423      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default()('Components must be wrapped within `SlotFillProvider`. ' + 'See https://developer.wordpress.org/block-editor/components/slot-fill/') : void 0;
7424    },
7425    updateSlot: () => {},
7426    unregisterSlot: () => {},
7427    registerFill: () => {},
7428    unregisterFill: () => {}
7429  });
7430  /* harmony default export */ __webpack_exports__["a"] = (SlotFillContext);
7431  
7432  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
7433  
7434  /***/ }),
7435  
7436  /***/ "Jt44":
7437  /***/ (function(module, exports, __webpack_require__) {
7438  
7439  "use strict";
7440  
7441  
7442  // TODO: remove, semver-major
7443  
7444  module.exports = __webpack_require__("rZ7t");
7445  
7446  
7447  /***/ }),
7448  
7449  /***/ "Jx1U":
7450  /***/ (function(module, exports) {
7451  
7452  // Copyright (c) 2014 Rafael Caricio. All rights reserved.
7453  // Use of this source code is governed by a BSD-style license that can be
7454  // found in the LICENSE file.
7455  
7456  var GradientParser = {};
7457  
7458  GradientParser.parse = (function() {
7459  
7460    var tokens = {
7461      linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,
7462      repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,
7463      radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,
7464      repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,
7465      sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,
7466      extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
7467      positionKeywords: /^(left|center|right|top|bottom)/i,
7468      pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
7469      percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
7470      emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
7471      angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
7472      startCall: /^\(/,
7473      endCall: /^\)/,
7474      comma: /^,/,
7475      hexColor: /^\#([0-9a-fA-F]+)/,
7476      literalColor: /^([a-zA-Z]+)/,
7477      rgbColor: /^rgb/i,
7478      rgbaColor: /^rgba/i,
7479      number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
7480    };
7481  
7482    var input = '';
7483  
7484    function error(msg) {
7485      var err = new Error(input + ': ' + msg);
7486      err.source = input;
7487      throw err;
7488    }
7489  
7490    function getAST() {
7491      var ast = matchListDefinitions();
7492  
7493      if (input.length > 0) {
7494        error('Invalid input not EOF');
7495      }
7496  
7497      return ast;
7498    }
7499  
7500    function matchListDefinitions() {
7501      return matchListing(matchDefinition);
7502    }
7503  
7504    function matchDefinition() {
7505      return matchGradient(
7506              'linear-gradient',
7507              tokens.linearGradient,
7508              matchLinearOrientation) ||
7509  
7510            matchGradient(
7511              'repeating-linear-gradient',
7512              tokens.repeatingLinearGradient,
7513              matchLinearOrientation) ||
7514  
7515            matchGradient(
7516              'radial-gradient',
7517              tokens.radialGradient,
7518              matchListRadialOrientations) ||
7519  
7520            matchGradient(
7521              'repeating-radial-gradient',
7522              tokens.repeatingRadialGradient,
7523              matchListRadialOrientations);
7524    }
7525  
7526    function matchGradient(gradientType, pattern, orientationMatcher) {
7527      return matchCall(pattern, function(captures) {
7528  
7529        var orientation = orientationMatcher();
7530        if (orientation) {
7531          if (!scan(tokens.comma)) {
7532            error('Missing comma before color stops');
7533          }
7534        }
7535  
7536        return {
7537          type: gradientType,
7538          orientation: orientation,
7539          colorStops: matchListing(matchColorStop)
7540        };
7541      });
7542    }
7543  
7544    function matchCall(pattern, callback) {
7545      var captures = scan(pattern);
7546  
7547      if (captures) {
7548        if (!scan(tokens.startCall)) {
7549          error('Missing (');
7550        }
7551  
7552        result = callback(captures);
7553  
7554        if (!scan(tokens.endCall)) {
7555          error('Missing )');
7556        }
7557  
7558        return result;
7559      }
7560    }
7561  
7562    function matchLinearOrientation() {
7563      return matchSideOrCorner() ||
7564        matchAngle();
7565    }
7566  
7567    function matchSideOrCorner() {
7568      return match('directional', tokens.sideOrCorner, 1);
7569    }
7570  
7571    function matchAngle() {
7572      return match('angular', tokens.angleValue, 1);
7573    }
7574  
7575    function matchListRadialOrientations() {
7576      var radialOrientations,
7577          radialOrientation = matchRadialOrientation(),
7578          lookaheadCache;
7579  
7580      if (radialOrientation) {
7581        radialOrientations = [];
7582        radialOrientations.push(radialOrientation);
7583  
7584        lookaheadCache = input;
7585        if (scan(tokens.comma)) {
7586          radialOrientation = matchRadialOrientation();
7587          if (radialOrientation) {
7588            radialOrientations.push(radialOrientation);
7589          } else {
7590            input = lookaheadCache;
7591          }
7592        }
7593      }
7594  
7595      return radialOrientations;
7596    }
7597  
7598    function matchRadialOrientation() {
7599      var radialType = matchCircle() ||
7600        matchEllipse();
7601  
7602      if (radialType) {
7603        radialType.at = matchAtPosition();
7604      } else {
7605        var defaultPosition = matchPositioning();
7606        if (defaultPosition) {
7607          radialType = {
7608            type: 'default-radial',
7609            at: defaultPosition
7610          };
7611        }
7612      }
7613  
7614      return radialType;
7615    }
7616  
7617    function matchCircle() {
7618      var circle = match('shape', /^(circle)/i, 0);
7619  
7620      if (circle) {
7621        circle.style = matchLength() || matchExtentKeyword();
7622      }
7623  
7624      return circle;
7625    }
7626  
7627    function matchEllipse() {
7628      var ellipse = match('shape', /^(ellipse)/i, 0);
7629  
7630      if (ellipse) {
7631        ellipse.style =  matchDistance() || matchExtentKeyword();
7632      }
7633  
7634      return ellipse;
7635    }
7636  
7637    function matchExtentKeyword() {
7638      return match('extent-keyword', tokens.extentKeywords, 1);
7639    }
7640  
7641    function matchAtPosition() {
7642      if (match('position', /^at/, 0)) {
7643        var positioning = matchPositioning();
7644  
7645        if (!positioning) {
7646          error('Missing positioning value');
7647        }
7648  
7649        return positioning;
7650      }
7651    }
7652  
7653    function matchPositioning() {
7654      var location = matchCoordinates();
7655  
7656      if (location.x || location.y) {
7657        return {
7658          type: 'position',
7659          value: location
7660        };
7661      }
7662    }
7663  
7664    function matchCoordinates() {
7665      return {
7666        x: matchDistance(),
7667        y: matchDistance()
7668      };
7669    }
7670  
7671    function matchListing(matcher) {
7672      var captures = matcher(),
7673        result = [];
7674  
7675      if (captures) {
7676        result.push(captures);
7677        while (scan(tokens.comma)) {
7678          captures = matcher();
7679          if (captures) {
7680            result.push(captures);
7681          } else {
7682            error('One extra comma');
7683          }
7684        }
7685      }
7686  
7687      return result;
7688    }
7689  
7690    function matchColorStop() {
7691      var color = matchColor();
7692  
7693      if (!color) {
7694        error('Expected color definition');
7695      }
7696  
7697      color.length = matchDistance();
7698      return color;
7699    }
7700  
7701    function matchColor() {
7702      return matchHexColor() ||
7703        matchRGBAColor() ||
7704        matchRGBColor() ||
7705        matchLiteralColor();
7706    }
7707  
7708    function matchLiteralColor() {
7709      return match('literal', tokens.literalColor, 0);
7710    }
7711  
7712    function matchHexColor() {
7713      return match('hex', tokens.hexColor, 1);
7714    }
7715  
7716    function matchRGBColor() {
7717      return matchCall(tokens.rgbColor, function() {
7718        return  {
7719          type: 'rgb',
7720          value: matchListing(matchNumber)
7721        };
7722      });
7723    }
7724  
7725    function matchRGBAColor() {
7726      return matchCall(tokens.rgbaColor, function() {
7727        return  {
7728          type: 'rgba',
7729          value: matchListing(matchNumber)
7730        };
7731      });
7732    }
7733  
7734    function matchNumber() {
7735      return scan(tokens.number)[1];
7736    }
7737  
7738    function matchDistance() {
7739      return match('%', tokens.percentageValue, 1) ||
7740        matchPositionKeyword() ||
7741        matchLength();
7742    }
7743  
7744    function matchPositionKeyword() {
7745      return match('position-keyword', tokens.positionKeywords, 1);
7746    }
7747  
7748    function matchLength() {
7749      return match('px', tokens.pixelValue, 1) ||
7750        match('em', tokens.emValue, 1);
7751    }
7752  
7753    function match(type, pattern, captureIndex) {
7754      var captures = scan(pattern);
7755      if (captures) {
7756        return {
7757          type: type,
7758          value: captures[captureIndex]
7759        };
7760      }
7761    }
7762  
7763    function scan(regexp) {
7764      var captures,
7765          blankCaptures;
7766  
7767      blankCaptures = /^[\n\r\t\s]+/.exec(input);
7768      if (blankCaptures) {
7769          consume(blankCaptures[0].length);
7770      }
7771  
7772      captures = regexp.exec(input);
7773      if (captures) {
7774          consume(captures[0].length);
7775      }
7776  
7777      return captures;
7778    }
7779  
7780    function consume(size) {
7781      input = input.substr(size);
7782    }
7783  
7784    return function(code) {
7785      input = code.toString();
7786      return getAST();
7787    };
7788  })();
7789  
7790  exports.parse = (GradientParser || {}).parse;
7791  
7792  
7793  /***/ }),
7794  
7795  /***/ "K+tz":
7796  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7797  
7798  "use strict";
7799  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
7800  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
7801  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
7802  /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
7803  
7804  
7805  /**
7806   * WordPress dependencies
7807   */
7808  
7809  const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
7810    xmlns: "http://www.w3.org/2000/svg",
7811    viewBox: "0 0 24 24"
7812  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
7813    d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
7814  }));
7815  /* harmony default export */ __webpack_exports__["a"] = (external);
7816  
7817  
7818  /***/ }),
7819  
7820  /***/ "K9lf":
7821  /***/ (function(module, exports) {
7822  
7823  (function() { module.exports = window["wp"]["compose"]; }());
7824  
7825  /***/ }),
7826  
7827  /***/ "KA1K":
7828  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7829  
7830  "use strict";
7831  
7832  // UNUSED EXPORTS: warning, useWarning
7833  
7834  // EXTERNAL MODULE: ./node_modules/reakit-warning/es/warning.js
7835  var warning = __webpack_require__("WnOg");
7836  
7837  // EXTERNAL MODULE: external "React"
7838  var external_React_ = __webpack_require__("cDcd");
7839  
7840  // EXTERNAL MODULE: ./node_modules/reakit-utils/es/isObject.js
7841  var isObject = __webpack_require__("Ptb8");
7842  
7843  // CONCATENATED MODULE: ./node_modules/reakit-warning/es/useWarning.js
7844  
7845  
7846  
7847  
7848  
7849  function isRefObject(ref) {
7850    return Object(isObject["a" /* isObject */])(ref) && "current" in ref;
7851  }
7852  /**
7853   * Logs `messages` to the console using `console.warn` based on a `condition`.
7854   * This should be used inside components.
7855   */
7856  
7857  
7858  function useWarning(condition) {
7859    for (var _len = arguments.length, messages = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7860      messages[_key - 1] = arguments[_key];
7861    }
7862  
7863    if (false) {}
7864  }
7865  
7866  
7867  
7868  // CONCATENATED MODULE: ./node_modules/reakit-warning/es/index.js
7869  
7870  
7871  
7872  
7873  
7874  
7875  
7876  /***/ }),
7877  
7878  /***/ "KCH1":
7879  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7880  
7881  "use strict";
7882  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unstable_IdContext; });
7883  /* unused harmony export unstable_IdProvider */
7884  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
7885  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
7886  
7887  
7888  var defaultPrefix = "id";
7889  function generateRandomString(prefix) {
7890    if (prefix === void 0) {
7891      prefix = defaultPrefix;
7892    }
7893  
7894    return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6);
7895  }
7896  
7897  var unstable_IdContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])(generateRandomString);
7898  function unstable_IdProvider(_ref) {
7899    var children = _ref.children,
7900        _ref$prefix = _ref.prefix,
7901        prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix;
7902    var count = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(0);
7903    var generateId = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (localPrefix) {
7904      if (localPrefix === void 0) {
7905        localPrefix = prefix;
7906      }
7907  
7908      return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current;
7909    }, [prefix]);
7910    return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(unstable_IdContext.Provider, {
7911      value: generateId
7912    }, children);
7913  }
7914  
7915  
7916  
7917  
7918  /***/ }),
7919  
7920  /***/ "KfNM":
7921  /***/ (function(module, exports) {
7922  
7923  /** Used for built-in method references. */
7924  var objectProto = Object.prototype;
7925  
7926  /**
7927   * Used to resolve the
7928   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7929   * of values.
7930   */
7931  var nativeObjectToString = objectProto.toString;
7932  
7933  /**
7934   * Converts `value` to a string using `Object.prototype.toString`.
7935   *
7936   * @private
7937   * @param {*} value The value to convert.
7938   * @returns {string} Returns the converted string.
7939   */
7940  function objectToString(value) {
7941    return nativeObjectToString.call(value);
7942  }
7943  
7944  module.exports = objectToString;
7945  
7946  
7947  /***/ }),
7948  
7949  /***/ "Koq/":
7950  /***/ (function(module, exports, __webpack_require__) {
7951  
7952  "use strict";
7953  
7954  
7955  var defineProperties = __webpack_require__("82c2");
7956  var callBind = __webpack_require__("PrET");
7957  
7958  var implementation = __webpack_require__("FufO");
7959  var getPolyfill = __webpack_require__("yLpt");
7960  var shim = __webpack_require__("8R9v");
7961  
7962  var polyfill = callBind.apply(getPolyfill());
7963  // eslint-disable-next-line no-unused-vars
7964  var bound = function assign(target, source1) {
7965      return polyfill(Object, arguments);
7966  };
7967  
7968  defineProperties(bound, {
7969      getPolyfill: getPolyfill,
7970      implementation: implementation,
7971      shim: shim
7972  });
7973  
7974  module.exports = bound;
7975  
7976  
7977  /***/ }),
7978  
7979  /***/ "Kz5y":
7980  /***/ (function(module, exports, __webpack_require__) {
7981  
7982  var freeGlobal = __webpack_require__("WFqU");
7983  
7984  /** Detect free variable `self`. */
7985  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
7986  
7987  /** Used as a reference to the global object. */
7988  var root = freeGlobal || freeSelf || Function('return this')();
7989  
7990  module.exports = root;
7991  
7992  
7993  /***/ }),
7994  
7995  /***/ "L7Wv":
7996  /***/ (function(module, exports, __webpack_require__) {
7997  
7998  "use strict";
7999  
8000  
8001  var toPrimitive = __webpack_require__("WZeS");
8002  
8003  // https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
8004  
8005  module.exports = function ToPrimitive(input) {
8006      if (arguments.length > 1) {
8007          return toPrimitive(input, arguments[1]);
8008      }
8009      return toPrimitive(input);
8010  };
8011  
8012  
8013  /***/ }),
8014  
8015  /***/ "L8Kx":
8016  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8017  
8018  "use strict";
8019  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getAnimateClassName; });
8020  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Animate; });
8021  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("TSYQ");
8022  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
8023  /**
8024   * External dependencies
8025   */
8026  
8027  /**
8028   * @typedef {'top' | 'top left' | 'top right' | 'middle' | 'middle left' | 'middle right' | 'bottom' | 'bottom left' | 'bottom right'} AppearOrigin
8029   * @typedef {'left' | 'right'} SlideInOrigin
8030   * @typedef {{ type: 'appear'; origin?: AppearOrigin }} AppearOptions
8031   * @typedef {{ type: 'slide-in'; origin?: SlideInOrigin }} SlideInOptions
8032   * @typedef {{ type: 'loading'; }} LoadingOptions
8033   * @typedef {AppearOptions | SlideInOptions | LoadingOptions} GetAnimateOptions
8034   */
8035  
8036  /* eslint-disable jsdoc/valid-types */
8037  
8038  /**
8039   * @param {GetAnimateOptions['type']} type The animation type
8040   * @return {'top' | 'left'} Default origin
8041   */
8042  
8043  function getDefaultOrigin(type) {
8044    return type === 'appear' ? 'top' : 'left';
8045  }
8046  /* eslint-enable jsdoc/valid-types */
8047  
8048  /**
8049   * @param {GetAnimateOptions} options
8050   *
8051   * @return {string | void} ClassName that applies the animations
8052   */
8053  
8054  
8055  function getAnimateClassName(options) {
8056    if (options.type === 'loading') {
8057      return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__loading');
8058    }
8059  
8060    const {
8061      type,
8062      origin = getDefaultOrigin(type)
8063    } = options;
8064  
8065    if (type === 'appear') {
8066      const [yAxis, xAxis = 'center'] = origin.split(' ');
8067      return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__appear', {
8068        ['is-from-' + xAxis]: xAxis !== 'center',
8069        ['is-from-' + yAxis]: yAxis !== 'middle'
8070      });
8071    }
8072  
8073    if (type === 'slide-in') {
8074      return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__slide-in', 'is-from-' + origin);
8075    }
8076  } // @ts-ignore Reason: Planned for deprecation
8077  
8078  function Animate({
8079    type,
8080    options = {},
8081    children
8082  }) {
8083    return children({
8084      className: getAnimateClassName({
8085        type,
8086        ...options
8087      })
8088    });
8089  }
8090  
8091  
8092  /***/ }),
8093  
8094  /***/ "LTAC":
8095  /***/ (function(module, exports) {
8096  
8097  Object.defineProperty(exports, "__esModule", {
8098    value: true
8099  });
8100  exports['default'] = isTouchDevice;
8101  function isTouchDevice() {
8102    return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));
8103  }
8104  module.exports = exports['default'];
8105  
8106  /***/ }),
8107  
8108  /***/ "Lxf3":
8109  /***/ (function(module, exports, __webpack_require__) {
8110  
8111  "use strict";
8112  
8113  
8114  var toStr = Object.prototype.toString;
8115  
8116  var isPrimitive = __webpack_require__("Teho");
8117  
8118  var isCallable = __webpack_require__("IdCN");
8119  
8120  // http://ecma-international.org/ecma-262/5.1/#sec-8.12.8
8121  var ES5internalSlots = {
8122      '[[DefaultValue]]': function (O) {
8123          var actualHint;
8124          if (arguments.length > 1) {
8125              actualHint = arguments[1];
8126          } else {
8127              actualHint = toStr.call(O) === '[object Date]' ? String : Number;
8128          }
8129  
8130          if (actualHint === String || actualHint === Number) {
8131              var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'];
8132              var value, i;
8133              for (i = 0; i < methods.length; ++i) {
8134                  if (isCallable(O[methods[i]])) {
8135                      value = O[methods[i]]();
8136                      if (isPrimitive(value)) {
8137                          return value;
8138                      }
8139                  }
8140              }
8141              throw new TypeError('No default value');
8142          }
8143          throw new TypeError('invalid [[DefaultValue]] hint supplied');
8144      }
8145  };
8146  
8147  // http://ecma-international.org/ecma-262/5.1/#sec-9.1
8148  module.exports = function ToPrimitive(input) {
8149      if (isPrimitive(input)) {
8150          return input;
8151      }
8152      if (arguments.length > 1) {
8153          return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]);
8154      }
8155      return ES5internalSlots['[[DefaultValue]]'](input);
8156  };
8157  
8158  
8159  /***/ }),
8160  
8161  /***/ "MiSq":
8162  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8163  
8164  "use strict";
8165  
8166  // EXPORTS
8167  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ serialize_browser_esm_serializeStyles; });
8168  
8169  // CONCATENATED MODULE: ./node_modules/@emotion/hash/dist/hash.browser.esm.js
8170  /* eslint-disable */
8171  // Inspired by https://github.com/garycourt/murmurhash-js
8172  // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
8173  function murmur2(str) {
8174    // 'm' and 'r' are mixing constants generated offline.
8175    // They're not really 'magic', they just happen to work well.
8176    // const m = 0x5bd1e995;
8177    // const r = 24;
8178    // Initialize the hash
8179    var h = 0; // Mix 4 bytes at a time into the hash
8180  
8181    var k,
8182        i = 0,
8183        len = str.length;
8184  
8185    for (; len >= 4; ++i, len -= 4) {
8186      k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
8187      k =
8188      /* Math.imul(k, m): */
8189      (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
8190      k ^=
8191      /* k >>> r: */
8192      k >>> 24;
8193      h =
8194      /* Math.imul(k, m): */
8195      (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
8196      /* Math.imul(h, m): */
8197      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
8198    } // Handle the last few bytes of the input array
8199  
8200  
8201    switch (len) {
8202      case 3:
8203        h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
8204  
8205      case 2:
8206        h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
8207  
8208      case 1:
8209        h ^= str.charCodeAt(i) & 0xff;
8210        h =
8211        /* Math.imul(h, m): */
8212        (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
8213    } // Do a few final mixes of the hash to ensure the last few
8214    // bytes are well-incorporated.
8215  
8216  
8217    h ^= h >>> 13;
8218    h =
8219    /* Math.imul(h, m): */
8220    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
8221    return ((h ^ h >>> 15) >>> 0).toString(36);
8222  }
8223  
8224  /* harmony default export */ var hash_browser_esm = (murmur2);
8225  
8226  // CONCATENATED MODULE: ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js
8227  var unitlessKeys = {
8228    animationIterationCount: 1,
8229    borderImageOutset: 1,
8230    borderImageSlice: 1,
8231    borderImageWidth: 1,
8232    boxFlex: 1,
8233    boxFlexGroup: 1,
8234    boxOrdinalGroup: 1,
8235    columnCount: 1,
8236    columns: 1,
8237    flex: 1,
8238    flexGrow: 1,
8239    flexPositive: 1,
8240    flexShrink: 1,
8241    flexNegative: 1,
8242    flexOrder: 1,
8243    gridRow: 1,
8244    gridRowEnd: 1,
8245    gridRowSpan: 1,
8246    gridRowStart: 1,
8247    gridColumn: 1,
8248    gridColumnEnd: 1,
8249    gridColumnSpan: 1,
8250    gridColumnStart: 1,
8251    msGridRow: 1,
8252    msGridRowSpan: 1,
8253    msGridColumn: 1,
8254    msGridColumnSpan: 1,
8255    fontWeight: 1,
8256    lineHeight: 1,
8257    opacity: 1,
8258    order: 1,
8259    orphans: 1,
8260    tabSize: 1,
8261    widows: 1,
8262    zIndex: 1,
8263    zoom: 1,
8264    WebkitLineClamp: 1,
8265    // SVG-related properties
8266    fillOpacity: 1,
8267    floodOpacity: 1,
8268    stopOpacity: 1,
8269    strokeDasharray: 1,
8270    strokeDashoffset: 1,
8271    strokeMiterlimit: 1,
8272    strokeOpacity: 1,
8273    strokeWidth: 1
8274  };
8275  
8276  /* harmony default export */ var unitless_browser_esm = (unitlessKeys);
8277  
8278  // EXTERNAL MODULE: ./node_modules/@emotion/memoize/dist/memoize.browser.esm.js
8279  var memoize_browser_esm = __webpack_require__("4qRI");
8280  
8281  // CONCATENATED MODULE: ./node_modules/@emotion/serialize/dist/serialize.browser.esm.js
8282  
8283  
8284  
8285  
8286  var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
8287  var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
8288  var hyphenateRegex = /[A-Z]|^ms/g;
8289  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
8290  
8291  var isCustomProperty = function isCustomProperty(property) {
8292    return property.charCodeAt(1) === 45;
8293  };
8294  
8295  var isProcessableValue = function isProcessableValue(value) {
8296    return value != null && typeof value !== 'boolean';
8297  };
8298  
8299  var processStyleName = Object(memoize_browser_esm["a" /* default */])(function (styleName) {
8300    return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
8301  });
8302  
8303  var serialize_browser_esm_processStyleValue = function processStyleValue(key, value) {
8304    switch (key) {
8305      case 'animation':
8306      case 'animationName':
8307        {
8308          if (typeof value === 'string') {
8309            return value.replace(animationRegex, function (match, p1, p2) {
8310              cursor = {
8311                name: p1,
8312                styles: p2,
8313                next: cursor
8314              };
8315              return p1;
8316            });
8317          }
8318        }
8319    }
8320  
8321    if (unitless_browser_esm[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
8322      return value + 'px';
8323    }
8324  
8325    return value;
8326  };
8327  
8328  if (false) { var hyphenatedCache, hyphenPattern, msPattern, oldProcessStyleValue, contentValues, contentValuePattern; }
8329  
8330  var shouldWarnAboutInterpolatingClassNameFromCss = true;
8331  
8332  function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) {
8333    if (interpolation == null) {
8334      return '';
8335    }
8336  
8337    if (interpolation.__emotion_styles !== undefined) {
8338      if (false) {}
8339  
8340      return interpolation;
8341    }
8342  
8343    switch (typeof interpolation) {
8344      case 'boolean':
8345        {
8346          return '';
8347        }
8348  
8349      case 'object':
8350        {
8351          if (interpolation.anim === 1) {
8352            cursor = {
8353              name: interpolation.name,
8354              styles: interpolation.styles,
8355              next: cursor
8356            };
8357            return interpolation.name;
8358          }
8359  
8360          if (interpolation.styles !== undefined) {
8361            var next = interpolation.next;
8362  
8363            if (next !== undefined) {
8364              // not the most efficient thing ever but this is a pretty rare case
8365              // and there will be very few iterations of this generally
8366              while (next !== undefined) {
8367                cursor = {
8368                  name: next.name,
8369                  styles: next.styles,
8370                  next: cursor
8371                };
8372                next = next.next;
8373              }
8374            }
8375  
8376            var styles = interpolation.styles + ";";
8377  
8378            if (false) {}
8379  
8380            return styles;
8381          }
8382  
8383          return createStringFromObject(mergedProps, registered, interpolation);
8384        }
8385  
8386      case 'function':
8387        {
8388          if (mergedProps !== undefined) {
8389            var previousCursor = cursor;
8390            var result = interpolation(mergedProps);
8391            cursor = previousCursor;
8392            return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation);
8393          } else if (false) {}
8394  
8395          break;
8396        }
8397  
8398      case 'string':
8399        if (false) { var replaced, matched; }
8400  
8401        break;
8402    } // finalize string values (regular strings and functions interpolated into css calls)
8403  
8404  
8405    if (registered == null) {
8406      return interpolation;
8407    }
8408  
8409    var cached = registered[interpolation];
8410  
8411    if (false) {}
8412  
8413    return cached !== undefined && !couldBeSelectorInterpolation ? cached : interpolation;
8414  }
8415  
8416  function createStringFromObject(mergedProps, registered, obj) {
8417    var string = '';
8418  
8419    if (Array.isArray(obj)) {
8420      for (var i = 0; i < obj.length; i++) {
8421        string += handleInterpolation(mergedProps, registered, obj[i], false);
8422      }
8423    } else {
8424      for (var _key in obj) {
8425        var value = obj[_key];
8426  
8427        if (typeof value !== 'object') {
8428          if (registered != null && registered[value] !== undefined) {
8429            string += _key + "{" + registered[value] + "}";
8430          } else if (isProcessableValue(value)) {
8431            string += processStyleName(_key) + ":" + serialize_browser_esm_processStyleValue(_key, value) + ";";
8432          }
8433        } else {
8434          if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {
8435            throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
8436          }
8437  
8438          if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
8439            for (var _i = 0; _i < value.length; _i++) {
8440              if (isProcessableValue(value[_i])) {
8441                string += processStyleName(_key) + ":" + serialize_browser_esm_processStyleValue(_key, value[_i]) + ";";
8442              }
8443            }
8444          } else {
8445            var interpolated = handleInterpolation(mergedProps, registered, value, false);
8446  
8447            switch (_key) {
8448              case 'animation':
8449              case 'animationName':
8450                {
8451                  string += processStyleName(_key) + ":" + interpolated + ";";
8452                  break;
8453                }
8454  
8455              default:
8456                {
8457                  if (false) {}
8458  
8459                  string += _key + "{" + interpolated + "}";
8460                }
8461            }
8462          }
8463        }
8464      }
8465    }
8466  
8467    return string;
8468  }
8469  
8470  var labelPattern = /label:\s*([^\s;\n{]+)\s*;/g;
8471  var sourceMapPattern;
8472  
8473  if (false) {} // this is the cursor for keyframes
8474  // keyframes are stored on the SerializedStyles object as a linked list
8475  
8476  
8477  var cursor;
8478  var serialize_browser_esm_serializeStyles = function serializeStyles(args, registered, mergedProps) {
8479    if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
8480      return args[0];
8481    }
8482  
8483    var stringMode = true;
8484    var styles = '';
8485    cursor = undefined;
8486    var strings = args[0];
8487  
8488    if (strings == null || strings.raw === undefined) {
8489      stringMode = false;
8490      styles += handleInterpolation(mergedProps, registered, strings, false);
8491    } else {
8492      if (false) {}
8493  
8494      styles += strings[0];
8495    } // we start at 1 since we've already handled the first arg
8496  
8497  
8498    for (var i = 1; i < args.length; i++) {
8499      styles += handleInterpolation(mergedProps, registered, args[i], styles.charCodeAt(styles.length - 1) === 46);
8500  
8501      if (stringMode) {
8502        if (false) {}
8503  
8504        styles += strings[i];
8505      }
8506    }
8507  
8508    var sourceMap;
8509  
8510    if (false) {} // using a global regex with .exec is stateful so lastIndex has to be reset each time
8511  
8512  
8513    labelPattern.lastIndex = 0;
8514    var identifierName = '';
8515    var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
8516  
8517    while ((match = labelPattern.exec(styles)) !== null) {
8518      identifierName += '-' + // $FlowFixMe we know it's not null
8519      match[1];
8520    }
8521  
8522    var name = hash_browser_esm(styles) + identifierName;
8523  
8524    if (false) {}
8525  
8526    return {
8527      name: name,
8528      styles: styles,
8529      next: cursor
8530    };
8531  };
8532  
8533  
8534  
8535  
8536  /***/ }),
8537  
8538  /***/ "Mih7":
8539  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8540  
8541  "use strict";
8542  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasUserFocus; });
8543  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return setUserFocus; });
8544  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return userFocus; });
8545  function userFocus(element) {
8546    element.userFocus = true;
8547    element.focus();
8548    element.userFocus = false;
8549  }
8550  function hasUserFocus(element) {
8551    return !!element.userFocus;
8552  }
8553  function