[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/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 = "./node_modules/@wordpress/components/build-module/index.js");
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js":
  91  /*!**********************************************************************!*\
  92    !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
  93    \**********************************************************************/
  94  /*! no static exports found */
  95  /***/ (function(module, exports) {
  96  
  97  function _assertThisInitialized(self) {
  98    if (self === void 0) {
  99      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 100    }
 101  
 102    return self;
 103  }
 104  
 105  module.exports = _assertThisInitialized;
 106  
 107  /***/ }),
 108  
 109  /***/ "./node_modules/@babel/runtime/helpers/defineProperty.js":
 110  /*!***************************************************************!*\
 111    !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
 112    \***************************************************************/
 113  /*! no static exports found */
 114  /***/ (function(module, exports) {
 115  
 116  function _defineProperty(obj, key, value) {
 117    if (key in obj) {
 118      Object.defineProperty(obj, key, {
 119        value: value,
 120        enumerable: true,
 121        configurable: true,
 122        writable: true
 123      });
 124    } else {
 125      obj[key] = value;
 126    }
 127  
 128    return obj;
 129  }
 130  
 131  module.exports = _defineProperty;
 132  
 133  /***/ }),
 134  
 135  /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
 136  /*!*******************************************************************!*\
 137    !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
 138    \*******************************************************************/
 139  /*! exports provided: default */
 140  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 141  
 142  "use strict";
 143  __webpack_require__.r(__webpack_exports__);
 144  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _arrayWithHoles; });
 145  function _arrayWithHoles(arr) {
 146    if (Array.isArray(arr)) return arr;
 147  }
 148  
 149  /***/ }),
 150  
 151  /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js":
 152  /*!**********************************************************************!*\
 153    !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
 154    \**********************************************************************/
 155  /*! exports provided: default */
 156  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 157  
 158  "use strict";
 159  __webpack_require__.r(__webpack_exports__);
 160  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _arrayWithoutHoles; });
 161  function _arrayWithoutHoles(arr) {
 162    if (Array.isArray(arr)) {
 163      for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
 164        arr2[i] = arr[i];
 165      }
 166  
 167      return arr2;
 168    }
 169  }
 170  
 171  /***/ }),
 172  
 173  /***/ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
 174  /*!**************************************************************************!*\
 175    !*** ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
 176    \**************************************************************************/
 177  /*! exports provided: default */
 178  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 179  
 180  "use strict";
 181  __webpack_require__.r(__webpack_exports__);
 182  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _assertThisInitialized; });
 183  function _assertThisInitialized(self) {
 184    if (self === void 0) {
 185      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 186    }
 187  
 188    return self;
 189  }
 190  
 191  /***/ }),
 192  
 193  /***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
 194  /*!*******************************************************************!*\
 195    !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
 196    \*******************************************************************/
 197  /*! exports provided: default */
 198  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 199  
 200  "use strict";
 201  __webpack_require__.r(__webpack_exports__);
 202  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _classCallCheck; });
 203  function _classCallCheck(instance, Constructor) {
 204    if (!(instance instanceof Constructor)) {
 205      throw new TypeError("Cannot call a class as a function");
 206    }
 207  }
 208  
 209  /***/ }),
 210  
 211  /***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js":
 212  /*!****************************************************************!*\
 213    !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***!
 214    \****************************************************************/
 215  /*! exports provided: default */
 216  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 217  
 218  "use strict";
 219  __webpack_require__.r(__webpack_exports__);
 220  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _createClass; });
 221  function _defineProperties(target, props) {
 222    for (var i = 0; i < props.length; i++) {
 223      var descriptor = props[i];
 224      descriptor.enumerable = descriptor.enumerable || false;
 225      descriptor.configurable = true;
 226      if ("value" in descriptor) descriptor.writable = true;
 227      Object.defineProperty(target, descriptor.key, descriptor);
 228    }
 229  }
 230  
 231  function _createClass(Constructor, protoProps, staticProps) {
 232    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 233    if (staticProps) _defineProperties(Constructor, staticProps);
 234    return Constructor;
 235  }
 236  
 237  /***/ }),
 238  
 239  /***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
 240  /*!*******************************************************************!*\
 241    !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
 242    \*******************************************************************/
 243  /*! exports provided: default */
 244  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 245  
 246  "use strict";
 247  __webpack_require__.r(__webpack_exports__);
 248  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _defineProperty; });
 249  function _defineProperty(obj, key, value) {
 250    if (key in obj) {
 251      Object.defineProperty(obj, key, {
 252        value: value,
 253        enumerable: true,
 254        configurable: true,
 255        writable: true
 256      });
 257    } else {
 258      obj[key] = value;
 259    }
 260  
 261    return obj;
 262  }
 263  
 264  /***/ }),
 265  
 266  /***/ "./node_modules/@babel/runtime/helpers/esm/extends.js":
 267  /*!************************************************************!*\
 268    !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***!
 269    \************************************************************/
 270  /*! exports provided: default */
 271  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 272  
 273  "use strict";
 274  __webpack_require__.r(__webpack_exports__);
 275  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _extends; });
 276  function _extends() {
 277    _extends = Object.assign || function (target) {
 278      for (var i = 1; i < arguments.length; i++) {
 279        var source = arguments[i];
 280  
 281        for (var key in source) {
 282          if (Object.prototype.hasOwnProperty.call(source, key)) {
 283            target[key] = source[key];
 284          }
 285        }
 286      }
 287  
 288      return target;
 289    };
 290  
 291    return _extends.apply(this, arguments);
 292  }
 293  
 294  /***/ }),
 295  
 296  /***/ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
 297  /*!*******************************************************************!*\
 298    !*** ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
 299    \*******************************************************************/
 300  /*! exports provided: default */
 301  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 302  
 303  "use strict";
 304  __webpack_require__.r(__webpack_exports__);
 305  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _getPrototypeOf; });
 306  function _getPrototypeOf(o) {
 307    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 308      return o.__proto__ || Object.getPrototypeOf(o);
 309    };
 310    return _getPrototypeOf(o);
 311  }
 312  
 313  /***/ }),
 314  
 315  /***/ "./node_modules/@babel/runtime/helpers/esm/inherits.js":
 316  /*!*************************************************************!*\
 317    !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***!
 318    \*************************************************************/
 319  /*! exports provided: default */
 320  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 321  
 322  "use strict";
 323  __webpack_require__.r(__webpack_exports__);
 324  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _inherits; });
 325  /* harmony import */ var _setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
 326  
 327  function _inherits(subClass, superClass) {
 328    if (typeof superClass !== "function" && superClass !== null) {
 329      throw new TypeError("Super expression must either be null or a function");
 330    }
 331  
 332    subClass.prototype = Object.create(superClass && superClass.prototype, {
 333      constructor: {
 334        value: subClass,
 335        writable: true,
 336        configurable: true
 337      }
 338    });
 339    if (superClass) Object(_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__["default"])(subClass, superClass);
 340  }
 341  
 342  /***/ }),
 343  
 344  /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
 345  /*!********************************************************************!*\
 346    !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
 347    \********************************************************************/
 348  /*! exports provided: default */
 349  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 350  
 351  "use strict";
 352  __webpack_require__.r(__webpack_exports__);
 353  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _iterableToArray; });
 354  function _iterableToArray(iter) {
 355    if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
 356  }
 357  
 358  /***/ }),
 359  
 360  /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":
 361  /*!*************************************************************************!*\
 362    !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
 363    \*************************************************************************/
 364  /*! exports provided: default */
 365  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 366  
 367  "use strict";
 368  __webpack_require__.r(__webpack_exports__);
 369  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _iterableToArrayLimit; });
 370  function _iterableToArrayLimit(arr, i) {
 371    var _arr = [];
 372    var _n = true;
 373    var _d = false;
 374    var _e = undefined;
 375  
 376    try {
 377      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 378        _arr.push(_s.value);
 379  
 380        if (i && _arr.length === i) break;
 381      }
 382    } catch (err) {
 383      _d = true;
 384      _e = err;
 385    } finally {
 386      try {
 387        if (!_n && _i["return"] != null) _i["return"]();
 388      } finally {
 389        if (_d) throw _e;
 390      }
 391    }
 392  
 393    return _arr;
 394  }
 395  
 396  /***/ }),
 397  
 398  /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
 399  /*!********************************************************************!*\
 400    !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
 401    \********************************************************************/
 402  /*! exports provided: default */
 403  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 404  
 405  "use strict";
 406  __webpack_require__.r(__webpack_exports__);
 407  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _nonIterableRest; });
 408  function _nonIterableRest() {
 409    throw new TypeError("Invalid attempt to destructure non-iterable instance");
 410  }
 411  
 412  /***/ }),
 413  
 414  /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js":
 415  /*!**********************************************************************!*\
 416    !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
 417    \**********************************************************************/
 418  /*! exports provided: default */
 419  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 420  
 421  "use strict";
 422  __webpack_require__.r(__webpack_exports__);
 423  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _nonIterableSpread; });
 424  function _nonIterableSpread() {
 425    throw new TypeError("Invalid attempt to spread non-iterable instance");
 426  }
 427  
 428  /***/ }),
 429  
 430  /***/ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js":
 431  /*!*****************************************************************!*\
 432    !*** ./node_modules/@babel/runtime/helpers/esm/objectSpread.js ***!
 433    \*****************************************************************/
 434  /*! exports provided: default */
 435  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 436  
 437  "use strict";
 438  __webpack_require__.r(__webpack_exports__);
 439  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectSpread; });
 440  /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
 441  
 442  function _objectSpread(target) {
 443    for (var i = 1; i < arguments.length; i++) {
 444      var source = arguments[i] != null ? arguments[i] : {};
 445      var ownKeys = Object.keys(source);
 446  
 447      if (typeof Object.getOwnPropertySymbols === 'function') {
 448        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
 449          return Object.getOwnPropertyDescriptor(source, sym).enumerable;
 450        }));
 451      }
 452  
 453      ownKeys.forEach(function (key) {
 454        Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]);
 455      });
 456    }
 457  
 458    return target;
 459  }
 460  
 461  /***/ }),
 462  
 463  /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
 464  /*!****************************************************************************!*\
 465    !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
 466    \****************************************************************************/
 467  /*! exports provided: default */
 468  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 469  
 470  "use strict";
 471  __webpack_require__.r(__webpack_exports__);
 472  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectWithoutProperties; });
 473  /* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
 474  
 475  function _objectWithoutProperties(source, excluded) {
 476    if (source == null) return {};
 477    var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(source, excluded);
 478    var key, i;
 479  
 480    if (Object.getOwnPropertySymbols) {
 481      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 482  
 483      for (i = 0; i < sourceSymbolKeys.length; i++) {
 484        key = sourceSymbolKeys[i];
 485        if (excluded.indexOf(key) >= 0) continue;
 486        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
 487        target[key] = source[key];
 488      }
 489    }
 490  
 491    return target;
 492  }
 493  
 494  /***/ }),
 495  
 496  /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":
 497  /*!*********************************************************************************!*\
 498    !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
 499    \*********************************************************************************/
 500  /*! exports provided: default */
 501  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 502  
 503  "use strict";
 504  __webpack_require__.r(__webpack_exports__);
 505  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectWithoutPropertiesLoose; });
 506  function _objectWithoutPropertiesLoose(source, excluded) {
 507    if (source == null) return {};
 508    var target = {};
 509    var sourceKeys = Object.keys(source);
 510    var key, i;
 511  
 512    for (i = 0; i < sourceKeys.length; i++) {
 513      key = sourceKeys[i];
 514      if (excluded.indexOf(key) >= 0) continue;
 515      target[key] = source[key];
 516    }
 517  
 518    return target;
 519  }
 520  
 521  /***/ }),
 522  
 523  /***/ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
 524  /*!******************************************************************************!*\
 525    !*** ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
 526    \******************************************************************************/
 527  /*! exports provided: default */
 528  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 529  
 530  "use strict";
 531  __webpack_require__.r(__webpack_exports__);
 532  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _possibleConstructorReturn; });
 533  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
 534  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
 535  
 536  
 537  function _possibleConstructorReturn(self, call) {
 538    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(call) === "object" || typeof call === "function")) {
 539      return call;
 540    }
 541  
 542    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
 543  }
 544  
 545  /***/ }),
 546  
 547  /***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
 548  /*!*******************************************************************!*\
 549    !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
 550    \*******************************************************************/
 551  /*! exports provided: default */
 552  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 553  
 554  "use strict";
 555  __webpack_require__.r(__webpack_exports__);
 556  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _setPrototypeOf; });
 557  function _setPrototypeOf(o, p) {
 558    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 559      o.__proto__ = p;
 560      return o;
 561    };
 562  
 563    return _setPrototypeOf(o, p);
 564  }
 565  
 566  /***/ }),
 567  
 568  /***/ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
 569  /*!******************************************************************!*\
 570    !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
 571    \******************************************************************/
 572  /*! exports provided: default */
 573  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 574  
 575  "use strict";
 576  __webpack_require__.r(__webpack_exports__);
 577  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _slicedToArray; });
 578  /* harmony import */ var _arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles */ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
 579  /* harmony import */ var _iterableToArrayLimit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArrayLimit */ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js");
 580  /* harmony import */ var _nonIterableRest__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./nonIterableRest */ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
 581  
 582  
 583  
 584  function _slicedToArray(arr, i) {
 585    return Object(_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || Object(_iterableToArrayLimit__WEBPACK_IMPORTED_MODULE_1__["default"])(arr, i) || Object(_nonIterableRest__WEBPACK_IMPORTED_MODULE_2__["default"])();
 586  }
 587  
 588  /***/ }),
 589  
 590  /***/ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":
 591  /*!**********************************************************************!*\
 592    !*** ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
 593    \**********************************************************************/
 594  /*! exports provided: default */
 595  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 596  
 597  "use strict";
 598  __webpack_require__.r(__webpack_exports__);
 599  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _toConsumableArray; });
 600  /* harmony import */ var _arrayWithoutHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles */ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js");
 601  /* harmony import */ var _iterableToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray */ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
 602  /* harmony import */ var _nonIterableSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./nonIterableSpread */ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js");
 603  
 604  
 605  
 606  function _toConsumableArray(arr) {
 607    return Object(_arrayWithoutHoles__WEBPACK_IMPORTED_MODULE_0__["default"])(arr) || Object(_iterableToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(arr) || Object(_nonIterableSpread__WEBPACK_IMPORTED_MODULE_2__["default"])();
 608  }
 609  
 610  /***/ }),
 611  
 612  /***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js":
 613  /*!***********************************************************!*\
 614    !*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
 615    \***********************************************************/
 616  /*! exports provided: default */
 617  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 618  
 619  "use strict";
 620  __webpack_require__.r(__webpack_exports__);
 621  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _typeof; });
 622  function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
 623  
 624  function _typeof(obj) {
 625    if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
 626      _typeof = function _typeof(obj) {
 627        return _typeof2(obj);
 628      };
 629    } else {
 630      _typeof = function _typeof(obj) {
 631        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
 632      };
 633    }
 634  
 635    return _typeof(obj);
 636  }
 637  
 638  /***/ }),
 639  
 640  /***/ "./node_modules/@babel/runtime/helpers/extends.js":
 641  /*!********************************************************!*\
 642    !*** ./node_modules/@babel/runtime/helpers/extends.js ***!
 643    \********************************************************/
 644  /*! no static exports found */
 645  /***/ (function(module, exports) {
 646  
 647  function _extends() {
 648    module.exports = _extends = Object.assign || function (target) {
 649      for (var i = 1; i < arguments.length; i++) {
 650        var source = arguments[i];
 651  
 652        for (var key in source) {
 653          if (Object.prototype.hasOwnProperty.call(source, key)) {
 654            target[key] = source[key];
 655          }
 656        }
 657      }
 658  
 659      return target;
 660    };
 661  
 662    return _extends.apply(this, arguments);
 663  }
 664  
 665  module.exports = _extends;
 666  
 667  /***/ }),
 668  
 669  /***/ "./node_modules/@babel/runtime/helpers/inheritsLoose.js":
 670  /*!**************************************************************!*\
 671    !*** ./node_modules/@babel/runtime/helpers/inheritsLoose.js ***!
 672    \**************************************************************/
 673  /*! no static exports found */
 674  /***/ (function(module, exports) {
 675  
 676  function _inheritsLoose(subClass, superClass) {
 677    subClass.prototype = Object.create(superClass.prototype);
 678    subClass.prototype.constructor = subClass;
 679    subClass.__proto__ = superClass;
 680  }
 681  
 682  module.exports = _inheritsLoose;
 683  
 684  /***/ }),
 685  
 686  /***/ "./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":
 687  /*!*****************************************************************************!*\
 688    !*** ./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
 689    \*****************************************************************************/
 690  /*! no static exports found */
 691  /***/ (function(module, exports) {
 692  
 693  function _objectWithoutPropertiesLoose(source, excluded) {
 694    if (source == null) return {};
 695    var target = {};
 696    var sourceKeys = Object.keys(source);
 697    var key, i;
 698  
 699    for (i = 0; i < sourceKeys.length; i++) {
 700      key = sourceKeys[i];
 701      if (excluded.indexOf(key) >= 0) continue;
 702      target[key] = source[key];
 703    }
 704  
 705    return target;
 706  }
 707  
 708  module.exports = _objectWithoutPropertiesLoose;
 709  
 710  /***/ }),
 711  
 712  /***/ "./node_modules/@wordpress/components/build-module/autocomplete/index.js":
 713  /*!*******************************************************************************!*\
 714    !*** ./node_modules/@wordpress/components/build-module/autocomplete/index.js ***!
 715    \*******************************************************************************/
 716  /*! exports provided: Autocomplete, default */
 717  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 718  
 719  "use strict";
 720  __webpack_require__.r(__webpack_exports__);
 721  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return Autocomplete; });
 722  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
 723  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
 724  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
 725  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
 726  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
 727  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
 728  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
 729  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
 730  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
 731  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
 732  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__);
 733  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
 734  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__);
 735  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash */ "lodash");
 736  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_11__);
 737  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
 738  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__);
 739  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
 740  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_13__);
 741  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
 742  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_14__);
 743  /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @wordpress/rich-text */ "@wordpress/rich-text");
 744  /* harmony import */ var _wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__);
 745  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @wordpress/dom */ "@wordpress/dom");
 746  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_16__);
 747  /* harmony import */ var _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../higher-order/with-focus-outside */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js");
 748  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
 749  /* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../popover */ "./node_modules/@wordpress/components/build-module/popover/index.js");
 750  /* harmony import */ var _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../higher-order/with-spoken-messages */ "./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js");
 751  
 752  
 753  
 754  
 755  
 756  
 757  
 758  
 759  
 760  
 761  
 762  /**
 763   * External dependencies
 764   */
 765  
 766  
 767  /**
 768   * WordPress dependencies
 769   */
 770  
 771  
 772  
 773  
 774  
 775  
 776  
 777  /**
 778   * Internal dependencies
 779   */
 780  
 781  
 782  
 783  
 784  
 785  /**
 786   * A raw completer option.
 787   * @typedef {*} CompleterOption
 788   */
 789  
 790  /**
 791   * @callback FnGetOptions
 792   *
 793   * @returns {(CompleterOption[]|Promise.<CompleterOption[]>)} The completer options or a promise for them.
 794   */
 795  
 796  /**
 797   * @callback FnGetOptionKeywords
 798   * @param {CompleterOption} option a completer option.
 799   *
 800   * @returns {string[]} list of key words to search.
 801   */
 802  
 803  /**
 804   * @callback FnIsOptionDisabled
 805   * @param {CompleterOption} option a completer option.
 806   *
 807   * @returns {string[]} whether or not the given option is disabled.
 808   */
 809  
 810  /**
 811   * @callback FnGetOptionLabel
 812   * @param {CompleterOption} option a completer option.
 813   *
 814   * @returns {(string|Array.<(string|Component)>)} list of react components to render.
 815   */
 816  
 817  /**
 818   * @callback FnAllowNode
 819   * @param {Node} textNode check if the completer can handle this text node.
 820   *
 821   * @returns {boolean} true if the completer can handle this text node.
 822   */
 823  
 824  /**
 825   * @callback FnAllowContext
 826   * @param {Range} before the range before the auto complete trigger and query.
 827   * @param {Range} after the range after the autocomplete trigger and query.
 828   *
 829   * @returns {boolean} true if the completer can handle these ranges.
 830   */
 831  
 832  /**
 833   * @typedef {Object} OptionCompletion
 834   * @property {('insert-at-caret', 'replace')} action the intended placement of the completion.
 835   * @property {OptionCompletionValue} value the completion value.
 836   */
 837  
 838  /**
 839   * A completion value.
 840   * @typedef {(String|WPElement|Object)} OptionCompletionValue
 841   */
 842  
 843  /**
 844   * @callback FnGetOptionCompletion
 845   * @param {CompleterOption} value the value of the completer option.
 846   * @param {Range} range the nodes included in the autocomplete trigger and query.
 847   * @param {String} query the text value of the autocomplete query.
 848   *
 849   * @returns {(OptionCompletion|OptionCompletionValue)} the completion for the given option. If an
 850   *                                                        OptionCompletionValue is returned, the
 851   *                                                        completion action defaults to `insert-at-caret`.
 852   */
 853  
 854  /**
 855   * @typedef {Object} Completer
 856   * @property {String} name a way to identify a completer, useful for selective overriding.
 857   * @property {?String} className A class to apply to the popup menu.
 858   * @property {String} triggerPrefix the prefix that will display the menu.
 859   * @property {(CompleterOption[]|FnGetOptions)} options the completer options or a function to get them.
 860   * @property {?FnGetOptionKeywords} getOptionKeywords get the keywords for a given option.
 861   * @property {?FnIsOptionDisabled} isOptionDisabled get whether or not the given option is disabled.
 862   * @property {FnGetOptionLabel} getOptionLabel get the label for a given option.
 863   * @property {?FnAllowNode} allowNode filter the allowed text nodes in the autocomplete.
 864   * @property {?FnAllowContext} allowContext filter the context under which the autocomplete activates.
 865   * @property {FnGetOptionCompletion} getOptionCompletion get the completion associated with a given option.
 866   */
 867  
 868  function filterOptions(search) {
 869    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
 870    var maxResults = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
 871    var filtered = [];
 872  
 873    for (var i = 0; i < options.length; i++) {
 874      var option = options[i]; // Merge label into keywords
 875  
 876      var _option$keywords = option.keywords,
 877          keywords = _option$keywords === void 0 ? [] : _option$keywords;
 878  
 879      if ('string' === typeof option.label) {
 880        keywords = Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_8__["default"])(keywords).concat([option.label]);
 881      }
 882  
 883      var isMatch = keywords.some(function (keyword) {
 884        return search.test(keyword);
 885      });
 886  
 887      if (!isMatch) {
 888        continue;
 889      }
 890  
 891      filtered.push(option); // Abort early if max reached
 892  
 893      if (filtered.length === maxResults) {
 894        break;
 895      }
 896    }
 897  
 898    return filtered;
 899  }
 900  
 901  function getCaretRect() {
 902    var range = window.getSelection().getRangeAt(0);
 903  
 904    if (range) {
 905      return Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_16__["getRectangleFromRange"])(range);
 906    }
 907  }
 908  
 909  var Autocomplete =
 910  /*#__PURE__*/
 911  function (_Component) {
 912    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(Autocomplete, _Component);
 913  
 914    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(Autocomplete, null, [{
 915      key: "getInitialState",
 916      value: function getInitialState() {
 917        return {
 918          search: /./,
 919          selectedIndex: 0,
 920          suppress: undefined,
 921          open: undefined,
 922          query: undefined,
 923          filteredOptions: []
 924        };
 925      }
 926    }]);
 927  
 928    function Autocomplete() {
 929      var _this;
 930  
 931      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Autocomplete);
 932  
 933      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(Autocomplete).apply(this, arguments));
 934      _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
 935      _this.select = _this.select.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
 936      _this.reset = _this.reset.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
 937      _this.resetWhenSuppressed = _this.resetWhenSuppressed.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
 938      _this.handleKeyDown = _this.handleKeyDown.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
 939      _this.debouncedLoadOptions = Object(lodash__WEBPACK_IMPORTED_MODULE_11__["debounce"])(_this.loadOptions, 250);
 940      _this.state = _this.constructor.getInitialState();
 941      return _this;
 942    }
 943  
 944    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(Autocomplete, [{
 945      key: "bindNode",
 946      value: function bindNode(node) {
 947        this.node = node;
 948      }
 949    }, {
 950      key: "insertCompletion",
 951      value: function insertCompletion(replacement) {
 952        var _this$state = this.state,
 953            open = _this$state.open,
 954            query = _this$state.query;
 955        var _this$props = this.props,
 956            record = _this$props.record,
 957            onChange = _this$props.onChange;
 958        var end = record.start;
 959        var start = end - open.triggerPrefix.length - query.length;
 960        var toInsert = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["create"])({
 961          html: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["renderToString"])(replacement)
 962        });
 963        onChange(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["insert"])(record, toInsert, start, end));
 964      }
 965    }, {
 966      key: "select",
 967      value: function select(option) {
 968        var onReplace = this.props.onReplace;
 969        var _this$state2 = this.state,
 970            open = _this$state2.open,
 971            query = _this$state2.query;
 972  
 973        var _ref = open || {},
 974            getOptionCompletion = _ref.getOptionCompletion;
 975  
 976        if (option.isDisabled) {
 977          return;
 978        }
 979  
 980        if (getOptionCompletion) {
 981          var completion = getOptionCompletion(option.value, query);
 982  
 983          var _ref2 = undefined === completion.action || undefined === completion.value ? {
 984            action: 'insert-at-caret',
 985            value: completion
 986          } : completion,
 987              action = _ref2.action,
 988              value = _ref2.value;
 989  
 990          if ('replace' === action) {
 991            onReplace([value]);
 992          } else if ('insert-at-caret' === action) {
 993            this.insertCompletion(value);
 994          }
 995        } // Reset autocomplete state after insertion rather than before
 996        // so insertion events don't cause the completion menu to redisplay.
 997  
 998  
 999        this.reset();
1000      }
1001    }, {
1002      key: "reset",
1003      value: function reset() {
1004        var isMounted = !!this.node; // Autocompletions may replace the block containing this component,
1005        // so we make sure it is mounted before resetting the state.
1006  
1007        if (isMounted) {
1008          this.setState(this.constructor.getInitialState());
1009        }
1010      }
1011    }, {
1012      key: "resetWhenSuppressed",
1013      value: function resetWhenSuppressed() {
1014        var _this$state3 = this.state,
1015            open = _this$state3.open,
1016            suppress = _this$state3.suppress;
1017  
1018        if (open && suppress === open.idx) {
1019          this.reset();
1020        }
1021      }
1022    }, {
1023      key: "handleFocusOutside",
1024      value: function handleFocusOutside() {
1025        this.reset();
1026      }
1027    }, {
1028      key: "announce",
1029      value: function announce(filteredOptions) {
1030        var debouncedSpeak = this.props.debouncedSpeak;
1031  
1032        if (!debouncedSpeak) {
1033          return;
1034        }
1035  
1036        if (!!filteredOptions.length) {
1037          debouncedSpeak(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_13__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_13__["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', filteredOptions.length), filteredOptions.length), 'assertive');
1038        } else {
1039          debouncedSpeak(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_13__["__"])('No results.'), 'assertive');
1040        }
1041      }
1042      /**
1043       * Load options for an autocompleter.
1044       *
1045       * @param {Completer} completer The autocompleter.
1046       * @param {string}    query     The query, if any.
1047       */
1048  
1049    }, {
1050      key: "loadOptions",
1051      value: function loadOptions(completer, query) {
1052        var _this2 = this;
1053  
1054        var options = completer.options;
1055        /*
1056         * We support both synchronous and asynchronous retrieval of completer options
1057         * but internally treat all as async so we maintain a single, consistent code path.
1058         *
1059         * Because networks can be slow, and the internet is wonderfully unpredictable,
1060         * we don't want two promises updating the state at once. This ensures that only
1061         * the most recent promise will act on `optionsData`. This doesn't use the state
1062         * because `setState` is batched, and so there's no guarantee that setting
1063         * `activePromise` in the state would result in it actually being in `this.state`
1064         * before the promise resolves and we check to see if this is the active promise or not.
1065         */
1066  
1067        var promise = this.activePromise = Promise.resolve(typeof options === 'function' ? options(query) : options).then(function (optionsData) {
1068          var _this2$setState;
1069  
1070          if (promise !== _this2.activePromise) {
1071            // Another promise has become active since this one was asked to resolve, so do nothing,
1072            // or else we might end triggering a race condition updating the state.
1073            return;
1074          }
1075  
1076          var keyedOptions = optionsData.map(function (optionData, optionIndex) {
1077            return {
1078              key: "".concat(completer.idx, "-").concat(optionIndex),
1079              value: optionData,
1080              label: completer.getOptionLabel(optionData),
1081              keywords: completer.getOptionKeywords ? completer.getOptionKeywords(optionData) : [],
1082              isDisabled: completer.isOptionDisabled ? completer.isOptionDisabled(optionData) : false
1083            };
1084          });
1085          var filteredOptions = filterOptions(_this2.state.search, keyedOptions);
1086          var selectedIndex = filteredOptions.length === _this2.state.filteredOptions.length ? _this2.state.selectedIndex : 0;
1087  
1088          _this2.setState((_this2$setState = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_this2$setState, 'options_' + completer.idx, keyedOptions), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_this2$setState, "filteredOptions", filteredOptions), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_this2$setState, "selectedIndex", selectedIndex), _this2$setState));
1089  
1090          _this2.announce(filteredOptions);
1091        });
1092      }
1093    }, {
1094      key: "handleKeyDown",
1095      value: function handleKeyDown(event) {
1096        var _this$state4 = this.state,
1097            open = _this$state4.open,
1098            suppress = _this$state4.suppress,
1099            selectedIndex = _this$state4.selectedIndex,
1100            filteredOptions = _this$state4.filteredOptions;
1101  
1102        if (!open) {
1103          return;
1104        }
1105  
1106        if (suppress === open.idx) {
1107          switch (event.keyCode) {
1108            // cancel popup suppression on CTRL+SPACE
1109            case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["SPACE"]:
1110              var ctrlKey = event.ctrlKey,
1111                  shiftKey = event.shiftKey,
1112                  altKey = event.altKey,
1113                  metaKey = event.metaKey;
1114  
1115              if (ctrlKey && !(shiftKey || altKey || metaKey)) {
1116                this.setState({
1117                  suppress: undefined
1118                });
1119                event.preventDefault();
1120                event.stopPropagation();
1121              }
1122  
1123              break;
1124            // reset on cursor movement
1125  
1126            case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["UP"]:
1127            case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["DOWN"]:
1128            case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["LEFT"]:
1129            case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["RIGHT"]:
1130              this.reset();
1131          }
1132  
1133          return;
1134        }
1135  
1136        if (filteredOptions.length === 0) {
1137          return;
1138        }
1139  
1140        var nextSelectedIndex;
1141  
1142        switch (event.keyCode) {
1143          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["UP"]:
1144            nextSelectedIndex = (selectedIndex === 0 ? filteredOptions.length : selectedIndex) - 1;
1145            this.setState({
1146              selectedIndex: nextSelectedIndex
1147            });
1148            break;
1149  
1150          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["DOWN"]:
1151            nextSelectedIndex = (selectedIndex + 1) % filteredOptions.length;
1152            this.setState({
1153              selectedIndex: nextSelectedIndex
1154            });
1155            break;
1156  
1157          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["ESCAPE"]:
1158            this.setState({
1159              suppress: open.idx
1160            });
1161            break;
1162  
1163          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["ENTER"]:
1164            this.select(filteredOptions[selectedIndex]);
1165            break;
1166  
1167          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["LEFT"]:
1168          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["RIGHT"]:
1169            this.reset();
1170            return;
1171  
1172          default:
1173            return;
1174        } // Any handled keycode should prevent original behavior. This relies on
1175        // the early return in the default case.
1176  
1177  
1178        event.preventDefault();
1179        event.stopPropagation();
1180      }
1181    }, {
1182      key: "toggleKeyEvents",
1183      value: function toggleKeyEvents(isListening) {
1184        // This exists because we must capture ENTER key presses before RichText.
1185        // It seems that react fires the simulated capturing events after the
1186        // native browser event has already bubbled so we can't stopPropagation
1187        // and avoid RichText getting the event from TinyMCE, hence we must
1188        // register a native event handler.
1189        var handler = isListening ? 'addEventListener' : 'removeEventListener';
1190        this.node[handler]('keydown', this.handleKeyDown, true);
1191      }
1192    }, {
1193      key: "componentDidUpdate",
1194      value: function componentDidUpdate(prevProps, prevState) {
1195        var _this$props2 = this.props,
1196            record = _this$props2.record,
1197            completers = _this$props2.completers;
1198        var prevRecord = prevProps.record;
1199        var prevOpen = prevState.open;
1200  
1201        if (!this.state.open !== !prevOpen) {
1202          this.toggleKeyEvents(!!this.state.open);
1203        }
1204  
1205        if (Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["isCollapsed"])(record)) {
1206          var text = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["getTextContent"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["slice"])(record, 0));
1207          var prevText = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["getTextContent"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["slice"])(prevRecord, 0));
1208  
1209          if (text !== prevText) {
1210            var textAfterSelection = Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["getTextContent"])(Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["slice"])(record, undefined, Object(_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_15__["getTextContent"])(record).length));
1211            var allCompleters = Object(lodash__WEBPACK_IMPORTED_MODULE_11__["map"])(completers, function (completer, idx) {
1212              return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__["default"])({}, completer, {
1213                idx: idx
1214              });
1215            });
1216            var open = Object(lodash__WEBPACK_IMPORTED_MODULE_11__["find"])(allCompleters, function (_ref3) {
1217              var triggerPrefix = _ref3.triggerPrefix,
1218                  allowContext = _ref3.allowContext;
1219              var index = text.lastIndexOf(triggerPrefix);
1220  
1221              if (index === -1) {
1222                return false;
1223              }
1224  
1225              if (allowContext && !allowContext(text.slice(0, index), textAfterSelection)) {
1226                return false;
1227              }
1228  
1229              return /^\w*$/.test(text.slice(index + triggerPrefix.length));
1230            });
1231  
1232            if (!open) {
1233              this.reset();
1234              return;
1235            }
1236  
1237            var match = text.match(new RegExp("".concat(open.triggerPrefix, "(\\w*)$")));
1238            var query = match && match[1];
1239            var _this$state5 = this.state,
1240                wasOpen = _this$state5.open,
1241                wasSuppress = _this$state5.suppress,
1242                wasQuery = _this$state5.query;
1243  
1244            if (open && (!wasOpen || open.idx !== wasOpen.idx || query !== wasQuery)) {
1245              if (open.isDebounced) {
1246                this.debouncedLoadOptions(open, query);
1247              } else {
1248                this.loadOptions(open, query);
1249              }
1250            } // create a regular expression to filter the options
1251  
1252  
1253            var search = open ? new RegExp('(?:\\b|\\s|^)' + Object(lodash__WEBPACK_IMPORTED_MODULE_11__["escapeRegExp"])(query), 'i') : /./; // filter the options we already have
1254  
1255            var filteredOptions = open ? filterOptions(search, this.state['options_' + open.idx]) : []; // check if we should still suppress the popover
1256  
1257            var suppress = open && wasSuppress === open.idx ? wasSuppress : undefined; // update the state
1258  
1259            if (wasOpen || open) {
1260              this.setState({
1261                selectedIndex: 0,
1262                filteredOptions: filteredOptions,
1263                suppress: suppress,
1264                search: search,
1265                open: open,
1266                query: query
1267              });
1268            } // announce the count of filtered options but only if they have loaded
1269  
1270  
1271            if (open && this.state['options_' + open.idx]) {
1272              this.announce(filteredOptions);
1273            }
1274          }
1275        }
1276      }
1277    }, {
1278      key: "componentWillUnmount",
1279      value: function componentWillUnmount() {
1280        this.toggleKeyEvents(false);
1281        this.debouncedLoadOptions.cancel();
1282      }
1283    }, {
1284      key: "render",
1285      value: function render() {
1286        var _this3 = this;
1287  
1288        var _this$props3 = this.props,
1289            children = _this$props3.children,
1290            instanceId = _this$props3.instanceId;
1291        var _this$state6 = this.state,
1292            open = _this$state6.open,
1293            suppress = _this$state6.suppress,
1294            selectedIndex = _this$state6.selectedIndex,
1295            filteredOptions = _this$state6.filteredOptions;
1296  
1297        var _ref4 = filteredOptions[selectedIndex] || {},
1298            _ref4$key = _ref4.key,
1299            selectedKey = _ref4$key === void 0 ? '' : _ref4$key;
1300  
1301        var _ref5 = open || {},
1302            className = _ref5.className,
1303            idx = _ref5.idx;
1304  
1305        var isExpanded = suppress !== idx && filteredOptions.length > 0;
1306        var listBoxId = isExpanded ? "components-autocomplete-listbox-".concat(instanceId) : null;
1307        var activeId = isExpanded ? "components-autocomplete-item-".concat(instanceId, "-").concat(selectedKey) : null; // Disable reason: Clicking the editor should reset the autocomplete when the menu is suppressed
1308  
1309        /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
1310  
1311        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["createElement"])("div", {
1312          ref: this.bindNode,
1313          onClick: this.resetWhenSuppressed,
1314          className: "components-autocomplete"
1315        }, children({
1316          isExpanded: isExpanded,
1317          listBoxId: listBoxId,
1318          activeId: activeId
1319        }), isExpanded && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["createElement"])(_popover__WEBPACK_IMPORTED_MODULE_19__["default"], {
1320          focusOnMount: false,
1321          onClose: this.reset,
1322          position: "top right",
1323          className: "components-autocomplete__popover",
1324          getAnchorRect: getCaretRect
1325        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["createElement"])("div", {
1326          id: listBoxId,
1327          role: "listbox",
1328          className: "components-autocomplete__results"
1329        }, isExpanded && Object(lodash__WEBPACK_IMPORTED_MODULE_11__["map"])(filteredOptions, function (option, index) {
1330          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_18__["default"], {
1331            key: option.key,
1332            id: "components-autocomplete-item-".concat(instanceId, "-").concat(option.key),
1333            role: "option",
1334            "aria-selected": index === selectedIndex,
1335            disabled: option.isDisabled,
1336            className: classnames__WEBPACK_IMPORTED_MODULE_10___default()('components-autocomplete__result', className, {
1337              'is-selected': index === selectedIndex
1338            }),
1339            onClick: function onClick() {
1340              return _this3.select(option);
1341            }
1342          }, option.label);
1343        }))));
1344        /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
1345      }
1346    }]);
1347  
1348    return Autocomplete;
1349  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["Component"]);
1350  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_14__["compose"])([_higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_20__["default"], _wordpress_compose__WEBPACK_IMPORTED_MODULE_14__["withInstanceId"], _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_17__["default"]])(Autocomplete));
1351  
1352  
1353  /***/ }),
1354  
1355  /***/ "./node_modules/@wordpress/components/build-module/base-control/index.js":
1356  /*!*******************************************************************************!*\
1357    !*** ./node_modules/@wordpress/components/build-module/base-control/index.js ***!
1358    \*******************************************************************************/
1359  /*! exports provided: default */
1360  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1361  
1362  "use strict";
1363  __webpack_require__.r(__webpack_exports__);
1364  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1365  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1366  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
1367  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
1368  
1369  
1370  /**
1371   * External dependencies
1372   */
1373  
1374  
1375  function BaseControl(_ref) {
1376    var id = _ref.id,
1377        label = _ref.label,
1378        help = _ref.help,
1379        className = _ref.className,
1380        children = _ref.children;
1381    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
1382      className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-base-control', className)
1383    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
1384      className: "components-base-control__field"
1385    }, label && id && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("label", {
1386      className: "components-base-control__label",
1387      htmlFor: id
1388    }, label), label && !id && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
1389      className: "components-base-control__label"
1390    }, label), children), !!help && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("p", {
1391      id: id + '__help',
1392      className: "components-base-control__help"
1393    }, help));
1394  }
1395  
1396  /* harmony default export */ __webpack_exports__["default"] = (BaseControl);
1397  
1398  
1399  /***/ }),
1400  
1401  /***/ "./node_modules/@wordpress/components/build-module/button-group/index.js":
1402  /*!*******************************************************************************!*\
1403    !*** ./node_modules/@wordpress/components/build-module/button-group/index.js ***!
1404    \*******************************************************************************/
1405  /*! exports provided: default */
1406  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1407  
1408  "use strict";
1409  __webpack_require__.r(__webpack_exports__);
1410  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1411  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
1412  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1413  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
1414  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
1415  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
1416  
1417  
1418  
1419  
1420  /**
1421   * External dependencies
1422   */
1423  
1424  
1425  function ButtonGroup(_ref) {
1426    var className = _ref.className,
1427        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["className"]);
1428  
1429    var classes = classnames__WEBPACK_IMPORTED_MODULE_3___default()('components-button-group', className);
1430    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
1431      className: classes,
1432      role: "group"
1433    }));
1434  }
1435  
1436  /* harmony default export */ __webpack_exports__["default"] = (ButtonGroup);
1437  
1438  
1439  /***/ }),
1440  
1441  /***/ "./node_modules/@wordpress/components/build-module/button/index.js":
1442  /*!*************************************************************************!*\
1443    !*** ./node_modules/@wordpress/components/build-module/button/index.js ***!
1444    \*************************************************************************/
1445  /*! exports provided: Button, default */
1446  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1447  
1448  "use strict";
1449  __webpack_require__.r(__webpack_exports__);
1450  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Button", function() { return Button; });
1451  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
1452  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
1453  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
1454  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
1455  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1456  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
1457  
1458  
1459  
1460  /**
1461   * External dependencies
1462   */
1463  
1464  /**
1465   * WordPress dependencies
1466   */
1467  
1468  
1469  function Button(props, ref) {
1470    var href = props.href,
1471        target = props.target,
1472        isPrimary = props.isPrimary,
1473        isLarge = props.isLarge,
1474        isSmall = props.isSmall,
1475        isToggled = props.isToggled,
1476        isBusy = props.isBusy,
1477        isDefault = props.isDefault,
1478        isLink = props.isLink,
1479        isDestructive = props.isDestructive,
1480        className = props.className,
1481        disabled = props.disabled,
1482        additionalProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(props, ["href", "target", "isPrimary", "isLarge", "isSmall", "isToggled", "isBusy", "isDefault", "isLink", "isDestructive", "className", "disabled"]);
1483  
1484    var classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-button', className, {
1485      'is-button': isDefault || isPrimary || isLarge || isSmall,
1486      'is-default': isDefault || isLarge || isSmall,
1487      'is-primary': isPrimary,
1488      'is-large': isLarge,
1489      'is-small': isSmall,
1490      'is-toggled': isToggled,
1491      'is-busy': isBusy,
1492      'is-link': isLink,
1493      'is-destructive': isDestructive
1494    });
1495    var tag = href !== undefined && !disabled ? 'a' : 'button';
1496    var tagProps = tag === 'a' ? {
1497      href: href,
1498      target: target
1499    } : {
1500      type: 'button',
1501      disabled: disabled
1502    };
1503    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(tag, Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__["default"])({}, tagProps, additionalProps, {
1504      className: classes,
1505      ref: ref
1506    }));
1507  }
1508  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["forwardRef"])(Button));
1509  
1510  
1511  /***/ }),
1512  
1513  /***/ "./node_modules/@wordpress/components/build-module/checkbox-control/index.js":
1514  /*!***********************************************************************************!*\
1515    !*** ./node_modules/@wordpress/components/build-module/checkbox-control/index.js ***!
1516    \***********************************************************************************/
1517  /*! exports provided: default */
1518  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1519  
1520  "use strict";
1521  __webpack_require__.r(__webpack_exports__);
1522  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1523  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
1524  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1525  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
1526  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
1527  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
1528  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
1529  
1530  
1531  
1532  
1533  /**
1534   * External dependencies
1535   */
1536  
1537  /**
1538   * Internal dependencies
1539   */
1540  
1541  
1542  
1543  function CheckboxControl(_ref) {
1544    var label = _ref.label,
1545        className = _ref.className,
1546        heading = _ref.heading,
1547        checked = _ref.checked,
1548        help = _ref.help,
1549        instanceId = _ref.instanceId,
1550        onChange = _ref.onChange,
1551        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["label", "className", "heading", "checked", "help", "instanceId", "onChange"]);
1552  
1553    var id = "inspector-checkbox-control-".concat(instanceId);
1554  
1555    var onChangeValue = function onChangeValue(event) {
1556      return onChange(event.target.checked);
1557    };
1558  
1559    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_4__["default"], {
1560      label: heading,
1561      id: id,
1562      help: help,
1563      className: className
1564    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("input", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
1565      id: id,
1566      className: "components-checkbox-control__input",
1567      type: "checkbox",
1568      value: "1",
1569      onChange: onChangeValue,
1570      checked: checked,
1571      "aria-describedby": !!help ? id + '__help' : undefined
1572    }, props)), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("label", {
1573      className: "components-checkbox-control__label",
1574      htmlFor: id
1575    }, label));
1576  }
1577  
1578  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["withInstanceId"])(CheckboxControl));
1579  
1580  
1581  /***/ }),
1582  
1583  /***/ "./node_modules/@wordpress/components/build-module/clipboard-button/index.js":
1584  /*!***********************************************************************************!*\
1585    !*** ./node_modules/@wordpress/components/build-module/clipboard-button/index.js ***!
1586    \***********************************************************************************/
1587  /*! exports provided: default */
1588  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1589  
1590  "use strict";
1591  __webpack_require__.r(__webpack_exports__);
1592  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1593  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
1594  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
1595  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
1596  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
1597  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
1598  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
1599  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
1600  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1601  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
1602  /* harmony import */ var clipboard__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! clipboard */ "./node_modules/clipboard/lib/clipboard.js");
1603  /* harmony import */ var clipboard__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(clipboard__WEBPACK_IMPORTED_MODULE_9__);
1604  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
1605  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__);
1606  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
1607  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
1608  
1609  
1610  
1611  
1612  
1613  
1614  
1615  
1616  
1617  
1618  /**
1619   * External dependencies
1620   */
1621  
1622  
1623  /**
1624   * WordPress dependencies
1625   */
1626  
1627  
1628  /**
1629   * Internal dependencies
1630   */
1631  
1632  
1633  
1634  
1635  var ClipboardButton =
1636  /*#__PURE__*/
1637  function (_Component) {
1638    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(ClipboardButton, _Component);
1639  
1640    function ClipboardButton() {
1641      var _this;
1642  
1643      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, ClipboardButton);
1644  
1645      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(ClipboardButton).apply(this, arguments));
1646      _this.bindContainer = _this.bindContainer.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
1647      _this.onCopy = _this.onCopy.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
1648      _this.getText = _this.getText.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
1649      return _this;
1650    }
1651  
1652    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(ClipboardButton, [{
1653      key: "componentDidMount",
1654      value: function componentDidMount() {
1655        var container = this.container,
1656            getText = this.getText,
1657            onCopy = this.onCopy;
1658        var button = container.firstChild;
1659        this.clipboard = new clipboard__WEBPACK_IMPORTED_MODULE_9___default.a(button, {
1660          text: getText,
1661          container: container
1662        });
1663        this.clipboard.on('success', onCopy);
1664      }
1665    }, {
1666      key: "componentWillUnmount",
1667      value: function componentWillUnmount() {
1668        this.clipboard.destroy();
1669        delete this.clipboard;
1670        clearTimeout(this.onCopyTimeout);
1671      }
1672    }, {
1673      key: "bindContainer",
1674      value: function bindContainer(container) {
1675        this.container = container;
1676      }
1677    }, {
1678      key: "onCopy",
1679      value: function onCopy(args) {
1680        // Clearing selection will move focus back to the triggering button,
1681        // ensuring that it is not reset to the body, and further that it is
1682        // kept within the rendered node.
1683        args.clearSelection();
1684        var _this$props = this.props,
1685            onCopy = _this$props.onCopy,
1686            onFinishCopy = _this$props.onFinishCopy;
1687  
1688        if (onCopy) {
1689          onCopy(); // For convenience and consistency, ClipboardButton offers to call
1690          // a secondary callback with delay. This is useful to reset
1691          // consumers' state, e.g. to revert a label from "Copied" to
1692          // "Copy".
1693  
1694          if (onFinishCopy) {
1695            clearTimeout(this.onCopyTimeout);
1696            this.onCopyTimeout = setTimeout(onFinishCopy, 4000);
1697          }
1698        }
1699      }
1700    }, {
1701      key: "getText",
1702      value: function getText() {
1703        var text = this.props.text;
1704  
1705        if ('function' === typeof text) {
1706          text = text();
1707        }
1708  
1709        return text;
1710      }
1711    }, {
1712      key: "render",
1713      value: function render() {
1714        // Disable reason: Exclude from spread props passed to Button
1715        // eslint-disable-next-line no-unused-vars
1716        var _this$props2 = this.props,
1717            className = _this$props2.className,
1718            children = _this$props2.children,
1719            onCopy = _this$props2.onCopy,
1720            onFinishCopy = _this$props2.onFinishCopy,
1721            text = _this$props2.text,
1722            buttonProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props2, ["className", "children", "onCopy", "onFinishCopy", "text"]);
1723  
1724        var icon = buttonProps.icon;
1725        var classes = classnames__WEBPACK_IMPORTED_MODULE_10___default()('components-clipboard-button', className);
1726        var ComponentToUse = icon ? _icon_button__WEBPACK_IMPORTED_MODULE_11__["default"] : _button__WEBPACK_IMPORTED_MODULE_12__["default"]; // Workaround for inconsistent behavior in Safari, where <textarea> is not
1727        // the document.activeElement at the moment when the copy event fires.
1728        // This causes documentHasSelection() in the copy-handler component to
1729        // mistakenly override the ClipboardButton, and copy a serialized string
1730        // of the current block instead.
1731  
1732        var focusOnCopyEventTarget = function focusOnCopyEventTarget(event) {
1733          event.target.focus();
1734        };
1735  
1736        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("span", {
1737          ref: this.bindContainer,
1738          onCopy: focusOnCopyEventTarget
1739        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(ComponentToUse, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, buttonProps, {
1740          className: classes
1741        }), children));
1742      }
1743    }]);
1744  
1745    return ClipboardButton;
1746  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
1747  
1748  /* harmony default export */ __webpack_exports__["default"] = (ClipboardButton);
1749  
1750  
1751  /***/ }),
1752  
1753  /***/ "./node_modules/@wordpress/components/build-module/color-indicator/index.js":
1754  /*!**********************************************************************************!*\
1755    !*** ./node_modules/@wordpress/components/build-module/color-indicator/index.js ***!
1756    \**********************************************************************************/
1757  /*! exports provided: default */
1758  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1759  
1760  "use strict";
1761  __webpack_require__.r(__webpack_exports__);
1762  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1763  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
1764  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1765  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
1766  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
1767  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
1768  
1769  
1770  
1771  
1772  /**
1773   * External dependencies
1774   */
1775  
1776  
1777  var ColorIndicator = function ColorIndicator(_ref) {
1778    var className = _ref.className,
1779        colorValue = _ref.colorValue,
1780        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["className", "colorValue"]);
1781  
1782    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("span", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
1783      className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('component-color-indicator', className),
1784      style: {
1785        background: colorValue
1786      }
1787    }, props));
1788  };
1789  
1790  /* harmony default export */ __webpack_exports__["default"] = (ColorIndicator);
1791  
1792  
1793  /***/ }),
1794  
1795  /***/ "./node_modules/@wordpress/components/build-module/color-palette/index.js":
1796  /*!********************************************************************************!*\
1797    !*** ./node_modules/@wordpress/components/build-module/color-palette/index.js ***!
1798    \********************************************************************************/
1799  /*! exports provided: default */
1800  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1801  
1802  "use strict";
1803  __webpack_require__.r(__webpack_exports__);
1804  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return ColorPalette; });
1805  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1806  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
1807  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
1808  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
1809  /* harmony import */ var react_color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-color */ "./node_modules/react-color/lib/index.js");
1810  /* harmony import */ var react_color__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_color__WEBPACK_IMPORTED_MODULE_2__);
1811  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ "lodash");
1812  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
1813  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
1814  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
1815  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
1816  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dropdown */ "./node_modules/@wordpress/components/build-module/dropdown/index.js");
1817  /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tooltip */ "./node_modules/@wordpress/components/build-module/tooltip/index.js");
1818  
1819  
1820  /**
1821   * External dependencies
1822   */
1823  
1824  
1825  
1826  /**
1827   * WordPress dependencies
1828   */
1829  
1830  
1831  /**
1832   * Internal dependencies
1833   */
1834  
1835  
1836  
1837  
1838  function ColorPalette(_ref) {
1839    var colors = _ref.colors,
1840        _ref$disableCustomCol = _ref.disableCustomColors,
1841        disableCustomColors = _ref$disableCustomCol === void 0 ? false : _ref$disableCustomCol,
1842        value = _ref.value,
1843        onChange = _ref.onChange,
1844        className = _ref.className;
1845  
1846    function applyOrUnset(color) {
1847      return function () {
1848        return onChange(value === color ? undefined : color);
1849      };
1850    }
1851  
1852    var customColorPickerLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Custom color picker');
1853  
1854    var classes = classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-color-palette', className);
1855    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
1856      className: classes
1857    }, Object(lodash__WEBPACK_IMPORTED_MODULE_3__["map"])(colors, function (_ref2) {
1858      var color = _ref2.color,
1859          name = _ref2.name;
1860      var style = {
1861        color: color
1862      };
1863      var itemClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-color-palette__item', {
1864        'is-active': value === color
1865      });
1866      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
1867        key: color,
1868        className: "components-color-palette__item-wrapper"
1869      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
1870        text: name || // translators: %s: color hex code e.g: "#f00".
1871        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Color code: %s'), color)
1872      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("button", {
1873        type: "button",
1874        className: itemClasses,
1875        style: style,
1876        onClick: applyOrUnset(color),
1877        "aria-label": name ? // translators: %s: The name of the color e.g: "vivid red".
1878        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Color: %s'), name) : // translators: %s: color hex code e.g: "#f00".
1879        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Color code: %s'), color),
1880        "aria-pressed": value === color
1881      })));
1882    }), !disableCustomColors && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_dropdown__WEBPACK_IMPORTED_MODULE_6__["default"], {
1883      className: "components-color-palette__item-wrapper components-color-palette__custom-color",
1884      contentClassName: "components-color-palette__picker",
1885      renderToggle: function renderToggle(_ref3) {
1886        var isOpen = _ref3.isOpen,
1887            onToggle = _ref3.onToggle;
1888        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
1889          text: customColorPickerLabel
1890        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("button", {
1891          type: "button",
1892          "aria-expanded": isOpen,
1893          className: "components-color-palette__item",
1894          onClick: onToggle,
1895          "aria-label": customColorPickerLabel
1896        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
1897          className: "components-color-palette__custom-color-gradient"
1898        })));
1899      },
1900      renderContent: function renderContent() {
1901        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(react_color__WEBPACK_IMPORTED_MODULE_2__["ChromePicker"], {
1902          color: value,
1903          onChangeComplete: function onChangeComplete(color) {
1904            return onChange(color.hex);
1905          },
1906          disableAlpha: true
1907        });
1908      }
1909    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_5__["default"], {
1910      className: "components-color-palette__clear",
1911      type: "button",
1912      onClick: function onClick() {
1913        return onChange(undefined);
1914      },
1915      isSmall: true,
1916      isDefault: true
1917    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Clear')));
1918  }
1919  
1920  
1921  /***/ }),
1922  
1923  /***/ "./node_modules/@wordpress/components/build-module/dashicon/index.js":
1924  /*!***************************************************************************!*\
1925    !*** ./node_modules/@wordpress/components/build-module/dashicon/index.js ***!
1926    \***************************************************************************/
1927  /*! exports provided: default */
1928  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1929  
1930  "use strict";
1931  __webpack_require__.r(__webpack_exports__);
1932  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Dashicon; });
1933  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
1934  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
1935  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
1936  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
1937  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
1938  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
1939  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
1940  /* harmony import */ var _primitives__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../primitives */ "./node_modules/@wordpress/components/build-module/primitives/index.js");
1941  
1942  
1943  
1944  
1945  
1946  
1947  
1948  /* !!!
1949  IF YOU ARE EDITING dashicon/index.jsx
1950  THEN YOU ARE EDITING A FILE THAT GETS OUTPUT FROM THE DASHICONS REPO!
1951  DO NOT EDIT THAT FILE! EDIT index-header.jsx and index-footer.jsx instead
1952  OR if you're looking to change now SVGs get output, you'll need to edit strings in the Gruntfile :)
1953  !!! */
1954  
1955  /**
1956   * WordPress dependencies
1957   */
1958  
1959  /**
1960   * Internal dependencies
1961   */
1962  
1963  
1964  
1965  var Dashicon =
1966  /*#__PURE__*/
1967  function (_Component) {
1968    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(Dashicon, _Component);
1969  
1970    function Dashicon() {
1971      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Dashicon);
1972  
1973      return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(Dashicon).apply(this, arguments));
1974    }
1975  
1976    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Dashicon, [{
1977      key: "shouldComponentUpdate",
1978      value: function shouldComponentUpdate(nextProps) {
1979        return this.props.icon !== nextProps.icon || this.props.size !== nextProps.size || this.props.className !== nextProps.className;
1980      }
1981    }, {
1982      key: "render",
1983      value: function render() {
1984        var _this$props = this.props,
1985            icon = _this$props.icon,
1986            className = _this$props.className,
1987            _this$props$size = _this$props.size,
1988            size = _this$props$size === void 0 ? 20 : _this$props$size;
1989        var path;
1990  
1991        switch (icon) {
1992          case 'admin-appearance':
1993            path = 'M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z';
1994            break;
1995  
1996          case 'admin-collapse':
1997            path = 'M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z';
1998            break;
1999  
2000          case 'admin-comments':
2001            path = 'M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z';
2002            break;
2003  
2004          case 'admin-customizer':
2005            path = 'M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z';
2006            break;
2007  
2008          case 'admin-generic':
2009            path = 'M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z';
2010            break;
2011  
2012          case 'admin-home':
2013            path = 'M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z';
2014            break;
2015  
2016          case 'admin-links':
2017            path = 'M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z';
2018            break;
2019  
2020          case 'admin-media':
2021            path = 'M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z';
2022            break;
2023  
2024          case 'admin-multisite':
2025            path = 'M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z';
2026            break;
2027  
2028          case 'admin-network':
2029            path = 'M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z';
2030            break;
2031  
2032          case 'admin-page':
2033            path = 'M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z';
2034            break;
2035  
2036          case 'admin-plugins':
2037            path = 'M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z';
2038            break;
2039  
2040          case 'admin-post':
2041            path = 'M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z';
2042            break;
2043  
2044          case 'admin-settings':
2045            path = 'M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z';
2046            break;
2047  
2048          case 'admin-site-alt':
2049            path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z';
2050            break;
2051  
2052          case 'admin-site-alt2':
2053            path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z';
2054            break;
2055  
2056          case 'admin-site-alt3':
2057            path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z';
2058            break;
2059  
2060          case 'admin-site':
2061            path = 'M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z';
2062            break;
2063  
2064          case 'admin-tools':
2065            path = 'M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z';
2066            break;
2067  
2068          case 'admin-users':
2069            path = 'M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z';
2070            break;
2071  
2072          case 'album':
2073            path = 'M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z';
2074            break;
2075  
2076          case 'align-center':
2077            path = 'M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z';
2078            break;
2079  
2080          case 'align-full-width':
2081            path = 'M17 13V3H3v10h14zM5 17h10v-2H5v2z';
2082            break;
2083  
2084          case 'align-left':
2085            path = 'M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z';
2086            break;
2087  
2088          case 'align-none':
2089            path = 'M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z';
2090            break;
2091  
2092          case 'align-pull-left':
2093            path = 'M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z';
2094            break;
2095  
2096          case 'align-pull-right':
2097            path = 'M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z';
2098            break;
2099  
2100          case 'align-right':
2101            path = 'M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z';
2102            break;
2103  
2104          case 'align-wide':
2105            path = 'M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z';
2106            break;
2107  
2108          case 'analytics':
2109            path = 'M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z';
2110            break;
2111  
2112          case 'archive':
2113            path = 'M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z';
2114            break;
2115  
2116          case 'arrow-down-alt':
2117            path = 'M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z';
2118            break;
2119  
2120          case 'arrow-down-alt2':
2121            path = 'M5 6l5 5 5-5 2 1-7 7-7-7z';
2122            break;
2123  
2124          case 'arrow-down':
2125            path = 'M15 8l-4.03 6L7 8h8z';
2126            break;
2127  
2128          case 'arrow-left-alt':
2129            path = 'M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z';
2130            break;
2131  
2132          case 'arrow-left-alt2':
2133            path = 'M14 5l-5 5 5 5-1 2-7-7 7-7z';
2134            break;
2135  
2136          case 'arrow-left':
2137            path = 'M13 14L7 9.97 13 6v8z';
2138            break;
2139  
2140          case 'arrow-right-alt':
2141            path = 'M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z';
2142            break;
2143  
2144          case 'arrow-right-alt2':
2145            path = 'M6 15l5-5-5-5 1-2 7 7-7 7z';
2146            break;
2147  
2148          case 'arrow-right':
2149            path = 'M8 6l6 4.03L8 14V6z';
2150            break;
2151  
2152          case 'arrow-up-alt':
2153            path = 'M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z';
2154            break;
2155  
2156          case 'arrow-up-alt2':
2157            path = 'M15 14l-5-5-5 5-2-1 7-7 7 7z';
2158            break;
2159  
2160          case 'arrow-up':
2161            path = 'M7 13l4.03-6L15 13H7z';
2162            break;
2163  
2164          case 'art':
2165            path = 'M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z';
2166            break;
2167  
2168          case 'awards':
2169            path = 'M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z';
2170            break;
2171  
2172          case 'backup':
2173            path = 'M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z';
2174            break;
2175  
2176          case 'block-default':
2177            path = 'M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z';
2178            break;
2179  
2180          case 'book-alt':
2181            path = 'M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z';
2182            break;
2183  
2184          case 'book':
2185            path = 'M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z';
2186            break;
2187  
2188          case 'buddicons-activity':
2189            path = 'M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z';
2190            break;
2191  
2192          case 'buddicons-bbpress-logo':
2193            path = 'M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z';
2194            break;
2195  
2196          case 'buddicons-buddypress-logo':
2197            path = 'M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z';
2198            break;
2199  
2200          case 'buddicons-community':
2201            path = 'M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z';
2202            break;
2203  
2204          case 'buddicons-forums':
2205            path = 'M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z';
2206            break;
2207  
2208          case 'buddicons-friends':
2209            path = 'M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z';
2210            break;
2211  
2212          case 'buddicons-groups':
2213            path = 'M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z';
2214            break;
2215  
2216          case 'buddicons-pm':
2217            path = 'M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z';
2218            break;
2219  
2220          case 'buddicons-replies':
2221            path = 'M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z';
2222            break;
2223  
2224          case 'buddicons-topics':
2225            path = 'M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z';
2226            break;
2227  
2228          case 'buddicons-tracking':
2229            path = 'M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z';
2230            break;
2231  
2232          case 'building':
2233            path = 'M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z';
2234            break;
2235  
2236          case 'businessman':
2237            path = 'M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z';
2238            break;
2239  
2240          case 'button':
2241            path = 'M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z';
2242            break;
2243  
2244          case 'calendar-alt':
2245            path = 'M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z';
2246            break;
2247  
2248          case 'calendar':
2249            path = 'M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z';
2250            break;
2251  
2252          case 'camera':
2253            path = 'M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z';
2254            break;
2255  
2256          case 'carrot':
2257            path = 'M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z';
2258            break;
2259  
2260          case 'cart':
2261            path = 'M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z';
2262            break;
2263  
2264          case 'category':
2265            path = 'M5 7h13v10H2V4h7l2 2H4v9h1V7z';
2266            break;
2267  
2268          case 'chart-area':
2269            path = 'M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z';
2270            break;
2271  
2272          case 'chart-bar':
2273            path = 'M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z';
2274            break;
2275  
2276          case 'chart-line':
2277            path = 'M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z';
2278            break;
2279  
2280          case 'chart-pie':
2281            path = 'M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z';
2282            break;
2283  
2284          case 'clipboard':
2285            path = 'M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z';
2286            break;
2287  
2288          case 'clock':
2289            path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z';
2290            break;
2291  
2292          case 'cloud-saved':
2293            path = 'M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z';
2294            break;
2295  
2296          case 'cloud-upload':
2297            path = 'M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z';
2298            break;
2299  
2300          case 'cloud':
2301            path = 'M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z';
2302            break;
2303  
2304          case 'columns':
2305            path = 'M3 15h6V5H3v10zm8 0h6V5h-6v10z';
2306            break;
2307  
2308          case 'controls-back':
2309            path = 'M2 10l10-6v3.6L18 4v12l-6-3.6V16z';
2310            break;
2311  
2312          case 'controls-forward':
2313            path = 'M18 10L8 16v-3.6L2 16V4l6 3.6V4z';
2314            break;
2315  
2316          case 'controls-pause':
2317            path = 'M5 16V4h3v12H5zm7-12h3v12h-3V4z';
2318            break;
2319  
2320          case 'controls-play':
2321            path = 'M5 4l10 6-10 6V4z';
2322            break;
2323  
2324          case 'controls-repeat':
2325            path = 'M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z';
2326            break;
2327  
2328          case 'controls-skipback':
2329            path = 'M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z';
2330            break;
2331  
2332          case 'controls-skipforward':
2333            path = 'M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z';
2334            break;
2335  
2336          case 'controls-volumeoff':
2337            path = 'M2 7h4l5-4v14l-5-4H2V7z';
2338            break;
2339  
2340          case 'controls-volumeon':
2341            path = 'M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z';
2342            break;
2343  
2344          case 'cover-image':
2345            path = 'M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z';
2346            break;
2347  
2348          case 'dashboard':
2349            path = 'M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z';
2350            break;
2351  
2352          case 'desktop':
2353            path = 'M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z';
2354            break;
2355  
2356          case 'dismiss':
2357            path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z';
2358            break;
2359  
2360          case 'download':
2361            path = 'M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z';
2362            break;
2363  
2364          case 'edit':
2365            path = 'M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z';
2366            break;
2367  
2368          case 'editor-aligncenter':
2369            path = 'M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z';
2370            break;
2371  
2372          case 'editor-alignleft':
2373            path = 'M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z';
2374            break;
2375  
2376          case 'editor-alignright':
2377            path = 'M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z';
2378            break;
2379  
2380          case 'editor-bold':
2381            path = 'M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z';
2382            break;
2383  
2384          case 'editor-break':
2385            path = 'M16 4h2v9H7v3l-5-4 5-4v3h9V4z';
2386            break;
2387  
2388          case 'editor-code':
2389            path = 'M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z';
2390            break;
2391  
2392          case 'editor-contract':
2393            path = 'M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z';
2394            break;
2395  
2396          case 'editor-customchar':
2397            path = 'M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z';
2398            break;
2399  
2400          case 'editor-expand':
2401            path = 'M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3';
2402            break;
2403  
2404          case 'editor-help':
2405            path = 'M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z';
2406            break;
2407  
2408          case 'editor-indent':
2409            path = 'M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z';
2410            break;
2411  
2412          case 'editor-insertmore':
2413            path = 'M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z';
2414            break;
2415  
2416          case 'editor-italic':
2417            path = 'M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z';
2418            break;
2419  
2420          case 'editor-justify':
2421            path = 'M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z';
2422            break;
2423  
2424          case 'editor-kitchensink':
2425            path = 'M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z';
2426            break;
2427  
2428          case 'editor-ltr':
2429            path = 'M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z';
2430            break;
2431  
2432          case 'editor-ol-rtl':
2433            path = 'M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z';
2434            break;
2435  
2436          case 'editor-ol':
2437            path = 'M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z';
2438            break;
2439  
2440          case 'editor-outdent':
2441            path = 'M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z';
2442            break;
2443  
2444          case 'editor-paragraph':
2445            path = 'M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z';
2446            break;
2447  
2448          case 'editor-paste-text':
2449            path = 'M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z';
2450            break;
2451  
2452          case 'editor-paste-word':
2453            path = 'M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z';
2454            break;
2455  
2456          case 'editor-quote':
2457            path = 'M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z';
2458            break;
2459  
2460          case 'editor-removeformatting':
2461            path = 'M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z';
2462            break;
2463  
2464          case 'editor-rtl':
2465            path = 'M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z';
2466            break;
2467  
2468          case 'editor-spellcheck':
2469            path = 'M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z';
2470            break;
2471  
2472          case 'editor-strikethrough':
2473            path = 'M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z';
2474            break;
2475  
2476          case 'editor-table':
2477            path = 'M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z';
2478            break;
2479  
2480          case 'editor-textcolor':
2481            path = 'M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z';
2482            break;
2483  
2484          case 'editor-ul':
2485            path = 'M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z';
2486            break;
2487  
2488          case 'editor-underline':
2489            path = 'M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z';
2490            break;
2491  
2492          case 'editor-unlink':
2493            path = 'M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z';
2494            break;
2495  
2496          case 'editor-video':
2497            path = 'M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z';
2498            break;
2499  
2500          case 'ellipsis':
2501            path = 'M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z';
2502            break;
2503  
2504          case 'email-alt':
2505            path = 'M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z';
2506            break;
2507  
2508          case 'email-alt2':
2509            path = 'M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z';
2510            break;
2511  
2512          case 'email':
2513            path = 'M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z';
2514            break;
2515  
2516          case 'embed-audio':
2517            path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z';
2518            break;
2519  
2520          case 'embed-generic':
2521            path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z';
2522            break;
2523  
2524          case 'embed-photo':
2525            path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z';
2526            break;
2527  
2528          case 'embed-post':
2529            path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z';
2530            break;
2531  
2532          case 'embed-video':
2533            path = 'M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z';
2534            break;
2535  
2536          case 'excerpt-view':
2537            path = 'M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z';
2538            break;
2539  
2540          case 'exit':
2541            path = 'M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z';
2542            break;
2543  
2544          case 'external':
2545            path = 'M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z';
2546            break;
2547  
2548          case 'facebook-alt':
2549            path = 'M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z';
2550            break;
2551  
2552          case 'facebook':
2553            path = 'M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z';
2554            break;
2555  
2556          case 'feedback':
2557            path = 'M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z';
2558            break;
2559  
2560          case 'filter':
2561            path = 'M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z';
2562            break;
2563  
2564          case 'flag':
2565            path = 'M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z';
2566            break;
2567  
2568          case 'format-aside':
2569            path = 'M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z';
2570            break;
2571  
2572          case 'format-audio':
2573            path = 'M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z';
2574            break;
2575  
2576          case 'format-chat':
2577            path = 'M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z';
2578            break;
2579  
2580          case 'format-gallery':
2581            path = 'M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z';
2582            break;
2583  
2584          case 'format-image':
2585            path = 'M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z';
2586            break;
2587  
2588          case 'format-quote':
2589            path = 'M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z';
2590            break;
2591  
2592          case 'format-status':
2593            path = 'M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z';
2594            break;
2595  
2596          case 'format-video':
2597            path = 'M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z';
2598            break;
2599  
2600          case 'forms':
2601            path = 'M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z';
2602            break;
2603  
2604          case 'googleplus':
2605            path = 'M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z';
2606            break;
2607  
2608          case 'grid-view':
2609            path = 'M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z';
2610            break;
2611  
2612          case 'groups':
2613            path = 'M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z';
2614            break;
2615  
2616          case 'hammer':
2617            path = 'M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z';
2618            break;
2619  
2620          case 'heading':
2621            path = 'M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4';
2622            break;
2623  
2624          case 'heart':
2625            path = 'M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z';
2626            break;
2627  
2628          case 'hidden':
2629            path = 'M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z';
2630            break;
2631  
2632          case 'html':
2633            path = 'M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z';
2634            break;
2635  
2636          case 'id-alt':
2637            path = 'M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z';
2638            break;
2639  
2640          case 'id':
2641            path = 'M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z';
2642            break;
2643  
2644          case 'image-crop':
2645            path = 'M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z';
2646            break;
2647  
2648          case 'image-filter':
2649            path = 'M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z';
2650            break;
2651  
2652          case 'image-flip-horizontal':
2653            path = 'M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z';
2654            break;
2655  
2656          case 'image-flip-vertical':
2657            path = 'M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z';
2658            break;
2659  
2660          case 'image-rotate-left':
2661            path = 'M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z';
2662            break;
2663  
2664          case 'image-rotate-right':
2665            path = 'M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z';
2666            break;
2667  
2668          case 'image-rotate':
2669            path = 'M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z';
2670            break;
2671  
2672          case 'images-alt':
2673            path = 'M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z';
2674            break;
2675  
2676          case 'images-alt2':
2677            path = 'M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z';
2678            break;
2679  
2680          case 'index-card':
2681            path = 'M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z';
2682            break;
2683  
2684          case 'info-outline':
2685            path = 'M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z';
2686            break;
2687  
2688          case 'info':
2689            path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z';
2690            break;
2691  
2692          case 'insert-after':
2693            path = 'M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z';
2694            break;
2695  
2696          case 'insert-before':
2697            path = 'M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z';
2698            break;
2699  
2700          case 'insert':
2701            path = 'M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z';
2702            break;
2703  
2704          case 'instagram':
2705            path = 'M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z';
2706            break;
2707  
2708          case 'laptop':
2709            path = 'M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z';
2710            break;
2711  
2712          case 'layout':
2713            path = 'M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z';
2714            break;
2715  
2716          case 'leftright':
2717            path = 'M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z';
2718            break;
2719  
2720          case 'lightbulb':
2721            path = 'M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z';
2722            break;
2723  
2724          case 'list-view':
2725            path = 'M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z';
2726            break;
2727  
2728          case 'location-alt':
2729            path = 'M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z';
2730            break;
2731  
2732          case 'location':
2733            path = 'M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z';
2734            break;
2735  
2736          case 'lock':
2737            path = 'M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z';
2738            break;
2739  
2740          case 'marker':
2741            path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z';
2742            break;
2743  
2744          case 'media-archive':
2745            path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z';
2746            break;
2747  
2748          case 'media-audio':
2749            path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z';
2750            break;
2751  
2752          case 'media-code':
2753            path = 'M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z';
2754            break;
2755  
2756          case 'media-default':
2757            path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z';
2758            break;
2759  
2760          case 'media-document':
2761            path = 'M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z';
2762            break;
2763  
2764          case 'media-interactive':
2765            path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z';
2766            break;
2767  
2768          case 'media-spreadsheet':
2769            path = 'M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z';
2770            break;
2771  
2772          case 'media-text':
2773            path = 'M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z';
2774            break;
2775  
2776          case 'media-video':
2777            path = 'M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z';
2778            break;
2779  
2780          case 'megaphone':
2781            path = 'M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z';
2782            break;
2783  
2784          case 'menu-alt':
2785            path = 'M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z';
2786            break;
2787  
2788          case 'menu':
2789            path = 'M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z';
2790            break;
2791  
2792          case 'microphone':
2793            path = 'M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z';
2794            break;
2795  
2796          case 'migrate':
2797            path = 'M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z';
2798            break;
2799  
2800          case 'minus':
2801            path = 'M4 9h12v2H4V9z';
2802            break;
2803  
2804          case 'money':
2805            path = 'M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z';
2806            break;
2807  
2808          case 'move':
2809            path = 'M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z';
2810            break;
2811  
2812          case 'nametag':
2813            path = 'M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z';
2814            break;
2815  
2816          case 'networking':
2817            path = 'M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z';
2818            break;
2819  
2820          case 'no-alt':
2821            path = 'M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z';
2822            break;
2823  
2824          case 'no':
2825            path = 'M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z';
2826            break;
2827  
2828          case 'palmtree':
2829            path = 'M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z';
2830            break;
2831  
2832          case 'paperclip':
2833            path = 'M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z';
2834            break;
2835  
2836          case 'performance':
2837            path = 'M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z';
2838            break;
2839  
2840          case 'phone':
2841            path = 'M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z';
2842            break;
2843  
2844          case 'playlist-audio':
2845            path = 'M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z';
2846            break;
2847  
2848          case 'playlist-video':
2849            path = 'M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z';
2850            break;
2851  
2852          case 'plus-alt':
2853            path = 'M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z';
2854            break;
2855  
2856          case 'plus-light':
2857            path = 'M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z';
2858            break;
2859  
2860          case 'plus':
2861            path = 'M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z';
2862            break;
2863  
2864          case 'portfolio':
2865            path = 'M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z';
2866            break;
2867  
2868          case 'post-status':
2869            path = 'M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z';
2870            break;
2871  
2872          case 'pressthis':
2873            path = 'M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z';
2874            break;
2875  
2876          case 'products':
2877            path = 'M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z';
2878            break;
2879  
2880          case 'randomize':
2881            path = 'M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z';
2882            break;
2883  
2884          case 'redo':
2885            path = 'M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z';
2886            break;
2887  
2888          case 'rest-api':
2889            path = 'M3 4h2v12H3z';
2890            break;
2891  
2892          case 'rss':
2893            path = 'M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z';
2894            break;
2895  
2896          case 'saved':
2897            path = 'M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2';
2898            break;
2899  
2900          case 'schedule':
2901            path = 'M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z';
2902            break;
2903  
2904          case 'screenoptions':
2905            path = 'M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z';
2906            break;
2907  
2908          case 'search':
2909            path = 'M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z';
2910            break;
2911  
2912          case 'share-alt':
2913            path = 'M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z';
2914            break;
2915  
2916          case 'share-alt2':
2917            path = 'M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z';
2918            break;
2919  
2920          case 'share':
2921            path = 'M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z';
2922            break;
2923  
2924          case 'shield-alt':
2925            path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z';
2926            break;
2927  
2928          case 'shield':
2929            path = 'M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z';
2930            break;
2931  
2932          case 'shortcode':
2933            path = 'M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4';
2934            break;
2935  
2936          case 'slides':
2937            path = 'M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z';
2938            break;
2939  
2940          case 'smartphone':
2941            path = 'M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z';
2942            break;
2943  
2944          case 'smiley':
2945            path = 'M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z';
2946            break;
2947  
2948          case 'sort':
2949            path = 'M11 7H1l5 7zm-2 7h10l-5-7z';
2950            break;
2951  
2952          case 'sos':
2953            path = 'M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z';
2954            break;
2955  
2956          case 'star-empty':
2957            path = 'M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z';
2958            break;
2959  
2960          case 'star-filled':
2961            path = 'M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z';
2962            break;
2963  
2964          case 'star-half':
2965            path = 'M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z';
2966            break;
2967  
2968          case 'sticky':
2969            path = 'M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z';
2970            break;
2971  
2972          case 'store':
2973            path = 'M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z';
2974            break;
2975  
2976          case 'table-col-after':
2977            path = 'M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z';
2978            break;
2979  
2980          case 'table-col-before':
2981            path = 'M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z';
2982            break;
2983  
2984          case 'table-col-delete':
2985            path = 'M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z';
2986            break;
2987  
2988          case 'table-row-after':
2989            path = 'M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z';
2990            break;
2991  
2992          case 'table-row-before':
2993            path = 'M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z';
2994            break;
2995  
2996          case 'table-row-delete':
2997            path = 'M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z';
2998            break;
2999  
3000          case 'tablet':
3001            path = 'M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z';
3002            break;
3003  
3004          case 'tag':
3005            path = 'M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z';
3006            break;
3007  
3008          case 'tagcloud':
3009            path = 'M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z';
3010            break;
3011  
3012          case 'testimonial':
3013            path = 'M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z';
3014            break;
3015  
3016          case 'text':
3017            path = 'M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z';
3018            break;
3019  
3020          case 'thumbs-down':
3021            path = 'M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z';
3022            break;
3023  
3024          case 'thumbs-up':
3025            path = 'M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z';
3026            break;
3027  
3028          case 'tickets-alt':
3029            path = 'M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z';
3030            break;
3031  
3032          case 'tickets':
3033            path = 'M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z';
3034            break;
3035  
3036          case 'tide':
3037            path = 'M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z';
3038            break;
3039  
3040          case 'translation':
3041            path = 'M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z';
3042            break;
3043  
3044          case 'trash':
3045            path = 'M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z';
3046            break;
3047  
3048          case 'twitter':
3049            path = 'M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z';
3050            break;
3051  
3052          case 'undo':
3053            path = 'M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z';
3054            break;
3055  
3056          case 'universal-access-alt':
3057            path = 'M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z';
3058            break;
3059  
3060          case 'universal-access':
3061            path = 'M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z';
3062            break;
3063  
3064          case 'unlock':
3065            path = 'M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z';
3066            break;
3067  
3068          case 'update':
3069            path = 'M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z';
3070            break;
3071  
3072          case 'upload':
3073            path = 'M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z';
3074            break;
3075  
3076          case 'vault':
3077            path = 'M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z';
3078            break;
3079  
3080          case 'video-alt':
3081            path = 'M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z';
3082            break;
3083  
3084          case 'video-alt2':
3085            path = 'M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z';
3086            break;
3087  
3088          case 'video-alt3':
3089            path = 'M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z';
3090            break;
3091  
3092          case 'visibility':
3093            path = 'M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z';
3094            break;
3095  
3096          case 'warning':
3097            path = 'M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z';
3098            break;
3099  
3100          case 'welcome-add-page':
3101            path = 'M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z';
3102            break;
3103  
3104          case 'welcome-comments':
3105            path = 'M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z';
3106            break;
3107  
3108          case 'welcome-learn-more':
3109            path = 'M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z';
3110            break;
3111  
3112          case 'welcome-view-site':
3113            path = 'M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z';
3114            break;
3115  
3116          case 'welcome-widgets-menus':
3117            path = 'M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z';
3118            break;
3119  
3120          case 'welcome-write-blog':
3121            path = 'M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z';
3122            break;
3123  
3124          case 'wordpress-alt':
3125            path = 'M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z';
3126            break;
3127  
3128          case 'wordpress':
3129            path = 'M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z';
3130            break;
3131  
3132          case 'yes-alt':
3133            path = 'M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z';
3134            break;
3135  
3136          case 'yes':
3137            path = 'M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z';
3138            break;
3139        }
3140  
3141        if (!path) {
3142          return null;
3143        }
3144  
3145        var iconClass = ['dashicon', 'dashicons-' + icon, className].filter(Boolean).join(' ');
3146        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_6__["SVG"], {
3147          "aria-hidden": true,
3148          role: "img",
3149          focusable: "false",
3150          className: iconClass,
3151          xmlns: "http://www.w3.org/2000/svg",
3152          width: size,
3153          height: size,
3154          viewBox: "0 0 20 20"
3155        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_6__["Path"], {
3156          d: path
3157        }));
3158      }
3159    }]);
3160  
3161    return Dashicon;
3162  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"]);
3163  
3164  
3165  
3166  
3167  /***/ }),
3168  
3169  /***/ "./node_modules/@wordpress/components/build-module/date-time/date.js":
3170  /*!***************************************************************************!*\
3171    !*** ./node_modules/@wordpress/components/build-module/date-time/date.js ***!
3172    \***************************************************************************/
3173  /*! exports provided: default */
3174  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3175  
3176  "use strict";
3177  __webpack_require__.r(__webpack_exports__);
3178  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
3179  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
3180  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
3181  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
3182  /* harmony import */ var react_datepicker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-datepicker */ "./node_modules/react-datepicker/es/index.js");
3183  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! moment */ "moment");
3184  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_4__);
3185  
3186  
3187  
3188  
3189  /**
3190   * External dependencies
3191   */
3192  
3193  
3194  /**
3195   * Module Constants
3196   */
3197  
3198  var TIMEZONELESS_FORMAT = 'YYYY-MM-DDTHH:mm:ss';
3199  
3200  function DatePicker(_ref) {
3201    var currentDate = _ref.currentDate,
3202        onChange = _ref.onChange,
3203        args = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["currentDate", "onChange"]);
3204  
3205    var momentDate = currentDate ? moment__WEBPACK_IMPORTED_MODULE_4___default()(currentDate) : moment__WEBPACK_IMPORTED_MODULE_4___default()();
3206  
3207    var onChangeMoment = function onChangeMoment(newDate) {
3208      return onChange(newDate.format(TIMEZONELESS_FORMAT));
3209    };
3210  
3211    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(react_datepicker__WEBPACK_IMPORTED_MODULE_3__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
3212      inline: true,
3213      selected: momentDate,
3214      onChange: onChangeMoment
3215    }, args));
3216  }
3217  
3218  /* harmony default export */ __webpack_exports__["default"] = (DatePicker);
3219  
3220  
3221  /***/ }),
3222  
3223  /***/ "./node_modules/@wordpress/components/build-module/date-time/index.js":
3224  /*!****************************************************************************!*\
3225    !*** ./node_modules/@wordpress/components/build-module/date-time/index.js ***!
3226    \****************************************************************************/
3227  /*! exports provided: DatePicker, TimePicker, DateTimePicker */
3228  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3229  
3230  "use strict";
3231  __webpack_require__.r(__webpack_exports__);
3232  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DateTimePicker", function() { return DateTimePicker; });
3233  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
3234  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
3235  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
3236  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
3237  /* harmony import */ var _date__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./date */ "./node_modules/@wordpress/components/build-module/date-time/date.js");
3238  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DatePicker", function() { return _date__WEBPACK_IMPORTED_MODULE_3__["default"]; });
3239  
3240  /* harmony import */ var _time__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./time */ "./node_modules/@wordpress/components/build-module/date-time/time.js");
3241  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TimePicker", function() { return _time__WEBPACK_IMPORTED_MODULE_4__["default"]; });
3242  
3243  
3244  
3245  
3246  
3247  /**
3248   * Internal dependencies
3249   */
3250  
3251  
3252  
3253  function DateTimePicker(_ref) {
3254    var currentDate = _ref.currentDate,
3255        onChange = _ref.onChange,
3256        is12Hour = _ref.is12Hour,
3257        args = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["currentDate", "onChange", "is12Hour"]);
3258  
3259    return [Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_date__WEBPACK_IMPORTED_MODULE_3__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
3260      key: "date-picker",
3261      currentDate: currentDate,
3262      onChange: onChange
3263    }, args)), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_time__WEBPACK_IMPORTED_MODULE_4__["default"], {
3264      key: "time-picker",
3265      currentTime: currentDate,
3266      onChange: onChange,
3267      is12Hour: is12Hour
3268    })];
3269  }
3270  
3271  
3272  /***/ }),
3273  
3274  /***/ "./node_modules/@wordpress/components/build-module/date-time/time.js":
3275  /*!***************************************************************************!*\
3276    !*** ./node_modules/@wordpress/components/build-module/date-time/time.js ***!
3277    \***************************************************************************/
3278  /*! exports provided: default */
3279  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3280  
3281  "use strict";
3282  __webpack_require__.r(__webpack_exports__);
3283  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
3284  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
3285  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
3286  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
3287  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
3288  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
3289  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
3290  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
3291  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
3292  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
3293  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! moment */ "moment");
3294  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_8__);
3295  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
3296  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__);
3297  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
3298  
3299  
3300  
3301  
3302  
3303  
3304  
3305  
3306  /**
3307   * External dependencies
3308   */
3309  
3310  
3311  /**
3312   * WordPress dependencies
3313   */
3314  
3315  
3316  
3317  /**
3318   * Internal dependencies
3319   */
3320  
3321  
3322  /**
3323   * Module Constants
3324   */
3325  
3326  var TIMEZONELESS_FORMAT = 'YYYY-MM-DDTHH:mm:ss';
3327  
3328  var TimePicker =
3329  /*#__PURE__*/
3330  function (_Component) {
3331    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(TimePicker, _Component);
3332  
3333    function TimePicker() {
3334      var _this;
3335  
3336      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, TimePicker);
3337  
3338      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(TimePicker).apply(this, arguments));
3339      _this.state = {
3340        hours: '',
3341        minutes: '',
3342        am: true,
3343        date: null
3344      };
3345      _this.updateHours = _this.updateHours.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3346      _this.updateMinutes = _this.updateMinutes.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3347      _this.onChangeHours = _this.onChangeHours.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3348      _this.onChangeMinutes = _this.onChangeMinutes.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3349      return _this;
3350    }
3351  
3352    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(TimePicker, [{
3353      key: "componentDidMount",
3354      value: function componentDidMount() {
3355        this.syncState(this.props);
3356      }
3357    }, {
3358      key: "componentDidUpdate",
3359      value: function componentDidUpdate(prevProps) {
3360        var _this$props = this.props,
3361            currentTime = _this$props.currentTime,
3362            is12Hour = _this$props.is12Hour;
3363  
3364        if (currentTime !== prevProps.currentTime || is12Hour !== prevProps.is12Hour) {
3365          this.syncState(this.props);
3366        }
3367      }
3368    }, {
3369      key: "syncState",
3370      value: function syncState(_ref) {
3371        var currentTime = _ref.currentTime,
3372            is12Hour = _ref.is12Hour;
3373        var selected = currentTime ? moment__WEBPACK_IMPORTED_MODULE_8___default()(currentTime) : moment__WEBPACK_IMPORTED_MODULE_8___default()();
3374        var minutes = selected.format('mm');
3375        var am = selected.format('A');
3376        var hours = selected.format(is12Hour ? 'hh' : 'HH');
3377        var date = currentTime ? moment__WEBPACK_IMPORTED_MODULE_8___default()(currentTime) : moment__WEBPACK_IMPORTED_MODULE_8___default()();
3378        this.setState({
3379          minutes: minutes,
3380          hours: hours,
3381          am: am,
3382          date: date
3383        });
3384      }
3385    }, {
3386      key: "updateHours",
3387      value: function updateHours() {
3388        var _this$props2 = this.props,
3389            is12Hour = _this$props2.is12Hour,
3390            onChange = _this$props2.onChange;
3391        var _this$state = this.state,
3392            am = _this$state.am,
3393            hours = _this$state.hours,
3394            date = _this$state.date;
3395        var value = parseInt(hours, 10);
3396  
3397        if (!Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isInteger"])(value) || is12Hour && (value < 1 || value > 12) || !is12Hour && (value < 0 || value > 23)) {
3398          this.syncState(this.props);
3399          return;
3400        }
3401  
3402        var newDate = is12Hour ? date.clone().hours(am === 'AM' ? value % 12 : (value % 12 + 12) % 24) : date.clone().hours(value);
3403        this.setState({
3404          date: newDate
3405        });
3406        var formattedDate = newDate.format(TIMEZONELESS_FORMAT);
3407        onChange(formattedDate);
3408      }
3409    }, {
3410      key: "updateMinutes",
3411      value: function updateMinutes() {
3412        var onChange = this.props.onChange;
3413        var _this$state2 = this.state,
3414            minutes = _this$state2.minutes,
3415            date = _this$state2.date;
3416        var value = parseInt(minutes, 10);
3417  
3418        if (!Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isInteger"])(value) || value < 0 || value > 59) {
3419          this.syncState(this.props);
3420          return;
3421        }
3422  
3423        var newDate = date.clone().minutes(value);
3424        this.setState({
3425          date: newDate
3426        });
3427        var formattedDate = newDate.format(TIMEZONELESS_FORMAT);
3428        onChange(formattedDate);
3429      }
3430    }, {
3431      key: "updateAmPm",
3432      value: function updateAmPm(value) {
3433        var _this2 = this;
3434  
3435        return function () {
3436          var onChange = _this2.props.onChange;
3437          var _this2$state = _this2.state,
3438              am = _this2$state.am,
3439              date = _this2$state.date,
3440              hours = _this2$state.hours;
3441  
3442          if (am === value) {
3443            return;
3444          }
3445  
3446          var newDate;
3447  
3448          if (value === 'PM') {
3449            newDate = date.clone().hours((parseInt(hours, 10) % 12 + 12) % 24);
3450          } else {
3451            newDate = date.clone().hours(parseInt(hours, 10) % 12);
3452          }
3453  
3454          _this2.setState({
3455            date: newDate
3456          });
3457  
3458          var formattedDate = newDate.format(TIMEZONELESS_FORMAT);
3459          onChange(formattedDate);
3460        };
3461      }
3462    }, {
3463      key: "onChangeHours",
3464      value: function onChangeHours(event) {
3465        this.setState({
3466          hours: event.target.value
3467        });
3468      }
3469    }, {
3470      key: "onChangeMinutes",
3471      value: function onChangeMinutes(event) {
3472        this.setState({
3473          minutes: event.target.value
3474        });
3475      }
3476    }, {
3477      key: "render",
3478      value: function render() {
3479        var is12Hour = this.props.is12Hour;
3480        var _this$state3 = this.state,
3481            minutes = _this$state3.minutes,
3482            hours = _this$state3.hours,
3483            am = _this$state3.am;
3484        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
3485          className: "components-time-picker"
3486        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("input", {
3487          className: "components-time-picker__input",
3488          type: "text",
3489          value: hours,
3490          onChange: this.onChangeHours,
3491          onBlur: this.updateHours
3492        }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("span", {
3493          className: "components-time-picker__separator"
3494        }, ":"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("input", {
3495          className: "components-time-picker__input",
3496          type: "text",
3497          value: minutes,
3498          onChange: this.onChangeMinutes,
3499          onBlur: this.updateMinutes
3500        }), is12Hour && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_10__["default"], {
3501          isDefault: true,
3502          className: "components-time-picker__am-button",
3503          isToggled: am === 'AM',
3504          onClick: this.updateAmPm('AM')
3505        }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__["__"])('AM')), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_10__["default"], {
3506          isDefault: true,
3507          className: "components-time-picker__pm-button",
3508          isToggled: am === 'PM',
3509          onClick: this.updateAmPm('PM')
3510        }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_9__["__"])('PM'))));
3511      }
3512    }]);
3513  
3514    return TimePicker;
3515  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
3516  
3517  /* harmony default export */ __webpack_exports__["default"] = (TimePicker);
3518  
3519  
3520  /***/ }),
3521  
3522  /***/ "./node_modules/@wordpress/components/build-module/disabled/index.js":
3523  /*!***************************************************************************!*\
3524    !*** ./node_modules/@wordpress/components/build-module/disabled/index.js ***!
3525    \***************************************************************************/
3526  /*! exports provided: default */
3527  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3528  
3529  "use strict";
3530  __webpack_require__.r(__webpack_exports__);
3531  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
3532  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
3533  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
3534  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
3535  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
3536  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
3537  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
3538  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
3539  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
3540  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
3541  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
3542  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
3543  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
3544  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__);
3545  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/dom */ "@wordpress/dom");
3546  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_11__);
3547  
3548  
3549  
3550  
3551  
3552  
3553  
3554  
3555  
3556  
3557  /**
3558   * External dependencies
3559   */
3560  
3561  
3562  /**
3563   * WordPress dependencies
3564   */
3565  
3566  
3567  
3568  
3569  var _createContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createContext"])(false),
3570      Consumer = _createContext.Consumer,
3571      Provider = _createContext.Provider;
3572  /**
3573   * Names of control nodes which qualify for disabled behavior.
3574   *
3575   * See WHATWG HTML Standard: 4.10.18.5: "Enabling and disabling form controls: the disabled attribute".
3576   *
3577   * @link https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
3578   *
3579   * @type {string[]}
3580   */
3581  
3582  
3583  var DISABLED_ELIGIBLE_NODE_NAMES = ['BUTTON', 'FIELDSET', 'INPUT', 'OPTGROUP', 'OPTION', 'SELECT', 'TEXTAREA'];
3584  
3585  var Disabled =
3586  /*#__PURE__*/
3587  function (_Component) {
3588    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(Disabled, _Component);
3589  
3590    function Disabled() {
3591      var _this;
3592  
3593      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Disabled);
3594  
3595      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(Disabled).apply(this, arguments));
3596      _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
3597      _this.disable = _this.disable.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this))); // Debounce re-disable since disabling process itself will incur
3598      // additional mutations which should be ignored.
3599  
3600      _this.debouncedDisable = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["debounce"])(_this.disable, {
3601        leading: true
3602      });
3603      return _this;
3604    }
3605  
3606    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(Disabled, [{
3607      key: "componentDidMount",
3608      value: function componentDidMount() {
3609        this.disable();
3610        this.observer = new window.MutationObserver(this.debouncedDisable);
3611        this.observer.observe(this.node, {
3612          childList: true,
3613          attributes: true,
3614          subtree: true
3615        });
3616      }
3617    }, {
3618      key: "componentWillUnmount",
3619      value: function componentWillUnmount() {
3620        this.observer.disconnect();
3621        this.debouncedDisable.cancel();
3622      }
3623    }, {
3624      key: "bindNode",
3625      value: function bindNode(node) {
3626        this.node = node;
3627      }
3628    }, {
3629      key: "disable",
3630      value: function disable() {
3631        _wordpress_dom__WEBPACK_IMPORTED_MODULE_11__["focus"].focusable.find(this.node).forEach(function (focusable) {
3632          if (Object(lodash__WEBPACK_IMPORTED_MODULE_9__["includes"])(DISABLED_ELIGIBLE_NODE_NAMES, focusable.nodeName)) {
3633            focusable.setAttribute('disabled', '');
3634          }
3635  
3636          if (focusable.hasAttribute('tabindex')) {
3637            focusable.removeAttribute('tabindex');
3638          }
3639  
3640          if (focusable.hasAttribute('contenteditable')) {
3641            focusable.setAttribute('contenteditable', 'false');
3642          }
3643        });
3644      }
3645    }, {
3646      key: "render",
3647      value: function render() {
3648        var _this$props = this.props,
3649            className = _this$props.className,
3650            props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["className"]);
3651  
3652        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(Provider, {
3653          value: true
3654        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
3655          ref: this.bindNode,
3656          className: classnames__WEBPACK_IMPORTED_MODULE_10___default()(className, 'components-disabled')
3657        }, props), this.props.children));
3658      }
3659    }]);
3660  
3661    return Disabled;
3662  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
3663  
3664  Disabled.Consumer = Consumer;
3665  /* harmony default export */ __webpack_exports__["default"] = (Disabled);
3666  
3667  
3668  /***/ }),
3669  
3670  /***/ "./node_modules/@wordpress/components/build-module/draggable/index.js":
3671  /*!****************************************************************************!*\
3672    !*** ./node_modules/@wordpress/components/build-module/draggable/index.js ***!
3673    \****************************************************************************/
3674  /*! exports provided: default */
3675  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3676  
3677  "use strict";
3678  __webpack_require__.r(__webpack_exports__);
3679  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
3680  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
3681  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
3682  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
3683  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
3684  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
3685  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
3686  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
3687  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
3688  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
3689  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
3690  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
3691  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
3692  
3693  
3694  
3695  
3696  
3697  
3698  
3699  
3700  /**
3701   * External dependencies
3702   */
3703  
3704  /**
3705   * WordPress Dependencies
3706   */
3707  
3708  
3709  
3710  var dragImageClass = 'components-draggable__invisible-drag-image';
3711  var cloneWrapperClass = 'components-draggable__clone';
3712  var cloneHeightTransformationBreakpoint = 700;
3713  var clonePadding = 20;
3714  
3715  var isChromeUA = function isChromeUA() {
3716    return /Chrome/i.test(window.navigator.userAgent);
3717  };
3718  
3719  var documentHasIframes = function documentHasIframes() {
3720    return Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__["default"])(document.getElementById('editor').querySelectorAll('iframe')).length > 0;
3721  };
3722  
3723  var Draggable =
3724  /*#__PURE__*/
3725  function (_Component) {
3726    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(Draggable, _Component);
3727  
3728    function Draggable() {
3729      var _this;
3730  
3731      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Draggable);
3732  
3733      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(Draggable).apply(this, arguments));
3734      _this.onDragStart = _this.onDragStart.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3735      _this.onDragOver = _this.onDragOver.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3736      _this.onDrop = _this.onDrop.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3737      _this.onDragEnd = _this.onDragEnd.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3738      _this.resetDragState = _this.resetDragState.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
3739      _this.isChromeAndHasIframes = false;
3740      return _this;
3741    }
3742  
3743    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Draggable, [{
3744      key: "componentWillUnmount",
3745      value: function componentWillUnmount() {
3746        this.resetDragState();
3747      }
3748      /**
3749       * Removes the element clone, resets cursor, and removes drag listener.
3750       * @param  {Object} event     The non-custom DragEvent.
3751       */
3752  
3753    }, {
3754      key: "onDragEnd",
3755      value: function onDragEnd(event) {
3756        var _this$props$onDragEnd = this.props.onDragEnd,
3757            onDragEnd = _this$props$onDragEnd === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$props$onDragEnd;
3758  
3759        if (event) {
3760          event.preventDefault();
3761        }
3762  
3763        this.resetDragState();
3764        this.props.setTimeout(onDragEnd);
3765      }
3766      /*
3767       * Updates positioning of element clone based on mouse movement during dragging.
3768       * @param  {Object} event     The non-custom DragEvent.
3769       */
3770  
3771    }, {
3772      key: "onDragOver",
3773      value: function onDragOver(event) {
3774        this.cloneWrapper.style.top = "".concat(parseInt(this.cloneWrapper.style.top, 10) + event.clientY - this.cursorTop, "px");
3775        this.cloneWrapper.style.left = "".concat(parseInt(this.cloneWrapper.style.left, 10) + event.clientX - this.cursorLeft, "px"); // Update cursor coordinates.
3776  
3777        this.cursorLeft = event.clientX;
3778        this.cursorTop = event.clientY;
3779      }
3780    }, {
3781      key: "onDrop",
3782      value: function onDrop() {
3783        // As per https://html.spec.whatwg.org/multipage/dnd.html#dndevents
3784        // the target node for the dragend is the source node that started the drag operation,
3785        // while drop event's target is the current target element.
3786        this.onDragEnd(null);
3787      }
3788      /**
3789       *  - Clones the current element and spawns clone over original element.
3790       *  - Adds a fake temporary drag image to avoid browser defaults.
3791       *  - Sets transfer data.
3792       *  - Adds dragover listener.
3793       * @param  {Object} event                    The non-custom DragEvent.
3794       * @param  {string} elementId                The HTML id of the element to be dragged.
3795       * @param  {Object} transferData            The data to be set to the event's dataTransfer - to be accessible in any later drop logic.
3796       */
3797  
3798    }, {
3799      key: "onDragStart",
3800      value: function onDragStart(event) {
3801        var _this$props = this.props,
3802            elementId = _this$props.elementId,
3803            transferData = _this$props.transferData,
3804            _this$props$onDragSta = _this$props.onDragStart,
3805            onDragStart = _this$props$onDragSta === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$props$onDragSta;
3806        var element = document.getElementById(elementId);
3807  
3808        if (!element) {
3809          event.preventDefault();
3810          return;
3811        } // Set a fake drag image to avoid browser defaults. Remove from DOM
3812        // right after. event.dataTransfer.setDragImage is not supported yet in
3813        // IE, we need to check for its existence first.
3814  
3815  
3816        if ('function' === typeof event.dataTransfer.setDragImage) {
3817          var dragImage = document.createElement('div');
3818          dragImage.id = "drag-image-".concat(elementId);
3819          dragImage.classList.add(dragImageClass);
3820          document.body.appendChild(dragImage);
3821          event.dataTransfer.setDragImage(dragImage, 0, 0);
3822          this.props.setTimeout(function () {
3823            document.body.removeChild(dragImage);
3824          });
3825        }
3826  
3827        event.dataTransfer.setData('text', JSON.stringify(transferData)); // Prepare element clone and append to element wrapper.
3828  
3829        var elementRect = element.getBoundingClientRect();
3830        var elementWrapper = element.parentNode;
3831        var elementTopOffset = parseInt(elementRect.top, 10);
3832        var elementLeftOffset = parseInt(elementRect.left, 10);
3833        var clone = element.cloneNode(true);
3834        clone.id = "clone-".concat(elementId);
3835        this.cloneWrapper = document.createElement('div');
3836        this.cloneWrapper.classList.add(cloneWrapperClass);
3837        this.cloneWrapper.style.width = "".concat(elementRect.width + clonePadding * 2, "px");
3838  
3839        if (elementRect.height > cloneHeightTransformationBreakpoint) {
3840          // Scale down clone if original element is larger than 700px.
3841          this.cloneWrapper.style.transform = 'scale(0.5)';
3842          this.cloneWrapper.style.transformOrigin = 'top left'; // Position clone near the cursor.
3843  
3844          this.cloneWrapper.style.top = "".concat(event.clientY - 100, "px");
3845          this.cloneWrapper.style.left = "".concat(event.clientX, "px");
3846        } else {
3847          // Position clone right over the original element (20px padding).
3848          this.cloneWrapper.style.top = "".concat(elementTopOffset - clonePadding, "px");
3849          this.cloneWrapper.style.left = "".concat(elementLeftOffset - clonePadding, "px");
3850        } // Hack: Remove iFrames as it's causing the embeds drag clone to freeze
3851  
3852  
3853        Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__["default"])(clone.querySelectorAll('iframe')).forEach(function (child) {
3854          return child.parentNode.removeChild(child);
3855        });
3856  
3857        this.cloneWrapper.appendChild(clone);
3858        elementWrapper.appendChild(this.cloneWrapper); // Mark the current cursor coordinates.
3859  
3860        this.cursorLeft = event.clientX;
3861        this.cursorTop = event.clientY; // Update cursor to 'grabbing', document wide.
3862  
3863        document.body.classList.add('is-dragging-components-draggable');
3864        document.addEventListener('dragover', this.onDragOver); // Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=737691#c8
3865        // dragend event won't be dispatched in the chrome browser
3866        // when iframes are affected by the drag operation. So, in that case,
3867        // we use the drop event to wrap up the dragging operation.
3868        // This way the hack is contained to a specific use case and the external API
3869        // still relies mostly on the dragend event.
3870  
3871        if (isChromeUA() && documentHasIframes()) {
3872          this.isChromeAndHasIframes = true;
3873          document.addEventListener('drop', this.onDrop);
3874        }
3875  
3876        this.props.setTimeout(onDragStart);
3877      }
3878      /**
3879       * Cleans up drag state when drag has completed, or component unmounts
3880       * while dragging.
3881       */
3882  
3883    }, {
3884      key: "resetDragState",
3885      value: function resetDragState() {
3886        // Remove drag clone
3887        document.removeEventListener('dragover', this.onDragOver);
3888  
3889        if (this.cloneWrapper && this.cloneWrapper.parentNode) {
3890          this.cloneWrapper.parentNode.removeChild(this.cloneWrapper);
3891          this.cloneWrapper = null;
3892        }
3893  
3894        if (this.isChromeAndHasIframes) {
3895          this.isChromeAndHasIframes = false;
3896          document.removeEventListener('drop', this.onDrop);
3897        } // Reset cursor.
3898  
3899  
3900        document.body.classList.remove('is-dragging-components-draggable');
3901      }
3902    }, {
3903      key: "render",
3904      value: function render() {
3905        var children = this.props.children;
3906        return children({
3907          onDraggableStart: this.onDragStart,
3908          onDraggableEnd: this.onDragEnd
3909        });
3910      }
3911    }]);
3912  
3913    return Draggable;
3914  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
3915  
3916  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["withSafeTimeout"])(Draggable));
3917  
3918  
3919  /***/ }),
3920  
3921  /***/ "./node_modules/@wordpress/components/build-module/drop-zone/index.js":
3922  /*!****************************************************************************!*\
3923    !*** ./node_modules/@wordpress/components/build-module/drop-zone/index.js ***!
3924    \****************************************************************************/
3925  /*! exports provided: default */
3926  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3927  
3928  "use strict";
3929  __webpack_require__.r(__webpack_exports__);
3930  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
3931  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
3932  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
3933  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
3934  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
3935  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
3936  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
3937  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
3938  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
3939  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
3940  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);
3941  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
3942  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
3943  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
3944  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_10__);
3945  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
3946  
3947  
3948  
3949  
3950  
3951  
3952  
3953  
3954  
3955  /**
3956   * External dependencies
3957   */
3958  
3959  
3960  /**
3961   * WordPress dependencies
3962   */
3963  
3964  
3965  
3966  /**
3967   * Internal dependencies
3968   */
3969  
3970  
3971  
3972  var DropZone =
3973  /*#__PURE__*/
3974  function (_Component) {
3975    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(DropZone, _Component);
3976  
3977    function DropZone() {
3978      var _this;
3979  
3980      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, DropZone);
3981  
3982      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(DropZone).apply(this, arguments));
3983      _this.setZoneNode = _this.setZoneNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
3984      _this.state = {
3985        isDraggingOverDocument: false,
3986        isDraggingOverElement: false,
3987        position: null,
3988        type: null
3989      };
3990      return _this;
3991    }
3992  
3993    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(DropZone, [{
3994      key: "componentDidMount",
3995      value: function componentDidMount() {
3996        this.context.dropzones.add({
3997          element: this.zone,
3998          updateState: this.setState.bind(this),
3999          onDrop: this.props.onDrop,
4000          onFilesDrop: this.props.onFilesDrop,
4001          onHTMLDrop: this.props.onHTMLDrop
4002        });
4003      }
4004    }, {
4005      key: "componentWillUnmount",
4006      value: function componentWillUnmount() {
4007        this.context.dropzones.remove(this.zone);
4008      }
4009    }, {
4010      key: "setZoneNode",
4011      value: function setZoneNode(node) {
4012        this.zone = node;
4013      }
4014    }, {
4015      key: "render",
4016      value: function render() {
4017        var _this$props = this.props,
4018            className = _this$props.className,
4019            label = _this$props.label;
4020        var _this$state = this.state,
4021            isDraggingOverDocument = _this$state.isDraggingOverDocument,
4022            isDraggingOverElement = _this$state.isDraggingOverElement,
4023            position = _this$state.position,
4024            type = _this$state.type;
4025        var classes = classnames__WEBPACK_IMPORTED_MODULE_8___default()('components-drop-zone', className, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({
4026          'is-active': isDraggingOverDocument || isDraggingOverElement,
4027          'is-dragging-over-document': isDraggingOverDocument,
4028          'is-dragging-over-element': isDraggingOverElement,
4029          'is-close-to-top': position && position.y === 'top',
4030          'is-close-to-bottom': position && position.y === 'bottom',
4031          'is-close-to-left': position && position.x === 'left',
4032          'is-close-to-right': position && position.x === 'right'
4033        }, "is-dragging-".concat(type), !!type));
4034        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", {
4035          ref: this.setZoneNode,
4036          className: classes
4037        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", {
4038          className: "components-drop-zone__content"
4039        }, [Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_11__["default"], {
4040          key: "icon",
4041          icon: "upload",
4042          size: "40",
4043          className: "components-drop-zone__content-icon"
4044        }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("span", {
4045          key: "text",
4046          className: "components-drop-zone__content-text"
4047        }, label ? label : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_10__["__"])('Drop files to upload'))]));
4048      }
4049    }]);
4050  
4051    return DropZone;
4052  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]);
4053  
4054  DropZone.contextTypes = {
4055    dropzones: lodash__WEBPACK_IMPORTED_MODULE_9__["noop"]
4056  };
4057  /* harmony default export */ __webpack_exports__["default"] = (DropZone);
4058  
4059  
4060  /***/ }),
4061  
4062  /***/ "./node_modules/@wordpress/components/build-module/drop-zone/provider.js":
4063  /*!*******************************************************************************!*\
4064    !*** ./node_modules/@wordpress/components/build-module/drop-zone/provider.js ***!
4065    \*******************************************************************************/
4066  /*! exports provided: default */
4067  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4068  
4069  "use strict";
4070  __webpack_require__.r(__webpack_exports__);
4071  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
4072  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
4073  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
4074  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
4075  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
4076  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
4077  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
4078  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
4079  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
4080  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
4081  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
4082  /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/is-shallow-equal */ "@wordpress/is-shallow-equal");
4083  /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_9__);
4084  
4085  
4086  
4087  
4088  
4089  
4090  
4091  
4092  /**
4093   * External dependencies
4094   */
4095  
4096  /**
4097   * WordPress dependencies
4098   */
4099  
4100  
4101  
4102  
4103  var DropZoneProvider =
4104  /*#__PURE__*/
4105  function (_Component) {
4106    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(DropZoneProvider, _Component);
4107  
4108    function DropZoneProvider() {
4109      var _this;
4110  
4111      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, DropZoneProvider);
4112  
4113      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(DropZoneProvider).apply(this, arguments));
4114      _this.resetDragState = _this.resetDragState.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
4115      _this.toggleDraggingOverDocument = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["throttle"])(_this.toggleDraggingOverDocument.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this))), 200);
4116      _this.dragOverListener = _this.dragOverListener.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
4117      _this.isWithinZoneBounds = _this.isWithinZoneBounds.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
4118      _this.onDrop = _this.onDrop.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
4119      _this.state = {
4120        isDraggingOverDocument: false,
4121        hoveredDropZone: -1,
4122        position: null
4123      };
4124      _this.dropzones = [];
4125      return _this;
4126    }
4127  
4128    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(DropZoneProvider, [{
4129      key: "dragOverListener",
4130      value: function dragOverListener(event) {
4131        this.toggleDraggingOverDocument(event, this.getDragEventType(event));
4132        event.preventDefault();
4133      }
4134    }, {
4135      key: "getChildContext",
4136      value: function getChildContext() {
4137        var _this2 = this;
4138  
4139        return {
4140          dropzones: {
4141            add: function add(_ref) {
4142              var element = _ref.element,
4143                  updateState = _ref.updateState,
4144                  onDrop = _ref.onDrop,
4145                  onFilesDrop = _ref.onFilesDrop,
4146                  onHTMLDrop = _ref.onHTMLDrop;
4147  
4148              _this2.dropzones.push({
4149                element: element,
4150                updateState: updateState,
4151                onDrop: onDrop,
4152                onFilesDrop: onFilesDrop,
4153                onHTMLDrop: onHTMLDrop
4154              });
4155            },
4156            remove: function remove(element) {
4157              _this2.dropzones = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["filter"])(_this2.dropzones, function (dropzone) {
4158                return dropzone.element !== element;
4159              });
4160            }
4161          }
4162        };
4163      }
4164    }, {
4165      key: "componentDidMount",
4166      value: function componentDidMount() {
4167        window.addEventListener('dragover', this.dragOverListener);
4168        window.addEventListener('drop', this.onDrop);
4169        window.addEventListener('mouseup', this.resetDragState); // Disable reason: Can't use a ref since this component just renders its children
4170        // eslint-disable-next-line react/no-find-dom-node
4171  
4172        this.container = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["findDOMNode"])(this);
4173      }
4174    }, {
4175      key: "componentWillUnmount",
4176      value: function componentWillUnmount() {
4177        window.removeEventListener('dragover', this.dragOverListener);
4178        window.removeEventListener('drop', this.onDrop);
4179        window.removeEventListener('mouseup', this.resetDragState);
4180      }
4181    }, {
4182      key: "resetDragState",
4183      value: function resetDragState() {
4184        // Avoid throttled drag over handler calls
4185        this.toggleDraggingOverDocument.cancel();
4186        var _this$state = this.state,
4187            isDraggingOverDocument = _this$state.isDraggingOverDocument,
4188            hoveredDropZone = _this$state.hoveredDropZone;
4189  
4190        if (!isDraggingOverDocument && hoveredDropZone === -1) {
4191          return;
4192        }
4193  
4194        this.setState({
4195          isDraggingOverDocument: false,
4196          hoveredDropZone: -1,
4197          position: null
4198        });
4199        this.dropzones.forEach(function (_ref2) {
4200          var updateState = _ref2.updateState;
4201          updateState({
4202            isDraggingOverDocument: false,
4203            isDraggingOverElement: false,
4204            position: null,
4205            type: null
4206          });
4207        });
4208      }
4209    }, {
4210      key: "getDragEventType",
4211      value: function getDragEventType(event) {
4212        if (event.dataTransfer) {
4213          // Use lodash `includes` here as in the Edge browser `types` is implemented
4214          // as a DomStringList, whereas in other browsers it's an array. `includes`
4215          // happily works with both types.
4216          if (Object(lodash__WEBPACK_IMPORTED_MODULE_7__["includes"])(event.dataTransfer.types, 'Files')) {
4217            return 'file';
4218          }
4219  
4220          if (Object(lodash__WEBPACK_IMPORTED_MODULE_7__["includes"])(event.dataTransfer.types, 'text/html')) {
4221            return 'html';
4222          }
4223        }
4224  
4225        return 'default';
4226      }
4227    }, {
4228      key: "doesDropzoneSupportType",
4229      value: function doesDropzoneSupportType(dropzone, type) {
4230        return type === 'file' && dropzone.onFilesDrop || type === 'html' && dropzone.onHTMLDrop || type === 'default' && dropzone.onDrop;
4231      }
4232    }, {
4233      key: "toggleDraggingOverDocument",
4234      value: function toggleDraggingOverDocument(event, dragEventType) {
4235        var _this3 = this;
4236  
4237        // In some contexts, it may be necessary to capture and redirect the
4238        // drag event (e.g. atop an `iframe`). To accommodate this, you can
4239        // create an instance of CustomEvent with the original event specified
4240        // as the `detail` property.
4241        //
4242        // See: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events
4243        var detail = window.CustomEvent && event instanceof window.CustomEvent ? event.detail : event; // Index of hovered dropzone.
4244  
4245        var hoveredDropZones = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["filter"])(this.dropzones, function (dropzone) {
4246          return _this3.doesDropzoneSupportType(dropzone, dragEventType) && _this3.isWithinZoneBounds(dropzone.element, detail.clientX, detail.clientY);
4247        }); // Find the leaf dropzone not containing another dropzone
4248  
4249        var hoveredDropZone = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["find"])(hoveredDropZones, function (zone) {
4250          return !Object(lodash__WEBPACK_IMPORTED_MODULE_7__["some"])(hoveredDropZones, function (subZone) {
4251            return subZone !== zone && zone.element.parentElement.contains(subZone.element);
4252          });
4253        });
4254        var hoveredDropZoneIndex = this.dropzones.indexOf(hoveredDropZone);
4255        var position = null;
4256  
4257        if (hoveredDropZone) {
4258          var rect = hoveredDropZone.element.getBoundingClientRect();
4259          position = {
4260            x: detail.clientX - rect.left < rect.right - detail.clientX ? 'left' : 'right',
4261            y: detail.clientY - rect.top < rect.bottom - detail.clientY ? 'top' : 'bottom'
4262          };
4263        } // Optimisation: Only update the changed dropzones
4264  
4265  
4266        var dropzonesToUpdate = [];
4267  
4268        if (!this.state.isDraggingOverDocument) {
4269          dropzonesToUpdate = this.dropzones;
4270        } else if (hoveredDropZoneIndex !== this.state.hoveredDropZone) {
4271          if (this.state.hoveredDropZone !== -1) {
4272            dropzonesToUpdate.push(this.dropzones[this.state.hoveredDropZone]);
4273          }
4274  
4275          if (hoveredDropZone) {
4276            dropzonesToUpdate.push(hoveredDropZone);
4277          }
4278        } else if (hoveredDropZone && hoveredDropZoneIndex === this.state.hoveredDropZone && !Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isEqual"])(position, this.state.position)) {
4279          dropzonesToUpdate.push(hoveredDropZone);
4280        } // Notifying the dropzones
4281  
4282  
4283        dropzonesToUpdate.map(function (dropzone) {
4284          var index = _this3.dropzones.indexOf(dropzone);
4285  
4286          var isDraggingOverDropZone = index === hoveredDropZoneIndex;
4287          dropzone.updateState({
4288            isDraggingOverElement: isDraggingOverDropZone,
4289            position: isDraggingOverDropZone ? position : null,
4290            isDraggingOverDocument: _this3.doesDropzoneSupportType(dropzone, dragEventType),
4291            type: isDraggingOverDropZone ? dragEventType : null
4292          });
4293        });
4294        var newState = {
4295          isDraggingOverDocument: true,
4296          hoveredDropZone: hoveredDropZoneIndex,
4297          position: position
4298        };
4299  
4300        if (!_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_9___default()(newState, this.state)) {
4301          this.setState(newState);
4302        }
4303      }
4304    }, {
4305      key: "isWithinZoneBounds",
4306      value: function isWithinZoneBounds(dropzone, x, y) {
4307        var isWithinElement = function isWithinElement(element) {
4308          var rect = element.getBoundingClientRect(); /// make sure the rect is a valid rect
4309  
4310          if (rect.bottom === rect.top || rect.left === rect.right) {
4311            return false;
4312          }
4313  
4314          return x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom;
4315        };
4316  
4317        return isWithinElement(dropzone);
4318      }
4319    }, {
4320      key: "onDrop",
4321      value: function onDrop(event) {
4322        // This seemingly useless line has been shown to resolve a Safari issue
4323        // where files dragged directly from the dock are not recognized
4324        event.dataTransfer && event.dataTransfer.files.length; // eslint-disable-line no-unused-expressions
4325  
4326        var _this$state2 = this.state,
4327            position = _this$state2.position,
4328            hoveredDropZone = _this$state2.hoveredDropZone;
4329        var dragEventType = this.getDragEventType(event);
4330        var dropzone = this.dropzones[hoveredDropZone];
4331        var isValidDropzone = !!dropzone && this.container.contains(event.target);
4332        this.resetDragState();
4333  
4334        if (isValidDropzone) {
4335          switch (dragEventType) {
4336            case 'file':
4337              dropzone.onFilesDrop(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(event.dataTransfer.files), position);
4338              break;
4339  
4340            case 'html':
4341              dropzone.onHTMLDrop(event.dataTransfer.getData('text/html'), position);
4342              break;
4343  
4344            case 'default':
4345              dropzone.onDrop(event, position);
4346          }
4347        }
4348  
4349        event.stopPropagation();
4350        event.preventDefault();
4351      }
4352    }, {
4353      key: "render",
4354      value: function render() {
4355        var children = this.props.children;
4356        return children;
4357      }
4358    }]);
4359  
4360    return DropZoneProvider;
4361  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
4362  
4363  DropZoneProvider.childContextTypes = {
4364    dropzones: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"]
4365  };
4366  /* harmony default export */ __webpack_exports__["default"] = (DropZoneProvider);
4367  
4368  
4369  /***/ }),
4370  
4371  /***/ "./node_modules/@wordpress/components/build-module/dropdown-menu/index.js":
4372  /*!********************************************************************************!*\
4373    !*** ./node_modules/@wordpress/components/build-module/dropdown-menu/index.js ***!
4374    \********************************************************************************/
4375  /*! exports provided: default */
4376  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4377  
4378  "use strict";
4379  __webpack_require__.r(__webpack_exports__);
4380  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
4381  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
4382  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
4383  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
4384  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
4385  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
4386  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
4387  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__);
4388  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
4389  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dropdown */ "./node_modules/@wordpress/components/build-module/dropdown/index.js");
4390  /* harmony import */ var _navigable_container__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../navigable-container */ "./node_modules/@wordpress/components/build-module/navigable-container/index.js");
4391  
4392  
4393  /**
4394   * External dependencies
4395   */
4396  
4397  
4398  /**
4399   * WordPress dependencies
4400   */
4401  
4402  
4403  /**
4404   * Internal dependencies
4405   */
4406  
4407  
4408  
4409  
4410  
4411  function DropdownMenu(_ref) {
4412    var _ref$icon = _ref.icon,
4413        icon = _ref$icon === void 0 ? 'menu' : _ref$icon,
4414        label = _ref.label,
4415        menuLabel = _ref.menuLabel,
4416        controls = _ref.controls,
4417        className = _ref.className;
4418  
4419    if (!controls || !controls.length) {
4420      return null;
4421    } // Normalize controls to nested array of objects (sets of controls)
4422  
4423  
4424    var controlSets = controls;
4425  
4426    if (!Array.isArray(controlSets[0])) {
4427      controlSets = [controlSets];
4428    }
4429  
4430    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_dropdown__WEBPACK_IMPORTED_MODULE_5__["default"], {
4431      className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-dropdown-menu', className),
4432      contentClassName: "components-dropdown-menu__popover",
4433      renderToggle: function renderToggle(_ref2) {
4434        var isOpen = _ref2.isOpen,
4435            onToggle = _ref2.onToggle;
4436  
4437        var openOnArrowDown = function openOnArrowDown(event) {
4438          if (!isOpen && event.keyCode === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__["DOWN"]) {
4439            event.preventDefault();
4440            event.stopPropagation();
4441            onToggle();
4442          }
4443        };
4444  
4445        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_4__["default"], {
4446          className: "components-dropdown-menu__toggle",
4447          icon: icon,
4448          onClick: onToggle,
4449          onKeyDown: openOnArrowDown,
4450          "aria-haspopup": "true",
4451          "aria-expanded": isOpen,
4452          label: label,
4453          tooltip: label
4454        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
4455          className: "components-dropdown-menu__indicator"
4456        }));
4457      },
4458      renderContent: function renderContent(_ref3) {
4459        var onClose = _ref3.onClose;
4460        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_navigable_container__WEBPACK_IMPORTED_MODULE_6__["NavigableMenu"], {
4461          className: "components-dropdown-menu__menu",
4462          role: "menu",
4463          "aria-label": menuLabel
4464        }, Object(lodash__WEBPACK_IMPORTED_MODULE_2__["flatMap"])(controlSets, function (controlSet, indexOfSet) {
4465          return controlSet.map(function (control, indexOfControl) {
4466            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_4__["default"], {
4467              key: [indexOfSet, indexOfControl].join(),
4468              onClick: function onClick(event) {
4469                event.stopPropagation();
4470                onClose();
4471  
4472                if (control.onClick) {
4473                  control.onClick();
4474                }
4475              },
4476              className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-dropdown-menu__menu-item', {
4477                'has-separator': indexOfSet > 0 && indexOfControl === 0,
4478                'is-active': control.isActive
4479              }),
4480              icon: control.icon,
4481              role: "menuitem",
4482              disabled: control.isDisabled
4483            }, control.title);
4484          });
4485        }));
4486      }
4487    });
4488  }
4489  
4490  /* harmony default export */ __webpack_exports__["default"] = (DropdownMenu);
4491  
4492  
4493  /***/ }),
4494  
4495  /***/ "./node_modules/@wordpress/components/build-module/dropdown/index.js":
4496  /*!***************************************************************************!*\
4497    !*** ./node_modules/@wordpress/components/build-module/dropdown/index.js ***!
4498    \***************************************************************************/
4499  /*! exports provided: default */
4500  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4501  
4502  "use strict";
4503  __webpack_require__.r(__webpack_exports__);
4504  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
4505  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
4506  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
4507  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
4508  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
4509  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
4510  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
4511  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
4512  /* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../popover */ "./node_modules/@wordpress/components/build-module/popover/index.js");
4513  
4514  
4515  
4516  
4517  
4518  
4519  
4520  
4521  /**
4522   * WordPress dependencies
4523   */
4524  
4525  /**
4526   * Internal dependencies
4527   */
4528  
4529  
4530  
4531  var Dropdown =
4532  /*#__PURE__*/
4533  function (_Component) {
4534    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(Dropdown, _Component);
4535  
4536    function Dropdown() {
4537      var _this;
4538  
4539      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Dropdown);
4540  
4541      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(Dropdown).apply(this, arguments));
4542      _this.toggle = _this.toggle.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
4543      _this.close = _this.close.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
4544      _this.clickOutside = _this.clickOutside.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
4545      _this.bindContainer = _this.bindContainer.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
4546      _this.refresh = _this.refresh.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
4547      _this.popoverRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])();
4548      _this.state = {
4549        isOpen: false
4550      };
4551      return _this;
4552    }
4553  
4554    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Dropdown, [{
4555      key: "componentWillUnmount",
4556      value: function componentWillUnmount() {
4557        var isOpen = this.state.isOpen;
4558        var onToggle = this.props.onToggle;
4559  
4560        if (isOpen && onToggle) {
4561          onToggle(false);
4562        }
4563      }
4564    }, {
4565      key: "componentDidUpdate",
4566      value: function componentDidUpdate(prevProps, prevState) {
4567        var isOpen = this.state.isOpen;
4568        var onToggle = this.props.onToggle;
4569  
4570        if (prevState.isOpen !== isOpen && onToggle) {
4571          onToggle(isOpen);
4572        }
4573      }
4574    }, {
4575      key: "bindContainer",
4576      value: function bindContainer(ref) {
4577        this.container = ref;
4578      }
4579      /**
4580       * When contents change height due to user interaction,
4581       * `refresh` can be called to re-render Popover with correct
4582       * attributes which allow scroll, if need be.
4583       */
4584  
4585    }, {
4586      key: "refresh",
4587      value: function refresh() {
4588        if (this.popoverRef.current) {
4589          this.popoverRef.current.refresh();
4590        }
4591      }
4592    }, {
4593      key: "toggle",
4594      value: function toggle() {
4595        this.setState(function (state) {
4596          return {
4597            isOpen: !state.isOpen
4598          };
4599        });
4600      }
4601    }, {
4602      key: "clickOutside",
4603      value: function clickOutside(event) {
4604        if (!this.container.contains(event.target)) {
4605          this.close();
4606        }
4607      }
4608    }, {
4609      key: "close",
4610      value: function close() {
4611        this.setState({
4612          isOpen: false
4613        });
4614      }
4615    }, {
4616      key: "render",
4617      value: function render() {
4618        var isOpen = this.state.isOpen;
4619        var _this$props = this.props,
4620            renderContent = _this$props.renderContent,
4621            renderToggle = _this$props.renderToggle,
4622            _this$props$position = _this$props.position,
4623            position = _this$props$position === void 0 ? 'bottom' : _this$props$position,
4624            className = _this$props.className,
4625            contentClassName = _this$props.contentClassName,
4626            expandOnMobile = _this$props.expandOnMobile,
4627            headerTitle = _this$props.headerTitle;
4628        var args = {
4629          isOpen: isOpen,
4630          onToggle: this.toggle,
4631          onClose: this.close
4632        };
4633        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
4634          className: className,
4635          ref: this.bindContainer
4636        }, renderToggle(args), isOpen && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_popover__WEBPACK_IMPORTED_MODULE_7__["default"], {
4637          className: contentClassName,
4638          ref: this.popoverRef,
4639          position: position,
4640          onClose: this.close,
4641          onClickOutside: this.clickOutside,
4642          expandOnMobile: expandOnMobile,
4643          headerTitle: headerTitle
4644        }, renderContent(args)));
4645      }
4646    }]);
4647  
4648    return Dropdown;
4649  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
4650  
4651  /* harmony default export */ __webpack_exports__["default"] = (Dropdown);
4652  
4653  
4654  /***/ }),
4655  
4656  /***/ "./node_modules/@wordpress/components/build-module/external-link/index.js":
4657  /*!********************************************************************************!*\
4658    !*** ./node_modules/@wordpress/components/build-module/external-link/index.js ***!
4659    \********************************************************************************/
4660  /*! exports provided: ExternalLink, default */
4661  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4662  
4663  "use strict";
4664  __webpack_require__.r(__webpack_exports__);
4665  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalLink", function() { return ExternalLink; });
4666  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
4667  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
4668  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
4669  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
4670  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
4671  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
4672  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);
4673  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ "lodash");
4674  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
4675  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
4676  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);
4677  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
4678  
4679  
4680  
4681  
4682  
4683  /**
4684   * External dependencies
4685   */
4686  
4687  
4688  /**
4689   * WordPress dependencies
4690   */
4691  
4692  
4693  
4694  /**
4695   * Internal dependencies
4696   */
4697  
4698  
4699  function ExternalLink(_ref, ref) {
4700    var href = _ref.href,
4701        children = _ref.children,
4702        className = _ref.className,
4703        _ref$rel = _ref.rel,
4704        rel = _ref$rel === void 0 ? '' : _ref$rel,
4705        additionalProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__["default"])(_ref, ["href", "children", "className", "rel"]);
4706  
4707    rel = Object(lodash__WEBPACK_IMPORTED_MODULE_5__["uniq"])(Object(lodash__WEBPACK_IMPORTED_MODULE_5__["compact"])(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(rel.split(' ')).concat(['external', 'noreferrer', 'noopener']))).join(' ');
4708    var classes = classnames__WEBPACK_IMPORTED_MODULE_4___default()('components-external-link', className);
4709    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("a", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, additionalProps, {
4710      className: classes,
4711      href: href,
4712      target: "_blank",
4713      rel: rel,
4714      ref: ref
4715    }), children, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("span", {
4716      className: "screen-reader-text"
4717    },
4718    /* translators: accessibility text */
4719    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__["__"])('(opens in a new window)')), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_7__["default"], {
4720      icon: "external",
4721      className: "components-external-link__icon"
4722    }));
4723  }
4724  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["forwardRef"])(ExternalLink));
4725  
4726  
4727  /***/ }),
4728  
4729  /***/ "./node_modules/@wordpress/components/build-module/focusable-iframe/index.js":
4730  /*!***********************************************************************************!*\
4731    !*** ./node_modules/@wordpress/components/build-module/focusable-iframe/index.js ***!
4732    \***********************************************************************************/
4733  /*! exports provided: default */
4734  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4735  
4736  "use strict";
4737  __webpack_require__.r(__webpack_exports__);
4738  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
4739  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
4740  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
4741  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
4742  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
4743  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
4744  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
4745  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
4746  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
4747  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ "lodash");
4748  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
4749  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
4750  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
4751  
4752  
4753  
4754  
4755  
4756  
4757  
4758  
4759  
4760  /**
4761   * External dependencies
4762   */
4763  
4764  /**
4765   * WordPress dependencies
4766   */
4767  
4768  
4769  
4770  /**
4771   * Browser dependencies
4772   */
4773  
4774  var _window = window,
4775      FocusEvent = _window.FocusEvent;
4776  
4777  var FocusableIframe =
4778  /*#__PURE__*/
4779  function (_Component) {
4780    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(FocusableIframe, _Component);
4781  
4782    function FocusableIframe(props) {
4783      var _this;
4784  
4785      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, FocusableIframe);
4786  
4787      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(FocusableIframe).apply(this, arguments));
4788      _this.checkFocus = _this.checkFocus.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
4789      _this.node = props.iframeRef || Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createRef"])();
4790      return _this;
4791    }
4792    /**
4793     * Checks whether the iframe is the activeElement, inferring that it has
4794     * then received focus, and calls the `onFocus` prop callback.
4795     */
4796  
4797  
4798    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(FocusableIframe, [{
4799      key: "checkFocus",
4800      value: function checkFocus() {
4801        var iframe = this.node.current;
4802  
4803        if (document.activeElement !== iframe) {
4804          return;
4805        }
4806  
4807        var focusEvent = new FocusEvent('focus', {
4808          bubbles: true
4809        });
4810        iframe.dispatchEvent(focusEvent);
4811        var onFocus = this.props.onFocus;
4812  
4813        if (onFocus) {
4814          onFocus(focusEvent);
4815        }
4816      }
4817    }, {
4818      key: "render",
4819      value: function render() {
4820        // Disable reason: The rendered iframe is a pass-through component,
4821        // assigning props inherited from the rendering parent. It's the
4822        // responsibility of the parent to assign a title.
4823  
4824        /* eslint-disable jsx-a11y/iframe-has-title */
4825        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("iframe", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
4826          ref: this.node
4827        }, Object(lodash__WEBPACK_IMPORTED_MODULE_8__["omit"])(this.props, ['iframeRef', 'onFocus'])));
4828        /* eslint-enable jsx-a11y/iframe-has-title */
4829      }
4830    }]);
4831  
4832    return FocusableIframe;
4833  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]);
4834  
4835  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["withGlobalEvents"])({
4836    blur: 'checkFocus'
4837  })(FocusableIframe));
4838  
4839  
4840  /***/ }),
4841  
4842  /***/ "./node_modules/@wordpress/components/build-module/font-size-picker/index.js":
4843  /*!***********************************************************************************!*\
4844    !*** ./node_modules/@wordpress/components/build-module/font-size-picker/index.js ***!
4845    \***********************************************************************************/
4846  /*! exports provided: default */
4847  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4848  
4849  "use strict";
4850  __webpack_require__.r(__webpack_exports__);
4851  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
4852  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
4853  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
4854  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
4855  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
4856  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
4857  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
4858  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
4859  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
4860  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
4861  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
4862  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../dropdown */ "./node_modules/@wordpress/components/build-module/dropdown/index.js");
4863  /* harmony import */ var _range_control__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../range-control */ "./node_modules/@wordpress/components/build-module/range-control/index.js");
4864  /* harmony import */ var _navigable_container__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../navigable-container */ "./node_modules/@wordpress/components/build-module/navigable-container/index.js");
4865  
4866  
4867  /**
4868   * External dependencies
4869   */
4870  
4871  /**
4872   * WordPress dependencies
4873   */
4874  
4875  
4876  
4877  /**
4878   * Internal dependencies
4879   */
4880  
4881  
4882  
4883  
4884  
4885  
4886  
4887  
4888  function FontSizePicker(_ref) {
4889    var fallbackFontSize = _ref.fallbackFontSize,
4890        _ref$fontSizes = _ref.fontSizes,
4891        fontSizes = _ref$fontSizes === void 0 ? [] : _ref$fontSizes,
4892        onChange = _ref.onChange,
4893        value = _ref.value,
4894        withSlider = _ref.withSlider;
4895  
4896    var onChangeValue = function onChangeValue(event) {
4897      var newValue = event.target.value;
4898  
4899      if (newValue === '') {
4900        onChange(undefined);
4901        return;
4902      }
4903  
4904      onChange(Number(newValue));
4905    };
4906  
4907    var currentFont = fontSizes.find(function (font) {
4908      return font.size === value;
4909    });
4910    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_5__["default"], {
4911      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Font Size')
4912    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
4913      className: "components-font-size-picker__buttons"
4914    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_dropdown__WEBPACK_IMPORTED_MODULE_7__["default"], {
4915      className: "components-font-size-picker__dropdown",
4916      contentClassName: "components-font-size-picker__dropdown-content",
4917      position: "bottom",
4918      renderToggle: function renderToggle(_ref2) {
4919        var isOpen = _ref2.isOpen,
4920            onToggle = _ref2.onToggle;
4921        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_6__["default"], {
4922          className: "components-font-size-picker__selector",
4923          isLarge: true,
4924          onClick: onToggle,
4925          "aria-expanded": isOpen,
4926          "aria-label": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Custom font size')
4927        }, currentFont && currentFont.name || !value && 'Normal' || 'Custom');
4928      },
4929      renderContent: function renderContent() {
4930        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_navigable_container__WEBPACK_IMPORTED_MODULE_9__["NavigableMenu"], null, Object(lodash__WEBPACK_IMPORTED_MODULE_1__["map"])(fontSizes, function (_ref3) {
4931          var name = _ref3.name,
4932              size = _ref3.size,
4933              slug = _ref3.slug;
4934          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_6__["default"], {
4935            key: slug,
4936            onClick: function onClick() {
4937              return onChange(slug === 'normal' ? undefined : size);
4938            },
4939            className: 'is-font-' + slug,
4940            role: "menuitem"
4941          }, (value === size || !value && slug === 'normal') && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_4__["default"], {
4942            icon: "saved"
4943          }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
4944            className: "components-font-size-picker__dropdown-text-size",
4945            style: {
4946              fontSize: size
4947            }
4948          }, name));
4949        }));
4950      }
4951    }), !withSlider && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("input", {
4952      className: "components-range-control__number",
4953      type: "number",
4954      onChange: onChangeValue,
4955      "aria-label": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Custom font size'),
4956      value: value || ''
4957    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_6__["default"], {
4958      className: "components-color-palette__clear",
4959      type: "button",
4960      disabled: value === undefined,
4961      onClick: function onClick() {
4962        return onChange(undefined);
4963      },
4964      isSmall: true,
4965      isDefault: true,
4966      "aria-label": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Reset font size')
4967    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Reset'))), withSlider && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_range_control__WEBPACK_IMPORTED_MODULE_8__["default"], {
4968      className: "components-font-size-picker__custom-input",
4969      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Custom Size'),
4970      value: value || '',
4971      initialPosition: fallbackFontSize,
4972      onChange: onChange,
4973      min: 12,
4974      max: 100,
4975      beforeIcon: "editor-textcolor",
4976      afterIcon: "editor-textcolor"
4977    }));
4978  }
4979  
4980  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["withInstanceId"])(FontSizePicker));
4981  
4982  
4983  /***/ }),
4984  
4985  /***/ "./node_modules/@wordpress/components/build-module/form-file-upload/index.js":
4986  /*!***********************************************************************************!*\
4987    !*** ./node_modules/@wordpress/components/build-module/form-file-upload/index.js ***!
4988    \***********************************************************************************/
4989  /*! exports provided: default */
4990  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4991  
4992  "use strict";
4993  __webpack_require__.r(__webpack_exports__);
4994  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
4995  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
4996  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
4997  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
4998  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
4999  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
5000  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
5001  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
5002  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
5003  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
5004  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
5005  
5006  
5007  
5008  
5009  
5010  
5011  
5012  
5013  
5014  
5015  /**
5016   * WordPress dependencies
5017   */
5018  
5019  /**
5020   * Internal dependencies
5021   */
5022  
5023  
5024  
5025  var FormFileUpload =
5026  /*#__PURE__*/
5027  function (_Component) {
5028    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(FormFileUpload, _Component);
5029  
5030    function FormFileUpload() {
5031      var _this;
5032  
5033      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, FormFileUpload);
5034  
5035      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(FormFileUpload).apply(this, arguments));
5036      _this.openFileDialog = _this.openFileDialog.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5037      _this.bindInput = _this.bindInput.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5038      return _this;
5039    }
5040  
5041    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(FormFileUpload, [{
5042      key: "openFileDialog",
5043      value: function openFileDialog() {
5044        this.input.click();
5045      }
5046    }, {
5047      key: "bindInput",
5048      value: function bindInput(ref) {
5049        this.input = ref;
5050      }
5051    }, {
5052      key: "render",
5053      value: function render() {
5054        var _this$props = this.props,
5055            children = _this$props.children,
5056            _this$props$multiple = _this$props.multiple,
5057            multiple = _this$props$multiple === void 0 ? false : _this$props$multiple,
5058            accept = _this$props.accept,
5059            onChange = _this$props.onChange,
5060            _this$props$icon = _this$props.icon,
5061            icon = _this$props$icon === void 0 ? 'upload' : _this$props$icon,
5062            props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["children", "multiple", "accept", "onChange", "icon"]);
5063  
5064        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
5065          className: "components-form-file-upload"
5066        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_9__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
5067          icon: icon,
5068          onClick: this.openFileDialog
5069        }, props), children), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("input", {
5070          type: "file",
5071          ref: this.bindInput,
5072          multiple: multiple,
5073          style: {
5074            display: 'none'
5075          },
5076          accept: accept,
5077          onChange: onChange
5078        }));
5079      }
5080    }]);
5081  
5082    return FormFileUpload;
5083  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
5084  
5085  /* harmony default export */ __webpack_exports__["default"] = (FormFileUpload);
5086  
5087  
5088  /***/ }),
5089  
5090  /***/ "./node_modules/@wordpress/components/build-module/form-toggle/index.js":
5091  /*!******************************************************************************!*\
5092    !*** ./node_modules/@wordpress/components/build-module/form-toggle/index.js ***!
5093    \******************************************************************************/
5094  /*! exports provided: default */
5095  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5096  
5097  "use strict";
5098  __webpack_require__.r(__webpack_exports__);
5099  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
5100  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
5101  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
5102  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
5103  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
5104  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
5105  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash");
5106  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
5107  /* harmony import */ var _primitives__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../primitives */ "./node_modules/@wordpress/components/build-module/primitives/index.js");
5108  
5109  
5110  
5111  
5112  /**
5113   * External dependencies
5114   */
5115  
5116  
5117  /**
5118   * Internal dependencies
5119   */
5120  
5121  
5122  
5123  function FormToggle(_ref) {
5124    var className = _ref.className,
5125        checked = _ref.checked,
5126        id = _ref.id,
5127        _ref$onChange = _ref.onChange,
5128        onChange = _ref$onChange === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_4__["noop"] : _ref$onChange,
5129        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["className", "checked", "id", "onChange"]);
5130  
5131    var wrapperClasses = classnames__WEBPACK_IMPORTED_MODULE_3___default()('components-form-toggle', className, {
5132      'is-checked': checked
5133    });
5134    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("span", {
5135      className: wrapperClasses
5136    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("input", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
5137      className: "components-form-toggle__input",
5138      id: id,
5139      type: "checkbox",
5140      checked: checked,
5141      onChange: onChange
5142    }, props)), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("span", {
5143      className: "components-form-toggle__track"
5144    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("span", {
5145      className: "components-form-toggle__thumb"
5146    }), checked ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_5__["SVG"], {
5147      className: "components-form-toggle__on",
5148      width: "2",
5149      height: "6",
5150      xmlns: "http://www.w3.org/2000/svg",
5151      viewBox: "0 0 2 6"
5152    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_5__["Path"], {
5153      d: "M0 0h2v6H0z"
5154    })) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_5__["SVG"], {
5155      className: "components-form-toggle__off",
5156      width: "6",
5157      height: "6",
5158      "aria-hidden": "true",
5159      role: "img",
5160      focusable: "false",
5161      xmlns: "http://www.w3.org/2000/svg",
5162      viewBox: "0 0 6 6"
5163    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_5__["Path"], {
5164      d: "M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"
5165    })));
5166  }
5167  
5168  /* harmony default export */ __webpack_exports__["default"] = (FormToggle);
5169  
5170  
5171  /***/ }),
5172  
5173  /***/ "./node_modules/@wordpress/components/build-module/form-token-field/index.js":
5174  /*!***********************************************************************************!*\
5175    !*** ./node_modules/@wordpress/components/build-module/form-token-field/index.js ***!
5176    \***********************************************************************************/
5177  /*! exports provided: default */
5178  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5179  
5180  "use strict";
5181  __webpack_require__.r(__webpack_exports__);
5182  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
5183  /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
5184  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
5185  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
5186  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
5187  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
5188  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
5189  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
5190  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
5191  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
5192  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
5193  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
5194  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
5195  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__);
5196  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
5197  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__);
5198  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
5199  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_12__);
5200  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
5201  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__);
5202  /* harmony import */ var _token__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./token */ "./node_modules/@wordpress/components/build-module/form-token-field/token.js");
5203  /* harmony import */ var _token_input__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./token-input */ "./node_modules/@wordpress/components/build-module/form-token-field/token-input.js");
5204  /* harmony import */ var _suggestions_list__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./suggestions-list */ "./node_modules/@wordpress/components/build-module/form-token-field/suggestions-list.js");
5205  /* harmony import */ var _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../higher-order/with-spoken-messages */ "./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js");
5206  
5207  
5208  
5209  
5210  
5211  
5212  
5213  
5214  
5215  
5216  /**
5217   * External dependencies
5218   */
5219  
5220  
5221  /**
5222   * WordPress dependencies
5223   */
5224  
5225  
5226  
5227  
5228  
5229  /**
5230   * Internal dependencies
5231   */
5232  
5233  
5234  
5235  
5236  
5237  var initialState = {
5238    incompleteTokenValue: '',
5239    inputOffsetFromEnd: 0,
5240    isActive: false,
5241    isExpanded: false,
5242    selectedSuggestionIndex: -1,
5243    selectedSuggestionScroll: false
5244  };
5245  
5246  var FormTokenField =
5247  /*#__PURE__*/
5248  function (_Component) {
5249    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(FormTokenField, _Component);
5250  
5251    function FormTokenField() {
5252      var _this;
5253  
5254      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, FormTokenField);
5255  
5256      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(FormTokenField).apply(this, arguments));
5257      _this.state = initialState;
5258      _this.onKeyDown = _this.onKeyDown.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5259      _this.onKeyPress = _this.onKeyPress.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5260      _this.onFocus = _this.onFocus.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5261      _this.onBlur = _this.onBlur.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5262      _this.deleteTokenBeforeInput = _this.deleteTokenBeforeInput.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5263      _this.deleteTokenAfterInput = _this.deleteTokenAfterInput.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5264      _this.addCurrentToken = _this.addCurrentToken.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5265      _this.onContainerTouched = _this.onContainerTouched.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5266      _this.renderToken = _this.renderToken.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5267      _this.onTokenClickRemove = _this.onTokenClickRemove.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5268      _this.onSuggestionHovered = _this.onSuggestionHovered.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5269      _this.onSuggestionSelected = _this.onSuggestionSelected.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5270      _this.onInputChange = _this.onInputChange.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5271      _this.bindInput = _this.bindInput.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5272      _this.bindTokensAndInput = _this.bindTokensAndInput.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
5273      return _this;
5274    }
5275  
5276    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(FormTokenField, [{
5277      key: "componentDidUpdate",
5278      value: function componentDidUpdate() {
5279        // Make sure to focus the input when the isActive state is true.
5280        if (this.state.isActive && !this.input.hasFocus()) {
5281          this.input.focus();
5282        }
5283      }
5284    }, {
5285      key: "bindInput",
5286      value: function bindInput(ref) {
5287        this.input = ref;
5288      }
5289    }, {
5290      key: "bindTokensAndInput",
5291      value: function bindTokensAndInput(ref) {
5292        this.tokensAndInput = ref;
5293      }
5294    }, {
5295      key: "onFocus",
5296      value: function onFocus(event) {
5297        // If focus is on the input or on the container, set the isActive state to true.
5298        if (this.input.hasFocus() || event.target === this.tokensAndInput) {
5299          this.setState({
5300            isActive: true
5301          });
5302        } else {
5303          /*
5304           * Otherwise, focus is on one of the token "remove" buttons and we
5305           * set the isActive state to false to prevent the input to be
5306           * re-focused, see componentDidUpdate().
5307           */
5308          this.setState({
5309            isActive: false
5310          });
5311        }
5312  
5313        if ('function' === typeof this.props.onFocus) {
5314          this.props.onFocus(event);
5315        }
5316      }
5317    }, {
5318      key: "onBlur",
5319      value: function onBlur() {
5320        if (this.inputHasValidValue()) {
5321          this.setState({
5322            isActive: false
5323          });
5324        } else {
5325          this.setState(initialState);
5326        }
5327      }
5328    }, {
5329      key: "onKeyDown",
5330      value: function onKeyDown(event) {
5331        var preventDefault = false;
5332  
5333        switch (event.keyCode) {
5334          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["BACKSPACE"]:
5335            preventDefault = this.handleDeleteKey(this.deleteTokenBeforeInput);
5336            break;
5337  
5338          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["ENTER"]:
5339            preventDefault = this.addCurrentToken();
5340            break;
5341  
5342          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["LEFT"]:
5343            preventDefault = this.handleLeftArrowKey();
5344            break;
5345  
5346          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["UP"]:
5347            preventDefault = this.handleUpArrowKey();
5348            break;
5349  
5350          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["RIGHT"]:
5351            preventDefault = this.handleRightArrowKey();
5352            break;
5353  
5354          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["DOWN"]:
5355            preventDefault = this.handleDownArrowKey();
5356            break;
5357  
5358          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["DELETE"]:
5359            preventDefault = this.handleDeleteKey(this.deleteTokenAfterInput);
5360            break;
5361  
5362          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["SPACE"]:
5363            if (this.props.tokenizeOnSpace) {
5364              preventDefault = this.addCurrentToken();
5365            }
5366  
5367            break;
5368  
5369          case _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_13__["ESCAPE"]:
5370            preventDefault = this.handleEscapeKey(event);
5371            event.stopPropagation();
5372            break;
5373  
5374          default:
5375            break;
5376        }
5377  
5378        if (preventDefault) {
5379          event.preventDefault();
5380        }
5381      }
5382    }, {
5383      key: "onKeyPress",
5384      value: function onKeyPress(event) {
5385        var preventDefault = false;
5386  
5387        switch (event.charCode) {
5388          case 44:
5389            // comma
5390            preventDefault = this.handleCommaKey();
5391            break;
5392  
5393          default:
5394            break;
5395        }
5396  
5397        if (preventDefault) {
5398          event.preventDefault();
5399        }
5400      }
5401    }, {
5402      key: "onContainerTouched",
5403      value: function onContainerTouched(event) {
5404        // Prevent clicking/touching the tokensAndInput container from blurring
5405        // the input and adding the current token.
5406        if (event.target === this.tokensAndInput && this.state.isActive) {
5407          event.preventDefault();
5408        }
5409      }
5410    }, {
5411      key: "onTokenClickRemove",
5412      value: function onTokenClickRemove(event) {
5413        this.deleteToken(event.value);
5414        this.input.focus();
5415      }
5416    }, {
5417      key: "onSuggestionHovered",
5418      value: function onSuggestionHovered(suggestion) {
5419        var index = this.getMatchingSuggestions().indexOf(suggestion);
5420  
5421        if (index >= 0) {
5422          this.setState({
5423            selectedSuggestionIndex: index,
5424            selectedSuggestionScroll: false
5425          });
5426        }
5427      }
5428    }, {
5429      key: "onSuggestionSelected",
5430      value: function onSuggestionSelected(suggestion) {
5431        this.addNewToken(suggestion);
5432      }
5433    }, {
5434      key: "onInputChange",
5435      value: function onInputChange(event) {
5436        var text = event.value;
5437        var separator = this.props.tokenizeOnSpace ? /[ ,\t]+/ : /[,\t]+/;
5438        var items = text.split(separator);
5439        var tokenValue = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["last"])(items) || '';
5440        var inputHasMinimumChars = tokenValue.trim().length > 1;
5441        var matchingSuggestions = this.getMatchingSuggestions(tokenValue);
5442        var hasVisibleSuggestions = inputHasMinimumChars && !!matchingSuggestions.length;
5443  
5444        if (items.length > 1) {
5445          this.addNewTokens(items.slice(0, -1));
5446        }
5447  
5448        this.setState({
5449          incompleteTokenValue: tokenValue,
5450          selectedSuggestionIndex: -1,
5451          selectedSuggestionScroll: false,
5452          isExpanded: false
5453        });
5454        this.props.onInputChange(tokenValue);
5455  
5456        if (inputHasMinimumChars) {
5457          this.setState({
5458            isExpanded: hasVisibleSuggestions
5459          });
5460  
5461          if (!!matchingSuggestions.length) {
5462            this.props.debouncedSpeak(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', matchingSuggestions.length), matchingSuggestions.length), 'assertive');
5463          } else {
5464            this.props.debouncedSpeak(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["__"])('No results.'), 'assertive');
5465          }
5466        }
5467      }
5468    }, {
5469      key: "handleDeleteKey",
5470      value: function handleDeleteKey(deleteToken) {
5471        var preventDefault = false;
5472  
5473        if (this.input.hasFocus() && this.isInputEmpty()) {
5474          deleteToken();
5475          preventDefault = true;
5476        }
5477  
5478        return preventDefault;
5479      }
5480    }, {
5481      key: "handleLeftArrowKey",
5482      value: function handleLeftArrowKey() {
5483        var preventDefault = false;
5484  
5485        if (this.isInputEmpty()) {
5486          this.moveInputBeforePreviousToken();
5487          preventDefault = true;
5488        }
5489  
5490        return preventDefault;
5491      }
5492    }, {
5493      key: "handleRightArrowKey",
5494      value: function handleRightArrowKey() {
5495        var preventDefault = false;
5496  
5497        if (this.isInputEmpty()) {
5498          this.moveInputAfterNextToken();
5499          preventDefault = true;
5500        }
5501  
5502        return preventDefault;
5503      }
5504    }, {
5505      key: "handleUpArrowKey",
5506      value: function handleUpArrowKey() {
5507        var _this2 = this;
5508  
5509        this.setState(function (state, props) {
5510          return {
5511            selectedSuggestionIndex: (state.selectedSuggestionIndex === 0 ? _this2.getMatchingSuggestions(state.incompleteTokenValue, props.suggestions, props.value, props.maxSuggestions, props.saveTransform).length : state.selectedSuggestionIndex) - 1,
5512            selectedSuggestionScroll: true
5513          };
5514        });
5515        return true; // preventDefault
5516      }
5517    }, {
5518      key: "handleDownArrowKey",
5519      value: function handleDownArrowKey() {
5520        var _this3 = this;
5521  
5522        this.setState(function (state, props) {
5523          return {
5524            selectedSuggestionIndex: (state.selectedSuggestionIndex + 1) % _this3.getMatchingSuggestions(state.incompleteTokenValue, props.suggestions, props.value, props.maxSuggestions, props.saveTransform).length,
5525            selectedSuggestionScroll: true
5526          };
5527        });
5528        return true; // preventDefault
5529      }
5530    }, {
5531      key: "handleEscapeKey",
5532      value: function handleEscapeKey(event) {
5533        this.setState({
5534          incompleteTokenValue: event.target.value,
5535          isExpanded: false,
5536          selectedSuggestionIndex: -1,
5537          selectedSuggestionScroll: false
5538        });
5539        return true; // preventDefault
5540      }
5541    }, {
5542      key: "handleCommaKey",
5543      value: function handleCommaKey() {
5544        if (this.inputHasValidValue()) {
5545          this.addNewToken(this.state.incompleteTokenValue);
5546        }
5547  
5548        return true; // preventDefault
5549      }
5550    }, {
5551      key: "moveInputToIndex",
5552      value: function moveInputToIndex(index) {
5553        this.setState(function (state, props) {
5554          return {
5555            inputOffsetFromEnd: props.value.length - Math.max(index, -1) - 1
5556          };
5557        });
5558      }
5559    }, {
5560      key: "moveInputBeforePreviousToken",
5561      value: function moveInputBeforePreviousToken() {
5562        this.setState(function (state, props) {
5563          return {
5564            inputOffsetFromEnd: Math.min(state.inputOffsetFromEnd + 1, props.value.length)
5565          };
5566        });
5567      }
5568    }, {
5569      key: "moveInputAfterNextToken",
5570      value: function moveInputAfterNextToken() {
5571        this.setState(function (state) {
5572          return {
5573            inputOffsetFromEnd: Math.max(state.inputOffsetFromEnd - 1, 0)
5574          };
5575        });
5576      }
5577    }, {
5578      key: "deleteTokenBeforeInput",
5579      value: function deleteTokenBeforeInput() {
5580        var index = this.getIndexOfInput() - 1;
5581  
5582        if (index > -1) {
5583          this.deleteToken(this.props.value[index]);
5584        }
5585      }
5586    }, {
5587      key: "deleteTokenAfterInput",
5588      value: function deleteTokenAfterInput() {
5589        var index = this.getIndexOfInput();
5590  
5591        if (index < this.props.value.length) {
5592          this.deleteToken(this.props.value[index]); // update input offset since it's the offset from the last token
5593  
5594          this.moveInputToIndex(index);
5595        }
5596      }
5597    }, {
5598      key: "addCurrentToken",
5599      value: function addCurrentToken() {
5600        var preventDefault = false;
5601        var selectedSuggestion = this.getSelectedSuggestion();
5602  
5603        if (selectedSuggestion) {
5604          this.addNewToken(selectedSuggestion);
5605          preventDefault = true;
5606        } else if (this.inputHasValidValue()) {
5607          this.addNewToken(this.state.incompleteTokenValue);
5608          preventDefault = true;
5609        }
5610  
5611        return preventDefault;
5612      }
5613    }, {
5614      key: "addNewTokens",
5615      value: function addNewTokens(tokens) {
5616        var _this4 = this;
5617  
5618        var tokensToAdd = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["uniq"])(tokens.map(this.props.saveTransform).filter(Boolean).filter(function (token) {
5619          return !_this4.valueContainsToken(token);
5620        }));
5621  
5622        if (tokensToAdd.length > 0) {
5623          var newValue = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["clone"])(this.props.value);
5624          newValue.splice.apply(newValue, [this.getIndexOfInput(), 0].concat(tokensToAdd));
5625          this.props.onChange(newValue);
5626        }
5627      }
5628    }, {
5629      key: "addNewToken",
5630      value: function addNewToken(token) {
5631        this.addNewTokens([token]);
5632        this.props.speak(this.props.messages.added, 'assertive');
5633        this.setState({
5634          incompleteTokenValue: '',
5635          selectedSuggestionIndex: -1,
5636          selectedSuggestionScroll: false,
5637          isExpanded: false
5638        });
5639  
5640        if (this.state.isActive) {
5641          this.input.focus();
5642        }
5643      }
5644    }, {
5645      key: "deleteToken",
5646      value: function deleteToken(token) {
5647        var _this5 = this;
5648  
5649        var newTokens = this.props.value.filter(function (item) {
5650          return _this5.getTokenValue(item) !== _this5.getTokenValue(token);
5651        });
5652        this.props.onChange(newTokens);
5653        this.props.speak(this.props.messages.removed, 'assertive');
5654      }
5655    }, {
5656      key: "getTokenValue",
5657      value: function getTokenValue(token) {
5658        if ('object' === Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(token)) {
5659          return token.value;
5660        }
5661  
5662        return token;
5663      }
5664    }, {
5665      key: "getMatchingSuggestions",
5666      value: function getMatchingSuggestions() {
5667        var searchValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.state.incompleteTokenValue;
5668        var suggestions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.suggestions;
5669        var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.props.value;
5670        var maxSuggestions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : this.props.maxSuggestions;
5671        var saveTransform = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.props.saveTransform;
5672        var match = saveTransform(searchValue);
5673        var startsWithMatch = [];
5674        var containsMatch = [];
5675  
5676        if (match.length === 0) {
5677          suggestions = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["difference"])(suggestions, value);
5678        } else {
5679          match = match.toLocaleLowerCase();
5680          Object(lodash__WEBPACK_IMPORTED_MODULE_9__["each"])(suggestions, function (suggestion) {
5681            var index = suggestion.toLocaleLowerCase().indexOf(match);
5682  
5683            if (value.indexOf(suggestion) === -1) {
5684              if (index === 0) {
5685                startsWithMatch.push(suggestion);
5686              } else if (index > 0) {
5687                containsMatch.push(suggestion);
5688              }
5689            }
5690          });
5691          suggestions = startsWithMatch.concat(containsMatch);
5692        }
5693  
5694        return Object(lodash__WEBPACK_IMPORTED_MODULE_9__["take"])(suggestions, maxSuggestions);
5695      }
5696    }, {
5697      key: "getSelectedSuggestion",
5698      value: function getSelectedSuggestion() {
5699        if (this.state.selectedSuggestionIndex !== -1) {
5700          return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex];
5701        }
5702      }
5703    }, {
5704      key: "valueContainsToken",
5705      value: function valueContainsToken(token) {
5706        var _this6 = this;
5707  
5708        return Object(lodash__WEBPACK_IMPORTED_MODULE_9__["some"])(this.props.value, function (item) {
5709          return _this6.getTokenValue(token) === _this6.getTokenValue(item);
5710        });
5711      }
5712    }, {
5713      key: "getIndexOfInput",
5714      value: function getIndexOfInput() {
5715        return this.props.value.length - this.state.inputOffsetFromEnd;
5716      }
5717    }, {
5718      key: "isInputEmpty",
5719      value: function isInputEmpty() {
5720        return this.state.incompleteTokenValue.length === 0;
5721      }
5722    }, {
5723      key: "inputHasValidValue",
5724      value: function inputHasValidValue() {
5725        return this.props.saveTransform(this.state.incompleteTokenValue).length > 0;
5726      }
5727    }, {
5728      key: "renderTokensAndInput",
5729      value: function renderTokensAndInput() {
5730        var components = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["map"])(this.props.value, this.renderToken);
5731        components.splice(this.getIndexOfInput(), 0, this.renderInput());
5732        return components;
5733      }
5734    }, {
5735      key: "renderToken",
5736      value: function renderToken(token, index, tokens) {
5737        var value = this.getTokenValue(token);
5738        var status = token.status ? token.status : undefined;
5739        var termPosition = index + 1;
5740        var termsCount = tokens.length;
5741        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_token__WEBPACK_IMPORTED_MODULE_14__["default"], {
5742          key: 'token-' + value,
5743          value: value,
5744          status: status,
5745          title: token.title,
5746          displayTransform: this.props.displayTransform,
5747          onClickRemove: this.onTokenClickRemove,
5748          isBorderless: token.isBorderless || this.props.isBorderless,
5749          onMouseEnter: token.onMouseEnter,
5750          onMouseLeave: token.onMouseLeave,
5751          disabled: 'error' !== status && this.props.disabled,
5752          messages: this.props.messages,
5753          termsCount: termsCount,
5754          termPosition: termPosition
5755        });
5756      }
5757    }, {
5758      key: "renderInput",
5759      value: function renderInput() {
5760        var _this$props = this.props,
5761            autoCapitalize = _this$props.autoCapitalize,
5762            autoComplete = _this$props.autoComplete,
5763            maxLength = _this$props.maxLength,
5764            value = _this$props.value,
5765            placeholder = _this$props.placeholder,
5766            instanceId = _this$props.instanceId;
5767        var props = {
5768          instanceId: instanceId,
5769          autoCapitalize: autoCapitalize,
5770          autoComplete: autoComplete,
5771          ref: this.bindInput,
5772          key: 'input',
5773          disabled: this.props.disabled,
5774          value: this.state.incompleteTokenValue,
5775          onBlur: this.onBlur,
5776          isExpanded: this.state.isExpanded,
5777          selectedSuggestionIndex: this.state.selectedSuggestionIndex
5778        };
5779  
5780        if (value.length === 0 && placeholder) {
5781          props.placeholder = placeholder;
5782        }
5783  
5784        if (!(maxLength && value.length >= maxLength)) {
5785          props = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
5786            onChange: this.onInputChange
5787          });
5788        }
5789  
5790        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_token_input__WEBPACK_IMPORTED_MODULE_15__["default"], props);
5791      }
5792    }, {
5793      key: "render",
5794      value: function render() {
5795        var _this$props2 = this.props,
5796            disabled = _this$props2.disabled,
5797            _this$props2$placehol = _this$props2.placeholder,
5798            placeholder = _this$props2$placehol === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["__"])('Add item.') : _this$props2$placehol,
5799            instanceId = _this$props2.instanceId,
5800            className = _this$props2.className;
5801        var isExpanded = this.state.isExpanded;
5802        var classes = classnames__WEBPACK_IMPORTED_MODULE_10___default()(className, 'components-form-token-field', {
5803          'is-active': this.state.isActive,
5804          'is-disabled': disabled
5805        });
5806        var tokenFieldProps = {
5807          className: classes,
5808          tabIndex: '-1'
5809        };
5810        var matchingSuggestions = this.getMatchingSuggestions();
5811  
5812        if (!disabled) {
5813          tokenFieldProps = Object.assign({}, tokenFieldProps, {
5814            onKeyDown: this.onKeyDown,
5815            onKeyPress: this.onKeyPress,
5816            onFocus: this.onFocus
5817          });
5818        } // Disable reason: There is no appropriate role which describes the
5819        // input container intended accessible usability.
5820        // TODO: Refactor click detection to use blur to stop propagation.
5821  
5822        /* eslint-disable jsx-a11y/no-static-element-interactions */
5823  
5824  
5825        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", tokenFieldProps, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("label", {
5826          htmlFor: "components-form-token-input-".concat(instanceId),
5827          className: "screen-reader-text"
5828        }, placeholder), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
5829          ref: this.bindTokensAndInput,
5830          className: "components-form-token-field__input-container",
5831          tabIndex: "-1",
5832          onMouseDown: this.onContainerTouched,
5833          onTouchStart: this.onContainerTouched
5834        }, this.renderTokensAndInput()), isExpanded && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_suggestions_list__WEBPACK_IMPORTED_MODULE_16__["default"], {
5835          instanceId: instanceId,
5836          match: this.props.saveTransform(this.state.incompleteTokenValue),
5837          displayTransform: this.props.displayTransform,
5838          suggestions: matchingSuggestions,
5839          selectedIndex: this.state.selectedSuggestionIndex,
5840          scrollIntoView: this.state.selectedSuggestionScroll,
5841          onHover: this.onSuggestionHovered,
5842          onSelect: this.onSuggestionSelected
5843        }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
5844          id: "components-form-token-suggestions-howto-".concat(instanceId),
5845          className: "screen-reader-text"
5846        }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["__"])('Separate with commas')));
5847        /* eslint-enable jsx-a11y/no-static-element-interactions */
5848      }
5849    }], [{
5850      key: "getDerivedStateFromProps",
5851      value: function getDerivedStateFromProps(props, state) {
5852        if (!props.disabled || !state.isActive) {
5853          return null;
5854        }
5855  
5856        return {
5857          isActive: false,
5858          incompleteTokenValue: ''
5859        };
5860      }
5861    }]);
5862  
5863    return FormTokenField;
5864  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
5865  
5866  FormTokenField.defaultProps = {
5867    suggestions: Object.freeze([]),
5868    maxSuggestions: 100,
5869    value: Object.freeze([]),
5870    placeholder: '',
5871    displayTransform: lodash__WEBPACK_IMPORTED_MODULE_9__["identity"],
5872    saveTransform: function saveTransform(token) {
5873      return token.trim();
5874    },
5875    onChange: function onChange() {},
5876    onInputChange: function onInputChange() {},
5877    isBorderless: false,
5878    disabled: false,
5879    tokenizeOnSpace: false,
5880    messages: {
5881      added: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["__"])('Item added.'),
5882      removed: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["__"])('Item removed.'),
5883      remove: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__["__"])('Remove item')
5884    }
5885  };
5886  /* harmony default export */ __webpack_exports__["default"] = (Object(_higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_17__["default"])(Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_12__["withInstanceId"])(FormTokenField)));
5887  
5888  
5889  /***/ }),
5890  
5891  /***/ "./node_modules/@wordpress/components/build-module/form-token-field/suggestions-list.js":
5892  /*!**********************************************************************************************!*\
5893    !*** ./node_modules/@wordpress/components/build-module/form-token-field/suggestions-list.js ***!
5894    \**********************************************************************************************/
5895  /*! exports provided: default */
5896  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5897  
5898  "use strict";
5899  __webpack_require__.r(__webpack_exports__);
5900  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
5901  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
5902  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
5903  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
5904  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
5905  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
5906  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
5907  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
5908  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
5909  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
5910  /* harmony import */ var dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! dom-scroll-into-view */ "./node_modules/dom-scroll-into-view/lib/index.js");
5911  /* harmony import */ var dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_8__);
5912  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
5913  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);
5914  
5915  
5916  
5917  
5918  
5919  
5920  
5921  
5922  /**
5923   * External dependencies
5924   */
5925  
5926  
5927  
5928  /**
5929   * WordPress dependencies
5930   */
5931  
5932  
5933  
5934  var SuggestionsList =
5935  /*#__PURE__*/
5936  function (_Component) {
5937    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(SuggestionsList, _Component);
5938  
5939    function SuggestionsList() {
5940      var _this;
5941  
5942      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, SuggestionsList);
5943  
5944      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(SuggestionsList).apply(this, arguments));
5945      _this.handleMouseDown = _this.handleMouseDown.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
5946      _this.bindList = _this.bindList.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
5947      return _this;
5948    }
5949  
5950    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(SuggestionsList, [{
5951      key: "componentDidUpdate",
5952      value: function componentDidUpdate() {
5953        var _this2 = this;
5954  
5955        // only have to worry about scrolling selected suggestion into view
5956        // when already expanded
5957        if (this.props.selectedIndex > -1 && this.props.scrollIntoView) {
5958          this.scrollingIntoView = true;
5959          dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_8___default()(this.list.children[this.props.selectedIndex], this.list, {
5960            onlyScrollIfNeeded: true
5961          });
5962          setTimeout(function () {
5963            _this2.scrollingIntoView = false;
5964          }, 100);
5965        }
5966      }
5967    }, {
5968      key: "bindList",
5969      value: function bindList(ref) {
5970        this.list = ref;
5971      }
5972    }, {
5973      key: "handleHover",
5974      value: function handleHover(suggestion) {
5975        var _this3 = this;
5976  
5977        return function () {
5978          if (!_this3.scrollingIntoView) {
5979            _this3.props.onHover(suggestion);
5980          }
5981        };
5982      }
5983    }, {
5984      key: "handleClick",
5985      value: function handleClick(suggestion) {
5986        var _this4 = this;
5987  
5988        return function () {
5989          _this4.props.onSelect(suggestion);
5990        };
5991      }
5992    }, {
5993      key: "handleMouseDown",
5994      value: function handleMouseDown(e) {
5995        // By preventing default here, we will not lose focus of <input> when clicking a suggestion
5996        e.preventDefault();
5997      }
5998    }, {
5999      key: "computeSuggestionMatch",
6000      value: function computeSuggestionMatch(suggestion) {
6001        var match = this.props.displayTransform(this.props.match || '').toLocaleLowerCase();
6002  
6003        if (match.length === 0) {
6004          return null;
6005        }
6006  
6007        suggestion = this.props.displayTransform(suggestion);
6008        var indexOfMatch = suggestion.toLocaleLowerCase().indexOf(match);
6009        return {
6010          suggestionBeforeMatch: suggestion.substring(0, indexOfMatch),
6011          suggestionMatch: suggestion.substring(indexOfMatch, indexOfMatch + match.length),
6012          suggestionAfterMatch: suggestion.substring(indexOfMatch + match.length)
6013        };
6014      }
6015    }, {
6016      key: "render",
6017      value: function render() {
6018        var _this5 = this;
6019  
6020        // We set `tabIndex` here because otherwise Firefox sets focus on this
6021        // div when tabbing off of the input in `TokenField` -- not really sure
6022        // why, since usually a div isn't focusable by default
6023        // TODO does this still apply now that it's a <ul> and not a <div>?
6024        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("ul", {
6025          ref: this.bindList,
6026          className: "components-form-token-field__suggestions-list",
6027          id: "components-form-token-suggestions-".concat(this.props.instanceId),
6028          role: "listbox"
6029        }, Object(lodash__WEBPACK_IMPORTED_MODULE_7__["map"])(this.props.suggestions, function (suggestion, index) {
6030          var match = _this5.computeSuggestionMatch(suggestion);
6031  
6032          var classeName = classnames__WEBPACK_IMPORTED_MODULE_9___default()('components-form-token-field__suggestion', {
6033            'is-selected': index === _this5.props.selectedIndex
6034          });
6035          /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
6036  
6037          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("li", {
6038            id: "components-form-token-suggestions-".concat(_this5.props.instanceId, "-").concat(index),
6039            role: "option",
6040            className: classeName,
6041            key: suggestion,
6042            onMouseDown: _this5.handleMouseDown,
6043            onClick: _this5.handleClick(suggestion),
6044            onMouseEnter: _this5.handleHover(suggestion),
6045            "aria-selected": index === _this5.props.selectedIndex
6046          }, match ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("span", {
6047            "aria-label": _this5.props.displayTransform(suggestion)
6048          }, match.suggestionBeforeMatch, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("strong", {
6049            className: "components-form-token-field__suggestion-match"
6050          }, match.suggestionMatch), match.suggestionAfterMatch) : _this5.props.displayTransform(suggestion));
6051          /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
6052        }));
6053      }
6054    }]);
6055  
6056    return SuggestionsList;
6057  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
6058  
6059  SuggestionsList.defaultProps = {
6060    match: '',
6061    onHover: function onHover() {},
6062    onSelect: function onSelect() {},
6063    suggestions: Object.freeze([])
6064  };
6065  /* harmony default export */ __webpack_exports__["default"] = (SuggestionsList);
6066  
6067  
6068  /***/ }),
6069  
6070  /***/ "./node_modules/@wordpress/components/build-module/form-token-field/token-input.js":
6071  /*!*****************************************************************************************!*\
6072    !*** ./node_modules/@wordpress/components/build-module/form-token-field/token-input.js ***!
6073    \*****************************************************************************************/
6074  /*! exports provided: default */
6075  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6076  
6077  "use strict";
6078  __webpack_require__.r(__webpack_exports__);
6079  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
6080  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
6081  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6082  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6083  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6084  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6085  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6086  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
6087  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6088  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
6089  
6090  
6091  
6092  
6093  
6094  
6095  
6096  
6097  
6098  
6099  /**
6100   * WordPress dependencies
6101   */
6102  
6103  
6104  var TokenInput =
6105  /*#__PURE__*/
6106  function (_Component) {
6107    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(TokenInput, _Component);
6108  
6109    function TokenInput() {
6110      var _this;
6111  
6112      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, TokenInput);
6113  
6114      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(TokenInput).apply(this, arguments));
6115      _this.onChange = _this.onChange.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
6116      _this.bindInput = _this.bindInput.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
6117      return _this;
6118    }
6119  
6120    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(TokenInput, [{
6121      key: "focus",
6122      value: function focus() {
6123        this.input.focus();
6124      }
6125    }, {
6126      key: "hasFocus",
6127      value: function hasFocus() {
6128        return this.input === document.activeElement;
6129      }
6130    }, {
6131      key: "bindInput",
6132      value: function bindInput(ref) {
6133        this.input = ref;
6134      }
6135    }, {
6136      key: "onChange",
6137      value: function onChange(event) {
6138        this.props.onChange({
6139          value: event.target.value
6140        });
6141      }
6142    }, {
6143      key: "render",
6144      value: function render() {
6145        var _this$props = this.props,
6146            value = _this$props.value,
6147            placeholder = _this$props.placeholder,
6148            isExpanded = _this$props.isExpanded,
6149            instanceId = _this$props.instanceId,
6150            selectedSuggestionIndex = _this$props.selectedSuggestionIndex,
6151            props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["value", "placeholder", "isExpanded", "instanceId", "selectedSuggestionIndex"]);
6152  
6153        var size = (value.length === 0 && placeholder && placeholder.length || value.length) + 1;
6154        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("input", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
6155          ref: this.bindInput,
6156          id: "components-form-token-input-".concat(instanceId),
6157          type: "text"
6158        }, props, {
6159          value: value,
6160          placeholder: placeholder,
6161          onChange: this.onChange,
6162          size: size,
6163          className: "components-form-token-field__input",
6164          role: "combobox",
6165          "aria-expanded": isExpanded,
6166          "aria-autocomplete": "list",
6167          "aria-owns": isExpanded ? "components-form-token-suggestions-".concat(instanceId) : undefined,
6168          "aria-activedescendant": selectedSuggestionIndex !== -1 ? "components-form-token-suggestions-".concat(instanceId, "-").concat(selectedSuggestionIndex) : undefined,
6169          "aria-describedby": "components-form-token-suggestions-howto-".concat(instanceId)
6170        }));
6171      }
6172    }]);
6173  
6174    return TokenInput;
6175  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
6176  
6177  /* harmony default export */ __webpack_exports__["default"] = (TokenInput);
6178  
6179  
6180  /***/ }),
6181  
6182  /***/ "./node_modules/@wordpress/components/build-module/form-token-field/token.js":
6183  /*!***********************************************************************************!*\
6184    !*** ./node_modules/@wordpress/components/build-module/form-token-field/token.js ***!
6185    \***********************************************************************************/
6186  /*! exports provided: default */
6187  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6188  
6189  "use strict";
6190  __webpack_require__.r(__webpack_exports__);
6191  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6192  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
6193  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
6194  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
6195  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
6196  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
6197  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6198  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
6199  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
6200  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
6201  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
6202  
6203  
6204  /**
6205   * External dependencies
6206   */
6207  
6208  
6209  /**
6210   * WordPress dependencies
6211   */
6212  
6213  
6214  
6215  /**
6216   * Internal dependencies
6217   */
6218  
6219  
6220  
6221  function Token(_ref) {
6222    var value = _ref.value,
6223        status = _ref.status,
6224        title = _ref.title,
6225        displayTransform = _ref.displayTransform,
6226        _ref$isBorderless = _ref.isBorderless,
6227        isBorderless = _ref$isBorderless === void 0 ? false : _ref$isBorderless,
6228        _ref$disabled = _ref.disabled,
6229        disabled = _ref$disabled === void 0 ? false : _ref$disabled,
6230        _ref$onClickRemove = _ref.onClickRemove,
6231        onClickRemove = _ref$onClickRemove === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_2__["noop"] : _ref$onClickRemove,
6232        onMouseEnter = _ref.onMouseEnter,
6233        onMouseLeave = _ref.onMouseLeave,
6234        messages = _ref.messages,
6235        termPosition = _ref.termPosition,
6236        termsCount = _ref.termsCount,
6237        instanceId = _ref.instanceId;
6238    var tokenClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-form-token-field__token', {
6239      'is-error': 'error' === status,
6240      'is-success': 'success' === status,
6241      'is-validating': 'validating' === status,
6242      'is-borderless': isBorderless,
6243      'is-disabled': disabled
6244    });
6245  
6246    var onClick = function onClick() {
6247      return onClickRemove({
6248        value: value
6249      });
6250    };
6251  
6252    var transformedValue = displayTransform(value);
6253    var termPositionAndCount = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["sprintf"])(
6254    /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */
6255    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('%1$s (%2$s of %3$s)'), transformedValue, termPosition, termsCount);
6256    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
6257      className: tokenClasses,
6258      onMouseEnter: onMouseEnter,
6259      onMouseLeave: onMouseLeave,
6260      title: title
6261    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
6262      className: "components-form-token-field__token-text",
6263      id: "components-form-token-field__token-text-".concat(instanceId)
6264    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
6265      className: "screen-reader-text"
6266    }, termPositionAndCount), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
6267      "aria-hidden": "true"
6268    }, transformedValue)), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_5__["default"], {
6269      className: "components-form-token-field__remove-token",
6270      icon: "dismiss",
6271      onClick: !disabled && onClick,
6272      label: messages.remove,
6273      "aria-describedby": "components-form-token-field__token-text-".concat(instanceId)
6274    }));
6275  }
6276  
6277  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["withInstanceId"])(Token));
6278  
6279  
6280  /***/ }),
6281  
6282  /***/ "./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js":
6283  /*!************************************************************************************************!*\
6284    !*** ./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js ***!
6285    \************************************************************************************************/
6286  /*! exports provided: default */
6287  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6288  
6289  "use strict";
6290  __webpack_require__.r(__webpack_exports__);
6291  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
6292  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6293  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6294  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6295  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6296  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6297  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
6298  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6299  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
6300  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
6301  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);
6302  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6303  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
6304  /* harmony import */ var _keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../keyboard-shortcuts */ "./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js");
6305  
6306  
6307  
6308  
6309  
6310  
6311  
6312  
6313  
6314  /**
6315   * External Dependencies
6316   */
6317  
6318  /**
6319   * WordPress Dependencies
6320   */
6321  
6322  
6323  
6324  /**
6325   * Internal Dependencies
6326   */
6327  
6328  
6329  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["createHigherOrderComponent"])(function (WrappedComponent) {
6330    return (
6331      /*#__PURE__*/
6332      function (_Component) {
6333        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
6334  
6335        function _class() {
6336          var _this;
6337  
6338          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
6339  
6340          _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(_class).apply(this, arguments));
6341          _this.bindContainer = _this.bindContainer.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6342          _this.focusNextRegion = _this.focusRegion.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)), 1);
6343          _this.focusPreviousRegion = _this.focusRegion.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)), -1);
6344          _this.onClick = _this.onClick.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6345          _this.state = {
6346            isFocusingRegions: false
6347          };
6348          return _this;
6349        }
6350  
6351        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
6352          key: "bindContainer",
6353          value: function bindContainer(ref) {
6354            this.container = ref;
6355          }
6356        }, {
6357          key: "focusRegion",
6358          value: function focusRegion(offset) {
6359            var regions = Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(this.container.querySelectorAll('[role="region"]'));
6360  
6361            if (!regions.length) {
6362              return;
6363            }
6364  
6365            var nextRegion = regions[0];
6366            var selectedIndex = regions.indexOf(document.activeElement);
6367  
6368            if (selectedIndex !== -1) {
6369              var nextIndex = selectedIndex + offset;
6370              nextIndex = nextIndex === -1 ? regions.length - 1 : nextIndex;
6371              nextIndex = nextIndex === regions.length ? 0 : nextIndex;
6372              nextRegion = regions[nextIndex];
6373            }
6374  
6375            nextRegion.focus();
6376            this.setState({
6377              isFocusingRegions: true
6378            });
6379          }
6380        }, {
6381          key: "onClick",
6382          value: function onClick() {
6383            this.setState({
6384              isFocusingRegions: false
6385            });
6386          }
6387        }, {
6388          key: "render",
6389          value: function render() {
6390            var className = classnames__WEBPACK_IMPORTED_MODULE_8___default()('components-navigate-regions', {
6391              'is-focusing-regions': this.state.isFocusingRegions
6392            }); // Disable reason: Clicking the editor should dismiss the regions focus style
6393  
6394            /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
6395  
6396            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", {
6397              ref: this.bindContainer,
6398              className: className,
6399              onClick: this.onClick
6400            }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_10__["default"], {
6401              bindGlobal: true,
6402              shortcuts: {
6403                'ctrl+`': this.focusNextRegion,
6404                'shift+alt+n': this.focusNextRegion,
6405                'ctrl+shift+`': this.focusPreviousRegion,
6406                'shift+alt+p': this.focusPreviousRegion
6407              }
6408            }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(WrappedComponent, this.props));
6409            /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/onclick-has-role, jsx-a11y/click-events-have-key-events */
6410          }
6411        }]);
6412  
6413        return _class;
6414      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"])
6415    );
6416  }, 'navigateRegions'));
6417  
6418  
6419  /***/ }),
6420  
6421  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js":
6422  /*!********************************************************************************************************!*\
6423    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js ***!
6424    \********************************************************************************************************/
6425  /*! exports provided: default */
6426  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6427  
6428  "use strict";
6429  __webpack_require__.r(__webpack_exports__);
6430  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6431  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6432  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6433  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6434  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6435  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
6436  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6437  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
6438  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6439  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__);
6440  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
6441  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__);
6442  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/dom */ "@wordpress/dom");
6443  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_9__);
6444  
6445  
6446  
6447  
6448  
6449  
6450  
6451  
6452  /**
6453   * WordPress dependencies
6454   */
6455  
6456  
6457  
6458  
6459  var withConstrainedTabbing = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__["createHigherOrderComponent"])(function (WrappedComponent) {
6460    return (
6461      /*#__PURE__*/
6462      function (_Component) {
6463        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(_class, _Component);
6464  
6465        function _class() {
6466          var _this;
6467  
6468          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, _class);
6469  
6470          _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(_class).apply(this, arguments));
6471          _this.focusContainRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])();
6472          _this.handleTabBehaviour = _this.handleTabBehaviour.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
6473          return _this;
6474        }
6475  
6476        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(_class, [{
6477          key: "handleTabBehaviour",
6478          value: function handleTabBehaviour(event) {
6479            if (event.keyCode !== _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_8__["TAB"]) {
6480              return;
6481            }
6482  
6483            var tabbables = _wordpress_dom__WEBPACK_IMPORTED_MODULE_9__["focus"].tabbable.find(this.focusContainRef.current);
6484  
6485            if (!tabbables.length) {
6486              return;
6487            }
6488  
6489            var firstTabbable = tabbables[0];
6490            var lastTabbable = tabbables[tabbables.length - 1];
6491  
6492            if (event.shiftKey && event.target === firstTabbable) {
6493              event.preventDefault();
6494              lastTabbable.focus();
6495            } else if (!event.shiftKey && event.target === lastTabbable) {
6496              event.preventDefault();
6497              firstTabbable.focus();
6498              /*
6499               * When pressing Tab and none of the tabbables has focus, the keydown
6500               * event happens on the wrapper div: move focus on the first tabbable.
6501               */
6502            } else if (!tabbables.includes(event.target)) {
6503              event.preventDefault();
6504              firstTabbable.focus();
6505            }
6506          }
6507        }, {
6508          key: "render",
6509          value: function render() {
6510            // Disable reason: this component is non-interactive, but must capture
6511            // events from the wrapped component to determine when the Tab key is used.
6512  
6513            /* eslint-disable jsx-a11y/no-static-element-interactions */
6514            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
6515              onKeyDown: this.handleTabBehaviour,
6516              ref: this.focusContainRef,
6517              tabIndex: "-1"
6518            }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, this.props));
6519            /* eslint-enable jsx-a11y/no-static-element-interactions */
6520          }
6521        }]);
6522  
6523        return _class;
6524      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"])
6525    );
6526  }, 'withConstrainedTabbing');
6527  /* harmony default export */ __webpack_exports__["default"] = (withConstrainedTabbing);
6528  
6529  
6530  /***/ }),
6531  
6532  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js":
6533  /*!****************************************************************************************************!*\
6534    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js ***!
6535    \****************************************************************************************************/
6536  /*! exports provided: default */
6537  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6538  
6539  "use strict";
6540  __webpack_require__.r(__webpack_exports__);
6541  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
6542  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6543  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6544  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6545  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6546  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6547  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
6548  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6549  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
6550  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ "lodash");
6551  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
6552  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6553  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
6554  
6555  
6556  
6557  
6558  
6559  
6560  
6561  
6562  
6563  /**
6564   * External dependencies
6565   */
6566  
6567  /**
6568   * WordPress dependencies
6569   */
6570  
6571  
6572  
6573  /* harmony default export */ __webpack_exports__["default"] = (function (mapNodeToProps) {
6574    return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["createHigherOrderComponent"])(function (WrappedComponent) {
6575      return (
6576        /*#__PURE__*/
6577        function (_Component) {
6578          Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
6579  
6580          function _class() {
6581            var _this;
6582  
6583            Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
6584  
6585            _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(_class).apply(this, arguments));
6586            _this.nodeRef = _this.props.node;
6587            _this.state = {
6588              fallbackStyles: undefined,
6589              grabStylesCompleted: false
6590            };
6591            _this.bindRef = _this.bindRef.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6592            return _this;
6593          }
6594  
6595          Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
6596            key: "bindRef",
6597            value: function bindRef(node) {
6598              if (!node) {
6599                return;
6600              }
6601  
6602              this.nodeRef = node;
6603            }
6604          }, {
6605            key: "componentDidMount",
6606            value: function componentDidMount() {
6607              this.grabFallbackStyles();
6608            }
6609          }, {
6610            key: "componentDidUpdate",
6611            value: function componentDidUpdate() {
6612              this.grabFallbackStyles();
6613            }
6614          }, {
6615            key: "grabFallbackStyles",
6616            value: function grabFallbackStyles() {
6617              var _this$state = this.state,
6618                  grabStylesCompleted = _this$state.grabStylesCompleted,
6619                  fallbackStyles = _this$state.fallbackStyles;
6620  
6621              if (this.nodeRef && !grabStylesCompleted) {
6622                var newFallbackStyles = mapNodeToProps(this.nodeRef, this.props);
6623  
6624                if (!Object(lodash__WEBPACK_IMPORTED_MODULE_8__["isEqual"])(newFallbackStyles, fallbackStyles)) {
6625                  this.setState({
6626                    fallbackStyles: newFallbackStyles,
6627                    grabStylesCompleted: !!Object(lodash__WEBPACK_IMPORTED_MODULE_8__["every"])(newFallbackStyles)
6628                  });
6629                }
6630              }
6631            }
6632          }, {
6633            key: "render",
6634            value: function render() {
6635              var wrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.props, this.state.fallbackStyles));
6636              return this.props.node ? wrappedComponent : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", {
6637                ref: this.bindRef
6638              }, " ", wrappedComponent, " ");
6639            }
6640          }]);
6641  
6642          return _class;
6643        }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"])
6644      );
6645    }, 'withFallbackStyles');
6646  });
6647  
6648  
6649  /***/ }),
6650  
6651  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js":
6652  /*!********************************************************************************************!*\
6653    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js ***!
6654    \********************************************************************************************/
6655  /*! exports provided: default */
6656  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6657  
6658  "use strict";
6659  __webpack_require__.r(__webpack_exports__);
6660  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return withFilters; });
6661  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6662  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6663  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6664  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6665  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6666  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
6667  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6668  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
6669  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
6670  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
6671  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/hooks */ "@wordpress/hooks");
6672  /* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__);
6673  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6674  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
6675  
6676  
6677  
6678  
6679  
6680  
6681  
6682  
6683  /**
6684   * External dependencies
6685   */
6686  
6687  /**
6688   * WordPress dependencies
6689   */
6690  
6691  
6692  
6693  
6694  var ANIMATION_FRAME_PERIOD = 16;
6695  /**
6696   * Creates a higher-order component which adds filtering capability to the
6697   * wrapped component. Filters get applied when the original component is about
6698   * to be mounted. When a filter is added or removed that matches the hook name,
6699   * the wrapped component re-renders.
6700   *
6701   * @param {string} hookName Hook name exposed to be used by filters.
6702   *
6703   * @return {Function} Higher-order component factory.
6704   */
6705  
6706  function withFilters(hookName) {
6707    return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["createHigherOrderComponent"])(function (OriginalComponent) {
6708      return (
6709        /*#__PURE__*/
6710        function (_Component) {
6711          Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(FilteredComponent, _Component);
6712  
6713          /** @inheritdoc */
6714          function FilteredComponent(props) {
6715            var _this;
6716  
6717            Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, FilteredComponent);
6718  
6719            _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(FilteredComponent).call(this, props));
6720            _this.onHooksUpdated = _this.onHooksUpdated.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
6721            _this.Component = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__["applyFilters"])(hookName, OriginalComponent);
6722            _this.namespace = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["uniqueId"])('core/with-filters/component-');
6723            _this.throttledForceUpdate = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["debounce"])(function () {
6724              _this.Component = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__["applyFilters"])(hookName, OriginalComponent);
6725  
6726              _this.forceUpdate();
6727            }, ANIMATION_FRAME_PERIOD);
6728            Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__["addAction"])('hookRemoved', _this.namespace, _this.onHooksUpdated);
6729            Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__["addAction"])('hookAdded', _this.namespace, _this.onHooksUpdated);
6730            return _this;
6731          }
6732          /** @inheritdoc */
6733  
6734  
6735          Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(FilteredComponent, [{
6736            key: "componentWillUnmount",
6737            value: function componentWillUnmount() {
6738              this.throttledForceUpdate.cancel();
6739              Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__["removeAction"])('hookRemoved', this.namespace);
6740              Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_8__["removeAction"])('hookAdded', this.namespace);
6741            }
6742            /**
6743             * When a filter is added or removed for the matching hook name, the wrapped component should re-render.
6744             *
6745             * @param {string} updatedHookName  Name of the hook that was updated.
6746             */
6747  
6748          }, {
6749            key: "onHooksUpdated",
6750            value: function onHooksUpdated(updatedHookName) {
6751              if (updatedHookName === hookName) {
6752                this.throttledForceUpdate();
6753              }
6754            }
6755            /** @inheritdoc */
6756  
6757          }, {
6758            key: "render",
6759            value: function render() {
6760              return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(this.Component, this.props);
6761            }
6762          }]);
6763  
6764          return FilteredComponent;
6765        }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"])
6766      );
6767    }, 'withFilters');
6768  }
6769  
6770  
6771  /***/ }),
6772  
6773  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js":
6774  /*!**************************************************************************************************!*\
6775    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js ***!
6776    \**************************************************************************************************/
6777  /*! exports provided: default */
6778  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6779  
6780  "use strict";
6781  __webpack_require__.r(__webpack_exports__);
6782  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
6783  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6784  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6785  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6786  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6787  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6788  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
6789  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6790  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
6791  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ "lodash");
6792  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
6793  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6794  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
6795  
6796  
6797  
6798  
6799  
6800  
6801  
6802  
6803  
6804  /**
6805   * External dependencies
6806   */
6807  
6808  /**
6809   * WordPress dependencies
6810   */
6811  
6812  
6813  
6814  /**
6815   * Input types which are classified as button types, for use in considering
6816   * whether element is a (focus-normalized) button.
6817   *
6818   * @type {string[]}
6819   */
6820  
6821  var INPUT_BUTTON_TYPES = ['button', 'submit'];
6822  /**
6823   * Returns true if the given element is a button element subject to focus
6824   * normalization, or false otherwise.
6825   *
6826   * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
6827   *
6828   * @param {Element} element Element to test.
6829   *
6830   * @return {boolean} Whether element is a button.
6831   */
6832  
6833  function isFocusNormalizedButton(element) {
6834    switch (element.nodeName) {
6835      case 'A':
6836      case 'BUTTON':
6837        return true;
6838  
6839      case 'INPUT':
6840        return Object(lodash__WEBPACK_IMPORTED_MODULE_8__["includes"])(INPUT_BUTTON_TYPES, element.type);
6841    }
6842  
6843    return false;
6844  }
6845  
6846  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["createHigherOrderComponent"])(function (WrappedComponent) {
6847    return (
6848      /*#__PURE__*/
6849      function (_Component) {
6850        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
6851  
6852        function _class() {
6853          var _this;
6854  
6855          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
6856  
6857          _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(_class).apply(this, arguments));
6858          _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6859          _this.cancelBlurCheck = _this.cancelBlurCheck.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6860          _this.queueBlurCheck = _this.queueBlurCheck.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6861          _this.normalizeButtonFocus = _this.normalizeButtonFocus.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
6862          return _this;
6863        }
6864  
6865        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
6866          key: "componentWillUnmount",
6867          value: function componentWillUnmount() {
6868            this.cancelBlurCheck();
6869          }
6870        }, {
6871          key: "bindNode",
6872          value: function bindNode(node) {
6873            if (node) {
6874              this.node = node;
6875            } else {
6876              delete this.node;
6877              this.cancelBlurCheck();
6878            }
6879          }
6880        }, {
6881          key: "queueBlurCheck",
6882          value: function queueBlurCheck(event) {
6883            var _this2 = this;
6884  
6885            // React does not allow using an event reference asynchronously
6886            // due to recycling behavior, except when explicitly persisted.
6887            event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`.
6888  
6889            if (this.preventBlurCheck) {
6890              return;
6891            }
6892  
6893            this.blurCheckTimeout = setTimeout(function () {
6894              if ('function' === typeof _this2.node.handleFocusOutside) {
6895                _this2.node.handleFocusOutside(event);
6896              }
6897            }, 0);
6898          }
6899        }, {
6900          key: "cancelBlurCheck",
6901          value: function cancelBlurCheck() {
6902            clearTimeout(this.blurCheckTimeout);
6903          }
6904          /**
6905           * Handles a mousedown or mouseup event to respectively assign and
6906           * unassign a flag for preventing blur check on button elements. Some
6907           * browsers, namely Firefox and Safari, do not emit a focus event on
6908           * button elements when clicked, while others do. The logic here
6909           * intends to normalize this as treating click on buttons as focus.
6910           *
6911           * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
6912           *
6913           * @param {MouseEvent} event Event for mousedown or mouseup.
6914           */
6915  
6916        }, {
6917          key: "normalizeButtonFocus",
6918          value: function normalizeButtonFocus(event) {
6919            var type = event.type,
6920                target = event.target;
6921            var isInteractionEnd = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["includes"])(['mouseup', 'touchend'], type);
6922  
6923            if (isInteractionEnd) {
6924              this.preventBlurCheck = false;
6925            } else if (isFocusNormalizedButton(target)) {
6926              this.preventBlurCheck = true;
6927            }
6928          }
6929        }, {
6930          key: "render",
6931          value: function render() {
6932            // Disable reason: See `normalizeButtonFocus` for browser-specific
6933            // focus event normalization.
6934  
6935            /* eslint-disable jsx-a11y/no-static-element-interactions */
6936            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])("div", {
6937              onFocus: this.cancelBlurCheck,
6938              onMouseDown: this.normalizeButtonFocus,
6939              onMouseUp: this.normalizeButtonFocus,
6940              onTouchStart: this.normalizeButtonFocus,
6941              onTouchEnd: this.normalizeButtonFocus,
6942              onBlur: this.queueBlurCheck
6943            }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
6944              ref: this.bindNode
6945            }, this.props)));
6946            /* eslint-enable jsx-a11y/no-static-element-interactions */
6947          }
6948        }]);
6949  
6950        return _class;
6951      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"])
6952    );
6953  }, 'withFocusOutside'));
6954  
6955  
6956  /***/ }),
6957  
6958  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js":
6959  /*!*************************************************************************************************!*\
6960    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js ***!
6961    \*************************************************************************************************/
6962  /*! exports provided: default */
6963  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6964  
6965  "use strict";
6966  __webpack_require__.r(__webpack_exports__);
6967  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
6968  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
6969  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
6970  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
6971  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
6972  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
6973  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
6974  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
6975  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__);
6976  
6977  
6978  
6979  
6980  
6981  
6982  
6983  /**
6984   * WordPress dependencies
6985   */
6986  
6987  
6988  /**
6989   * Higher Order Component used to be used to wrap disposable elements like
6990   * sidebars, modals, dropdowns. When mounting the wrapped component, we track a
6991   * reference to the current active element so we know where to restore focus
6992   * when the component is unmounted.
6993   *
6994   * @param {WPElement} WrappedComponent The disposable component.
6995   *
6996   * @return {Component} Component with the focus restauration behaviour.
6997   */
6998  
6999  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__["createHigherOrderComponent"])(function (WrappedComponent) {
7000    return (
7001      /*#__PURE__*/
7002      function (_Component) {
7003        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(_class, _Component);
7004  
7005        function _class() {
7006          var _this;
7007  
7008          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, _class);
7009  
7010          _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(_class).apply(this, arguments));
7011  
7012          _this.setIsFocusedTrue = function () {
7013            return _this.isFocused = true;
7014          };
7015  
7016          _this.setIsFocusedFalse = function () {
7017            return _this.isFocused = false;
7018          };
7019  
7020          _this.activeElementOnMount = document.activeElement;
7021          return _this;
7022        }
7023  
7024        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(_class, [{
7025          key: "componentWillUnmount",
7026          value: function componentWillUnmount() {
7027            var activeElementOnMount = this.activeElementOnMount,
7028                isFocused = this.isFocused;
7029  
7030            if (!activeElementOnMount) {
7031              return;
7032            }
7033  
7034            var _document = document,
7035                body = _document.body,
7036                activeElement = _document.activeElement;
7037  
7038            if (isFocused || null === activeElement || body === activeElement) {
7039              activeElementOnMount.focus();
7040            }
7041          }
7042        }, {
7043          key: "render",
7044          value: function render() {
7045            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createElement"])("div", {
7046              onFocus: this.setIsFocusedTrue,
7047              onBlur: this.setIsFocusedFalse
7048            }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["createElement"])(WrappedComponent, this.props));
7049          }
7050        }]);
7051  
7052        return _class;
7053      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"])
7054    );
7055  }, 'withFocusReturn'));
7056  
7057  
7058  /***/ }),
7059  
7060  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js":
7061  /*!********************************************************************************************!*\
7062    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js ***!
7063    \********************************************************************************************/
7064  /*! exports provided: default */
7065  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7066  
7067  "use strict";
7068  __webpack_require__.r(__webpack_exports__);
7069  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
7070  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
7071  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
7072  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
7073  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
7074  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
7075  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
7076  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
7077  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
7078  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
7079  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__);
7080  /* harmony import */ var uuid_v4__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! uuid/v4 */ "./node_modules/uuid/v4.js");
7081  /* harmony import */ var uuid_v4__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(uuid_v4__WEBPACK_IMPORTED_MODULE_10__);
7082  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
7083  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_11__);
7084  /* harmony import */ var _notice_list__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../notice/list */ "./node_modules/@wordpress/components/build-module/notice/list.js");
7085  
7086  
7087  
7088  
7089  
7090  
7091  
7092  
7093  
7094  
7095  
7096  /**
7097   * External dependencies
7098   */
7099  
7100  /**
7101   * WordPress dependencies
7102   */
7103  
7104  
7105  
7106  /**
7107   * Internal dependencies
7108   */
7109  
7110  
7111  /**
7112   * Override the default edit UI to include notices if supported.
7113   *
7114   * @param  {function|Component} OriginalComponent Original component.
7115   * @return {Component}                            Wrapped component.
7116   */
7117  
7118  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_11__["createHigherOrderComponent"])(function (OriginalComponent) {
7119    return (
7120      /*#__PURE__*/
7121      function (_Component) {
7122        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__["default"])(WrappedBlockEdit, _Component);
7123  
7124        function WrappedBlockEdit() {
7125          var _this;
7126  
7127          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, WrappedBlockEdit);
7128  
7129          _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__["default"])(WrappedBlockEdit).apply(this, arguments));
7130          _this.createNotice = _this.createNotice.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(_this)));
7131          _this.createErrorNotice = _this.createErrorNotice.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(_this)));
7132          _this.removeNotice = _this.removeNotice.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(_this)));
7133          _this.removeAllNotices = _this.removeAllNotices.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8__["default"])(_this)));
7134          _this.state = {
7135            noticeList: []
7136          };
7137          _this.noticeOperations = {
7138            createNotice: _this.createNotice,
7139            createErrorNotice: _this.createErrorNotice,
7140            removeAllNotices: _this.removeAllNotices,
7141            removeNotice: _this.removeNotice
7142          };
7143          return _this;
7144        }
7145        /**
7146        * Function passed down as a prop that adds a new notice.
7147        *
7148        * @param {Object} notice  Notice to add.
7149        */
7150  
7151  
7152        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(WrappedBlockEdit, [{
7153          key: "createNotice",
7154          value: function createNotice(notice) {
7155            var noticeToAdd = notice.id ? notice : Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__["default"])({}, notice, {
7156              id: uuid_v4__WEBPACK_IMPORTED_MODULE_10___default()()
7157            });
7158            this.setState(function (state) {
7159              return {
7160                noticeList: Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(state.noticeList).concat([noticeToAdd])
7161              };
7162            });
7163          }
7164          /**
7165          * Function passed as a prop that adds a new error notice.
7166          *
7167          * @param {string} msg  Error message of the notice.
7168          */
7169  
7170        }, {
7171          key: "createErrorNotice",
7172          value: function createErrorNotice(msg) {
7173            this.createNotice({
7174              status: 'error',
7175              content: msg
7176            });
7177          }
7178          /**
7179          * Removes a notice by id.
7180          *
7181          * @param {string} id  Id of the notice to remove.
7182          */
7183  
7184        }, {
7185          key: "removeNotice",
7186          value: function removeNotice(id) {
7187            this.setState(function (state) {
7188              return {
7189                noticeList: state.noticeList.filter(function (notice) {
7190                  return notice.id !== id;
7191                })
7192              };
7193            });
7194          }
7195          /**
7196          * Removes all notices
7197          */
7198  
7199        }, {
7200          key: "removeAllNotices",
7201          value: function removeAllNotices() {
7202            this.setState({
7203              noticeList: []
7204            });
7205          }
7206        }, {
7207          key: "render",
7208          value: function render() {
7209            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["createElement"])(OriginalComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
7210              noticeList: this.state.noticeList,
7211              noticeOperations: this.noticeOperations,
7212              noticeUI: this.state.noticeList.length > 0 && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["createElement"])(_notice_list__WEBPACK_IMPORTED_MODULE_12__["default"], {
7213                className: "components-with-notices-ui",
7214                notices: this.state.noticeList,
7215                onRemove: this.removeNotice
7216              })
7217            }, this.props));
7218          }
7219        }]);
7220  
7221        return WrappedBlockEdit;
7222      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_9__["Component"])
7223    );
7224  }));
7225  
7226  
7227  /***/ }),
7228  
7229  /***/ "./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js":
7230  /*!****************************************************************************************************!*\
7231    !*** ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js ***!
7232    \****************************************************************************************************/
7233  /*! exports provided: default */
7234  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7235  
7236  "use strict";
7237  __webpack_require__.r(__webpack_exports__);
7238  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
7239  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
7240  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
7241  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
7242  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
7243  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
7244  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
7245  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
7246  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
7247  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ "lodash");
7248  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
7249  /* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/a11y */ "@wordpress/a11y");
7250  /* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_9__);
7251  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
7252  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_10__);
7253  
7254  
7255  
7256  
7257  
7258  
7259  
7260  
7261  
7262  /**
7263   * External dependencies
7264   */
7265  
7266  /**
7267   * WordPress dependencies
7268   */
7269  
7270  
7271  
7272  
7273  /**
7274   * A Higher Order Component used to be provide a unique instance ID by
7275   * component.
7276   *
7277   * @param {WPElement} WrappedComponent  The wrapped component.
7278   *
7279   * @return {Component} Component with an instanceId prop.
7280   */
7281  
7282  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_10__["createHigherOrderComponent"])(function (WrappedComponent) {
7283    return (
7284      /*#__PURE__*/
7285      function (_Component) {
7286        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
7287  
7288        function _class() {
7289          var _this;
7290  
7291          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
7292  
7293          _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(_class).apply(this, arguments));
7294          _this.debouncedSpeak = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["debounce"])(_this.speak.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this))), 500);
7295          return _this;
7296        }
7297  
7298        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
7299          key: "speak",
7300          value: function speak(message) {
7301            var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'polite';
7302  
7303            Object(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_9__["speak"])(message, type);
7304          }
7305        }, {
7306          key: "componentWillUnmount",
7307          value: function componentWillUnmount() {
7308            this.debouncedSpeak.cancel();
7309          }
7310        }, {
7311          key: "render",
7312          value: function render() {
7313            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.props, {
7314              speak: this.speak,
7315              debouncedSpeak: this.debouncedSpeak
7316            }));
7317          }
7318        }]);
7319  
7320        return _class;
7321      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"])
7322    );
7323  }, 'withSpokenMessages'));
7324  
7325  
7326  /***/ }),
7327  
7328  /***/ "./node_modules/@wordpress/components/build-module/icon-button/index.js":
7329  /*!******************************************************************************!*\
7330    !*** ./node_modules/@wordpress/components/build-module/icon-button/index.js ***!
7331    \******************************************************************************/
7332  /*! exports provided: default */
7333  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7334  
7335  "use strict";
7336  __webpack_require__.r(__webpack_exports__);
7337  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
7338  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
7339  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
7340  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
7341  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
7342  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
7343  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
7344  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
7345  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
7346  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
7347  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);
7348  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
7349  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
7350  /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../tooltip */ "./node_modules/@wordpress/components/build-module/tooltip/index.js");
7351  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
7352  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
7353  
7354  
7355  
7356  
7357  
7358  
7359  
7360  
7361  
7362  /**
7363   * External dependencies
7364   */
7365  
7366  
7367  /**
7368   * WordPress dependencies
7369   */
7370  
7371  
7372  /**
7373   * Internal dependencies
7374   */
7375  
7376  
7377  
7378   // This is intentionally a Component class, not a function component because it
7379  // is common to apply a ref to the button element (only supported in class)
7380  
7381  var IconButton =
7382  /*#__PURE__*/
7383  function (_Component) {
7384    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(IconButton, _Component);
7385  
7386    function IconButton() {
7387      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, IconButton);
7388  
7389      return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(IconButton).apply(this, arguments));
7390    }
7391  
7392    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(IconButton, [{
7393      key: "render",
7394      value: function render() {
7395        var _this$props = this.props,
7396            icon = _this$props.icon,
7397            children = _this$props.children,
7398            label = _this$props.label,
7399            className = _this$props.className,
7400            tooltip = _this$props.tooltip,
7401            shortcut = _this$props.shortcut,
7402            additionalProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["icon", "children", "label", "className", "tooltip", "shortcut"]);
7403  
7404        var classes = classnames__WEBPACK_IMPORTED_MODULE_8___default()('components-icon-button', className);
7405        var tooltipText = tooltip || label; // Should show the tooltip if...
7406  
7407        var showTooltip = // an explicit tooltip is passed or...
7408        tooltip || // there's a shortcut or...
7409        shortcut || // there's a label and...
7410        !!label && ( // the children are empty and...
7411        !children || Object(lodash__WEBPACK_IMPORTED_MODULE_9__["isArray"])(children) && !children.length) && // the tooltip is not explicitly disabled.
7412        false !== tooltip;
7413        var element = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_11__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, additionalProps, {
7414          "aria-label": label,
7415          className: classes
7416        }), Object(lodash__WEBPACK_IMPORTED_MODULE_9__["isString"])(icon) ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_12__["default"], {
7417          icon: icon
7418        }) : icon, children);
7419  
7420        if (showTooltip) {
7421          element = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_tooltip__WEBPACK_IMPORTED_MODULE_10__["default"], {
7422            text: tooltipText,
7423            shortcut: shortcut
7424          }, element);
7425        }
7426  
7427        return element;
7428      }
7429    }]);
7430  
7431    return IconButton;
7432  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]);
7433  
7434  /* harmony default export */ __webpack_exports__["default"] = (IconButton);
7435  
7436  
7437  /***/ }),
7438  
7439  /***/ "./node_modules/@wordpress/components/build-module/index.js":
7440  /*!******************************************************************!*\
7441    !*** ./node_modules/@wordpress/components/build-module/index.js ***!
7442    \******************************************************************/
7443  /*! exports provided: Autocomplete, BaseControl, Button, ButtonGroup, CheckboxControl, ClipboardButton, ColorIndicator, ColorPalette, Dashicon, DateTimePicker, DatePicker, TimePicker, Disabled, Draggable, DropZone, DropZoneProvider, Dropdown, DropdownMenu, ExternalLink, FocusableIframe, FontSizePicker, FormFileUpload, FormToggle, FormTokenField, IconButton, KeyboardShortcuts, MenuGroup, MenuItem, MenuItemsChoice, Modal, ScrollLock, NavigableMenu, TabbableContainer, Notice, NoticeList, Panel, PanelBody, PanelColor, PanelHeader, PanelRow, Placeholder, Popover, QueryControls, RadioControl, RangeControl, ResizableBox, ResponsiveWrapper, SandBox, SelectControl, Spinner, ServerSideRender, TabPanel, TextControl, TextareaControl, ToggleControl, Toolbar, Tooltip, TreeSelect, createSlotFill, Slot, Fill, SlotFillProvider, navigateRegions, withConstrainedTabbing, withFallbackStyles, withFilters, withFocusOutside, withFocusReturn, withNotices, withSpokenMessages, G, Path, Polygon, SVG, AccessibleSVG */
7444  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7445  
7446  "use strict";
7447  __webpack_require__.r(__webpack_exports__);
7448  /* harmony import */ var _primitives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./primitives */ "./node_modules/@wordpress/components/build-module/primitives/index.js");
7449  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "G", function() { return _primitives__WEBPACK_IMPORTED_MODULE_0__["G"]; });
7450  
7451  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Path", function() { return _primitives__WEBPACK_IMPORTED_MODULE_0__["Path"]; });
7452  
7453  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Polygon", function() { return _primitives__WEBPACK_IMPORTED_MODULE_0__["Polygon"]; });
7454  
7455  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SVG", function() { return _primitives__WEBPACK_IMPORTED_MODULE_0__["SVG"]; });
7456  
7457  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AccessibleSVG", function() { return _primitives__WEBPACK_IMPORTED_MODULE_0__["AccessibleSVG"]; });
7458  
7459  /* harmony import */ var _autocomplete__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./autocomplete */ "./node_modules/@wordpress/components/build-module/autocomplete/index.js");
7460  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return _autocomplete__WEBPACK_IMPORTED_MODULE_1__["default"]; });
7461  
7462  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
7463  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BaseControl", function() { return _base_control__WEBPACK_IMPORTED_MODULE_2__["default"]; });
7464  
7465  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./button */ "./node_modules/@wordpress/components/build-module/button/index.js");
7466  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Button", function() { return _button__WEBPACK_IMPORTED_MODULE_3__["default"]; });
7467  
7468  /* harmony import */ var _button_group__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./button-group */ "./node_modules/@wordpress/components/build-module/button-group/index.js");
7469  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroup", function() { return _button_group__WEBPACK_IMPORTED_MODULE_4__["default"]; });
7470  
7471  /* harmony import */ var _checkbox_control__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./checkbox-control */ "./node_modules/@wordpress/components/build-module/checkbox-control/index.js");
7472  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CheckboxControl", function() { return _checkbox_control__WEBPACK_IMPORTED_MODULE_5__["default"]; });
7473  
7474  /* harmony import */ var _clipboard_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./clipboard-button */ "./node_modules/@wordpress/components/build-module/clipboard-button/index.js");
7475  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ClipboardButton", function() { return _clipboard_button__WEBPACK_IMPORTED_MODULE_6__["default"]; });
7476  
7477  /* harmony import */ var _color_indicator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./color-indicator */ "./node_modules/@wordpress/components/build-module/color-indicator/index.js");
7478  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorIndicator", function() { return _color_indicator__WEBPACK_IMPORTED_MODULE_7__["default"]; });
7479  
7480  /* harmony import */ var _color_palette__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./color-palette */ "./node_modules/@wordpress/components/build-module/color-palette/index.js");
7481  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return _color_palette__WEBPACK_IMPORTED_MODULE_8__["default"]; });
7482  
7483  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
7484  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Dashicon", function() { return _dashicon__WEBPACK_IMPORTED_MODULE_9__["default"]; });
7485  
7486  /* harmony import */ var _date_time__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./date-time */ "./node_modules/@wordpress/components/build-module/date-time/index.js");
7487  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DateTimePicker", function() { return _date_time__WEBPACK_IMPORTED_MODULE_10__["DateTimePicker"]; });
7488  
7489  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DatePicker", function() { return _date_time__WEBPACK_IMPORTED_MODULE_10__["DatePicker"]; });
7490  
7491  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TimePicker", function() { return _date_time__WEBPACK_IMPORTED_MODULE_10__["TimePicker"]; });
7492  
7493  /* harmony import */ var _disabled__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./disabled */ "./node_modules/@wordpress/components/build-module/disabled/index.js");
7494  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Disabled", function() { return _disabled__WEBPACK_IMPORTED_MODULE_11__["default"]; });
7495  
7496  /* harmony import */ var _draggable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./draggable */ "./node_modules/@wordpress/components/build-module/draggable/index.js");
7497  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Draggable", function() { return _draggable__WEBPACK_IMPORTED_MODULE_12__["default"]; });
7498  
7499  /* harmony import */ var _drop_zone__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./drop-zone */ "./node_modules/@wordpress/components/build-module/drop-zone/index.js");
7500  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropZone", function() { return _drop_zone__WEBPACK_IMPORTED_MODULE_13__["default"]; });
7501  
7502  /* harmony import */ var _drop_zone_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./drop-zone/provider */ "./node_modules/@wordpress/components/build-module/drop-zone/provider.js");
7503  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropZoneProvider", function() { return _drop_zone_provider__WEBPACK_IMPORTED_MODULE_14__["default"]; });
7504  
7505  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./dropdown */ "./node_modules/@wordpress/components/build-module/dropdown/index.js");
7506  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Dropdown", function() { return _dropdown__WEBPACK_IMPORTED_MODULE_15__["default"]; });
7507  
7508  /* harmony import */ var _dropdown_menu__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./dropdown-menu */ "./node_modules/@wordpress/components/build-module/dropdown-menu/index.js");
7509  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMenu", function() { return _dropdown_menu__WEBPACK_IMPORTED_MODULE_16__["default"]; });
7510  
7511  /* harmony import */ var _external_link__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./external-link */ "./node_modules/@wordpress/components/build-module/external-link/index.js");
7512  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExternalLink", function() { return _external_link__WEBPACK_IMPORTED_MODULE_17__["default"]; });
7513  
7514  /* harmony import */ var _focusable_iframe__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./focusable-iframe */ "./node_modules/@wordpress/components/build-module/focusable-iframe/index.js");
7515  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FocusableIframe", function() { return _focusable_iframe__WEBPACK_IMPORTED_MODULE_18__["default"]; });
7516  
7517  /* harmony import */ var _font_size_picker__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./font-size-picker */ "./node_modules/@wordpress/components/build-module/font-size-picker/index.js");
7518  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FontSizePicker", function() { return _font_size_picker__WEBPACK_IMPORTED_MODULE_19__["default"]; });
7519  
7520  /* harmony import */ var _form_file_upload__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./form-file-upload */ "./node_modules/@wordpress/components/build-module/form-file-upload/index.js");
7521  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FormFileUpload", function() { return _form_file_upload__WEBPACK_IMPORTED_MODULE_20__["default"]; });
7522  
7523  /* harmony import */ var _form_toggle__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./form-toggle */ "./node_modules/@wordpress/components/build-module/form-toggle/index.js");
7524  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FormToggle", function() { return _form_toggle__WEBPACK_IMPORTED_MODULE_21__["default"]; });
7525  
7526  /* harmony import */ var _form_token_field__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./form-token-field */ "./node_modules/@wordpress/components/build-module/form-token-field/index.js");
7527  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FormTokenField", function() { return _form_token_field__WEBPACK_IMPORTED_MODULE_22__["default"]; });
7528  
7529  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
7530  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IconButton", function() { return _icon_button__WEBPACK_IMPORTED_MODULE_23__["default"]; });
7531  
7532  /* harmony import */ var _keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./keyboard-shortcuts */ "./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js");
7533  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "KeyboardShortcuts", function() { return _keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_24__["default"]; });
7534  
7535  /* harmony import */ var _menu_group__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./menu-group */ "./node_modules/@wordpress/components/build-module/menu-group/index.js");
7536  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MenuGroup", function() { return _menu_group__WEBPACK_IMPORTED_MODULE_25__["default"]; });
7537  
7538  /* harmony import */ var _menu_item__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./menu-item */ "./node_modules/@wordpress/components/build-module/menu-item/index.js");
7539  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MenuItem", function() { return _menu_item__WEBPACK_IMPORTED_MODULE_26__["default"]; });
7540  
7541  /* harmony import */ var _menu_items_choice__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./menu-items-choice */ "./node_modules/@wordpress/components/build-module/menu-items-choice/index.js");
7542  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MenuItemsChoice", function() { return _menu_items_choice__WEBPACK_IMPORTED_MODULE_27__["default"]; });
7543  
7544  /* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./modal */ "./node_modules/@wordpress/components/build-module/modal/index.js");
7545  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Modal", function() { return _modal__WEBPACK_IMPORTED_MODULE_28__["default"]; });
7546  
7547  /* harmony import */ var _scroll_lock__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./scroll-lock */ "./node_modules/@wordpress/components/build-module/scroll-lock/index.js");
7548  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ScrollLock", function() { return _scroll_lock__WEBPACK_IMPORTED_MODULE_29__["default"]; });
7549  
7550  /* harmony import */ var _navigable_container__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./navigable-container */ "./node_modules/@wordpress/components/build-module/navigable-container/index.js");
7551  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NavigableMenu", function() { return _navigable_container__WEBPACK_IMPORTED_MODULE_30__["NavigableMenu"]; });
7552  
7553  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabbableContainer", function() { return _navigable_container__WEBPACK_IMPORTED_MODULE_30__["TabbableContainer"]; });
7554  
7555  /* harmony import */ var _notice__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./notice */ "./node_modules/@wordpress/components/build-module/notice/index.js");
7556  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notice", function() { return _notice__WEBPACK_IMPORTED_MODULE_31__["default"]; });
7557  
7558  /* harmony import */ var _notice_list__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./notice/list */ "./node_modules/@wordpress/components/build-module/notice/list.js");
7559  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NoticeList", function() { return _notice_list__WEBPACK_IMPORTED_MODULE_32__["default"]; });
7560  
7561  /* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./panel */ "./node_modules/@wordpress/components/build-module/panel/index.js");
7562  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Panel", function() { return _panel__WEBPACK_IMPORTED_MODULE_33__["default"]; });
7563  
7564  /* harmony import */ var _panel_body__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./panel/body */ "./node_modules/@wordpress/components/build-module/panel/body.js");
7565  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelBody", function() { return _panel_body__WEBPACK_IMPORTED_MODULE_34__["default"]; });
7566  
7567  /* harmony import */ var _panel_color__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./panel/color */ "./node_modules/@wordpress/components/build-module/panel/color.js");
7568  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelColor", function() { return _panel_color__WEBPACK_IMPORTED_MODULE_35__["default"]; });
7569  
7570  /* harmony import */ var _panel_header__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./panel/header */ "./node_modules/@wordpress/components/build-module/panel/header.js");
7571  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelHeader", function() { return _panel_header__WEBPACK_IMPORTED_MODULE_36__["default"]; });
7572  
7573  /* harmony import */ var _panel_row__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./panel/row */ "./node_modules/@wordpress/components/build-module/panel/row.js");
7574  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelRow", function() { return _panel_row__WEBPACK_IMPORTED_MODULE_37__["default"]; });
7575  
7576  /* harmony import */ var _placeholder__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./placeholder */ "./node_modules/@wordpress/components/build-module/placeholder/index.js");
7577  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Placeholder", function() { return _placeholder__WEBPACK_IMPORTED_MODULE_38__["default"]; });
7578  
7579  /* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./popover */ "./node_modules/@wordpress/components/build-module/popover/index.js");
7580  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popover", function() { return _popover__WEBPACK_IMPORTED_MODULE_39__["default"]; });
7581  
7582  /* harmony import */ var _query_controls__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./query-controls */ "./node_modules/@wordpress/components/build-module/query-controls/index.js");
7583  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QueryControls", function() { return _query_controls__WEBPACK_IMPORTED_MODULE_40__["default"]; });
7584  
7585  /* harmony import */ var _radio_control__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./radio-control */ "./node_modules/@wordpress/components/build-module/radio-control/index.js");
7586  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RadioControl", function() { return _radio_control__WEBPACK_IMPORTED_MODULE_41__["default"]; });
7587  
7588  /* harmony import */ var _range_control__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./range-control */ "./node_modules/@wordpress/components/build-module/range-control/index.js");
7589  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RangeControl", function() { return _range_control__WEBPACK_IMPORTED_MODULE_42__["default"]; });
7590  
7591  /* harmony import */ var _resizable_box__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./resizable-box */ "./node_modules/@wordpress/components/build-module/resizable-box/index.js");
7592  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResizableBox", function() { return _resizable_box__WEBPACK_IMPORTED_MODULE_43__["default"]; });
7593  
7594  /* harmony import */ var _responsive_wrapper__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./responsive-wrapper */ "./node_modules/@wordpress/components/build-module/responsive-wrapper/index.js");
7595  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResponsiveWrapper", function() { return _responsive_wrapper__WEBPACK_IMPORTED_MODULE_44__["default"]; });
7596  
7597  /* harmony import */ var _sandbox__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./sandbox */ "./node_modules/@wordpress/components/build-module/sandbox/index.js");
7598  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SandBox", function() { return _sandbox__WEBPACK_IMPORTED_MODULE_45__["default"]; });
7599  
7600  /* harmony import */ var _select_control__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./select-control */ "./node_modules/@wordpress/components/build-module/select-control/index.js");
7601  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SelectControl", function() { return _select_control__WEBPACK_IMPORTED_MODULE_46__["default"]; });
7602  
7603  /* harmony import */ var _spinner__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./spinner */ "./node_modules/@wordpress/components/build-module/spinner/index.js");
7604  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Spinner", function() { return _spinner__WEBPACK_IMPORTED_MODULE_47__["default"]; });
7605  
7606  /* harmony import */ var _server_side_render__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./server-side-render */ "./node_modules/@wordpress/components/build-module/server-side-render/index.js");
7607  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ServerSideRender", function() { return _server_side_render__WEBPACK_IMPORTED_MODULE_48__["default"]; });
7608  
7609  /* harmony import */ var _tab_panel__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./tab-panel */ "./node_modules/@wordpress/components/build-module/tab-panel/index.js");
7610  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabPanel", function() { return _tab_panel__WEBPACK_IMPORTED_MODULE_49__["default"]; });
7611  
7612  /* harmony import */ var _text_control__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./text-control */ "./node_modules/@wordpress/components/build-module/text-control/index.js");
7613  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextControl", function() { return _text_control__WEBPACK_IMPORTED_MODULE_50__["default"]; });
7614  
7615  /* harmony import */ var _textarea_control__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./textarea-control */ "./node_modules/@wordpress/components/build-module/textarea-control/index.js");
7616  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextareaControl", function() { return _textarea_control__WEBPACK_IMPORTED_MODULE_51__["default"]; });
7617  
7618  /* harmony import */ var _toggle_control__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./toggle-control */ "./node_modules/@wordpress/components/build-module/toggle-control/index.js");
7619  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ToggleControl", function() { return _toggle_control__WEBPACK_IMPORTED_MODULE_52__["default"]; });
7620  
7621  /* harmony import */ var _toolbar__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./toolbar */ "./node_modules/@wordpress/components/build-module/toolbar/index.js");
7622  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Toolbar", function() { return _toolbar__WEBPACK_IMPORTED_MODULE_53__["default"]; });
7623  
7624  /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./tooltip */ "./node_modules/@wordpress/components/build-module/tooltip/index.js");
7625  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Tooltip", function() { return _tooltip__WEBPACK_IMPORTED_MODULE_54__["default"]; });
7626  
7627  /* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./tree-select */ "./node_modules/@wordpress/components/build-module/tree-select/index.js");
7628  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TreeSelect", function() { return _tree_select__WEBPACK_IMPORTED_MODULE_55__["default"]; });
7629  
7630  /* harmony import */ var _slot_fill__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./slot-fill */ "./node_modules/@wordpress/components/build-module/slot-fill/index.js");
7631  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_56__["createSlotFill"]; });
7632  
7633  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Slot", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_56__["Slot"]; });
7634  
7635  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Fill", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_56__["Fill"]; });
7636  
7637  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return _slot_fill__WEBPACK_IMPORTED_MODULE_56__["Provider"]; });
7638  
7639  /* harmony import */ var _higher_order_navigate_regions__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./higher-order/navigate-regions */ "./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js");
7640  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "navigateRegions", function() { return _higher_order_navigate_regions__WEBPACK_IMPORTED_MODULE_57__["default"]; });
7641  
7642  /* harmony import */ var _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./higher-order/with-constrained-tabbing */ "./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js");
7643  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_58__["default"]; });
7644  
7645  /* harmony import */ var _higher_order_with_fallback_styles__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./higher-order/with-fallback-styles */ "./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js");
7646  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFallbackStyles", function() { return _higher_order_with_fallback_styles__WEBPACK_IMPORTED_MODULE_59__["default"]; });
7647  
7648  /* harmony import */ var _higher_order_with_filters__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./higher-order/with-filters */ "./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js");
7649  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFilters", function() { return _higher_order_with_filters__WEBPACK_IMPORTED_MODULE_60__["default"]; });
7650  
7651  /* harmony import */ var _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./higher-order/with-focus-outside */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js");
7652  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFocusOutside", function() { return _higher_order_with_focus_outside__WEBPACK_IMPORTED_MODULE_61__["default"]; });
7653  
7654  /* harmony import */ var _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./higher-order/with-focus-return */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js");
7655  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withFocusReturn", function() { return _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_62__["default"]; });
7656  
7657  /* harmony import */ var _higher_order_with_notices__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./higher-order/with-notices */ "./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js");
7658  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withNotices", function() { return _higher_order_with_notices__WEBPACK_IMPORTED_MODULE_63__["default"]; });
7659  
7660  /* harmony import */ var _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./higher-order/with-spoken-messages */ "./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js");
7661  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withSpokenMessages", function() { return _higher_order_with_spoken_messages__WEBPACK_IMPORTED_MODULE_64__["default"]; });
7662  
7663  // Components
7664   // eslint-disable-next-line camelcase
7665  
7666  
7667  
7668  
7669  
7670  
7671  
7672  
7673  
7674  
7675  
7676  
7677  
7678  
7679  
7680  
7681  
7682  
7683  
7684  
7685  
7686  
7687  
7688  
7689  
7690  
7691  
7692  
7693  
7694  
7695  
7696  
7697  
7698  
7699  
7700  
7701  
7702  
7703  
7704  
7705  
7706  
7707  
7708  
7709  
7710  
7711  
7712  
7713  
7714  
7715  
7716  
7717  
7718  
7719  
7720  
7721   // Higher-Order Components
7722  
7723  
7724  
7725  
7726  
7727  
7728  
7729  
7730  
7731  
7732  
7733  /***/ }),
7734  
7735  /***/ "./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js":
7736  /*!*************************************************************************************!*\
7737    !*** ./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js ***!
7738    \*************************************************************************************/
7739  /*! exports provided: default */
7740  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7741  
7742  "use strict";
7743  __webpack_require__.r(__webpack_exports__);
7744  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
7745  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
7746  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
7747  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
7748  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
7749  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
7750  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
7751  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
7752  /* harmony import */ var mousetrap__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! mousetrap */ "./node_modules/mousetrap/mousetrap.js");
7753  /* harmony import */ var mousetrap__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(mousetrap__WEBPACK_IMPORTED_MODULE_7__);
7754  /* harmony import */ var mousetrap_plugins_global_bind_mousetrap_global_bind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! mousetrap/plugins/global-bind/mousetrap-global-bind */ "./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js");
7755  /* harmony import */ var mousetrap_plugins_global_bind_mousetrap_global_bind__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(mousetrap_plugins_global_bind_mousetrap_global_bind__WEBPACK_IMPORTED_MODULE_8__);
7756  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
7757  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
7758  
7759  
7760  
7761  
7762  
7763  
7764  
7765  
7766  /**
7767   * External dependencies
7768   */
7769  
7770  
7771  
7772  /**
7773   * WordPress dependencies
7774   */
7775  
7776  
7777  
7778  var KeyboardShortcuts =
7779  /*#__PURE__*/
7780  function (_Component) {
7781    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(KeyboardShortcuts, _Component);
7782  
7783    function KeyboardShortcuts() {
7784      var _this;
7785  
7786      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, KeyboardShortcuts);
7787  
7788      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(KeyboardShortcuts).apply(this, arguments));
7789      _this.bindKeyTarget = _this.bindKeyTarget.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
7790      return _this;
7791    }
7792  
7793    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(KeyboardShortcuts, [{
7794      key: "componentDidMount",
7795      value: function componentDidMount() {
7796        var _this2 = this;
7797  
7798        var _this$keyTarget = this.keyTarget,
7799            keyTarget = _this$keyTarget === void 0 ? document : _this$keyTarget;
7800        this.mousetrap = new mousetrap__WEBPACK_IMPORTED_MODULE_7___default.a(keyTarget);
7801        Object(lodash__WEBPACK_IMPORTED_MODULE_9__["forEach"])(this.props.shortcuts, function (callback, key) {
7802          var _this2$props = _this2.props,
7803              bindGlobal = _this2$props.bindGlobal,
7804              eventName = _this2$props.eventName;
7805          var bindFn = bindGlobal ? 'bindGlobal' : 'bind';
7806  
7807          _this2.mousetrap[bindFn](key, callback, eventName);
7808        });
7809      }
7810    }, {
7811      key: "componentWillUnmount",
7812      value: function componentWillUnmount() {
7813        this.mousetrap.reset();
7814      }
7815      /**
7816       * When rendering with children, binds the wrapper node on which events
7817       * will be bound.
7818       *
7819       * @param {Element} node Key event target.
7820       */
7821  
7822    }, {
7823      key: "bindKeyTarget",
7824      value: function bindKeyTarget(node) {
7825        this.keyTarget = node;
7826      }
7827    }, {
7828      key: "render",
7829      value: function render() {
7830        // Render as non-visual if there are no children pressed. Keyboard
7831        // events will be bound to the document instead.
7832        var children = this.props.children;
7833  
7834        if (!_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Children"].count(children)) {
7835          return null;
7836        }
7837  
7838        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
7839          ref: this.bindKeyTarget
7840        }, children);
7841      }
7842    }]);
7843  
7844    return KeyboardShortcuts;
7845  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
7846  
7847  /* harmony default export */ __webpack_exports__["default"] = (KeyboardShortcuts);
7848  
7849  
7850  /***/ }),
7851  
7852  /***/ "./node_modules/@wordpress/components/build-module/menu-group/index.js":
7853  /*!*****************************************************************************!*\
7854    !*** ./node_modules/@wordpress/components/build-module/menu-group/index.js ***!
7855    \*****************************************************************************/
7856  /*! exports provided: MenuGroup, default */
7857  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7858  
7859  "use strict";
7860  __webpack_require__.r(__webpack_exports__);
7861  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuGroup", function() { return MenuGroup; });
7862  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
7863  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
7864  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
7865  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
7866  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
7867  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
7868  /* harmony import */ var _navigable_container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../navigable-container */ "./node_modules/@wordpress/components/build-module/navigable-container/index.js");
7869  
7870  
7871  /**
7872   * External dependencies
7873   */
7874  
7875  /**
7876   * WordPress dependencies
7877   */
7878  
7879  
7880  
7881  /**
7882   * Internal dependencies
7883   */
7884  
7885  
7886  function MenuGroup(_ref) {
7887    var children = _ref.children,
7888        _ref$className = _ref.className,
7889        className = _ref$className === void 0 ? '' : _ref$className,
7890        instanceId = _ref.instanceId,
7891        label = _ref.label;
7892  
7893    if (!_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Children"].count(children)) {
7894      return null;
7895    }
7896  
7897    var labelId = "components-menu-group-label-".concat(instanceId);
7898    var classNames = classnames__WEBPACK_IMPORTED_MODULE_1___default()(className, 'components-menu-group');
7899    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
7900      className: classNames
7901    }, label && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
7902      className: "components-menu-group__label",
7903      id: labelId
7904    }, label), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_navigable_container__WEBPACK_IMPORTED_MODULE_3__["NavigableMenu"], {
7905      orientation: "vertical",
7906      "aria-labelledby": labelId
7907    }, children));
7908  }
7909  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__["withInstanceId"])(MenuGroup));
7910  
7911  
7912  /***/ }),
7913  
7914  /***/ "./node_modules/@wordpress/components/build-module/menu-item/index.js":
7915  /*!****************************************************************************!*\
7916    !*** ./node_modules/@wordpress/components/build-module/menu-item/index.js ***!
7917    \****************************************************************************/
7918  /*! exports provided: default */
7919  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7920  
7921  "use strict";
7922  __webpack_require__.r(__webpack_exports__);
7923  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
7924  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
7925  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
7926  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
7927  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
7928  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
7929  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash");
7930  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
7931  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
7932  /* harmony import */ var _shortcut__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../shortcut */ "./node_modules/@wordpress/components/build-module/shortcut/index.js");
7933  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
7934  
7935  
7936  
7937  
7938  /**
7939   * External dependencies
7940   */
7941  
7942  
7943  /**
7944   * WordPress dependencies
7945   */
7946  
7947  
7948  /**
7949   * Internal dependencies
7950   */
7951  
7952  
7953  
7954  
7955  /**
7956   * Renders a generic menu item for use inside the more menu.
7957   *
7958   * @return {WPElement} More menu item.
7959   */
7960  
7961  function MenuItem(_ref) {
7962    var children = _ref.children,
7963        className = _ref.className,
7964        icon = _ref.icon,
7965        shortcut = _ref.shortcut,
7966        isSelected = _ref.isSelected,
7967        _ref$role = _ref.role,
7968        role = _ref$role === void 0 ? 'menuitem' : _ref$role,
7969        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["children", "className", "icon", "shortcut", "isSelected", "role"]);
7970  
7971    className = classnames__WEBPACK_IMPORTED_MODULE_3___default()('components-menu-item__button', className, {
7972      'has-icon': icon
7973    });
7974  
7975    if (icon) {
7976      if (!Object(lodash__WEBPACK_IMPORTED_MODULE_4__["isString"])(icon)) {
7977        icon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["cloneElement"])(icon, {
7978          className: 'components-menu-items__item-icon',
7979          height: 20,
7980          width: 20
7981        });
7982      }
7983  
7984      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_7__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
7985        className: className,
7986        icon: icon,
7987        "aria-checked": isSelected,
7988        role: role
7989      }, props), children, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_shortcut__WEBPACK_IMPORTED_MODULE_6__["default"], {
7990        className: "components-menu-item__shortcut",
7991        shortcut: shortcut
7992      }));
7993    }
7994  
7995    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_5__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
7996      className: className,
7997      "aria-checked": isSelected,
7998      role: role
7999    }, props), children, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_shortcut__WEBPACK_IMPORTED_MODULE_6__["default"], {
8000      className: "components-menu-item__shortcut",
8001      shortcut: shortcut
8002    }));
8003  }
8004  
8005  /* harmony default export */ __webpack_exports__["default"] = (MenuItem);
8006  
8007  
8008  /***/ }),
8009  
8010  /***/ "./node_modules/@wordpress/components/build-module/menu-items-choice/index.js":
8011  /*!************************************************************************************!*\
8012    !*** ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js ***!
8013    \************************************************************************************/
8014  /*! exports provided: default */
8015  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8016  
8017  "use strict";
8018  __webpack_require__.r(__webpack_exports__);
8019  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MenuItemsChoice; });
8020  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
8021  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
8022  /* harmony import */ var _menu_item__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../menu-item */ "./node_modules/@wordpress/components/build-module/menu-item/index.js");
8023  
8024  
8025  /**
8026   * Internal dependencies
8027   */
8028  
8029  function MenuItemsChoice(_ref) {
8030    var _ref$choices = _ref.choices,
8031        choices = _ref$choices === void 0 ? [] : _ref$choices,
8032        onSelect = _ref.onSelect,
8033        value = _ref.value;
8034    return choices.map(function (item) {
8035      var isSelected = value === item.value;
8036      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_menu_item__WEBPACK_IMPORTED_MODULE_1__["default"], {
8037        key: item.value,
8038        role: "menuitemradio",
8039        icon: isSelected && 'yes',
8040        isSelected: isSelected,
8041        shortcut: item.shortcut,
8042        onClick: function onClick() {
8043          if (!isSelected) {
8044            onSelect(item.value);
8045          }
8046        }
8047      }, item.label);
8048    });
8049  }
8050  
8051  
8052  /***/ }),
8053  
8054  /***/ "./node_modules/@wordpress/components/build-module/modal/aria-helper.js":
8055  /*!******************************************************************************!*\
8056    !*** ./node_modules/@wordpress/components/build-module/modal/aria-helper.js ***!
8057    \******************************************************************************/
8058  /*! exports provided: hideApp, elementShouldBeHidden, showApp */
8059  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8060  
8061  "use strict";
8062  __webpack_require__.r(__webpack_exports__);
8063  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hideApp", function() { return hideApp; });
8064  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "elementShouldBeHidden", function() { return elementShouldBeHidden; });
8065  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showApp", function() { return showApp; });
8066  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ "lodash");
8067  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
8068  /**
8069   * External dependencies
8070   */
8071  
8072  var LIVE_REGION_ARIA_ROLES = new Set(['alert', 'status', 'log', 'marquee', 'timer']);
8073  var hiddenElements = [],
8074      isHidden = false;
8075  /**
8076   * Hides all elements in the body element from screen-readers except
8077   * the provided element and elements that should not be hidden from
8078   * screen-readers.
8079   *
8080   * The reason we do this is because `aria-modal="true"` currently is bugged
8081   * in Safari, and support is spotty in other browsers overall. In the future
8082   * we should consider removing these helper functions in favor of
8083   * `aria-modal="true"`.
8084   *
8085   * @param {Element} unhiddenElement The element that should not be hidden.
8086   */
8087  
8088  function hideApp(unhiddenElement) {
8089    if (isHidden) {
8090      return;
8091    }
8092  
8093    var elements = document.body.children;
8094    Object(lodash__WEBPACK_IMPORTED_MODULE_0__["forEach"])(elements, function (element) {
8095      if (element === unhiddenElement) {
8096        return;
8097      }
8098  
8099      if (elementShouldBeHidden(element)) {
8100        element.setAttribute('aria-hidden', 'true');
8101        hiddenElements.push(element);
8102      }
8103    });
8104    isHidden = true;
8105  }
8106  /**
8107   * Determines if the passed element should not be hidden from screen readers.
8108   *
8109   * @param {HTMLElement} element The element that should be checked.
8110   *
8111   * @return {boolean} Whether the element should not be hidden from screen-readers.
8112   */
8113  
8114  function elementShouldBeHidden(element) {
8115    var role = element.getAttribute('role');
8116    return !(element.tagName === 'SCRIPT' || element.hasAttribute('aria-hidden') || element.hasAttribute('aria-live') || LIVE_REGION_ARIA_ROLES.has(role));
8117  }
8118  /**
8119   * Makes all elements in the body that have been hidden by `hideApp`
8120   * visible again to screen-readers.
8121   */
8122  
8123  function showApp() {
8124    if (!isHidden) {
8125      return;
8126    }
8127  
8128    Object(lodash__WEBPACK_IMPORTED_MODULE_0__["forEach"])(hiddenElements, function (element) {
8129      element.removeAttribute('aria-hidden');
8130    });
8131    hiddenElements = [];
8132    isHidden = false;
8133  }
8134  
8135  
8136  /***/ }),
8137  
8138  /***/ "./node_modules/@wordpress/components/build-module/modal/frame.js":
8139  /*!************************************************************************!*\
8140    !*** ./node_modules/@wordpress/components/build-module/modal/frame.js ***!
8141    \************************************************************************/
8142  /*! exports provided: default */
8143  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8144  
8145  "use strict";
8146  __webpack_require__.r(__webpack_exports__);
8147  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
8148  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
8149  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
8150  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
8151  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
8152  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
8153  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
8154  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
8155  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
8156  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7__);
8157  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/dom */ "@wordpress/dom");
8158  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_8__);
8159  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
8160  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__);
8161  /* harmony import */ var react_click_outside__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-click-outside */ "./node_modules/react-click-outside/dist/index.js");
8162  /* harmony import */ var react_click_outside__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_click_outside__WEBPACK_IMPORTED_MODULE_10__);
8163  /* harmony import */ var _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../higher-order/with-focus-return */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js");
8164  /* harmony import */ var _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../higher-order/with-constrained-tabbing */ "./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js");
8165  
8166  
8167  
8168  
8169  
8170  
8171  
8172  
8173  /**
8174   * WordPress dependencies
8175   */
8176  
8177  
8178  
8179  
8180  /**
8181   * External dependencies
8182   */
8183  
8184  
8185  /**
8186   * Internal dependencies
8187   */
8188  
8189  
8190  
8191  
8192  var ModalFrame =
8193  /*#__PURE__*/
8194  function (_Component) {
8195    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(ModalFrame, _Component);
8196  
8197    function ModalFrame() {
8198      var _this;
8199  
8200      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, ModalFrame);
8201  
8202      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(ModalFrame).apply(this, arguments));
8203      _this.containerRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])();
8204      _this.handleKeyDown = _this.handleKeyDown.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
8205      _this.handleClickOutside = _this.handleClickOutside.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
8206      _this.focusFirstTabbable = _this.focusFirstTabbable.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
8207      return _this;
8208    }
8209    /**
8210     * Focuses the first tabbable element when props.focusOnMount is true.
8211     */
8212  
8213  
8214    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(ModalFrame, [{
8215      key: "componentDidMount",
8216      value: function componentDidMount() {
8217        // Focus on mount
8218        if (this.props.focusOnMount) {
8219          this.focusFirstTabbable();
8220        }
8221      }
8222      /**
8223       * Focuses the first tabbable element.
8224       */
8225  
8226    }, {
8227      key: "focusFirstTabbable",
8228      value: function focusFirstTabbable() {
8229        var tabbables = _wordpress_dom__WEBPACK_IMPORTED_MODULE_8__["focus"].tabbable.find(this.containerRef.current);
8230  
8231        if (tabbables.length) {
8232          tabbables[0].focus();
8233        }
8234      }
8235      /**
8236       * Callback function called when clicked outside the modal.
8237       *
8238       * @param {Object} event Mouse click event.
8239       */
8240  
8241    }, {
8242      key: "handleClickOutside",
8243      value: function handleClickOutside(event) {
8244        if (this.props.shouldCloseOnClickOutside) {
8245          this.onRequestClose(event);
8246        }
8247      }
8248      /**
8249       * Callback function called when a key is pressed.
8250       *
8251       * @param {KeyboardEvent} event Key down event.
8252       */
8253  
8254    }, {
8255      key: "handleKeyDown",
8256      value: function handleKeyDown(event) {
8257        if (event.keyCode === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_7__["ESCAPE"]) {
8258          this.handleEscapeKeyDown(event);
8259        }
8260      }
8261      /**
8262       * Handles a escape key down event.
8263       *
8264       * Calls onRequestClose and prevents default key press behaviour.
8265       *
8266       * @param {Object} event Key down event.
8267       */
8268  
8269    }, {
8270      key: "handleEscapeKeyDown",
8271      value: function handleEscapeKeyDown(event) {
8272        if (this.props.shouldCloseOnEsc) {
8273          event.preventDefault();
8274          this.onRequestClose(event);
8275        }
8276      }
8277      /**
8278       * Calls the onRequestClose callback props when it is available.
8279       *
8280       * @param {Object} event Event object.
8281       */
8282  
8283    }, {
8284      key: "onRequestClose",
8285      value: function onRequestClose(event) {
8286        var onRequestClose = this.props.onRequestClose;
8287  
8288        if (onRequestClose) {
8289          onRequestClose(event);
8290        }
8291      }
8292      /**
8293       * Renders the modal frame element.
8294       *
8295       * @return {WPElement} The modal frame element.
8296       */
8297  
8298    }, {
8299      key: "render",
8300      value: function render() {
8301        var _this$props = this.props,
8302            contentLabel = _this$props.contentLabel,
8303            _this$props$aria = _this$props.aria,
8304            describedby = _this$props$aria.describedby,
8305            labelledby = _this$props$aria.labelledby,
8306            children = _this$props.children,
8307            className = _this$props.className,
8308            role = _this$props.role,
8309            style = _this$props.style;
8310        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
8311          className: className,
8312          style: style,
8313          ref: this.containerRef,
8314          role: role,
8315          "aria-label": contentLabel,
8316          "aria-labelledby": contentLabel ? null : labelledby,
8317          "aria-describedby": describedby,
8318          tabIndex: "-1"
8319        }, children);
8320      }
8321    }]);
8322  
8323    return ModalFrame;
8324  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
8325  
8326  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["compose"])([_higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_11__["default"], _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_12__["default"], react_click_outside__WEBPACK_IMPORTED_MODULE_10___default.a, Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_9__["withGlobalEvents"])({
8327    keydown: 'handleKeyDown'
8328  })])(ModalFrame));
8329  
8330  
8331  /***/ }),
8332  
8333  /***/ "./node_modules/@wordpress/components/build-module/modal/header.js":
8334  /*!*************************************************************************!*\
8335    !*** ./node_modules/@wordpress/components/build-module/modal/header.js ***!
8336    \*************************************************************************/
8337  /*! exports provided: default */
8338  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8339  
8340  "use strict";
8341  __webpack_require__.r(__webpack_exports__);
8342  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
8343  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
8344  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
8345  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
8346  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
8347  
8348  
8349  /**
8350   * WordPress dependencies
8351   */
8352  
8353  /**
8354   * Internal dependencies.
8355   */
8356  
8357  
8358  
8359  var ModalHeader = function ModalHeader(_ref) {
8360    var icon = _ref.icon,
8361        title = _ref.title,
8362        onClose = _ref.onClose,
8363        closeLabel = _ref.closeLabel,
8364        headingId = _ref.headingId,
8365        isDismissable = _ref.isDismissable;
8366    var label = closeLabel ? closeLabel : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('Close dialog');
8367    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
8368      className: "components-modal__header"
8369    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
8370      className: "components-modal__header-heading-container"
8371    }, icon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
8372      className: "components-modal__icon-container",
8373      "aria-hidden": true
8374    }, icon), title && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("h1", {
8375      id: headingId,
8376      className: "components-modal__header-heading"
8377    }, title)), isDismissable && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_2__["default"], {
8378      onClick: onClose,
8379      icon: "no-alt",
8380      label: label
8381    }));
8382  };
8383  
8384  /* harmony default export */ __webpack_exports__["default"] = (ModalHeader);
8385  
8386  
8387  /***/ }),
8388  
8389  /***/ "./node_modules/@wordpress/components/build-module/modal/index.js":
8390  /*!************************************************************************!*\
8391    !*** ./node_modules/@wordpress/components/build-module/modal/index.js ***!
8392    \************************************************************************/
8393  /*! exports provided: default */
8394  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8395  
8396  "use strict";
8397  __webpack_require__.r(__webpack_exports__);
8398  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
8399  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
8400  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
8401  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
8402  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
8403  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
8404  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
8405  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
8406  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
8407  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
8408  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
8409  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);
8410  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ "lodash");
8411  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);
8412  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
8413  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_11__);
8414  /* harmony import */ var _frame__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./frame */ "./node_modules/@wordpress/components/build-module/modal/frame.js");
8415  /* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./header */ "./node_modules/@wordpress/components/build-module/modal/header.js");
8416  /* harmony import */ var _aria_helper__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./aria-helper */ "./node_modules/@wordpress/components/build-module/modal/aria-helper.js");
8417  
8418  
8419  
8420  
8421  
8422  
8423  
8424  
8425  
8426  
8427  /**
8428   * External dependencies
8429   */
8430  
8431  
8432  /**
8433   * WordPress dependencies
8434   */
8435  
8436  
8437  
8438  /**
8439   * Internal dependencies
8440   */
8441  
8442  
8443  
8444   // Used to count the number of open modals.
8445  
8446  var parentElement,
8447      openModalCount = 0;
8448  
8449  var Modal =
8450  /*#__PURE__*/
8451  function (_Component) {
8452    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(Modal, _Component);
8453  
8454    function Modal(props) {
8455      var _this;
8456  
8457      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Modal);
8458  
8459      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(Modal).call(this, props));
8460  
8461      _this.prepareDOM();
8462  
8463      _this.stopEventPropagationOutsideModal = _this.stopEventPropagationOutsideModal.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
8464      return _this;
8465    }
8466    /**
8467     * Appends the modal's node to the DOM, so the portal can render the
8468     * modal in it. Also calls the openFirstModal when this is the first modal to be
8469     * opened.
8470     */
8471  
8472  
8473    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(Modal, [{
8474      key: "componentDidMount",
8475      value: function componentDidMount() {
8476        openModalCount++;
8477  
8478        if (openModalCount === 1) {
8479          this.openFirstModal();
8480        }
8481      }
8482      /**
8483       * Removes the modal's node from the DOM. Also calls closeLastModal when this is
8484       * the last modal to be closed.
8485       */
8486  
8487    }, {
8488      key: "componentWillUnmount",
8489      value: function componentWillUnmount() {
8490        openModalCount--;
8491  
8492        if (openModalCount === 0) {
8493          this.closeLastModal();
8494        }
8495  
8496        this.cleanDOM();
8497      }
8498      /**
8499       * Prepares the DOM for the modals to be rendered.
8500       *
8501       * Every modal is mounted in a separate div appended to a parent div
8502       * that is appended to the document body.
8503       *
8504       * The parent div will be created if it does not yet exist, and the
8505       * separate div for this specific modal will be appended to that.
8506       */
8507  
8508    }, {
8509      key: "prepareDOM",
8510      value: function prepareDOM() {
8511        if (!parentElement) {
8512          parentElement = document.createElement('div');
8513          document.body.appendChild(parentElement);
8514        }
8515  
8516        this.node = document.createElement('div');
8517        parentElement.appendChild(this.node);
8518      }
8519      /**
8520       * Removes the specific mounting point for this modal from the DOM.
8521       */
8522  
8523    }, {
8524      key: "cleanDOM",
8525      value: function cleanDOM() {
8526        parentElement.removeChild(this.node);
8527      }
8528      /**
8529       * Prepares the DOM for this modal and any additional modal to be mounted.
8530       *
8531       * It appends an additional div to the body for the modals to be rendered in,
8532       * it hides any other elements from screen-readers and adds an additional class
8533       * to the body to prevent scrolling while the modal is open.
8534       */
8535  
8536    }, {
8537      key: "openFirstModal",
8538      value: function openFirstModal() {
8539        _aria_helper__WEBPACK_IMPORTED_MODULE_14__["hideApp"](parentElement);
8540        document.body.classList.add(this.props.bodyOpenClassName);
8541      }
8542      /**
8543       * Cleans up the DOM after the last modal is closed and makes the app available
8544       * for screen-readers again.
8545       */
8546  
8547    }, {
8548      key: "closeLastModal",
8549      value: function closeLastModal() {
8550        document.body.classList.remove(this.props.bodyOpenClassName);
8551        _aria_helper__WEBPACK_IMPORTED_MODULE_14__["showApp"]();
8552      }
8553      /**
8554       * Stop all onMouseDown events propagating further - they should only go to the modal
8555           * @param {string} event Event object
8556       */
8557  
8558    }, {
8559      key: "stopEventPropagationOutsideModal",
8560      value: function stopEventPropagationOutsideModal(event) {
8561        event.stopPropagation();
8562      }
8563      /**
8564       * Renders the modal.
8565       *
8566       * @return {WPElement} The modal element.
8567       */
8568  
8569    }, {
8570      key: "render",
8571      value: function render() {
8572        var _this$props = this.props,
8573            overlayClassName = _this$props.overlayClassName,
8574            className = _this$props.className,
8575            onRequestClose = _this$props.onRequestClose,
8576            title = _this$props.title,
8577            icon = _this$props.icon,
8578            closeButtonLabel = _this$props.closeButtonLabel,
8579            children = _this$props.children,
8580            aria = _this$props.aria,
8581            instanceId = _this$props.instanceId,
8582            isDismissable = _this$props.isDismissable,
8583            otherProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["overlayClassName", "className", "onRequestClose", "title", "icon", "closeButtonLabel", "children", "aria", "instanceId", "isDismissable"]);
8584  
8585        var headingId = aria.labelledby || "components-modal-header-".concat(instanceId); // Disable reason: this stops mouse events from triggering tooltips and
8586        // other elements underneath the modal overlay.
8587  
8588        /* eslint-disable jsx-a11y/no-static-element-interactions */
8589  
8590        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createPortal"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
8591          className: classnames__WEBPACK_IMPORTED_MODULE_9___default()('components-modal__screen-overlay', overlayClassName),
8592          onMouseDown: this.stopEventPropagationOutsideModal
8593        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_frame__WEBPACK_IMPORTED_MODULE_12__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
8594          className: classnames__WEBPACK_IMPORTED_MODULE_9___default()('components-modal__frame', className),
8595          onRequestClose: onRequestClose,
8596          aria: {
8597            labelledby: title ? headingId : null,
8598            describedby: aria.describedby
8599          }
8600        }, otherProps), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
8601          className: 'components-modal__content',
8602          tabIndex: "0"
8603        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_header__WEBPACK_IMPORTED_MODULE_13__["default"], {
8604          closeLabel: closeButtonLabel,
8605          headingId: headingId,
8606          icon: icon,
8607          isDismissable: isDismissable,
8608          onClose: onRequestClose,
8609          title: title
8610        }), children))), this.node);
8611        /* eslint-enable jsx-a11y/no-static-element-interactions */
8612      }
8613    }]);
8614  
8615    return Modal;
8616  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
8617  
8618  Modal.defaultProps = {
8619    bodyOpenClassName: 'modal-open',
8620    role: 'dialog',
8621    title: null,
8622    onRequestClose: lodash__WEBPACK_IMPORTED_MODULE_10__["noop"],
8623    focusOnMount: true,
8624    shouldCloseOnEsc: true,
8625    shouldCloseOnClickOutside: true,
8626    isDismissable: true,
8627  
8628    /* accessibility */
8629    aria: {
8630      labelledby: null,
8631      describedby: null
8632    }
8633  };
8634  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_11__["withInstanceId"])(Modal));
8635  
8636  
8637  /***/ }),
8638  
8639  /***/ "./node_modules/@wordpress/components/build-module/navigable-container/index.js":
8640  /*!**************************************************************************************!*\
8641    !*** ./node_modules/@wordpress/components/build-module/navigable-container/index.js ***!
8642    \**************************************************************************************/
8643  /*! exports provided: NavigableMenu, TabbableContainer */
8644  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8645  
8646  "use strict";
8647  __webpack_require__.r(__webpack_exports__);
8648  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavigableMenu", function() { return NavigableMenu; });
8649  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TabbableContainer", function() { return TabbableContainer; });
8650  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
8651  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
8652  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
8653  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
8654  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
8655  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
8656  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
8657  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
8658  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
8659  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
8660  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
8661  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
8662  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/dom */ "@wordpress/dom");
8663  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_10__);
8664  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
8665  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__);
8666  
8667  
8668  
8669  
8670  
8671  
8672  
8673  
8674  
8675  
8676  /**
8677   * External Dependencies
8678   */
8679  
8680  /**
8681   * WordPress Dependencies
8682   */
8683  
8684  
8685  
8686  
8687  
8688  function cycleValue(value, total, offset) {
8689    var nextValue = value + offset;
8690  
8691    if (nextValue < 0) {
8692      return total + nextValue;
8693    } else if (nextValue >= total) {
8694      return nextValue - total;
8695    }
8696  
8697    return nextValue;
8698  }
8699  
8700  var NavigableContainer =
8701  /*#__PURE__*/
8702  function (_Component) {
8703    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(NavigableContainer, _Component);
8704  
8705    function NavigableContainer() {
8706      var _this;
8707  
8708      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NavigableContainer);
8709  
8710      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(NavigableContainer).apply(this, arguments));
8711      _this.bindContainer = _this.bindContainer.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
8712      _this.onKeyDown = _this.onKeyDown.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
8713      _this.getFocusableContext = _this.getFocusableContext.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
8714      _this.getFocusableIndex = _this.getFocusableIndex.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
8715      return _this;
8716    }
8717  
8718    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NavigableContainer, [{
8719      key: "bindContainer",
8720      value: function bindContainer(ref) {
8721        this.container = ref;
8722      }
8723    }, {
8724      key: "getFocusableContext",
8725      value: function getFocusableContext(target) {
8726        var onlyBrowserTabstops = this.props.onlyBrowserTabstops;
8727        var finder = onlyBrowserTabstops ? _wordpress_dom__WEBPACK_IMPORTED_MODULE_10__["focus"].tabbable : _wordpress_dom__WEBPACK_IMPORTED_MODULE_10__["focus"].focusable;
8728        var focusables = finder.find(this.container);
8729        var index = this.getFocusableIndex(focusables, target);
8730  
8731        if (index > -1 && target) {
8732          return {
8733            index: index,
8734            target: target,
8735            focusables: focusables
8736          };
8737        }
8738  
8739        return null;
8740      }
8741    }, {
8742      key: "getFocusableIndex",
8743      value: function getFocusableIndex(focusables, target) {
8744        var directIndex = focusables.indexOf(target);
8745  
8746        if (directIndex !== -1) {
8747          return directIndex;
8748        }
8749      }
8750    }, {
8751      key: "onKeyDown",
8752      value: function onKeyDown(event) {
8753        if (this.props.onKeyDown) {
8754          this.props.onKeyDown(event);
8755        }
8756  
8757        var getFocusableContext = this.getFocusableContext;
8758        var _this$props = this.props,
8759            _this$props$cycle = _this$props.cycle,
8760            cycle = _this$props$cycle === void 0 ? true : _this$props$cycle,
8761            eventToOffset = _this$props.eventToOffset,
8762            _this$props$onNavigat = _this$props.onNavigate,
8763            onNavigate = _this$props$onNavigat === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_9__["noop"] : _this$props$onNavigat,
8764            stopNavigationEvents = _this$props.stopNavigationEvents;
8765        var offset = eventToOffset(event); // eventToOffset returns undefined if the event is not handled by the component
8766  
8767        if (offset !== undefined && stopNavigationEvents) {
8768          // Prevents arrow key handlers bound to the document directly interfering
8769          event.nativeEvent.stopImmediatePropagation(); // When navigating a collection of items, prevent scroll containers
8770          // from scrolling.
8771  
8772          if (event.target.getAttribute('role') === 'menuitem') {
8773            event.preventDefault();
8774          }
8775  
8776          event.stopPropagation();
8777        }
8778  
8779        if (!offset) {
8780          return;
8781        }
8782  
8783        var context = getFocusableContext(document.activeElement);
8784  
8785        if (!context) {
8786          return;
8787        }
8788  
8789        var index = context.index,
8790            focusables = context.focusables;
8791        var nextIndex = cycle ? cycleValue(index, focusables.length, offset) : index + offset;
8792  
8793        if (nextIndex >= 0 && nextIndex < focusables.length) {
8794          focusables[nextIndex].focus();
8795          onNavigate(nextIndex, focusables[nextIndex]);
8796        }
8797      }
8798    }, {
8799      key: "render",
8800      value: function render() {
8801        var _this$props2 = this.props,
8802            children = _this$props2.children,
8803            props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props2, ["children"]); // Disable reason: Assumed role is applied by parent via props spread.
8804  
8805        /* eslint-disable jsx-a11y/no-static-element-interactions */
8806  
8807  
8808        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
8809          ref: this.bindContainer
8810        }, Object(lodash__WEBPACK_IMPORTED_MODULE_9__["omit"])(props, ['stopNavigationEvents', 'eventToOffset', 'onNavigate', 'cycle', 'onlyBrowserTabstops']), {
8811          onKeyDown: this.onKeyDown,
8812          onFocus: this.onFocus
8813        }), children);
8814      }
8815    }]);
8816  
8817    return NavigableContainer;
8818  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
8819  
8820  var NavigableMenu =
8821  /*#__PURE__*/
8822  function (_Component2) {
8823    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(NavigableMenu, _Component2);
8824  
8825    function NavigableMenu() {
8826      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, NavigableMenu);
8827  
8828      return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(NavigableMenu).apply(this, arguments));
8829    }
8830  
8831    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(NavigableMenu, [{
8832      key: "render",
8833      value: function render() {
8834        var _this$props3 = this.props,
8835            _this$props3$role = _this$props3.role,
8836            role = _this$props3$role === void 0 ? 'menu' : _this$props3$role,
8837            _this$props3$orientat = _this$props3.orientation,
8838            orientation = _this$props3$orientat === void 0 ? 'vertical' : _this$props3$orientat,
8839            rest = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props3, ["role", "orientation"]);
8840  
8841        var eventToOffset = function eventToOffset(evt) {
8842          var keyCode = evt.keyCode;
8843          var next = [_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["DOWN"]];
8844          var previous = [_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["UP"]];
8845  
8846          if (orientation === 'horizontal') {
8847            next = [_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["RIGHT"]];
8848            previous = [_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["LEFT"]];
8849          }
8850  
8851          if (orientation === 'both') {
8852            next = [_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["RIGHT"], _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["DOWN"]];
8853            previous = [_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["LEFT"], _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["UP"]];
8854          }
8855  
8856          if (Object(lodash__WEBPACK_IMPORTED_MODULE_9__["includes"])(next, keyCode)) {
8857            return 1;
8858          } else if (Object(lodash__WEBPACK_IMPORTED_MODULE_9__["includes"])(previous, keyCode)) {
8859            return -1;
8860          }
8861        };
8862  
8863        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(NavigableContainer, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
8864          stopNavigationEvents: true,
8865          onlyBrowserTabstops: false,
8866          role: role,
8867          "aria-orientation": orientation,
8868          eventToOffset: eventToOffset
8869        }, rest));
8870      }
8871    }]);
8872  
8873    return NavigableMenu;
8874  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
8875  var TabbableContainer =
8876  /*#__PURE__*/
8877  function (_Component3) {
8878    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(TabbableContainer, _Component3);
8879  
8880    function TabbableContainer() {
8881      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, TabbableContainer);
8882  
8883      return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(TabbableContainer).apply(this, arguments));
8884    }
8885  
8886    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(TabbableContainer, [{
8887      key: "render",
8888      value: function render() {
8889        var _this2 = this;
8890  
8891        var eventToOffset = function eventToOffset(evt) {
8892          var keyCode = evt.keyCode,
8893              shiftKey = evt.shiftKey;
8894  
8895          if (_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_11__["TAB"] === keyCode) {
8896            return shiftKey ? -1 : 1;
8897          } // Allow custom handling of keys besides Tab.
8898          //
8899          // By default, TabbableContainer will move focus forward on Tab and
8900          // backward on Shift+Tab. The handler below will be used for all other
8901          // events. The semantics for `this.props.eventToOffset`'s return
8902          // values are the following:
8903          //
8904          // - +1: move focus forward
8905          // - -1: move focus backward
8906          // -  0: don't move focus, but acknowledge event and thus stop it
8907          // - undefined: do nothing, let the event propagate
8908  
8909  
8910          if (_this2.props.eventToOffset) {
8911            return _this2.props.eventToOffset(evt);
8912          }
8913        };
8914  
8915        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(NavigableContainer, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
8916          stopNavigationEvents: true,
8917          onlyBrowserTabstops: true,
8918          eventToOffset: eventToOffset
8919        }, this.props));
8920      }
8921    }]);
8922  
8923    return TabbableContainer;
8924  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
8925  
8926  
8927  /***/ }),
8928  
8929  /***/ "./node_modules/@wordpress/components/build-module/notice/index.js":
8930  /*!*************************************************************************!*\
8931    !*** ./node_modules/@wordpress/components/build-module/notice/index.js ***!
8932    \*************************************************************************/
8933  /*! exports provided: default */
8934  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8935  
8936  "use strict";
8937  __webpack_require__.r(__webpack_exports__);
8938  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
8939  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
8940  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
8941  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
8942  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
8943  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
8944  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
8945  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
8946  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
8947  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
8948  
8949  
8950  
8951  /**
8952   * External dependencies
8953   */
8954  
8955  
8956  /**
8957   * WordPress dependencies
8958   */
8959  
8960  
8961  /**
8962   * Internal dependencies
8963   */
8964  
8965  
8966  
8967  function Notice(_ref) {
8968    var className = _ref.className,
8969        status = _ref.status,
8970        children = _ref.children,
8971        _ref$onRemove = _ref.onRemove,
8972        onRemove = _ref$onRemove === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_2__["noop"] : _ref$onRemove,
8973        _ref$isDismissible = _ref.isDismissible,
8974        isDismissible = _ref$isDismissible === void 0 ? true : _ref$isDismissible;
8975    var classNames = classnames__WEBPACK_IMPORTED_MODULE_3___default()(className, 'components-notice', Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, "is-".concat(status), !!status), {
8976      'is-dismissible': isDismissible
8977    });
8978    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
8979      className: classNames
8980    }, Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isString"])(children) ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
8981      className: "components-notice__content"
8982    }, children) : children, isDismissible && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_5__["default"], {
8983      className: "components-notice__dismiss",
8984      icon: "no",
8985      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Dismiss this notice'),
8986      onClick: onRemove,
8987      tooltip: false
8988    }));
8989  }
8990  
8991  /* harmony default export */ __webpack_exports__["default"] = (Notice);
8992  
8993  
8994  /***/ }),
8995  
8996  /***/ "./node_modules/@wordpress/components/build-module/notice/list.js":
8997  /*!************************************************************************!*\
8998    !*** ./node_modules/@wordpress/components/build-module/notice/list.js ***!
8999    \************************************************************************/
9000  /*! exports provided: default */
9001  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9002  
9003  "use strict";
9004  __webpack_require__.r(__webpack_exports__);
9005  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
9006  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
9007  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9008  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
9009  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ "lodash");
9010  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
9011  /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ */ "./node_modules/@wordpress/components/build-module/notice/index.js");
9012  
9013  
9014  
9015  
9016  /**
9017   * External dependencies
9018   */
9019  
9020  /**
9021   * Internal dependencies
9022   */
9023  
9024  
9025  /**
9026  * Renders a list of notices.
9027  *
9028  * @param  {Object}   $0           Props passed to the component.
9029  * @param  {Array}    $0.notices   Array of notices to render.
9030  * @param  {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
9031  * @param  {Object}   $0.className Name of the class used by the component.
9032  * @param  {Object}   $0.children  Array of children to be rendered inside the notice list.
9033  * @return {Object}                The rendered notices list.
9034  */
9035  
9036  function NoticeList(_ref) {
9037    var notices = _ref.notices,
9038        _ref$onRemove = _ref.onRemove,
9039        onRemove = _ref$onRemove === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_3__["noop"] : _ref$onRemove,
9040        _ref$className = _ref.className,
9041        className = _ref$className === void 0 ? 'components-notice-list' : _ref$className,
9042        children = _ref.children;
9043  
9044    var removeNotice = function removeNotice(id) {
9045      return function () {
9046        return onRemove(id);
9047      };
9048    };
9049  
9050    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", {
9051      className: className
9052    }, children, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(notices).reverse().map(function (notice) {
9053      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(___WEBPACK_IMPORTED_MODULE_4__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, Object(lodash__WEBPACK_IMPORTED_MODULE_3__["omit"])(notice, 'content'), {
9054        key: notice.id,
9055        onRemove: removeNotice(notice.id)
9056      }), notice.content);
9057    }));
9058  }
9059  
9060  /* harmony default export */ __webpack_exports__["default"] = (NoticeList);
9061  
9062  
9063  /***/ }),
9064  
9065  /***/ "./node_modules/@wordpress/components/build-module/panel/body.js":
9066  /*!***********************************************************************!*\
9067    !*** ./node_modules/@wordpress/components/build-module/panel/body.js ***!
9068    \***********************************************************************/
9069  /*! exports provided: default */
9070  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9071  
9072  "use strict";
9073  __webpack_require__.r(__webpack_exports__);
9074  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
9075  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
9076  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
9077  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
9078  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
9079  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
9080  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9081  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
9082  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
9083  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);
9084  /* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../button */ "./node_modules/@wordpress/components/build-module/button/index.js");
9085  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
9086  /* harmony import */ var _primitives__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../primitives */ "./node_modules/@wordpress/components/build-module/primitives/index.js");
9087  
9088  
9089  
9090  
9091  
9092  
9093  
9094  
9095  /**
9096   * External dependencies
9097   */
9098  
9099  /**
9100   * WordPress dependencies
9101   */
9102  
9103  
9104  /**
9105   * Internal dependencies
9106   */
9107  
9108  
9109  
9110  
9111  
9112  var PanelBody =
9113  /*#__PURE__*/
9114  function (_Component) {
9115    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(PanelBody, _Component);
9116  
9117    function PanelBody(props) {
9118      var _this;
9119  
9120      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, PanelBody);
9121  
9122      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(PanelBody).apply(this, arguments));
9123      _this.state = {
9124        opened: props.initialOpen === undefined ? true : props.initialOpen
9125      };
9126      _this.toggle = _this.toggle.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
9127      return _this;
9128    }
9129  
9130    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(PanelBody, [{
9131      key: "toggle",
9132      value: function toggle(event) {
9133        event.preventDefault();
9134  
9135        if (this.props.opened === undefined) {
9136          this.setState(function (state) {
9137            return {
9138              opened: !state.opened
9139            };
9140          });
9141        }
9142  
9143        if (this.props.onToggle) {
9144          this.props.onToggle();
9145        }
9146      }
9147    }, {
9148      key: "render",
9149      value: function render() {
9150        var _this$props = this.props,
9151            title = _this$props.title,
9152            children = _this$props.children,
9153            opened = _this$props.opened,
9154            className = _this$props.className,
9155            icon = _this$props.icon;
9156        var isOpened = opened === undefined ? this.state.opened : opened;
9157        var classes = classnames__WEBPACK_IMPORTED_MODULE_7___default()('components-panel__body', className, {
9158          'is-opened': isOpened
9159        });
9160        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
9161          className: classes
9162        }, !!title && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("h2", {
9163          className: "components-panel__body-title"
9164        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_8__["default"], {
9165          className: "components-panel__body-toggle",
9166          onClick: this.toggle,
9167          "aria-expanded": isOpened
9168        }, isOpened ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["SVG"], {
9169          className: "components-panel__arrow",
9170          width: "24px",
9171          height: "24px",
9172          viewBox: "0 0 24 24",
9173          xmlns: "http://www.w3.org/2000/svg"
9174        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["Path"], {
9175          fill: "none",
9176          d: "M0,0h24v24H0V0z"
9177        })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["Path"], {
9178          d: "M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"
9179        }))) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["SVG"], {
9180          className: "components-panel__arrow",
9181          width: "24px",
9182          height: "24px",
9183          viewBox: "0 0 24 24",
9184          xmlns: "http://www.w3.org/2000/svg"
9185        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["Path"], {
9186          fill: "none",
9187          d: "M0,0h24v24H0V0z"
9188        })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_primitives__WEBPACK_IMPORTED_MODULE_10__["Path"], {
9189          d: "M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"
9190        }))), icon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_9__["default"], {
9191          icon: icon,
9192          className: "components-panel__icon"
9193        }), title)), isOpened && children);
9194      }
9195    }]);
9196  
9197    return PanelBody;
9198  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
9199  
9200  /* harmony default export */ __webpack_exports__["default"] = (PanelBody);
9201  
9202  
9203  /***/ }),
9204  
9205  /***/ "./node_modules/@wordpress/components/build-module/panel/color.js":
9206  /*!************************************************************************!*\
9207    !*** ./node_modules/@wordpress/components/build-module/panel/color.js ***!
9208    \************************************************************************/
9209  /*! exports provided: default */
9210  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9211  
9212  "use strict";
9213  __webpack_require__.r(__webpack_exports__);
9214  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
9215  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
9216  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9217  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
9218  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
9219  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
9220  /* harmony import */ var _body__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./body */ "./node_modules/@wordpress/components/build-module/panel/body.js");
9221  /* harmony import */ var _color_indicator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../color-indicator */ "./node_modules/@wordpress/components/build-module/color-indicator/index.js");
9222  
9223  
9224  
9225  
9226  /**
9227   * WordPress dependencies
9228   */
9229  
9230  /**
9231   * Internal dependencies
9232   */
9233  
9234  
9235  
9236  
9237  function PanelColor(_ref) {
9238    var colorValue = _ref.colorValue,
9239        colorName = _ref.colorName,
9240        title = _ref.title,
9241        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["colorValue", "colorName", "title"]);
9242  
9243    // translators: %s: The name of the color e.g: "vivid red" or color hex code if name is not available e.g: "#f00".
9244    var currentColorLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('(current color: %s)'), colorName || colorValue);
9245    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_body__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
9246      title: [Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("span", {
9247        className: "components-panel__color-title",
9248        key: "title"
9249      }, title), colorValue && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_color_indicator__WEBPACK_IMPORTED_MODULE_5__["default"], {
9250        key: "color",
9251        className: "components-panel__color-indicator",
9252        "aria-label": currentColorLabel,
9253        colorValue: colorValue
9254      })]
9255    }));
9256  }
9257  
9258  /* harmony default export */ __webpack_exports__["default"] = (PanelColor);
9259  
9260  
9261  /***/ }),
9262  
9263  /***/ "./node_modules/@wordpress/components/build-module/panel/header.js":
9264  /*!*************************************************************************!*\
9265    !*** ./node_modules/@wordpress/components/build-module/panel/header.js ***!
9266    \*************************************************************************/
9267  /*! exports provided: default */
9268  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9269  
9270  "use strict";
9271  __webpack_require__.r(__webpack_exports__);
9272  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9273  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
9274  
9275  
9276  function PanelHeader(_ref) {
9277    var label = _ref.label,
9278        children = _ref.children;
9279    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
9280      className: "components-panel__header"
9281    }, label && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("h2", null, label), children);
9282  }
9283  
9284  /* harmony default export */ __webpack_exports__["default"] = (PanelHeader);
9285  
9286  
9287  /***/ }),
9288  
9289  /***/ "./node_modules/@wordpress/components/build-module/panel/index.js":
9290  /*!************************************************************************!*\
9291    !*** ./node_modules/@wordpress/components/build-module/panel/index.js ***!
9292    \************************************************************************/
9293  /*! exports provided: default */
9294  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9295  
9296  "use strict";
9297  __webpack_require__.r(__webpack_exports__);
9298  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9299  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
9300  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
9301  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
9302  /* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./header */ "./node_modules/@wordpress/components/build-module/panel/header.js");
9303  
9304  
9305  /**
9306   * External dependencies
9307   */
9308  
9309  /**
9310   * Internal dependencies
9311   */
9312  
9313  
9314  
9315  function Panel(_ref) {
9316    var header = _ref.header,
9317        className = _ref.className,
9318        children = _ref.children;
9319    var classNames = classnames__WEBPACK_IMPORTED_MODULE_1___default()(className, 'components-panel');
9320    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
9321      className: classNames
9322    }, header && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_header__WEBPACK_IMPORTED_MODULE_2__["default"], {
9323      label: header
9324    }), children);
9325  }
9326  
9327  /* harmony default export */ __webpack_exports__["default"] = (Panel);
9328  
9329  
9330  /***/ }),
9331  
9332  /***/ "./node_modules/@wordpress/components/build-module/panel/row.js":
9333  /*!**********************************************************************!*\
9334    !*** ./node_modules/@wordpress/components/build-module/panel/row.js ***!
9335    \**********************************************************************/
9336  /*! exports provided: default */
9337  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9338  
9339  "use strict";
9340  __webpack_require__.r(__webpack_exports__);
9341  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9342  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
9343  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
9344  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
9345  
9346  
9347  /**
9348   * External dependencies
9349   */
9350  
9351  
9352  function PanelRow(_ref) {
9353    var className = _ref.className,
9354        children = _ref.children;
9355    var classes = classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-panel__row', className);
9356    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
9357      className: classes
9358    }, children);
9359  }
9360  
9361  /* harmony default export */ __webpack_exports__["default"] = (PanelRow);
9362  
9363  
9364  /***/ }),
9365  
9366  /***/ "./node_modules/@wordpress/components/build-module/placeholder/index.js":
9367  /*!******************************************************************************!*\
9368    !*** ./node_modules/@wordpress/components/build-module/placeholder/index.js ***!
9369    \******************************************************************************/
9370  /*! exports provided: default */
9371  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9372  
9373  "use strict";
9374  __webpack_require__.r(__webpack_exports__);
9375  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
9376  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
9377  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9378  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
9379  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
9380  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
9381  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash");
9382  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
9383  /* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dashicon */ "./node_modules/@wordpress/components/build-module/dashicon/index.js");
9384  
9385  
9386  
9387  
9388  /**
9389   * External dependencies
9390   */
9391  
9392  
9393  /**
9394   * Internal dependencies
9395   */
9396  
9397  
9398  /**
9399  * Renders a placeholder. Normally used by blocks to render their empty state.
9400  *
9401  * @param  {Object} props The component props.
9402  * @return {Object}       The rendered placeholder.
9403  */
9404  
9405  function Placeholder(_ref) {
9406    var icon = _ref.icon,
9407        children = _ref.children,
9408        label = _ref.label,
9409        instructions = _ref.instructions,
9410        className = _ref.className,
9411        notices = _ref.notices,
9412        additionalProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["icon", "children", "label", "instructions", "className", "notices"]);
9413  
9414    var classes = classnames__WEBPACK_IMPORTED_MODULE_3___default()('components-placeholder', className);
9415    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, additionalProps, {
9416      className: classes
9417    }), notices, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", {
9418      className: "components-placeholder__label"
9419    }, Object(lodash__WEBPACK_IMPORTED_MODULE_4__["isString"])(icon) ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_5__["default"], {
9420      icon: icon
9421    }) : icon, label), !!instructions && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", {
9422      className: "components-placeholder__instructions"
9423    }, instructions), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("div", {
9424      className: "components-placeholder__fieldset"
9425    }, children));
9426  }
9427  
9428  /* harmony default export */ __webpack_exports__["default"] = (Placeholder);
9429  
9430  
9431  /***/ }),
9432  
9433  /***/ "./node_modules/@wordpress/components/build-module/popover/detect-outside.js":
9434  /*!***********************************************************************************!*\
9435    !*** ./node_modules/@wordpress/components/build-module/popover/detect-outside.js ***!
9436    \***********************************************************************************/
9437  /*! exports provided: default */
9438  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9439  
9440  "use strict";
9441  __webpack_require__.r(__webpack_exports__);
9442  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
9443  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
9444  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
9445  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
9446  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
9447  /* harmony import */ var react_click_outside__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-click-outside */ "./node_modules/react-click-outside/dist/index.js");
9448  /* harmony import */ var react_click_outside__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_click_outside__WEBPACK_IMPORTED_MODULE_5__);
9449  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9450  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
9451  
9452  
9453  
9454  
9455  
9456  
9457  /**
9458   * External dependencies
9459   */
9460  
9461  /**
9462   * WordPress dependencies
9463   */
9464  
9465  
9466  
9467  var PopoverDetectOutside =
9468  /*#__PURE__*/
9469  function (_Component) {
9470    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(PopoverDetectOutside, _Component);
9471  
9472    function PopoverDetectOutside() {
9473      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, PopoverDetectOutside);
9474  
9475      return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(PopoverDetectOutside).apply(this, arguments));
9476    }
9477  
9478    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(PopoverDetectOutside, [{
9479      key: "handleClickOutside",
9480      value: function handleClickOutside(event) {
9481        var onClickOutside = this.props.onClickOutside;
9482  
9483        if (onClickOutside) {
9484          onClickOutside(event);
9485        }
9486      }
9487    }, {
9488      key: "render",
9489      value: function render() {
9490        return this.props.children;
9491      }
9492    }]);
9493  
9494    return PopoverDetectOutside;
9495  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
9496  
9497  /* harmony default export */ __webpack_exports__["default"] = (react_click_outside__WEBPACK_IMPORTED_MODULE_5___default()(PopoverDetectOutside));
9498  
9499  
9500  /***/ }),
9501  
9502  /***/ "./node_modules/@wordpress/components/build-module/popover/index.js":
9503  /*!**************************************************************************!*\
9504    !*** ./node_modules/@wordpress/components/build-module/popover/index.js ***!
9505    \**************************************************************************/
9506  /*! exports provided: default */
9507  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9508  
9509  "use strict";
9510  __webpack_require__.r(__webpack_exports__);
9511  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
9512  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
9513  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
9514  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
9515  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
9516  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
9517  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
9518  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
9519  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
9520  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
9521  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
9522  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);
9523  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ "lodash");
9524  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);
9525  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/dom */ "@wordpress/dom");
9526  /* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_11__);
9527  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @wordpress/keycodes */ "@wordpress/keycodes");
9528  /* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__);
9529  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils */ "./node_modules/@wordpress/components/build-module/popover/utils.js");
9530  /* harmony import */ var _higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../higher-order/with-focus-return */ "./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js");
9531  /* harmony import */ var _higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../higher-order/with-constrained-tabbing */ "./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js");
9532  /* harmony import */ var _detect_outside__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./detect-outside */ "./node_modules/@wordpress/components/build-module/popover/detect-outside.js");
9533  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
9534  /* harmony import */ var _scroll_lock__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../scroll-lock */ "./node_modules/@wordpress/components/build-module/scroll-lock/index.js");
9535  /* harmony import */ var _slot_fill__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../slot-fill */ "./node_modules/@wordpress/components/build-module/slot-fill/index.js");
9536  
9537  
9538  
9539  
9540  
9541  
9542  
9543  
9544  
9545  
9546  /**
9547   * External dependencies
9548   */
9549  
9550  
9551  /**
9552   * WordPress dependencies
9553   */
9554  
9555  
9556  
9557  
9558  /**
9559   * Internal dependencies
9560   */
9561  
9562  
9563  
9564  
9565  
9566  
9567  
9568  
9569  var FocusManaged = Object(_higher_order_with_constrained_tabbing__WEBPACK_IMPORTED_MODULE_15__["default"])(Object(_higher_order_with_focus_return__WEBPACK_IMPORTED_MODULE_14__["default"])(function (_ref) {
9570    var children = _ref.children;
9571    return children;
9572  }));
9573  /**
9574   * Name of slot in which popover should fill.
9575   *
9576   * @type {String}
9577   */
9578  
9579  var SLOT_NAME = 'Popover';
9580  
9581  var Popover =
9582  /*#__PURE__*/
9583  function (_Component) {
9584    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_6__["default"])(Popover, _Component);
9585  
9586    function Popover() {
9587      var _this;
9588  
9589      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Popover);
9590  
9591      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__["default"])(Popover).apply(this, arguments));
9592      _this.focus = _this.focus.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9593      _this.refresh = _this.refresh.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9594      _this.getAnchorRect = _this.getAnchorRect.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9595      _this.updatePopoverSize = _this.updatePopoverSize.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9596      _this.computePopoverPosition = _this.computePopoverPosition.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9597      _this.throttledComputePopoverPosition = _this.throttledComputePopoverPosition.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9598      _this.maybeClose = _this.maybeClose.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__["default"])(_this)));
9599      _this.contentNode = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createRef"])();
9600      _this.anchorNode = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createRef"])();
9601      _this.state = {
9602        popoverLeft: null,
9603        popoverTop: null,
9604        yAxis: 'top',
9605        xAxis: 'center',
9606        contentHeight: null,
9607        contentWidth: null,
9608        isMobile: false,
9609        popoverSize: null
9610      };
9611      return _this;
9612    }
9613  
9614    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(Popover, [{
9615      key: "componentDidMount",
9616      value: function componentDidMount() {
9617        var _this2 = this;
9618  
9619        this.toggleWindowEvents(true);
9620        this.refresh();
9621        /*
9622         * Without the setTimeout, the dom node is not being focused. Related:
9623         * https://stackoverflow.com/questions/35522220/react-ref-with-focus-doesnt-work-without-settimeout-my-example
9624         *
9625         * TODO: Treat the cause, not the symptom.
9626         */
9627  
9628        this.focusTimeout = setTimeout(function () {
9629          _this2.focus();
9630        }, 0);
9631      }
9632    }, {
9633      key: "componentDidUpdate",
9634      value: function componentDidUpdate(prevProps) {
9635        if (prevProps.position !== this.props.position) {
9636          this.computePopoverPosition();
9637        }
9638      }
9639    }, {
9640      key: "componentWillUnmount",
9641      value: function componentWillUnmount() {
9642        this.toggleWindowEvents(false);
9643        clearTimeout(this.focusTimeout);
9644      }
9645    }, {
9646      key: "toggleWindowEvents",
9647      value: function toggleWindowEvents(isListening) {
9648        var handler = isListening ? 'addEventListener' : 'removeEventListener';
9649        window.cancelAnimationFrame(this.rafHandle);
9650        window[handler]('resize', this.throttledComputePopoverPosition);
9651        window[handler]('scroll', this.throttledComputePopoverPosition, true);
9652      }
9653    }, {
9654      key: "throttledComputePopoverPosition",
9655      value: function throttledComputePopoverPosition(event) {
9656        var _this3 = this;
9657  
9658        if (event.type === 'scroll' && this.contentNode.current.contains(event.target)) {
9659          return;
9660        }
9661  
9662        this.rafHandle = window.requestAnimationFrame(function () {
9663          return _this3.computePopoverPosition();
9664        });
9665      }
9666      /**
9667       * Calling `refresh()` will force the Popover to recalculate its size and
9668       * position. This is useful when a DOM change causes the anchor node to change
9669       * position.
9670       *
9671       * @return {void}
9672       */
9673  
9674    }, {
9675      key: "refresh",
9676      value: function refresh() {
9677        var popoverSize = this.updatePopoverSize();
9678        this.computePopoverPosition(popoverSize);
9679      }
9680    }, {
9681      key: "focus",
9682      value: function focus() {
9683        var focusOnMount = this.props.focusOnMount;
9684  
9685        if (!focusOnMount || !this.contentNode.current) {
9686          return;
9687        }
9688  
9689        if (focusOnMount === 'firstElement') {
9690          // Find first tabbable node within content and shift focus, falling
9691          // back to the popover panel itself.
9692          var firstTabbable = _wordpress_dom__WEBPACK_IMPORTED_MODULE_11__["focus"].tabbable.find(this.contentNode.current)[0];
9693  
9694          if (firstTabbable) {
9695            firstTabbable.focus();
9696          } else {
9697            this.contentNode.current.focus();
9698          }
9699  
9700          return;
9701        }
9702  
9703        if (focusOnMount === 'container') {
9704          // Focus the popover panel itself so items in the popover are easily
9705          // accessed via keyboard navigation.
9706          this.contentNode.current.focus();
9707        }
9708      }
9709    }, {
9710      key: "getAnchorRect",
9711      value: function getAnchorRect(anchor) {
9712        if (!anchor || !anchor.parentNode) {
9713          return;
9714        }
9715  
9716        var rect = anchor.parentNode.getBoundingClientRect(); // subtract padding
9717  
9718        var _window$getComputedSt = window.getComputedStyle(anchor.parentNode),
9719            paddingTop = _window$getComputedSt.paddingTop,
9720            paddingBottom = _window$getComputedSt.paddingBottom;
9721  
9722        var topPad = parseInt(paddingTop, 10);
9723        var bottomPad = parseInt(paddingBottom, 10);
9724        return {
9725          x: rect.left,
9726          y: rect.top + topPad,
9727          width: rect.width,
9728          height: rect.height - topPad - bottomPad,
9729          left: rect.left,
9730          right: rect.right,
9731          top: rect.top + topPad,
9732          bottom: rect.bottom - bottomPad
9733        };
9734      }
9735    }, {
9736      key: "updatePopoverSize",
9737      value: function updatePopoverSize() {
9738        var rect = this.contentNode.current.getBoundingClientRect();
9739  
9740        if (!this.state.popoverSize || rect.width !== this.state.popoverSize.width || rect.height !== this.state.popoverSize.height) {
9741          var popoverSize = {
9742            height: rect.height,
9743            width: rect.width
9744          };
9745          this.setState({
9746            popoverSize: popoverSize
9747          });
9748          return popoverSize;
9749        }
9750  
9751        return this.state.popoverSize;
9752      }
9753    }, {
9754      key: "computePopoverPosition",
9755      value: function computePopoverPosition(popoverSize) {
9756        var _this$props = this.props,
9757            _this$props$getAnchor = _this$props.getAnchorRect,
9758            getAnchorRect = _this$props$getAnchor === void 0 ? this.getAnchorRect : _this$props$getAnchor,
9759            _this$props$position = _this$props.position,
9760            position = _this$props$position === void 0 ? 'top' : _this$props$position,
9761            expandOnMobile = _this$props.expandOnMobile;
9762  
9763        var newPopoverPosition = Object(_utils__WEBPACK_IMPORTED_MODULE_13__["computePopoverPosition"])(getAnchorRect(this.anchorNode.current), popoverSize || this.state.popoverSize, position, expandOnMobile);
9764  
9765        if (this.state.yAxis !== newPopoverPosition.yAxis || this.state.xAxis !== newPopoverPosition.xAxis || this.state.popoverLeft !== newPopoverPosition.popoverLeft || this.state.popoverTop !== newPopoverPosition.popoverTop || this.state.contentHeight !== newPopoverPosition.contentHeight || this.state.contentWidth !== newPopoverPosition.contentWidth || this.state.isMobile !== newPopoverPosition.isMobile) {
9766          this.setState(newPopoverPosition);
9767        }
9768      }
9769    }, {
9770      key: "maybeClose",
9771      value: function maybeClose(event) {
9772        var _this$props2 = this.props,
9773            onKeyDown = _this$props2.onKeyDown,
9774            onClose = _this$props2.onClose; // Close on escape
9775  
9776        if (event.keyCode === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_12__["ESCAPE"] && onClose) {
9777          event.stopPropagation();
9778          onClose();
9779        } // Preserve original content prop behavior
9780  
9781  
9782        if (onKeyDown) {
9783          onKeyDown(event);
9784        }
9785      }
9786    }, {
9787      key: "render",
9788      value: function render() {
9789        var _this$props3 = this.props,
9790            headerTitle = _this$props3.headerTitle,
9791            onClose = _this$props3.onClose,
9792            children = _this$props3.children,
9793            className = _this$props3.className,
9794            _this$props3$onClickO = _this$props3.onClickOutside,
9795            onClickOutside = _this$props3$onClickO === void 0 ? onClose : _this$props3$onClickO,
9796            noArrow = _this$props3.noArrow,
9797            position = _this$props3.position,
9798            range = _this$props3.range,
9799            focusOnMount = _this$props3.focusOnMount,
9800            getAnchorRect = _this$props3.getAnchorRect,
9801            expandOnMobile = _this$props3.expandOnMobile,
9802            contentProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props3, ["headerTitle", "onClose", "children", "className", "onClickOutside", "noArrow", "position", "range", "focusOnMount", "getAnchorRect", "expandOnMobile"]);
9803  
9804        var _this$state = this.state,
9805            popoverLeft = _this$state.popoverLeft,
9806            popoverTop = _this$state.popoverTop,
9807            yAxis = _this$state.yAxis,
9808            xAxis = _this$state.xAxis,
9809            contentHeight = _this$state.contentHeight,
9810            contentWidth = _this$state.contentWidth,
9811            popoverSize = _this$state.popoverSize,
9812            isMobile = _this$state.isMobile;
9813        var classes = classnames__WEBPACK_IMPORTED_MODULE_9___default()('components-popover', className, 'is-' + yAxis, 'is-' + xAxis, {
9814          'is-mobile': isMobile,
9815          'is-without-arrow': noArrow || xAxis === 'center' && yAxis === 'middle'
9816        }); // Disable reason: We care to capture the _bubbled_ events from inputs
9817        // within popover as inferring close intent.
9818  
9819        /* eslint-disable jsx-a11y/no-static-element-interactions */
9820  
9821        var content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_detect_outside__WEBPACK_IMPORTED_MODULE_16__["default"], {
9822          onClickOutside: onClickOutside
9823        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
9824          className: classes,
9825          style: {
9826            top: !isMobile && popoverTop ? popoverTop + 'px' : undefined,
9827            left: !isMobile && popoverLeft ? popoverLeft + 'px' : undefined,
9828            visibility: popoverSize ? undefined : 'hidden'
9829          }
9830        }, contentProps, {
9831          onKeyDown: this.maybeClose
9832        }), isMobile && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
9833          className: "components-popover__header"
9834        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("span", {
9835          className: "components-popover__header-title"
9836        }, headerTitle), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_17__["default"], {
9837          className: "components-popover__close",
9838          icon: "no-alt",
9839          onClick: onClose
9840        })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
9841          ref: this.contentNode,
9842          className: "components-popover__content",
9843          style: {
9844            maxHeight: !isMobile && contentHeight ? contentHeight + 'px' : undefined,
9845            maxWidth: !isMobile && contentWidth ? contentWidth + 'px' : undefined
9846          },
9847          tabIndex: "-1"
9848        }, children)));
9849        /* eslint-enable jsx-a11y/no-static-element-interactions */
9850        // Apply focus to element as long as focusOnMount is truthy; false is
9851        // the only "disabled" value.
9852  
9853        if (focusOnMount) {
9854          content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(FocusManaged, null, content);
9855        } // In case there is no slot context in which to render, default to an
9856        // in-place rendering.
9857  
9858  
9859        var getSlot = this.context.getSlot;
9860  
9861        if (getSlot && getSlot(SLOT_NAME)) {
9862          content = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_19__["Fill"], {
9863            name: SLOT_NAME
9864          }, content);
9865        }
9866  
9867        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("span", {
9868          ref: this.anchorNode
9869        }, content, isMobile && expandOnMobile && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_scroll_lock__WEBPACK_IMPORTED_MODULE_18__["default"], null));
9870      }
9871    }]);
9872  
9873    return Popover;
9874  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
9875  
9876  Popover.defaultProps = {
9877    focusOnMount: 'firstElement',
9878    noArrow: false
9879  };
9880  var PopoverContainer = Popover;
9881  PopoverContainer.contextTypes = {
9882    getSlot: lodash__WEBPACK_IMPORTED_MODULE_10__["noop"]
9883  };
9884  
9885  PopoverContainer.Slot = function () {
9886    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_slot_fill__WEBPACK_IMPORTED_MODULE_19__["Slot"], {
9887      bubblesVirtually: true,
9888      name: SLOT_NAME
9889    });
9890  };
9891  
9892  /* harmony default export */ __webpack_exports__["default"] = (PopoverContainer);
9893  
9894  
9895  /***/ }),
9896  
9897  /***/ "./node_modules/@wordpress/components/build-module/popover/utils.js":
9898  /*!**************************************************************************!*\
9899    !*** ./node_modules/@wordpress/components/build-module/popover/utils.js ***!
9900    \**************************************************************************/
9901  /*! exports provided: computePopoverXAxisPosition, computePopoverYAxisPosition, computePopoverPosition */
9902  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9903  
9904  "use strict";
9905  __webpack_require__.r(__webpack_exports__);
9906  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "computePopoverXAxisPosition", function() { return computePopoverXAxisPosition; });
9907  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "computePopoverYAxisPosition", function() { return computePopoverYAxisPosition; });
9908  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "computePopoverPosition", function() { return computePopoverPosition; });
9909  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
9910  /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
9911  
9912  
9913  
9914  /**
9915   * Module constants
9916   */
9917  var HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space
9918  
9919  var isMobileViewport = function isMobileViewport() {
9920    return window.innerWidth < 782;
9921  };
9922  /**
9923   * Utility used to compute the popover position over the xAxis
9924   *
9925   * @param {Object} anchorRect       Anchor Rect.
9926   * @param {Object} contentSize      Content Size.
9927   * @param {string} xAxis            Desired xAxis.
9928   * @param {string} chosenYAxis      yAxis to be used.
9929   * @param {boolean} expandOnMobile  Whether to expand the popover on mobile or not.
9930   *
9931   * @return {Object} Popover xAxis position and constraints.
9932   */
9933  
9934  
9935  function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, chosenYAxis) {
9936    var width = contentSize.width; // x axis alignment choices
9937  
9938    var anchorMidPoint = Math.round(anchorRect.left + anchorRect.width / 2);
9939    var centerAlignment = {
9940      popoverLeft: anchorMidPoint,
9941      contentWidth: (anchorMidPoint - width / 2 > 0 ? width / 2 : anchorMidPoint) + (anchorMidPoint + width / 2 > window.innerWidth ? window.innerWidth - anchorMidPoint : width / 2)
9942    };
9943    var leftAlignmentX = chosenYAxis === 'middle' ? anchorRect.left : anchorMidPoint;
9944    var leftAlignment = {
9945      popoverLeft: leftAlignmentX,
9946      contentWidth: leftAlignmentX - width > 0 ? width : leftAlignmentX
9947    };
9948    var rightAlignmentX = chosenYAxis === 'middle' ? anchorRect.right : anchorMidPoint;
9949    var rightAlignment = {
9950      popoverLeft: rightAlignmentX,
9951      contentWidth: rightAlignmentX + width > window.innerWidth ? window.innerWidth - rightAlignmentX : width
9952    }; // Choosing the x axis
9953  
9954    var chosenXAxis;
9955    var contentWidth = null;
9956  
9957    if (xAxis === 'center' && centerAlignment.contentWidth === width) {
9958      chosenXAxis = 'center';
9959    } else if (xAxis === 'left' && leftAlignment.contentWidth === width) {
9960      chosenXAxis = 'left';
9961    } else if (xAxis === 'right' && rightAlignment.contentWidth === width) {
9962      chosenXAxis = 'right';
9963    } else {
9964      chosenXAxis = leftAlignment.contentWidth > rightAlignment.contentWidth ? 'left' : 'right';
9965      var chosenWidth = chosenXAxis === 'left' ? leftAlignment.contentWidth : rightAlignment.contentWidth;
9966      contentWidth = chosenWidth !== width ? chosenWidth : null;
9967    }
9968  
9969    var popoverLeft;
9970  
9971    if (chosenXAxis === 'center') {
9972      popoverLeft = centerAlignment.popoverLeft;
9973    } else if (chosenXAxis === 'left') {
9974      popoverLeft = leftAlignment.popoverLeft;
9975    } else {
9976      popoverLeft = rightAlignment.popoverLeft;
9977    }
9978  
9979    return {
9980      xAxis: chosenXAxis,
9981      popoverLeft: popoverLeft,
9982      contentWidth: contentWidth
9983    };
9984  }
9985  /**
9986   * Utility used to compute the popover position over the yAxis
9987   *
9988   * @param {Object} anchorRect       Anchor Rect.
9989   * @param {Object} contentSize      Content Size.
9990   * @param {string} yAxis            Desired yAxis.
9991   * @param {boolean} expandOnMobile  Whether to expand the popover on mobile or not.
9992   *
9993   * @return {Object} Popover xAxis position and constraints.
9994   */
9995  
9996  function computePopoverYAxisPosition(anchorRect, contentSize, yAxis) {
9997    var height = contentSize.height; // y axis alignment choices
9998  
9999    var anchorMidPoint = anchorRect.top + anchorRect.height / 2;
10000    var middleAlignment = {
10001      popoverTop: anchorMidPoint,
10002      contentHeight: (anchorMidPoint - height / 2 > 0 ? height / 2 : anchorMidPoint) + (anchorMidPoint + height / 2 > window.innerHeight ? window.innerHeight - anchorMidPoint : height / 2)
10003    };
10004    var topAlignment = {
10005      popoverTop: anchorRect.top,
10006      contentHeight: anchorRect.top - HEIGHT_OFFSET - height > 0 ? height : anchorRect.top - HEIGHT_OFFSET
10007    };
10008    var bottomAlignment = {
10009      popoverTop: anchorRect.bottom,
10010      contentHeight: anchorRect.bottom + HEIGHT_OFFSET + height > window.innerHeight ? window.innerHeight - HEIGHT_OFFSET - anchorRect.bottom : height
10011    }; // Choosing the y axis
10012  
10013    var chosenYAxis;
10014    var contentHeight = null;
10015  
10016    if (yAxis === 'middle' && middleAlignment.contentHeight === height) {
10017      chosenYAxis = 'middle';
10018    } else if (yAxis === 'top' && topAlignment.contentHeight === height) {
10019      chosenYAxis = 'top';
10020    } else if (yAxis === 'bottom' && bottomAlignment.contentHeight === height) {
10021      chosenYAxis = 'bottom';
10022    } else {
10023      chosenYAxis = topAlignment.contentHeight > bottomAlignment.contentHeight ? 'top' : 'bottom';
10024      var chosenHeight = chosenYAxis === 'top' ? topAlignment.contentHeight : bottomAlignment.contentHeight;
10025      contentHeight = chosenHeight !== height ? chosenHeight : null;
10026    }
10027  
10028    var popoverTop;
10029  
10030    if (chosenYAxis === 'middle') {
10031      popoverTop = middleAlignment.popoverTop;
10032    } else if (chosenYAxis === 'top') {
10033      popoverTop = topAlignment.popoverTop;
10034    } else {
10035      popoverTop = bottomAlignment.popoverTop;
10036    }
10037  
10038    return {
10039      yAxis: chosenYAxis,
10040      popoverTop: popoverTop,
10041      contentHeight: contentHeight
10042    };
10043  }
10044  /**
10045   * Utility used to compute the popover position and the content max width/height for a popover
10046   * given its anchor rect and its content size.
10047   *
10048   * @param {Object} anchorRect       Anchor Rect.
10049   * @param {Object} contentSize      Content Size.
10050   * @param {string} position         Position.
10051   * @param {boolean} expandOnMobile  Whether to expand the popover on mobile or not.
10052   *
10053   * @return {Object} Popover position and constraints.
10054   */
10055  
10056  function computePopoverPosition(anchorRect, contentSize) {
10057    var position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'top';
10058    var expandOnMobile = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
10059  
10060    var _position$split = position.split(' '),
10061        _position$split2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_position$split, 2),
10062        yAxis = _position$split2[0],
10063        _position$split2$ = _position$split2[1],
10064        xAxis = _position$split2$ === void 0 ? 'center' : _position$split2$;
10065  
10066    var yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis);
10067    var xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, yAxisPosition.yAxis);
10068    return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__["default"])({
10069      isMobile: isMobileViewport() && expandOnMobile
10070    }, xAxisPosition, yAxisPosition);
10071  }
10072  
10073  
10074  /***/ }),
10075  
10076  /***/ "./node_modules/@wordpress/components/build-module/primitives/index.js":
10077  /*!*****************************************************************************!*\
10078    !*** ./node_modules/@wordpress/components/build-module/primitives/index.js ***!
10079    \*****************************************************************************/
10080  /*! exports provided: G, Path, Polygon, SVG, AccessibleSVG */
10081  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10082  
10083  "use strict";
10084  __webpack_require__.r(__webpack_exports__);
10085  /* harmony import */ var _svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./svg */ "./node_modules/@wordpress/components/build-module/primitives/svg/index.js");
10086  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "G", function() { return _svg__WEBPACK_IMPORTED_MODULE_0__["G"]; });
10087  
10088  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Path", function() { return _svg__WEBPACK_IMPORTED_MODULE_0__["Path"]; });
10089  
10090  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Polygon", function() { return _svg__WEBPACK_IMPORTED_MODULE_0__["Polygon"]; });
10091  
10092  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SVG", function() { return _svg__WEBPACK_IMPORTED_MODULE_0__["SVG"]; });
10093  
10094  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AccessibleSVG", function() { return _svg__WEBPACK_IMPORTED_MODULE_0__["AccessibleSVG"]; });
10095  
10096  
10097  
10098  
10099  /***/ }),
10100  
10101  /***/ "./node_modules/@wordpress/components/build-module/primitives/svg/index.js":
10102  /*!*********************************************************************************!*\
10103    !*** ./node_modules/@wordpress/components/build-module/primitives/svg/index.js ***!
10104    \*********************************************************************************/
10105  /*! exports provided: G, Path, Polygon, SVG, AccessibleSVG */
10106  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10107  
10108  "use strict";
10109  __webpack_require__.r(__webpack_exports__);
10110  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return G; });
10111  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Path", function() { return Path; });
10112  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Polygon", function() { return Polygon; });
10113  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SVG", function() { return SVG; });
10114  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AccessibleSVG", function() { return AccessibleSVG; });
10115  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
10116  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10117  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
10118  /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
10119  /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__);
10120  
10121  
10122  /**
10123   * External dependencies
10124   */
10125  
10126  /**
10127   * WordPress dependencies
10128   */
10129  
10130  
10131  var G = function G(props) {
10132    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])('g', props);
10133  };
10134  var Path = function Path(props) {
10135    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])('path', props);
10136  };
10137  var Polygon = function Polygon(props) {
10138    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])('polygon', props);
10139  };
10140  var SVG = function SVG(props) {
10141    var appliedProps = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
10142      role: 'img',
10143      'aria-hidden': 'true',
10144      focusable: 'false'
10145    });
10146  
10147    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("svg", appliedProps);
10148  }; // deprecations
10149  
10150  var AccessibleSVG = function AccessibleSVG(props) {
10151    _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default()('wp.components.AccessibleSVG', {
10152      version: '4.2',
10153      alternative: 'wp.components.SVG',
10154      plugin: 'Gutenberg'
10155    });
10156    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(SVG, props);
10157  };
10158  
10159  
10160  /***/ }),
10161  
10162  /***/ "./node_modules/@wordpress/components/build-module/query-controls/category-select.js":
10163  /*!*******************************************************************************************!*\
10164    !*** ./node_modules/@wordpress/components/build-module/query-controls/category-select.js ***!
10165    \*******************************************************************************************/
10166  /*! exports provided: default */
10167  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10168  
10169  "use strict";
10170  __webpack_require__.r(__webpack_exports__);
10171  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return CategorySelect; });
10172  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
10173  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10174  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
10175  /* harmony import */ var _terms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./terms */ "./node_modules/@wordpress/components/build-module/query-controls/terms.js");
10176  /* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../tree-select */ "./node_modules/@wordpress/components/build-module/tree-select/index.js");
10177  
10178  
10179  
10180  /**
10181   * Internal dependencies
10182   */
10183  
10184  
10185  function CategorySelect(_ref) {
10186    var label = _ref.label,
10187        noOptionLabel = _ref.noOptionLabel,
10188        categoriesList = _ref.categoriesList,
10189        selectedCategoryId = _ref.selectedCategoryId,
10190        onChange = _ref.onChange;
10191    var termsTree = Object(_terms__WEBPACK_IMPORTED_MODULE_2__["buildTermsTree"])(categoriesList);
10192    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_tree_select__WEBPACK_IMPORTED_MODULE_3__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
10193      label: label,
10194      noOptionLabel: noOptionLabel,
10195      onChange: onChange
10196    }, {
10197      tree: termsTree,
10198      selectedId: selectedCategoryId
10199    }));
10200  }
10201  
10202  
10203  /***/ }),
10204  
10205  /***/ "./node_modules/@wordpress/components/build-module/query-controls/index.js":
10206  /*!*********************************************************************************!*\
10207    !*** ./node_modules/@wordpress/components/build-module/query-controls/index.js ***!
10208    \*********************************************************************************/
10209  /*! exports provided: default */
10210  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10211  
10212  "use strict";
10213  __webpack_require__.r(__webpack_exports__);
10214  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return QueryControls; });
10215  /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
10216  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10217  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
10218  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
10219  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
10220  /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ */ "./node_modules/@wordpress/components/build-module/index.js");
10221  /* harmony import */ var _category_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./category-select */ "./node_modules/@wordpress/components/build-module/query-controls/category-select.js");
10222  
10223  
10224  
10225  /**
10226   * WordPress dependencies
10227   */
10228  
10229  /**
10230   * Internal dependencies
10231   */
10232  
10233  
10234  
10235  var DEFAULT_MIN_ITEMS = 1;
10236  var DEFAULT_MAX_ITEMS = 100;
10237  function QueryControls(_ref) {
10238    var categoriesList = _ref.categoriesList,
10239        selectedCategoryId = _ref.selectedCategoryId,
10240        numberOfItems = _ref.numberOfItems,
10241        order = _ref.order,
10242        orderBy = _ref.orderBy,
10243        _ref$maxItems = _ref.maxItems,
10244        maxItems = _ref$maxItems === void 0 ? DEFAULT_MAX_ITEMS : _ref$maxItems,
10245        _ref$minItems = _ref.minItems,
10246        minItems = _ref$minItems === void 0 ? DEFAULT_MIN_ITEMS : _ref$minItems,
10247        onCategoryChange = _ref.onCategoryChange,
10248        onNumberOfItemsChange = _ref.onNumberOfItemsChange,
10249        onOrderChange = _ref.onOrderChange,
10250        onOrderByChange = _ref.onOrderByChange;
10251    return [onOrderChange && onOrderByChange && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(___WEBPACK_IMPORTED_MODULE_3__["SelectControl"], {
10252      key: "query-controls-order-select",
10253      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Order by'),
10254      value: "".concat(orderBy, "/").concat(order),
10255      options: [{
10256        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Newest to Oldest'),
10257        value: 'date/desc'
10258      }, {
10259        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Oldest to Newest'),
10260        value: 'date/asc'
10261      }, {
10262        /* translators: label for ordering posts by title in ascending order */
10263        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('A → Z'),
10264        value: 'title/asc'
10265      }, {
10266        /* translators: label for ordering posts by title in descending order */
10267        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Z → A'),
10268        value: 'title/desc'
10269      }],
10270      onChange: function onChange(value) {
10271        var _value$split = value.split('/'),
10272            _value$split2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_value$split, 2),
10273            newOrderBy = _value$split2[0],
10274            newOrder = _value$split2[1];
10275  
10276        if (newOrder !== order) {
10277          onOrderChange(newOrder);
10278        }
10279  
10280        if (newOrderBy !== orderBy) {
10281          onOrderByChange(newOrderBy);
10282        }
10283      }
10284    }), onCategoryChange && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_category_select__WEBPACK_IMPORTED_MODULE_4__["default"], {
10285      key: "query-controls-category-select",
10286      categoriesList: categoriesList,
10287      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Category'),
10288      noOptionLabel: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('All'),
10289      selectedCategoryId: selectedCategoryId,
10290      onChange: onCategoryChange
10291    }), onNumberOfItemsChange && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(___WEBPACK_IMPORTED_MODULE_3__["RangeControl"], {
10292      key: "query-controls-range-control",
10293      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Number of items'),
10294      value: numberOfItems,
10295      onChange: onNumberOfItemsChange,
10296      min: minItems,
10297      max: maxItems
10298    })];
10299  }
10300  
10301  
10302  /***/ }),
10303  
10304  /***/ "./node_modules/@wordpress/components/build-module/query-controls/terms.js":
10305  /*!*********************************************************************************!*\
10306    !*** ./node_modules/@wordpress/components/build-module/query-controls/terms.js ***!
10307    \*********************************************************************************/
10308  /*! exports provided: buildTermsTree */
10309  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10310  
10311  "use strict";
10312  __webpack_require__.r(__webpack_exports__);
10313  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "buildTermsTree", function() { return buildTermsTree; });
10314  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
10315  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
10316  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
10317  
10318  
10319  /**
10320   * External dependencies
10321   */
10322  
10323  /**
10324   * Returns terms in a tree form.
10325   *
10326   * @param {Array} flatTerms  Array of terms in flat format.
10327   *
10328   * @return {Array} Array of terms in tree format.
10329   */
10330  
10331  function buildTermsTree(flatTerms) {
10332    var termsByParent = Object(lodash__WEBPACK_IMPORTED_MODULE_1__["groupBy"])(flatTerms, 'parent');
10333  
10334    var fillWithChildren = function fillWithChildren(terms) {
10335      return terms.map(function (term) {
10336        var children = termsByParent[term.id];
10337        return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__["default"])({}, term, {
10338          children: children && children.length ? fillWithChildren(children) : []
10339        });
10340      });
10341    };
10342  
10343    return fillWithChildren(termsByParent['0'] || []);
10344  }
10345  
10346  
10347  /***/ }),
10348  
10349  /***/ "./node_modules/@wordpress/components/build-module/radio-control/index.js":
10350  /*!********************************************************************************!*\
10351    !*** ./node_modules/@wordpress/components/build-module/radio-control/index.js ***!
10352    \********************************************************************************/
10353  /*! exports provided: default */
10354  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10355  
10356  "use strict";
10357  __webpack_require__.r(__webpack_exports__);
10358  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10359  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
10360  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
10361  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
10362  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
10363  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
10364  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
10365  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
10366  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
10367  
10368  
10369  /**
10370   * External dependencies
10371   */
10372  
10373  
10374  /**
10375   * WordPress dependencies
10376   */
10377  
10378  
10379  /**
10380   * Internal dependencies
10381   */
10382  
10383  
10384  
10385  function RadioControl(_ref) {
10386    var label = _ref.label,
10387        className = _ref.className,
10388        selected = _ref.selected,
10389        help = _ref.help,
10390        instanceId = _ref.instanceId,
10391        onChange = _ref.onChange,
10392        _ref$options = _ref.options,
10393        options = _ref$options === void 0 ? [] : _ref$options;
10394    var id = "inspector-radio-control-".concat(instanceId);
10395  
10396    var onChangeValue = function onChangeValue(event) {
10397      return onChange(event.target.value);
10398    };
10399  
10400    return !Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(options) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_4__["default"], {
10401      label: label,
10402      id: id,
10403      help: help,
10404      className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, 'components-radio-control')
10405    }, options.map(function (option, index) {
10406      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
10407        key: "".concat(id, "-").concat(index),
10408        className: "components-radio-control__option"
10409      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("input", {
10410        id: "".concat(id, "-").concat(index),
10411        className: "components-radio-control__input",
10412        type: "radio",
10413        name: id,
10414        value: option.value,
10415        onChange: onChangeValue,
10416        checked: option.value === selected,
10417        "aria-describedby": !!help ? "".concat(id, "__help") : undefined
10418      }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("label", {
10419        htmlFor: "".concat(id, "-").concat(index)
10420      }, option.label));
10421    }));
10422  }
10423  
10424  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["withInstanceId"])(RadioControl));
10425  
10426  
10427  /***/ }),
10428  
10429  /***/ "./node_modules/@wordpress/components/build-module/range-control/index.js":
10430  /*!********************************************************************************!*\
10431    !*** ./node_modules/@wordpress/components/build-module/range-control/index.js ***!
10432    \********************************************************************************/
10433  /*! exports provided: default */
10434  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10435  
10436  "use strict";
10437  __webpack_require__.r(__webpack_exports__);
10438  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
10439  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
10440  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10441  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
10442  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ "lodash");
10443  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
10444  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
10445  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);
10446  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
10447  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
10448  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
10449  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__);
10450  /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ */ "./node_modules/@wordpress/components/build-module/index.js");
10451  
10452  
10453  
10454  
10455  /**
10456   * External dependencies
10457   */
10458  
10459  
10460  /**
10461   * WordPress dependencies
10462   */
10463  
10464  
10465  
10466  /**
10467   * Internal dependencies
10468   */
10469  
10470  
10471  
10472  function RangeControl(_ref) {
10473    var className = _ref.className,
10474        label = _ref.label,
10475        value = _ref.value,
10476        instanceId = _ref.instanceId,
10477        onChange = _ref.onChange,
10478        beforeIcon = _ref.beforeIcon,
10479        afterIcon = _ref.afterIcon,
10480        help = _ref.help,
10481        allowReset = _ref.allowReset,
10482        initialPosition = _ref.initialPosition,
10483        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["className", "label", "value", "instanceId", "onChange", "beforeIcon", "afterIcon", "help", "allowReset", "initialPosition"]);
10484  
10485    var id = "inspector-range-control-".concat(instanceId);
10486  
10487    var resetValue = function resetValue() {
10488      return onChange();
10489    };
10490  
10491    var onChangeValue = function onChangeValue(event) {
10492      var newValue = event.target.value;
10493  
10494      if (newValue === '') {
10495        resetValue();
10496        return;
10497      }
10498  
10499      onChange(Number(newValue));
10500    };
10501  
10502    var initialSliderValue = Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isFinite"])(value) ? value : initialPosition || '';
10503    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(___WEBPACK_IMPORTED_MODULE_7__["BaseControl"], {
10504      label: label,
10505      id: id,
10506      help: help,
10507      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('components-range-control', className)
10508    }, beforeIcon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(___WEBPACK_IMPORTED_MODULE_7__["Dashicon"], {
10509      icon: beforeIcon
10510    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("input", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
10511      className: "components-range-control__slider",
10512      id: id,
10513      type: "range",
10514      value: initialSliderValue,
10515      onChange: onChangeValue,
10516      "aria-describedby": !!help ? id + '__help' : undefined
10517    }, props)), afterIcon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(___WEBPACK_IMPORTED_MODULE_7__["Dashicon"], {
10518      icon: afterIcon
10519    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("input", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
10520      className: "components-range-control__number",
10521      type: "number",
10522      onChange: onChangeValue,
10523      "aria-label": label,
10524      value: value
10525    }, props)), allowReset && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(___WEBPACK_IMPORTED_MODULE_7__["Button"], {
10526      onClick: resetValue,
10527      disabled: value === undefined
10528    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Reset')));
10529  }
10530  
10531  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__["withInstanceId"])(RangeControl));
10532  
10533  
10534  /***/ }),
10535  
10536  /***/ "./node_modules/@wordpress/components/build-module/resizable-box/index.js":
10537  /*!********************************************************************************!*\
10538    !*** ./node_modules/@wordpress/components/build-module/resizable-box/index.js ***!
10539    \********************************************************************************/
10540  /*! exports provided: default */
10541  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10542  
10543  "use strict";
10544  __webpack_require__.r(__webpack_exports__);
10545  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
10546  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
10547  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10548  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
10549  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
10550  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
10551  /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! re-resizable */ "./node_modules/re-resizable/lib/index.js");
10552  
10553  
10554  
10555  
10556  /**
10557   * External dependencies
10558   */
10559  
10560  
10561  
10562  function ResizableBox(_ref) {
10563    var className = _ref.className,
10564        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["className"]);
10565  
10566    // Removes the inline styles in the drag handles.
10567    var handleStylesOverrides = {
10568      width: null,
10569      height: null,
10570      top: null,
10571      right: null,
10572      bottom: null,
10573      left: null
10574    };
10575    var handleClassName = 'components-resizable-box__handle';
10576    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(re_resizable__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
10577      className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('components-resizable-box__container', className),
10578      handleClasses: {
10579        top: classnames__WEBPACK_IMPORTED_MODULE_3___default()(handleClassName, 'components-resizable-box__handle-top'),
10580        right: classnames__WEBPACK_IMPORTED_MODULE_3___default()(handleClassName, 'components-resizable-box__handle-right'),
10581        bottom: classnames__WEBPACK_IMPORTED_MODULE_3___default()(handleClassName, 'components-resizable-box__handle-bottom'),
10582        left: classnames__WEBPACK_IMPORTED_MODULE_3___default()(handleClassName, 'components-resizable-box__handle-left')
10583      },
10584      handleStyles: {
10585        top: handleStylesOverrides,
10586        right: handleStylesOverrides,
10587        bottom: handleStylesOverrides,
10588        left: handleStylesOverrides
10589      }
10590    }, props));
10591  }
10592  
10593  /* harmony default export */ __webpack_exports__["default"] = (ResizableBox);
10594  
10595  
10596  /***/ }),
10597  
10598  /***/ "./node_modules/@wordpress/components/build-module/responsive-wrapper/index.js":
10599  /*!*************************************************************************************!*\
10600    !*** ./node_modules/@wordpress/components/build-module/responsive-wrapper/index.js ***!
10601    \*************************************************************************************/
10602  /*! exports provided: default */
10603  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10604  
10605  "use strict";
10606  __webpack_require__.r(__webpack_exports__);
10607  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10608  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
10609  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
10610  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
10611  
10612  
10613  /**
10614   * External dependencies
10615   */
10616  
10617  /**
10618   * WordPress Dependencies
10619   */
10620  
10621  
10622  
10623  function ResponsiveWrapper(_ref) {
10624    var naturalWidth = _ref.naturalWidth,
10625        naturalHeight = _ref.naturalHeight,
10626        children = _ref.children;
10627  
10628    if (_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Children"].count(children) !== 1) {
10629      return null;
10630    }
10631  
10632    var imageStyle = {
10633      paddingBottom: naturalHeight / naturalWidth * 100 + '%'
10634    };
10635    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
10636      className: "components-responsive-wrapper"
10637    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
10638      style: imageStyle
10639    }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(children, {
10640      className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-responsive-wrapper__content', children.props.className)
10641    }));
10642  }
10643  
10644  /* harmony default export */ __webpack_exports__["default"] = (ResponsiveWrapper);
10645  
10646  
10647  /***/ }),
10648  
10649  /***/ "./node_modules/@wordpress/components/build-module/sandbox/index.js":
10650  /*!**************************************************************************!*\
10651    !*** ./node_modules/@wordpress/components/build-module/sandbox/index.js ***!
10652    \**************************************************************************/
10653  /*! exports provided: default */
10654  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10655  
10656  "use strict";
10657  __webpack_require__.r(__webpack_exports__);
10658  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
10659  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
10660  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
10661  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
10662  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
10663  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
10664  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10665  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
10666  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
10667  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__);
10668  /* harmony import */ var _focusable_iframe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../focusable-iframe */ "./node_modules/@wordpress/components/build-module/focusable-iframe/index.js");
10669  
10670  
10671  
10672  
10673  
10674  
10675  
10676  
10677  /**
10678   * WordPress dependencies
10679   */
10680  
10681  
10682  /**
10683   * Internal dependencies
10684   */
10685  
10686  
10687  
10688  var Sandbox =
10689  /*#__PURE__*/
10690  function (_Component) {
10691    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(Sandbox, _Component);
10692  
10693    function Sandbox() {
10694      var _this;
10695  
10696      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Sandbox);
10697  
10698      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(Sandbox).apply(this, arguments));
10699      _this.trySandbox = _this.trySandbox.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
10700      _this.checkMessageForResize = _this.checkMessageForResize.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
10701      _this.iframe = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createRef"])();
10702      _this.state = {
10703        width: 0,
10704        height: 0
10705      };
10706      return _this;
10707    }
10708  
10709    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Sandbox, [{
10710      key: "componentDidMount",
10711      value: function componentDidMount() {
10712        this.trySandbox();
10713      }
10714    }, {
10715      key: "componentDidUpdate",
10716      value: function componentDidUpdate() {
10717        this.trySandbox();
10718      }
10719    }, {
10720      key: "isFrameAccessible",
10721      value: function isFrameAccessible() {
10722        try {
10723          return !!this.iframe.current.contentDocument.body;
10724        } catch (e) {
10725          return false;
10726        }
10727      }
10728    }, {
10729      key: "checkMessageForResize",
10730      value: function checkMessageForResize(event) {
10731        var iframe = this.iframe.current; // Attempt to parse the message data as JSON if passed as string
10732  
10733        var data = event.data || {};
10734  
10735        if ('string' === typeof data) {
10736          try {
10737            data = JSON.parse(data);
10738          } catch (e) {} // eslint-disable-line no-empty
10739  
10740        } // Verify that the mounted element is the source of the message
10741  
10742  
10743        if (!iframe || iframe.contentWindow !== event.source) {
10744          return;
10745        } // Update the state only if the message is formatted as we expect, i.e.
10746        // as an object with a 'resize' action, width, and height
10747  
10748  
10749        var _data = data,
10750            action = _data.action,
10751            width = _data.width,
10752            height = _data.height;
10753        var _this$state = this.state,
10754            oldWidth = _this$state.width,
10755            oldHeight = _this$state.height;
10756  
10757        if ('resize' === action && (oldWidth !== width || oldHeight !== height)) {
10758          this.setState({
10759            width: width,
10760            height: height
10761          });
10762        }
10763      }
10764    }, {
10765      key: "trySandbox",
10766      value: function trySandbox() {
10767        if (!this.isFrameAccessible()) {
10768          return;
10769        }
10770  
10771        var body = this.iframe.current.contentDocument.body;
10772  
10773        if (null !== body.getAttribute('data-resizable-iframe-connected')) {
10774          return;
10775        }
10776  
10777        var observeAndResizeJS = "\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();";
10778        var style = "\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"; // put the html snippet into a html document, and then write it to the iframe's document
10779        // we can use this in the future to inject custom styles or scripts.
10780        // Scripts go into the body rather than the head, to support embedded content such as Instagram
10781        // that expect the scripts to be part of the body.
10782  
10783        var htmlDoc = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("html", {
10784          lang: document.documentElement.lang,
10785          className: this.props.type
10786        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("head", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("title", null, this.props.title), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("style", {
10787          dangerouslySetInnerHTML: {
10788            __html: style
10789          }
10790        })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("body", {
10791          "data-resizable-iframe-connected": "data-resizable-iframe-connected",
10792          className: this.props.type
10793        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
10794          dangerouslySetInnerHTML: {
10795            __html: this.props.html
10796          }
10797        }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("script", {
10798          type: "text/javascript",
10799          dangerouslySetInnerHTML: {
10800            __html: observeAndResizeJS
10801          }
10802        }), this.props.scripts && this.props.scripts.map(function (src) {
10803          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("script", {
10804            key: src,
10805            src: src
10806          });
10807        }))); // writing the document like this makes it act in the same way as if it was
10808        // loaded over the network, so DOM creation and mutation, script execution, etc.
10809        // all work as expected
10810  
10811        var iframeDocument = this.iframe.current.contentWindow.document;
10812        iframeDocument.open();
10813        iframeDocument.write('<!DOCTYPE html>' + Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["renderToString"])(htmlDoc));
10814        iframeDocument.close();
10815      }
10816    }, {
10817      key: "render",
10818      value: function render() {
10819        var title = this.props.title;
10820        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_focusable_iframe__WEBPACK_IMPORTED_MODULE_8__["default"], {
10821          iframeRef: this.iframe,
10822          title: title,
10823          className: "components-sandbox",
10824          sandbox: "allow-scripts allow-same-origin allow-presentation",
10825          onLoad: this.trySandbox,
10826          width: Math.ceil(this.state.width),
10827          height: Math.ceil(this.state.height)
10828        });
10829      }
10830    }], [{
10831      key: "defaultProps",
10832      get: function get() {
10833        return {
10834          html: '',
10835          title: ''
10836        };
10837      }
10838    }]);
10839  
10840    return Sandbox;
10841  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
10842  
10843  Sandbox = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_7__["withGlobalEvents"])({
10844    message: 'checkMessageForResize'
10845  })(Sandbox);
10846  /* harmony default export */ __webpack_exports__["default"] = (Sandbox);
10847  
10848  
10849  /***/ }),
10850  
10851  /***/ "./node_modules/@wordpress/components/build-module/scroll-lock/index.js":
10852  /*!******************************************************************************!*\
10853    !*** ./node_modules/@wordpress/components/build-module/scroll-lock/index.js ***!
10854    \******************************************************************************/
10855  /*! exports provided: createScrollLockComponent, default */
10856  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10857  
10858  "use strict";
10859  __webpack_require__.r(__webpack_exports__);
10860  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createScrollLockComponent", function() { return createScrollLockComponent; });
10861  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
10862  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
10863  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
10864  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
10865  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
10866  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
10867  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
10868  
10869  
10870  
10871  
10872  
10873  
10874  /**
10875   * WordPress dependencies
10876   */
10877  
10878  /**
10879   * Creates a ScrollLock component bound to the specified document.
10880   *
10881   * This function creates a ScrollLock component for the specified document
10882   * and is exposed so we can create an isolated component for unit testing.
10883   *
10884   * @param {Object} args Keyword args.
10885   * @param {HTMLDocument} args.htmlDocument The document to lock the scroll for.
10886   * @param {string} args.className The name of the class used to lock scrolling.
10887   * @return {Component} The bound ScrollLock component.
10888   */
10889  
10890  function createScrollLockComponent() {
10891    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
10892        _ref$htmlDocument = _ref.htmlDocument,
10893        htmlDocument = _ref$htmlDocument === void 0 ? document : _ref$htmlDocument,
10894        _ref$className = _ref.className,
10895        className = _ref$className === void 0 ? 'lockscroll' : _ref$className;
10896  
10897    var lockCounter = 0;
10898    /*
10899     * Setting `overflow: hidden` on html and body elements resets body scroll in iOS.
10900     * Save scroll top so we can restore it after locking scroll.
10901     *
10902     * NOTE: It would be cleaner and possibly safer to find a localized solution such
10903     * as preventing default on certain touchmove events.
10904     */
10905  
10906    var previousScrollTop = 0;
10907    /**
10908     * Locks and unlocks scroll depending on the boolean argument.
10909     *
10910     * @param {boolean} locked Whether or not scroll should be locked.
10911     */
10912  
10913    function setLocked(locked) {
10914      var scrollingElement = htmlDocument.scrollingElement || htmlDocument.body;
10915  
10916      if (locked) {
10917        previousScrollTop = scrollingElement.scrollTop;
10918      }
10919  
10920      var methodName = locked ? 'add' : 'remove';
10921      scrollingElement.classList[methodName](className); // Adding the class to the document element seems to be necessary in iOS.
10922  
10923      htmlDocument.documentElement.classList[methodName](className);
10924  
10925      if (!locked) {
10926        scrollingElement.scrollTop = previousScrollTop;
10927      }
10928    }
10929    /**
10930     * Requests scroll lock.
10931     *
10932     * This function tracks requests for scroll lock. It locks scroll on the first
10933     * request and counts each request so `releaseLock` can unlock scroll when
10934     * all requests have been released.
10935     */
10936  
10937  
10938    function requestLock() {
10939      if (lockCounter === 0) {
10940        setLocked(true);
10941      }
10942  
10943      ++lockCounter;
10944    }
10945    /**
10946     * Releases a request for scroll lock.
10947     *
10948     * This function tracks released requests for scroll lock. When all requests
10949     * have been released, it unlocks scroll.
10950     */
10951  
10952  
10953    function releaseLock() {
10954      if (lockCounter === 1) {
10955        setLocked(false);
10956      }
10957  
10958      --lockCounter;
10959    }
10960  
10961    return (
10962      /*#__PURE__*/
10963      function (_Component) {
10964        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(ScrollLock, _Component);
10965  
10966        function ScrollLock() {
10967          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, ScrollLock);
10968  
10969          return Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(ScrollLock).apply(this, arguments));
10970        }
10971  
10972        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(ScrollLock, [{
10973          key: "componentDidMount",
10974  
10975          /**
10976           * Requests scroll lock on mount.
10977           */
10978          value: function componentDidMount() {
10979            requestLock();
10980          }
10981          /**
10982           * Releases scroll lock before unmount.
10983           */
10984  
10985        }, {
10986          key: "componentWillUnmount",
10987          value: function componentWillUnmount() {
10988            releaseLock();
10989          }
10990          /**
10991           * Render nothing as this component is merely a way to declare scroll lock.
10992           *
10993           * @return {null} Render nothing by returning `null`.
10994           */
10995  
10996        }, {
10997          key: "render",
10998          value: function render() {
10999            return null;
11000          }
11001        }]);
11002  
11003        return ScrollLock;
11004      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["Component"])
11005    );
11006  }
11007  /* harmony default export */ __webpack_exports__["default"] = (createScrollLockComponent());
11008  
11009  
11010  /***/ }),
11011  
11012  /***/ "./node_modules/@wordpress/components/build-module/select-control/index.js":
11013  /*!*********************************************************************************!*\
11014    !*** ./node_modules/@wordpress/components/build-module/select-control/index.js ***!
11015    \*********************************************************************************/
11016  /*! exports provided: default */
11017  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11018  
11019  "use strict";
11020  __webpack_require__.r(__webpack_exports__);
11021  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
11022  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
11023  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
11024  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11025  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
11026  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash");
11027  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
11028  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
11029  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__);
11030  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
11031  
11032  
11033  
11034  
11035  
11036  /**
11037   * External dependencies
11038   */
11039  
11040  /**
11041   * WordPress dependencies
11042   */
11043  
11044  
11045  /**
11046   * Internal dependencies
11047   */
11048  
11049  
11050  
11051  function SelectControl(_ref) {
11052    var help = _ref.help,
11053        instanceId = _ref.instanceId,
11054        label = _ref.label,
11055        _ref$multiple = _ref.multiple,
11056        multiple = _ref$multiple === void 0 ? false : _ref$multiple,
11057        onChange = _ref.onChange,
11058        _ref$options = _ref.options,
11059        options = _ref$options === void 0 ? [] : _ref$options,
11060        className = _ref.className,
11061        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__["default"])(_ref, ["help", "instanceId", "label", "multiple", "onChange", "options", "className"]);
11062  
11063    var id = "inspector-select-control-".concat(instanceId);
11064  
11065    var onChangeValue = function onChangeValue(event) {
11066      if (multiple) {
11067        var selectedOptions = Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(event.target.options).filter(function (_ref2) {
11068          var selected = _ref2.selected;
11069          return selected;
11070        });
11071  
11072        var newValues = selectedOptions.map(function (_ref3) {
11073          var value = _ref3.value;
11074          return value;
11075        });
11076        onChange(newValues);
11077        return;
11078      }
11079  
11080      onChange(event.target.value);
11081    }; // Disable reason: A select with an onchange throws a warning
11082  
11083    /* eslint-disable jsx-a11y/no-onchange */
11084  
11085  
11086    return !Object(lodash__WEBPACK_IMPORTED_MODULE_4__["isEmpty"])(options) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_6__["default"], {
11087      label: label,
11088      id: id,
11089      help: help,
11090      className: className
11091    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("select", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
11092      id: id,
11093      className: "components-select-control__input",
11094      onChange: onChangeValue,
11095      "aria-describedby": !!help ? "".concat(id, "__help") : undefined,
11096      multiple: multiple
11097    }, props), options.map(function (option, index) {
11098      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])("option", {
11099        key: "".concat(option.label, "-").concat(option.value, "-").concat(index),
11100        value: option.value
11101      }, option.label);
11102    })));
11103    /* eslint-enable jsx-a11y/no-onchange */
11104  }
11105  
11106  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__["withInstanceId"])(SelectControl));
11107  
11108  
11109  /***/ }),
11110  
11111  /***/ "./node_modules/@wordpress/components/build-module/server-side-render/index.js":
11112  /*!*************************************************************************************!*\
11113    !*** ./node_modules/@wordpress/components/build-module/server-side-render/index.js ***!
11114    \*************************************************************************************/
11115  /*! exports provided: rendererPath, ServerSideRender, default */
11116  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11117  
11118  "use strict";
11119  __webpack_require__.r(__webpack_exports__);
11120  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rendererPath", function() { return rendererPath; });
11121  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServerSideRender", function() { return ServerSideRender; });
11122  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
11123  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
11124  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
11125  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
11126  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
11127  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
11128  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11129  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
11130  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
11131  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
11132  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
11133  /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__);
11134  /* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @wordpress/api-fetch */ "@wordpress/api-fetch");
11135  /* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_9__);
11136  /* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/url */ "@wordpress/url");
11137  /* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_url__WEBPACK_IMPORTED_MODULE_10__);
11138  /* harmony import */ var _placeholder__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../placeholder */ "./node_modules/@wordpress/components/build-module/placeholder/index.js");
11139  /* harmony import */ var _spinner__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../spinner */ "./node_modules/@wordpress/components/build-module/spinner/index.js");
11140  
11141  
11142  
11143  
11144  
11145  
11146  
11147  
11148  /**
11149   * External dependencies.
11150   */
11151  
11152  /**
11153   * WordPress dependencies.
11154   */
11155  
11156  
11157  
11158  
11159  
11160  /**
11161   * Internal dependencies.
11162   */
11163  
11164  
11165  
11166  function rendererPath(block) {
11167    var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
11168    var urlQueryArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
11169    return Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_10__["addQueryArgs"])("/gutenberg/v1/block-renderer/".concat(block), Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_5__["default"])({
11170      context: 'edit'
11171    }, null !== attributes ? {
11172      attributes: attributes
11173    } : {}, urlQueryArgs));
11174  }
11175  var ServerSideRender =
11176  /*#__PURE__*/
11177  function (_Component) {
11178    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(ServerSideRender, _Component);
11179  
11180    function ServerSideRender(props) {
11181      var _this;
11182  
11183      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, ServerSideRender);
11184  
11185      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(ServerSideRender).call(this, props));
11186      _this.state = {
11187        response: null
11188      };
11189      return _this;
11190    }
11191  
11192    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(ServerSideRender, [{
11193      key: "componentDidMount",
11194      value: function componentDidMount() {
11195        this.isStillMounted = true;
11196        this.fetch(this.props);
11197      }
11198    }, {
11199      key: "componentWillUnmount",
11200      value: function componentWillUnmount() {
11201        this.isStillMounted = false;
11202      }
11203    }, {
11204      key: "componentDidUpdate",
11205      value: function componentDidUpdate(prevProps) {
11206        if (!Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isEqual"])(prevProps, this.props)) {
11207          this.fetch(this.props);
11208        }
11209      }
11210    }, {
11211      key: "fetch",
11212      value: function fetch(props) {
11213        var _this2 = this;
11214  
11215        if (null !== this.state.response) {
11216          this.setState({
11217            response: null
11218          });
11219        }
11220  
11221        var block = props.block,
11222            _props$attributes = props.attributes,
11223            attributes = _props$attributes === void 0 ? null : _props$attributes,
11224            _props$urlQueryArgs = props.urlQueryArgs,
11225            urlQueryArgs = _props$urlQueryArgs === void 0 ? {} : _props$urlQueryArgs;
11226        var path = rendererPath(block, attributes, urlQueryArgs);
11227        return _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_9___default()({
11228          path: path
11229        }).then(function (response) {
11230          if (_this2.isStillMounted && response && response.rendered) {
11231            _this2.setState({
11232              response: response.rendered
11233            });
11234          }
11235        }).catch(function (error) {
11236          if (_this2.isStillMounted) {
11237            _this2.setState({
11238              response: {
11239                error: true,
11240                errorMsg: error.message
11241              }
11242            });
11243          }
11244        });
11245      }
11246    }, {
11247      key: "render",
11248      value: function render() {
11249        var response = this.state.response;
11250  
11251        if (!response) {
11252          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_placeholder__WEBPACK_IMPORTED_MODULE_11__["default"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_spinner__WEBPACK_IMPORTED_MODULE_12__["default"], null));
11253        } else if (response.error) {
11254          // translators: %s: error message describing the problem
11255          var errorMessage = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__["__"])('Error loading block: %s'), response.errorMsg);
11256          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_placeholder__WEBPACK_IMPORTED_MODULE_11__["default"], null, errorMessage);
11257        } else if (!response.length) {
11258          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_placeholder__WEBPACK_IMPORTED_MODULE_11__["default"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__["__"])('No results found.'));
11259        }
11260  
11261        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["RawHTML"], {
11262          key: "html"
11263        }, response);
11264      }
11265    }]);
11266  
11267    return ServerSideRender;
11268  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
11269  /* harmony default export */ __webpack_exports__["default"] = (ServerSideRender);
11270  
11271  
11272  /***/ }),
11273  
11274  /***/ "./node_modules/@wordpress/components/build-module/shortcut/index.js":
11275  /*!***************************************************************************!*\
11276    !*** ./node_modules/@wordpress/components/build-module/shortcut/index.js ***!
11277    \***************************************************************************/
11278  /*! exports provided: default */
11279  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11280  
11281  "use strict";
11282  __webpack_require__.r(__webpack_exports__);
11283  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11284  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
11285  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ "lodash");
11286  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
11287  
11288  
11289  /**
11290   * External dependencies
11291   */
11292  
11293  
11294  function Shortcut(_ref) {
11295    var shortcut = _ref.shortcut,
11296        className = _ref.className;
11297  
11298    if (!shortcut) {
11299      return null;
11300    }
11301  
11302    var displayText;
11303    var ariaLabel;
11304  
11305    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isString"])(shortcut)) {
11306      displayText = shortcut;
11307    }
11308  
11309    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isObject"])(shortcut)) {
11310      displayText = shortcut.display;
11311      ariaLabel = shortcut.ariaLabel;
11312    }
11313  
11314    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
11315      className: className,
11316      "aria-label": ariaLabel
11317    }, displayText);
11318  }
11319  
11320  /* harmony default export */ __webpack_exports__["default"] = (Shortcut);
11321  
11322  
11323  /***/ }),
11324  
11325  /***/ "./node_modules/@wordpress/components/build-module/slot-fill/fill.js":
11326  /*!***************************************************************************!*\
11327    !*** ./node_modules/@wordpress/components/build-module/slot-fill/fill.js ***!
11328    \***************************************************************************/
11329  /*! exports provided: default */
11330  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11331  
11332  "use strict";
11333  __webpack_require__.r(__webpack_exports__);
11334  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
11335  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
11336  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
11337  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
11338  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
11339  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ "lodash");
11340  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
11341  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11342  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
11343  
11344  
11345  
11346  
11347  
11348  
11349  /**
11350   * External dependencies
11351   */
11352  
11353  /**
11354   * WordPress dependencies
11355   */
11356  
11357  
11358  var occurrences = 0;
11359  
11360  var Fill =
11361  /*#__PURE__*/
11362  function (_Component) {
11363    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(Fill, _Component);
11364  
11365    function Fill() {
11366      var _this;
11367  
11368      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Fill);
11369  
11370      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(Fill).apply(this, arguments));
11371      _this.occurrence = ++occurrences;
11372      return _this;
11373    }
11374  
11375    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Fill, [{
11376      key: "componentDidMount",
11377      value: function componentDidMount() {
11378        var _this$context$registe = this.context.registerFill,
11379            registerFill = _this$context$registe === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_5__["noop"] : _this$context$registe;
11380        registerFill(this.props.name, this);
11381      }
11382    }, {
11383      key: "componentWillUpdate",
11384      value: function componentWillUpdate() {
11385        if (!this.occurrence) {
11386          this.occurrence = ++occurrences;
11387        }
11388  
11389        var _this$context$getSlot = this.context.getSlot,
11390            getSlot = _this$context$getSlot === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_5__["noop"] : _this$context$getSlot;
11391        var slot = getSlot(this.props.name);
11392  
11393        if (slot && !slot.props.bubblesVirtually) {
11394          slot.forceUpdate();
11395        }
11396      }
11397    }, {
11398      key: "componentWillUnmount",
11399      value: function componentWillUnmount() {
11400        var _this$context$unregis = this.context.unregisterFill,
11401            unregisterFill = _this$context$unregis === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_5__["noop"] : _this$context$unregis;
11402        unregisterFill(this.props.name, this);
11403      }
11404    }, {
11405      key: "componentDidUpdate",
11406      value: function componentDidUpdate(prevProps) {
11407        var name = this.props.name;
11408        var _this$context = this.context,
11409            _this$context$unregis2 = _this$context.unregisterFill,
11410            unregisterFill = _this$context$unregis2 === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_5__["noop"] : _this$context$unregis2,
11411            _this$context$registe2 = _this$context.registerFill,
11412            registerFill = _this$context$registe2 === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_5__["noop"] : _this$context$registe2;
11413  
11414        if (prevProps.name !== name) {
11415          unregisterFill(prevProps.name, this);
11416          registerFill(name, this);
11417        }
11418      }
11419    }, {
11420      key: "resetOccurrence",
11421      value: function resetOccurrence() {
11422        this.occurrence = null;
11423      }
11424    }, {
11425      key: "render",
11426      value: function render() {
11427        var _this$context$getSlot2 = this.context.getSlot,
11428            getSlot = _this$context$getSlot2 === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_5__["noop"] : _this$context$getSlot2;
11429        var name = this.props.name;
11430        var children = this.props.children;
11431        var slot = getSlot(name);
11432  
11433        if (!slot || !slot.props.bubblesVirtually) {
11434          return null;
11435        } // If a function is passed as a child, provide it with the fillProps.
11436  
11437  
11438        if (Object(lodash__WEBPACK_IMPORTED_MODULE_5__["isFunction"])(children)) {
11439          children = children(slot.props.fillProps);
11440        }
11441  
11442        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createPortal"])(children, slot.node);
11443      }
11444    }]);
11445  
11446    return Fill;
11447  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
11448  
11449  Fill.contextTypes = {
11450    getSlot: lodash__WEBPACK_IMPORTED_MODULE_5__["noop"],
11451    registerFill: lodash__WEBPACK_IMPORTED_MODULE_5__["noop"],
11452    unregisterFill: lodash__WEBPACK_IMPORTED_MODULE_5__["noop"]
11453  };
11454  /* harmony default export */ __webpack_exports__["default"] = (Fill);
11455  
11456  
11457  /***/ }),
11458  
11459  /***/ "./node_modules/@wordpress/components/build-module/slot-fill/index.js":
11460  /*!****************************************************************************!*\
11461    !*** ./node_modules/@wordpress/components/build-module/slot-fill/index.js ***!
11462    \****************************************************************************/
11463  /*! exports provided: Slot, Fill, Provider, createSlotFill */
11464  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11465  
11466  "use strict";
11467  __webpack_require__.r(__webpack_exports__);
11468  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return createSlotFill; });
11469  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
11470  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
11471  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11472  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
11473  /* harmony import */ var _slot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./slot */ "./node_modules/@wordpress/components/build-module/slot-fill/slot.js");
11474  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Slot", function() { return _slot__WEBPACK_IMPORTED_MODULE_3__["default"]; });
11475  
11476  /* harmony import */ var _fill__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fill */ "./node_modules/@wordpress/components/build-module/slot-fill/fill.js");
11477  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Fill", function() { return _fill__WEBPACK_IMPORTED_MODULE_4__["default"]; });
11478  
11479  /* harmony import */ var _provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./provider */ "./node_modules/@wordpress/components/build-module/slot-fill/provider.js");
11480  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Provider", function() { return _provider__WEBPACK_IMPORTED_MODULE_5__["default"]; });
11481  
11482  
11483  
11484  
11485  
11486  /**
11487   * Internal dependencies
11488   */
11489  
11490  
11491  
11492  
11493  
11494  
11495  function createSlotFill(name) {
11496    var FillComponent = function FillComponent(_ref) {
11497      var children = _ref.children,
11498          props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["children"]);
11499  
11500      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_fill__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
11501        name: name
11502      }, props), children);
11503    };
11504  
11505    FillComponent.displayName = name + 'Fill';
11506  
11507    var SlotComponent = function SlotComponent(_ref2) {
11508      var children = _ref2.children,
11509          props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref2, ["children"]);
11510  
11511      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_slot__WEBPACK_IMPORTED_MODULE_3__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
11512        name: name
11513      }, props), children);
11514    };
11515  
11516    SlotComponent.displayName = name + 'Slot';
11517    return {
11518      Fill: FillComponent,
11519      Slot: SlotComponent
11520    };
11521  }
11522  
11523  
11524  /***/ }),
11525  
11526  /***/ "./node_modules/@wordpress/components/build-module/slot-fill/provider.js":
11527  /*!*******************************************************************************!*\
11528    !*** ./node_modules/@wordpress/components/build-module/slot-fill/provider.js ***!
11529    \*******************************************************************************/
11530  /*! exports provided: default */
11531  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11532  
11533  "use strict";
11534  __webpack_require__.r(__webpack_exports__);
11535  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
11536  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
11537  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
11538  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
11539  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
11540  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
11541  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
11542  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
11543  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
11544  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11545  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
11546  
11547  
11548  
11549  
11550  
11551  
11552  
11553  
11554  /**
11555   * External dependencies
11556   */
11557  
11558  /**
11559   * WordPress dependencies
11560   */
11561  
11562  
11563  
11564  var SlotFillProvider =
11565  /*#__PURE__*/
11566  function (_Component) {
11567    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(SlotFillProvider, _Component);
11568  
11569    function SlotFillProvider() {
11570      var _this;
11571  
11572      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, SlotFillProvider);
11573  
11574      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(SlotFillProvider).apply(this, arguments));
11575      _this.registerSlot = _this.registerSlot.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
11576      _this.registerFill = _this.registerFill.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
11577      _this.unregisterSlot = _this.unregisterSlot.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
11578      _this.unregisterFill = _this.unregisterFill.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
11579      _this.getSlot = _this.getSlot.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
11580      _this.getFills = _this.getFills.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
11581      _this.slots = {};
11582      _this.fills = {};
11583      return _this;
11584    }
11585  
11586    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(SlotFillProvider, [{
11587      key: "getChildContext",
11588      value: function getChildContext() {
11589        return Object(lodash__WEBPACK_IMPORTED_MODULE_7__["pick"])(this, ['registerSlot', 'registerFill', 'unregisterSlot', 'unregisterFill', 'getSlot', 'getFills']);
11590      }
11591    }, {
11592      key: "registerSlot",
11593      value: function registerSlot(name, slot) {
11594        this.slots[name] = slot;
11595        this.forceUpdateFills(name); // Sometimes the fills are registered after the initial render of slot
11596        // But before the registerSlot call, we need to rerender the slot
11597  
11598        this.forceUpdateSlot(name);
11599      }
11600    }, {
11601      key: "registerFill",
11602      value: function registerFill(name, instance) {
11603        this.fills[name] = Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(this.fills[name] || []).concat([instance]);
11604        this.forceUpdateSlot(name);
11605      }
11606    }, {
11607      key: "unregisterSlot",
11608      value: function unregisterSlot(name) {
11609        delete this.slots[name];
11610        this.forceUpdateFills(name);
11611      }
11612    }, {
11613      key: "unregisterFill",
11614      value: function unregisterFill(name, instance) {
11615        this.fills[name] = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["without"])(this.fills[name], instance);
11616        this.resetFillOccurrence(name);
11617        this.forceUpdateSlot(name);
11618      }
11619    }, {
11620      key: "getSlot",
11621      value: function getSlot(name) {
11622        return this.slots[name];
11623      }
11624    }, {
11625      key: "getFills",
11626      value: function getFills(name) {
11627        return Object(lodash__WEBPACK_IMPORTED_MODULE_7__["sortBy"])(this.fills[name], 'occurrence');
11628      }
11629    }, {
11630      key: "resetFillOccurrence",
11631      value: function resetFillOccurrence(name) {
11632        Object(lodash__WEBPACK_IMPORTED_MODULE_7__["forEach"])(this.fills[name], function (instance) {
11633          instance.resetOccurrence();
11634        });
11635      }
11636    }, {
11637      key: "forceUpdateFills",
11638      value: function forceUpdateFills(name) {
11639        Object(lodash__WEBPACK_IMPORTED_MODULE_7__["forEach"])(this.fills[name], function (instance) {
11640          instance.forceUpdate();
11641        });
11642      }
11643    }, {
11644      key: "forceUpdateSlot",
11645      value: function forceUpdateSlot(name) {
11646        var slot = this.getSlot(name);
11647  
11648        if (slot) {
11649          slot.forceUpdate();
11650        }
11651      }
11652    }, {
11653      key: "render",
11654      value: function render() {
11655        return this.props.children;
11656      }
11657    }]);
11658  
11659    return SlotFillProvider;
11660  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
11661  
11662  SlotFillProvider.childContextTypes = {
11663    registerSlot: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11664    unregisterSlot: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11665    registerFill: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11666    unregisterFill: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11667    getSlot: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11668    getFills: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"]
11669  };
11670  /* harmony default export */ __webpack_exports__["default"] = (SlotFillProvider);
11671  
11672  
11673  /***/ }),
11674  
11675  /***/ "./node_modules/@wordpress/components/build-module/slot-fill/slot.js":
11676  /*!***************************************************************************!*\
11677    !*** ./node_modules/@wordpress/components/build-module/slot-fill/slot.js ***!
11678    \***************************************************************************/
11679  /*! exports provided: default */
11680  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11681  
11682  "use strict";
11683  __webpack_require__.r(__webpack_exports__);
11684  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
11685  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
11686  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
11687  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
11688  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
11689  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
11690  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11691  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
11692  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
11693  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
11694  
11695  
11696  
11697  
11698  
11699  
11700  
11701  
11702  /**
11703   * External dependencies
11704   */
11705  
11706  /**
11707   * WordPress dependencies
11708   */
11709  
11710  
11711  
11712  var Slot =
11713  /*#__PURE__*/
11714  function (_Component) {
11715    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(Slot, _Component);
11716  
11717    function Slot() {
11718      var _this;
11719  
11720      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Slot);
11721  
11722      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(Slot).apply(this, arguments));
11723      _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
11724      return _this;
11725    }
11726  
11727    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Slot, [{
11728      key: "componentDidMount",
11729      value: function componentDidMount() {
11730        var _this$context$registe = this.context.registerSlot,
11731            registerSlot = _this$context$registe === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$context$registe;
11732        registerSlot(this.props.name, this);
11733      }
11734    }, {
11735      key: "componentWillUnmount",
11736      value: function componentWillUnmount() {
11737        var _this$context$unregis = this.context.unregisterSlot,
11738            unregisterSlot = _this$context$unregis === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$context$unregis;
11739        unregisterSlot(this.props.name, this);
11740      }
11741    }, {
11742      key: "componentDidUpdate",
11743      value: function componentDidUpdate(prevProps) {
11744        var name = this.props.name;
11745        var _this$context = this.context,
11746            _this$context$unregis2 = _this$context.unregisterSlot,
11747            unregisterSlot = _this$context$unregis2 === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$context$unregis2,
11748            _this$context$registe2 = _this$context.registerSlot,
11749            registerSlot = _this$context$registe2 === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$context$registe2;
11750  
11751        if (prevProps.name !== name) {
11752          unregisterSlot(prevProps.name);
11753          registerSlot(name, this);
11754        }
11755      }
11756    }, {
11757      key: "bindNode",
11758      value: function bindNode(node) {
11759        this.node = node;
11760      }
11761    }, {
11762      key: "render",
11763      value: function render() {
11764        var _this$props = this.props,
11765            children = _this$props.children,
11766            name = _this$props.name,
11767            _this$props$bubblesVi = _this$props.bubblesVirtually,
11768            bubblesVirtually = _this$props$bubblesVi === void 0 ? false : _this$props$bubblesVi,
11769            _this$props$fillProps = _this$props.fillProps,
11770            fillProps = _this$props$fillProps === void 0 ? {} : _this$props$fillProps;
11771        var _this$context$getFill = this.context.getFills,
11772            getFills = _this$context$getFill === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_7__["noop"] : _this$context$getFill;
11773  
11774        if (bubblesVirtually) {
11775          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", {
11776            ref: this.bindNode
11777          });
11778        }
11779  
11780        var fills = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["map"])(getFills(name), function (fill) {
11781          var fillKey = fill.occurrence;
11782          var fillChildren = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isFunction"])(fill.props.children) ? fill.props.children(fillProps) : fill.props.children;
11783          return _wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Children"].map(fillChildren, function (child, childIndex) {
11784            if (!child || Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isString"])(child)) {
11785              return child;
11786            }
11787  
11788            var childKey = "".concat(fillKey, "---").concat(child.key || childIndex);
11789            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["cloneElement"])(child, {
11790              key: childKey
11791            });
11792          });
11793        }).filter( // In some cases fills are rendered only when some conditions apply.
11794        // This ensures that we only use non-empty fills when rendering, i.e.,
11795        // it allows us to render wrappers only when the fills are actually present.
11796        Object(lodash__WEBPACK_IMPORTED_MODULE_7__["negate"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["isEmptyElement"]));
11797        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Fragment"], null, Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isFunction"])(children) ? children(fills) : fills);
11798      }
11799    }]);
11800  
11801    return Slot;
11802  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
11803  
11804  Slot.contextTypes = {
11805    registerSlot: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11806    unregisterSlot: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"],
11807    getFills: lodash__WEBPACK_IMPORTED_MODULE_7__["noop"]
11808  };
11809  /* harmony default export */ __webpack_exports__["default"] = (Slot);
11810  
11811  
11812  /***/ }),
11813  
11814  /***/ "./node_modules/@wordpress/components/build-module/spinner/index.js":
11815  /*!**************************************************************************!*\
11816    !*** ./node_modules/@wordpress/components/build-module/spinner/index.js ***!
11817    \**************************************************************************/
11818  /*! exports provided: default */
11819  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11820  
11821  "use strict";
11822  __webpack_require__.r(__webpack_exports__);
11823  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11824  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
11825  
11826  /* harmony default export */ __webpack_exports__["default"] = (function () {
11827    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
11828      className: "components-spinner"
11829    });
11830  });
11831  
11832  
11833  /***/ }),
11834  
11835  /***/ "./node_modules/@wordpress/components/build-module/tab-panel/index.js":
11836  /*!****************************************************************************!*\
11837    !*** ./node_modules/@wordpress/components/build-module/tab-panel/index.js ***!
11838    \****************************************************************************/
11839  /*! exports provided: default */
11840  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11841  
11842  "use strict";
11843  __webpack_require__.r(__webpack_exports__);
11844  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
11845  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
11846  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
11847  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
11848  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
11849  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
11850  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
11851  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
11852  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
11853  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
11854  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ "lodash");
11855  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);
11856  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
11857  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_10__);
11858  /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
11859  /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_11__);
11860  /* harmony import */ var _navigable_container__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../navigable-container */ "./node_modules/@wordpress/components/build-module/navigable-container/index.js");
11861  
11862  
11863  
11864  
11865  
11866  
11867  
11868  
11869  
11870  
11871  /**
11872   * External dependencies
11873   */
11874  
11875  /**
11876   * WordPress dependencies
11877   */
11878  
11879  
11880  
11881  
11882  /**
11883   * Internal dependencies
11884   */
11885  
11886  
11887  
11888  var TabButton = function TabButton(_ref) {
11889    var tabId = _ref.tabId,
11890        onClick = _ref.onClick,
11891        children = _ref.children,
11892        selected = _ref.selected,
11893        rest = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__["default"])(_ref, ["tabId", "onClick", "children", "selected"]);
11894  
11895    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("button", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_6__["default"])({
11896      role: "tab",
11897      tabIndex: selected ? null : -1,
11898      "aria-selected": selected,
11899      id: tabId,
11900      onClick: onClick
11901    }, rest), children);
11902  };
11903  
11904  var TabPanel =
11905  /*#__PURE__*/
11906  function (_Component) {
11907    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(TabPanel, _Component);
11908  
11909    function TabPanel() {
11910      var _this;
11911  
11912      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, TabPanel);
11913  
11914      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(TabPanel).apply(this, arguments));
11915      var _this$props = _this.props,
11916          tabs = _this$props.tabs,
11917          initialTabName = _this$props.initialTabName;
11918      _this.handleClick = _this.handleClick.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
11919      _this.onNavigate = _this.onNavigate.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
11920      _this.state = {
11921        selected: initialTabName || (tabs.length > 0 ? tabs[0].name : null)
11922      };
11923      return _this;
11924    }
11925  
11926    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(TabPanel, [{
11927      key: "handleClick",
11928      value: function handleClick(tabKey) {
11929        var _this$props$onSelect = this.props.onSelect,
11930            onSelect = _this$props$onSelect === void 0 ? lodash__WEBPACK_IMPORTED_MODULE_9__["noop"] : _this$props$onSelect;
11931        this.setState({
11932          selected: tabKey
11933        });
11934        onSelect(tabKey);
11935      }
11936    }, {
11937      key: "onNavigate",
11938      value: function onNavigate(childIndex, child) {
11939        child.click();
11940      }
11941    }, {
11942      key: "render",
11943      value: function render() {
11944        var _this2 = this;
11945  
11946        var selected = this.state.selected;
11947        var _this$props2 = this.props,
11948            _this$props2$activeCl = _this$props2.activeClass,
11949            activeClass = _this$props2$activeCl === void 0 ? 'is-active' : _this$props2$activeCl,
11950            className = _this$props2.className,
11951            instanceId = _this$props2.instanceId,
11952            _this$props2$orientat = _this$props2.orientation,
11953            orientation = _this$props2$orientat === void 0 ? 'horizontal' : _this$props2$orientat,
11954            tabs = _this$props2.tabs;
11955        var selectedTab = Object(lodash__WEBPACK_IMPORTED_MODULE_9__["find"])(tabs, {
11956          name: selected
11957        });
11958        var selectedId = instanceId + '-' + selectedTab.name;
11959        _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_11___default()('Tab Panel child function argument used as string', {
11960          alternative: 'Argument is now an object, access the name property directly.',
11961          version: '4.2.0',
11962          plugin: 'Gutenberg',
11963          hint: 'This is a global warning, shown regardless of whether the component is used.'
11964        });
11965        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
11966          className: className
11967        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(_navigable_container__WEBPACK_IMPORTED_MODULE_12__["NavigableMenu"], {
11968          role: "tablist",
11969          orientation: orientation,
11970          onNavigate: this.onNavigate,
11971          className: "components-tab-panel__tabs"
11972        }, tabs.map(function (tab) {
11973          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])(TabButton, {
11974            className: "".concat(tab.className, " ").concat(tab.name === selected ? activeClass : ''),
11975            tabId: instanceId + '-' + tab.name,
11976            "aria-controls": instanceId + '-' + tab.name + '-view',
11977            selected: tab.name === selected,
11978            key: tab.name,
11979            onClick: Object(lodash__WEBPACK_IMPORTED_MODULE_9__["partial"])(_this2.handleClick, tab.name)
11980          }, tab.title);
11981        })), selectedTab && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["createElement"])("div", {
11982          "aria-labelledby": selectedId,
11983          role: "tabpanel",
11984          id: selectedId + '-view',
11985          className: "components-tab-panel__tab-content",
11986          tabIndex: "0"
11987        }, this.props.children(Object.assign(new String(selectedTab.name), selectedTab))));
11988      }
11989    }]);
11990  
11991    return TabPanel;
11992  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__["Component"]);
11993  
11994  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_10__["withInstanceId"])(TabPanel));
11995  
11996  
11997  /***/ }),
11998  
11999  /***/ "./node_modules/@wordpress/components/build-module/text-control/index.js":
12000  /*!*******************************************************************************!*\
12001    !*** ./node_modules/@wordpress/components/build-module/text-control/index.js ***!
12002    \*******************************************************************************/
12003  /*! exports provided: default */
12004  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12005  
12006  "use strict";
12007  __webpack_require__.r(__webpack_exports__);
12008  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
12009  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
12010  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12011  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
12012  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
12013  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
12014  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
12015  
12016  
12017  
12018  
12019  /**
12020   * WordPress dependencies
12021   */
12022  
12023  /**
12024   * Internal dependencies
12025   */
12026  
12027  
12028  
12029  function TextControl(_ref) {
12030    var label = _ref.label,
12031        value = _ref.value,
12032        help = _ref.help,
12033        className = _ref.className,
12034        instanceId = _ref.instanceId,
12035        onChange = _ref.onChange,
12036        _ref$type = _ref.type,
12037        type = _ref$type === void 0 ? 'text' : _ref$type,
12038        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["label", "value", "help", "className", "instanceId", "onChange", "type"]);
12039  
12040    var id = "inspector-text-control-".concat(instanceId);
12041  
12042    var onChangeValue = function onChangeValue(event) {
12043      return onChange(event.target.value);
12044    };
12045  
12046    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_4__["default"], {
12047      label: label,
12048      id: id,
12049      help: help,
12050      className: className
12051    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("input", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
12052      className: "components-text-control__input",
12053      type: type,
12054      id: id,
12055      value: value,
12056      onChange: onChangeValue,
12057      "aria-describedby": !!help ? id + '__help' : undefined
12058    }, props)));
12059  }
12060  
12061  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["withInstanceId"])(TextControl));
12062  
12063  
12064  /***/ }),
12065  
12066  /***/ "./node_modules/@wordpress/components/build-module/textarea-control/index.js":
12067  /*!***********************************************************************************!*\
12068    !*** ./node_modules/@wordpress/components/build-module/textarea-control/index.js ***!
12069    \***********************************************************************************/
12070  /*! exports provided: default */
12071  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12072  
12073  "use strict";
12074  __webpack_require__.r(__webpack_exports__);
12075  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
12076  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
12077  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12078  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
12079  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
12080  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
12081  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
12082  
12083  
12084  
12085  
12086  /**
12087   * WordPress dependencies
12088   */
12089  
12090  /**
12091   * Internal dependencies
12092   */
12093  
12094  
12095  
12096  function TextareaControl(_ref) {
12097    var label = _ref.label,
12098        value = _ref.value,
12099        help = _ref.help,
12100        instanceId = _ref.instanceId,
12101        onChange = _ref.onChange,
12102        _ref$rows = _ref.rows,
12103        rows = _ref$rows === void 0 ? 4 : _ref$rows,
12104        className = _ref.className,
12105        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["label", "value", "help", "instanceId", "onChange", "rows", "className"]);
12106  
12107    var id = "inspector-textarea-control-".concat(instanceId);
12108  
12109    var onChangeValue = function onChangeValue(event) {
12110      return onChange(event.target.value);
12111    };
12112  
12113    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_4__["default"], {
12114      label: label,
12115      id: id,
12116      help: help,
12117      className: className
12118    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["createElement"])("textarea", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
12119      className: "components-textarea-control__input",
12120      id: id,
12121      rows: rows,
12122      onChange: onChangeValue,
12123      "aria-describedby": !!help ? id + '__help' : undefined,
12124      value: value
12125    }, props)));
12126  }
12127  
12128  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["withInstanceId"])(TextareaControl));
12129  
12130  
12131  /***/ }),
12132  
12133  /***/ "./node_modules/@wordpress/components/build-module/toggle-control/index.js":
12134  /*!*********************************************************************************!*\
12135    !*** ./node_modules/@wordpress/components/build-module/toggle-control/index.js ***!
12136    \*********************************************************************************/
12137  /*! exports provided: default */
12138  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12139  
12140  "use strict";
12141  __webpack_require__.r(__webpack_exports__);
12142  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
12143  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
12144  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
12145  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
12146  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
12147  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
12148  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12149  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
12150  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
12151  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
12152  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
12153  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__);
12154  /* harmony import */ var _form_toggle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../form-toggle */ "./node_modules/@wordpress/components/build-module/form-toggle/index.js");
12155  /* harmony import */ var _base_control__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./../base-control */ "./node_modules/@wordpress/components/build-module/base-control/index.js");
12156  
12157  
12158  
12159  
12160  
12161  
12162  
12163  
12164  /**
12165   * External dependencies
12166   */
12167  
12168  /**
12169   * WordPress dependencies
12170   */
12171  
12172  
12173  
12174  /**
12175   * Internal dependencies
12176   */
12177  
12178  
12179  
12180  
12181  var ToggleControl =
12182  /*#__PURE__*/
12183  function (_Component) {
12184    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__["default"])(ToggleControl, _Component);
12185  
12186    function ToggleControl() {
12187      var _this;
12188  
12189      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, ToggleControl);
12190  
12191      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__["default"])(ToggleControl).apply(this, arguments));
12192      _this.onChange = _this.onChange.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__["default"])(_this)));
12193      return _this;
12194    }
12195  
12196    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(ToggleControl, [{
12197      key: "onChange",
12198      value: function onChange(event) {
12199        if (this.props.onChange) {
12200          this.props.onChange(event.target.checked);
12201        }
12202      }
12203    }, {
12204      key: "render",
12205      value: function render() {
12206        var _this$props = this.props,
12207            label = _this$props.label,
12208            checked = _this$props.checked,
12209            help = _this$props.help,
12210            instanceId = _this$props.instanceId;
12211        var id = "inspector-toggle-control-".concat(instanceId);
12212        var describedBy, helpLabel;
12213  
12214        if (help) {
12215          describedBy = id + '__help';
12216          helpLabel = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["isFunction"])(help) ? help(checked) : help;
12217        }
12218  
12219        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_base_control__WEBPACK_IMPORTED_MODULE_10__["default"], {
12220          label: label,
12221          id: id,
12222          help: helpLabel,
12223          className: "components-toggle-control"
12224        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_form_toggle__WEBPACK_IMPORTED_MODULE_9__["default"], {
12225          id: id,
12226          checked: checked,
12227          onChange: this.onChange,
12228          "aria-describedby": describedBy
12229        }));
12230      }
12231    }]);
12232  
12233    return ToggleControl;
12234  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]);
12235  
12236  /* harmony default export */ __webpack_exports__["default"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["withInstanceId"])(ToggleControl));
12237  
12238  
12239  /***/ }),
12240  
12241  /***/ "./node_modules/@wordpress/components/build-module/toolbar/index.js":
12242  /*!**************************************************************************!*\
12243    !*** ./node_modules/@wordpress/components/build-module/toolbar/index.js ***!
12244    \**************************************************************************/
12245  /*! exports provided: default */
12246  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12247  
12248  "use strict";
12249  __webpack_require__.r(__webpack_exports__);
12250  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
12251  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12252  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
12253  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
12254  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
12255  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ "lodash");
12256  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
12257  /* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon-button */ "./node_modules/@wordpress/components/build-module/icon-button/index.js");
12258  /* harmony import */ var _dropdown_menu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dropdown-menu */ "./node_modules/@wordpress/components/build-module/dropdown-menu/index.js");
12259  /* harmony import */ var _toolbar_container__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./toolbar-container */ "./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js");
12260  /* harmony import */ var _toolbar_button_container__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./toolbar-button-container */ "./node_modules/@wordpress/components/build-module/toolbar/toolbar-button-container.js");
12261  
12262  
12263  
12264  /**
12265   * External dependencies
12266   */
12267  
12268  
12269  /**
12270   * Internal dependencies
12271   */
12272  
12273  
12274  
12275  
12276  
12277  /**
12278   * Renders a toolbar with controls.
12279   *
12280   * The `controls` prop accepts an array of sets. A set is an array of controls.
12281   * Controls have the following shape:
12282   *
12283   * ```
12284   * {
12285   *   icon: string,
12286   *   title: string,
12287   *   subscript: string,
12288   *   onClick: Function,
12289   *   isActive: boolean,
12290   *   isDisabled: boolean
12291   * }
12292   * ```
12293   *
12294   * For convenience it is also possible to pass only an array of controls. It is
12295   * then assumed this is the only set.
12296   *
12297   * Either `controls` or `children` is required, otherwise this components
12298   * renders nothing.
12299   *
12300   * @param {?Array}        controls  The controls to render in this toolbar.
12301   * @param {?ReactElement} children  Any other things to render inside the
12302   *                                  toolbar besides the controls.
12303   * @param {?string}       className Class to set on the container div.
12304   *
12305   * @return {ReactElement} The rendered toolbar.
12306   */
12307  
12308  function Toolbar(_ref) {
12309    var _ref$controls = _ref.controls,
12310        controls = _ref$controls === void 0 ? [] : _ref$controls,
12311        children = _ref.children,
12312        className = _ref.className,
12313        isCollapsed = _ref.isCollapsed,
12314        icon = _ref.icon,
12315        label = _ref.label;
12316  
12317    if ((!controls || !controls.length) && !children) {
12318      return null;
12319    } // Normalize controls to nested array of objects (sets of controls)
12320  
12321  
12322    var controlSets = controls;
12323  
12324    if (!Array.isArray(controlSets[0])) {
12325      controlSets = [controlSets];
12326    }
12327  
12328    if (isCollapsed) {
12329      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_dropdown_menu__WEBPACK_IMPORTED_MODULE_5__["default"], {
12330        icon: icon,
12331        label: label,
12332        controls: controlSets,
12333        className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-toolbar', className)
12334      });
12335    }
12336  
12337    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_toolbar_container__WEBPACK_IMPORTED_MODULE_6__["default"], {
12338      className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-toolbar', className)
12339    }, Object(lodash__WEBPACK_IMPORTED_MODULE_3__["flatMap"])(controlSets, function (controlSet, indexOfSet) {
12340      return controlSet.map(function (control, indexOfControl) {
12341        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_toolbar_button_container__WEBPACK_IMPORTED_MODULE_7__["default"], {
12342          key: [indexOfSet, indexOfControl].join(),
12343          className: indexOfSet > 0 && indexOfControl === 0 ? 'has-left-divider' : null
12344        }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_icon_button__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
12345          icon: control.icon,
12346          label: control.title,
12347          shortcut: control.shortcut,
12348          "data-subscript": control.subscript,
12349          onClick: function onClick(event) {
12350            event.stopPropagation();
12351            control.onClick();
12352          },
12353          className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-toolbar__control', control.className, {
12354            'is-active': control.isActive
12355          }),
12356          "aria-pressed": control.isActive,
12357          disabled: control.isDisabled
12358        }, control.extraProps)), control.children);
12359      });
12360    }), children);
12361  }
12362  
12363  /* harmony default export */ __webpack_exports__["default"] = (Toolbar);
12364  
12365  
12366  /***/ }),
12367  
12368  /***/ "./node_modules/@wordpress/components/build-module/toolbar/toolbar-button-container.js":
12369  /*!*********************************************************************************************!*\
12370    !*** ./node_modules/@wordpress/components/build-module/toolbar/toolbar-button-container.js ***!
12371    \*********************************************************************************************/
12372  /*! exports provided: default */
12373  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12374  
12375  "use strict";
12376  __webpack_require__.r(__webpack_exports__);
12377  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12378  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
12379  
12380  
12381  var ToolbarButtonContainer = function ToolbarButtonContainer(props) {
12382    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
12383      className: props.className
12384    }, props.children);
12385  };
12386  
12387  /* harmony default export */ __webpack_exports__["default"] = (ToolbarButtonContainer);
12388  
12389  
12390  /***/ }),
12391  
12392  /***/ "./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js":
12393  /*!**************************************************************************************!*\
12394    !*** ./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js ***!
12395    \**************************************************************************************/
12396  /*! exports provided: default */
12397  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12398  
12399  "use strict";
12400  __webpack_require__.r(__webpack_exports__);
12401  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12402  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
12403  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
12404  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
12405  
12406  
12407  /**
12408   * External dependencies
12409   */
12410  
12411  
12412  var ToolbarContainer = function ToolbarContainer(props) {
12413    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
12414      className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('components-toolbar', props.className)
12415    }, props.children);
12416  };
12417  
12418  /* harmony default export */ __webpack_exports__["default"] = (ToolbarContainer);
12419  
12420  
12421  /***/ }),
12422  
12423  /***/ "./node_modules/@wordpress/components/build-module/tooltip/index.js":
12424  /*!**************************************************************************!*\
12425    !*** ./node_modules/@wordpress/components/build-module/tooltip/index.js ***!
12426    \**************************************************************************/
12427  /*! exports provided: default */
12428  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12429  
12430  "use strict";
12431  __webpack_require__.r(__webpack_exports__);
12432  /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
12433  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
12434  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
12435  /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
12436  /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
12437  /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
12438  /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
12439  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12440  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
12441  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ "lodash");
12442  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);
12443  /* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../popover */ "./node_modules/@wordpress/components/build-module/popover/index.js");
12444  /* harmony import */ var _shortcut__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../shortcut */ "./node_modules/@wordpress/components/build-module/shortcut/index.js");
12445  
12446  
12447  
12448  
12449  
12450  
12451  
12452  
12453  
12454  /**
12455   * External dependencies
12456   */
12457  
12458  /**
12459   * WordPress dependencies
12460   */
12461  
12462  
12463  /**
12464   * Internal dependencies
12465   */
12466  
12467  
12468  
12469  /**
12470   * Time over children to wait before showing tooltip
12471   *
12472   * @type {Number}
12473   */
12474  
12475  var TOOLTIP_DELAY = 700;
12476  
12477  var Tooltip =
12478  /*#__PURE__*/
12479  function (_Component) {
12480    Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(Tooltip, _Component);
12481  
12482    function Tooltip() {
12483      var _this;
12484  
12485      Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, Tooltip);
12486  
12487      _this = Object(_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__["default"])(this, Object(_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__["default"])(Tooltip).apply(this, arguments));
12488      _this.bindNode = _this.bindNode.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this)));
12489      _this.delayedSetIsOver = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["debounce"])(function (isOver) {
12490        return _this.setState({
12491          isOver: isOver
12492        });
12493      }, TOOLTIP_DELAY);
12494      _this.state = {
12495        isOver: false
12496      };
12497      return _this;
12498    }
12499  
12500    Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(Tooltip, [{
12501      key: "componentWillUnmount",
12502      value: function componentWillUnmount() {
12503        this.delayedSetIsOver.cancel();
12504        this.disconnectDisabledAttributeObserver();
12505      }
12506    }, {
12507      key: "componentDidUpdate",
12508      value: function componentDidUpdate(prevProps, prevState) {
12509        var isOver = this.state.isOver;
12510  
12511        if (isOver !== prevState.isOver) {
12512          if (isOver) {
12513            this.observeDisabledAttribute();
12514          } else {
12515            this.disconnectDisabledAttributeObserver();
12516          }
12517        }
12518      }
12519      /**
12520       * Assigns DOM node of the rendered component as an instance property.
12521       *
12522       * @param {Element} ref Rendered component reference.
12523       */
12524  
12525    }, {
12526      key: "bindNode",
12527      value: function bindNode(ref) {
12528        // Disable reason: Because render clones the child, we don't know what
12529        // type of element we have, but if it's a DOM node, we want to observe
12530        // the disabled attribute.
12531        // eslint-disable-next-line react/no-find-dom-node
12532        this.node = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["findDOMNode"])(ref);
12533      }
12534      /**
12535       * Disconnects any DOM observer attached to the rendered node.
12536       */
12537  
12538    }, {
12539      key: "disconnectDisabledAttributeObserver",
12540      value: function disconnectDisabledAttributeObserver() {
12541        if (this.observer) {
12542          this.observer.disconnect();
12543        }
12544      }
12545      /**
12546       * Adds a DOM observer to the rendered node, if supported and if the DOM
12547       * node exists, to monitor for application of a disabled attribute.
12548       */
12549  
12550    }, {
12551      key: "observeDisabledAttribute",
12552      value: function observeDisabledAttribute() {
12553        var _this2 = this;
12554  
12555        if (!window.MutationObserver || !this.node) {
12556          return;
12557        }
12558  
12559        this.observer = new window.MutationObserver(function (_ref) {
12560          var _ref2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, 1),
12561              mutation = _ref2[0];
12562  
12563          if (mutation.target.disabled) {
12564            // We can assume here that isOver is true, because mutation
12565            // observer is only attached for duration of isOver active
12566            _this2.setState({
12567              isOver: false
12568            });
12569          }
12570        }); // Monitor changes to the disable attribute on the DOM node
12571  
12572        this.observer.observe(this.node, {
12573          subtree: true,
12574          attributes: true,
12575          attributeFilter: ['disabled']
12576        });
12577      }
12578    }, {
12579      key: "emitToChild",
12580      value: function emitToChild(eventName, event) {
12581        var children = this.props.children;
12582  
12583        if (_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Children"].count(children) !== 1) {
12584          return;
12585        }
12586  
12587        var child = _wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Children"].only(children);
12588  
12589        if (typeof child.props[eventName] === 'function') {
12590          child.props[eventName](event);
12591        }
12592      }
12593    }, {
12594      key: "createToggleIsOver",
12595      value: function createToggleIsOver(eventName, isDelayed) {
12596        var _this3 = this;
12597  
12598        return function (event) {
12599          // Preserve original child callback behavior
12600          _this3.emitToChild(eventName, event); // Mouse events behave unreliably in React for disabled elements,
12601          // firing on mouseenter but not mouseleave.  Further, the default
12602          // behavior for disabled elements in some browsers is to ignore
12603          // mouse events. Don't bother trying to to handle them.
12604          //
12605          // See: https://github.com/facebook/react/issues/4251
12606  
12607  
12608          if (event.currentTarget.disabled) {
12609            return;
12610          } // Needed in case unsetting is over while delayed set pending, i.e.
12611          // quickly blur/mouseleave before delayedSetIsOver is called
12612  
12613  
12614          _this3.delayedSetIsOver.cancel();
12615  
12616          var isOver = Object(lodash__WEBPACK_IMPORTED_MODULE_8__["includes"])(['focus', 'mouseenter'], event.type);
12617  
12618          if (isOver === _this3.state.isOver) {
12619            return;
12620          }
12621  
12622          if (isDelayed) {
12623            _this3.delayedSetIsOver(isOver);
12624          } else {
12625            _this3.setState({
12626              isOver: isOver
12627            });
12628          }
12629        };
12630      }
12631    }, {
12632      key: "render",
12633      value: function render() {
12634        var _this$props = this.props,
12635            children = _this$props.children,
12636            position = _this$props.position,
12637            text = _this$props.text,
12638            shortcut = _this$props.shortcut;
12639  
12640        if (_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Children"].count(children) !== 1) {
12641          if (true) {
12642            // eslint-disable-next-line no-console
12643            console.error('Tooltip should be called with only a single child element.');
12644          }
12645  
12646          return children;
12647        }
12648  
12649        var child = _wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Children"].only(children);
12650        var isOver = this.state.isOver;
12651        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["cloneElement"])(child, {
12652          ref: this.bindNode,
12653          onMouseEnter: this.createToggleIsOver('onMouseEnter', true),
12654          onMouseLeave: this.createToggleIsOver('onMouseLeave'),
12655          onClick: this.createToggleIsOver('onClick'),
12656          onFocus: this.createToggleIsOver('onFocus'),
12657          onBlur: this.createToggleIsOver('onBlur'),
12658          children: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["concatChildren"])(child.props.children, isOver && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_popover__WEBPACK_IMPORTED_MODULE_9__["default"], {
12659            focusOnMount: false,
12660            position: position,
12661            className: "components-tooltip",
12662            "aria-hidden": "true"
12663          }, text, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["createElement"])(_shortcut__WEBPACK_IMPORTED_MODULE_10__["default"], {
12664            className: "components-tooltip__shortcut",
12665            shortcut: shortcut
12666          })))
12667        });
12668      }
12669    }]);
12670  
12671    return Tooltip;
12672  }(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__["Component"]);
12673  
12674  /* harmony default export */ __webpack_exports__["default"] = (Tooltip);
12675  
12676  
12677  /***/ }),
12678  
12679  /***/ "./node_modules/@wordpress/components/build-module/tree-select/index.js":
12680  /*!******************************************************************************!*\
12681    !*** ./node_modules/@wordpress/components/build-module/tree-select/index.js ***!
12682    \******************************************************************************/
12683  /*! exports provided: default */
12684  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12685  
12686  "use strict";
12687  __webpack_require__.r(__webpack_exports__);
12688  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TreeSelect; });
12689  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
12690  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
12691  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
12692  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
12693  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__);
12694  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash");
12695  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
12696  /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ */ "./node_modules/@wordpress/components/build-module/index.js");
12697  
12698  
12699  
12700  
12701  
12702  /**
12703   * External dependencies
12704   */
12705  
12706  /**
12707   * Internal dependencies
12708   */
12709  
12710  
12711  
12712  function getSelectOptions(tree) {
12713    var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
12714    return Object(lodash__WEBPACK_IMPORTED_MODULE_4__["flatMap"])(tree, function (treeNode) {
12715      return [{
12716        value: treeNode.id,
12717        label: Object(lodash__WEBPACK_IMPORTED_MODULE_4__["repeat"])("\xA0", level * 3) + Object(lodash__WEBPACK_IMPORTED_MODULE_4__["unescape"])(treeNode.name)
12718      }].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(getSelectOptions(treeNode.children || [], level + 1)));
12719    });
12720  }
12721  
12722  function TreeSelect(_ref) {
12723    var label = _ref.label,
12724        noOptionLabel = _ref.noOptionLabel,
12725        onChange = _ref.onChange,
12726        selectedId = _ref.selectedId,
12727        tree = _ref.tree,
12728        props = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__["default"])(_ref, ["label", "noOptionLabel", "onChange", "selectedId", "tree"]);
12729  
12730    var options = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["compact"])([noOptionLabel && {
12731      value: '',
12732      label: noOptionLabel
12733    }].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(getSelectOptions(tree))));
12734    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__["createElement"])(___WEBPACK_IMPORTED_MODULE_5__["SelectControl"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
12735      label: label,
12736      options: options,
12737      onChange: onChange
12738    }, {
12739      value: selectedId
12740    }, props));
12741  }
12742  
12743  
12744  /***/ }),
12745  
12746  /***/ "./node_modules/classnames/index.js":
12747  /*!******************************************!*\
12748    !*** ./node_modules/classnames/index.js ***!
12749    \******************************************/
12750  /*! no static exports found */
12751  /***/ (function(module, exports, __webpack_require__) {
12752  
12753  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
12754    Copyright (c) 2017 Jed Watson.
12755    Licensed under the MIT License (MIT), see
12756    http://jedwatson.github.io/classnames
12757  */
12758  /* global define */
12759  
12760  (function () {
12761      'use strict';
12762  
12763      var hasOwn = {}.hasOwnProperty;
12764  
12765  	function classNames () {
12766          var classes = [];
12767  
12768          for (var i = 0; i < arguments.length; i++) {
12769              var arg = arguments[i];
12770              if (!arg) continue;
12771  
12772              var argType = typeof arg;
12773  
12774              if (argType === 'string' || argType === 'number') {
12775                  classes.push(arg);
12776              } else if (Array.isArray(arg) && arg.length) {
12777                  var inner = classNames.apply(null, arg);
12778                  if (inner) {
12779                      classes.push(inner);
12780                  }
12781              } else if (argType === 'object') {
12782                  for (var key in arg) {
12783                      if (hasOwn.call(arg, key) && arg[key]) {
12784                          classes.push(key);
12785                      }
12786                  }
12787              }
12788          }
12789  
12790          return classes.join(' ');
12791      }
12792  
12793      if ( true && module.exports) {
12794          classNames.default = classNames;
12795          module.exports = classNames;
12796      } else if (true) {
12797          // register as 'classnames', consistent with npm package name
12798          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
12799              return classNames;
12800          }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
12801                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
12802      } else {}
12803  }());
12804  
12805  
12806  /***/ }),
12807  
12808  /***/ "./node_modules/clipboard/lib/clipboard-action.js":
12809  /*!********************************************************!*\
12810    !*** ./node_modules/clipboard/lib/clipboard-action.js ***!
12811    \********************************************************/
12812  /*! no static exports found */
12813  /***/ (function(module, exports, __webpack_require__) {
12814  
12815  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
12816      if (true) {
12817          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, __webpack_require__(/*! select */ "./node_modules/select/src/select.js")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
12818                  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
12819                  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
12820                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
12821      } else { var mod; }
12822  })(this, function (module, _select) {
12823      'use strict';
12824  
12825      var _select2 = _interopRequireDefault(_select);
12826  
12827      function _interopRequireDefault(obj) {
12828          return obj && obj.__esModule ? obj : {
12829              default: obj
12830          };
12831      }
12832  
12833      var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
12834          return typeof obj;
12835      } : function (obj) {
12836          return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
12837      };
12838  
12839      function _classCallCheck(instance, Constructor) {
12840          if (!(instance instanceof Constructor)) {
12841              throw new TypeError("Cannot call a class as a function");
12842          }
12843      }
12844  
12845      var _createClass = function () {
12846          function defineProperties(target, props) {
12847              for (var i = 0; i < props.length; i++) {
12848                  var descriptor = props[i];
12849                  descriptor.enumerable = descriptor.enumerable || false;
12850                  descriptor.configurable = true;
12851                  if ("value" in descriptor) descriptor.writable = true;
12852                  Object.defineProperty(target, descriptor.key, descriptor);
12853              }
12854          }
12855  
12856          return function (Constructor, protoProps, staticProps) {
12857              if (protoProps) defineProperties(Constructor.prototype, protoProps);
12858              if (staticProps) defineProperties(Constructor, staticProps);
12859              return Constructor;
12860          };
12861      }();
12862  
12863      var ClipboardAction = function () {
12864          /**
12865           * @param {Object} options
12866           */
12867          function ClipboardAction(options) {
12868              _classCallCheck(this, ClipboardAction);
12869  
12870              this.resolveOptions(options);
12871              this.initSelection();
12872          }
12873  
12874          /**
12875           * Defines base properties passed from constructor.
12876           * @param {Object} options
12877           */
12878  
12879  
12880          _createClass(ClipboardAction, [{
12881              key: 'resolveOptions',
12882              value: function resolveOptions() {
12883                  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12884  
12885                  this.action = options.action;
12886                  this.container = options.container;
12887                  this.emitter = options.emitter;
12888                  this.target = options.target;
12889                  this.text = options.text;
12890                  this.trigger = options.trigger;
12891  
12892                  this.selectedText = '';
12893              }
12894          }, {
12895              key: 'initSelection',
12896              value: function initSelection() {
12897                  if (this.text) {
12898                      this.selectFake();
12899                  } else if (this.target) {
12900                      this.selectTarget();
12901                  }
12902              }
12903          }, {
12904              key: 'selectFake',
12905              value: function selectFake() {
12906                  var _this = this;
12907  
12908                  var isRTL = document.documentElement.getAttribute('dir') == 'rtl';
12909  
12910                  this.removeFake();
12911  
12912                  this.fakeHandlerCallback = function () {
12913                      return _this.removeFake();
12914                  };
12915                  this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true;
12916  
12917                  this.fakeElem = document.createElement('textarea');
12918                  // Prevent zooming on iOS
12919                  this.fakeElem.style.fontSize = '12pt';
12920                  // Reset box model
12921                  this.fakeElem.style.border = '0';
12922                  this.fakeElem.style.padding = '0';
12923                  this.fakeElem.style.margin = '0';
12924                  // Move element out of screen horizontally
12925                  this.fakeElem.style.position = 'absolute';
12926                  this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px';
12927                  // Move element to the same position vertically
12928                  var yPosition = window.pageYOffset || document.documentElement.scrollTop;
12929                  this.fakeElem.style.top = yPosition + 'px';
12930  
12931                  this.fakeElem.setAttribute('readonly', '');
12932                  this.fakeElem.value = this.text;
12933  
12934                  this.container.appendChild(this.fakeElem);
12935  
12936                  this.selectedText = (0, _select2.default)(this.fakeElem);
12937                  this.copyText();
12938              }
12939          }, {
12940              key: 'removeFake',
12941              value: function removeFake() {
12942                  if (this.fakeHandler) {
12943                      this.container.removeEventListener('click', this.fakeHandlerCallback);
12944                      this.fakeHandler = null;
12945                      this.fakeHandlerCallback = null;
12946                  }
12947  
12948                  if (this.fakeElem) {
12949                      this.container.removeChild(this.fakeElem);
12950                      this.fakeElem = null;
12951                  }
12952              }
12953          }, {
12954              key: 'selectTarget',
12955              value: function selectTarget() {
12956                  this.selectedText = (0, _select2.default)(this.target);
12957                  this.copyText();
12958              }
12959          }, {
12960              key: 'copyText',
12961              value: function copyText() {
12962                  var succeeded = void 0;
12963  
12964                  try {
12965                      succeeded = document.execCommand(this.action);
12966                  } catch (err) {
12967                      succeeded = false;
12968                  }
12969  
12970                  this.handleResult(succeeded);
12971              }
12972          }, {
12973              key: 'handleResult',
12974              value: function handleResult(succeeded) {
12975                  this.emitter.emit(succeeded ? 'success' : 'error', {
12976                      action: this.action,
12977                      text: this.selectedText,
12978                      trigger: this.trigger,
12979                      clearSelection: this.clearSelection.bind(this)
12980                  });
12981              }
12982          }, {
12983              key: 'clearSelection',
12984              value: function clearSelection() {
12985                  if (this.trigger) {
12986                      this.trigger.focus();
12987                  }
12988  
12989                  window.getSelection().removeAllRanges();
12990              }
12991          }, {
12992              key: 'destroy',
12993              value: function destroy() {
12994                  this.removeFake();
12995              }
12996          }, {
12997              key: 'action',
12998              set: function set() {
12999                  var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy';
13000  
13001                  this._action = action;
13002  
13003                  if (this._action !== 'copy' && this._action !== 'cut') {
13004                      throw new Error('Invalid "action" value, use either "copy" or "cut"');
13005                  }
13006              },
13007              get: function get() {
13008                  return this._action;
13009              }
13010          }, {
13011              key: 'target',
13012              set: function set(target) {
13013                  if (target !== undefined) {
13014                      if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object' && target.nodeType === 1) {
13015                          if (this.action === 'copy' && target.hasAttribute('disabled')) {
13016                              throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
13017                          }
13018  
13019                          if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {
13020                              throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');
13021                          }
13022  
13023                          this._target = target;
13024                      } else {
13025                          throw new Error('Invalid "target" value, use a valid Element');
13026                      }
13027                  }
13028              },
13029              get: function get() {
13030                  return this._target;
13031              }
13032          }]);
13033  
13034          return ClipboardAction;
13035      }();
13036  
13037      module.exports = ClipboardAction;
13038  });
13039  
13040  /***/ }),
13041  
13042  /***/ "./node_modules/clipboard/lib/clipboard.js":
13043  /*!*************************************************!*\
13044    !*** ./node_modules/clipboard/lib/clipboard.js ***!
13045    \*************************************************/
13046  /*! no static exports found */
13047  /***/ (function(module, exports, __webpack_require__) {
13048  
13049  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
13050      if (true) {
13051          !(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, __webpack_require__(/*! ./clipboard-action */ "./node_modules/clipboard/lib/clipboard-action.js"), __webpack_require__(/*! tiny-emitter */ "./node_modules/tiny-emitter/index.js"), __webpack_require__(/*! good-listener */ "./node_modules/good-listener/src/listen.js")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
13052                  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
13053                  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
13054                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
13055      } else { var mod; }
13056  })(this, function (module, _clipboardAction, _tinyEmitter, _goodListener) {
13057      'use strict';
13058  
13059      var _clipboardAction2 = _interopRequireDefault(_clipboardAction);
13060  
13061      var _tinyEmitter2 = _interopRequireDefault(_tinyEmitter);
13062  
13063      var _goodListener2 = _interopRequireDefault(_goodListener);
13064  
13065      function _interopRequireDefault(obj) {
13066          return obj && obj.__esModule ? obj : {
13067              default: obj
13068          };
13069      }
13070  
13071      var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
13072          return typeof obj;
13073      } : function (obj) {
13074          return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
13075      };
13076  
13077      function _classCallCheck(instance, Constructor) {
13078          if (!(instance instanceof Constructor)) {
13079              throw new TypeError("Cannot call a class as a function");
13080          }
13081      }
13082  
13083      var _createClass = function () {
13084          function defineProperties(target, props) {
13085              for (var i = 0; i < props.length; i++) {
13086                  var descriptor = props[i];
13087                  descriptor.enumerable = descriptor.enumerable || false;
13088                  descriptor.configurable = true;
13089                  if ("value" in descriptor) descriptor.writable = true;
13090                  Object.defineProperty(target, descriptor.key, descriptor);
13091              }
13092          }
13093  
13094          return function (Constructor, protoProps, staticProps) {
13095              if (protoProps) defineProperties(Constructor.prototype, protoProps);
13096              if (staticProps) defineProperties(Constructor, staticProps);
13097              return Constructor;
13098          };
13099      }();
13100  
13101      function _possibleConstructorReturn(self, call) {
13102          if (!self) {
13103              throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
13104          }
13105  
13106          return call && (typeof call === "object" || typeof call === "function") ? call : self;
13107      }
13108  
13109      function _inherits(subClass, superClass) {
13110          if (typeof superClass !== "function" && superClass !== null) {
13111              throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
13112          }
13113  
13114          subClass.prototype = Object.create(superClass && superClass.prototype, {
13115              constructor: {
13116                  value: subClass,
13117                  enumerable: false,
13118                  writable: true,
13119                  configurable: true
13120              }
13121          });
13122          if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
13123      }
13124  
13125      var Clipboard = function (_Emitter) {
13126          _inherits(Clipboard, _Emitter);
13127  
13128          /**
13129           * @param {String|HTMLElement|HTMLCollection|NodeList} trigger
13130           * @param {Object} options
13131           */
13132          function Clipboard(trigger, options) {
13133              _classCallCheck(this, Clipboard);
13134  
13135              var _this = _possibleConstructorReturn(this, (Clipboard.__proto__ || Object.getPrototypeOf(Clipboard)).call(this));
13136  
13137              _this.resolveOptions(options);
13138              _this.listenClick(trigger);
13139              return _this;
13140          }
13141  
13142          /**
13143           * Defines if attributes would be resolved using internal setter functions
13144           * or custom functions that were passed in the constructor.
13145           * @param {Object} options
13146           */
13147  
13148  
13149          _createClass(Clipboard, [{
13150              key: 'resolveOptions',
13151              value: function resolveOptions() {
13152                  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
13153  
13154                  this.action = typeof options.action === 'function' ? options.action : this.defaultAction;
13155                  this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;
13156                  this.text = typeof options.text === 'function' ? options.text : this.defaultText;
13157                  this.container = _typeof(options.container) === 'object' ? options.container : document.body;
13158              }
13159          }, {
13160              key: 'listenClick',
13161              value: function listenClick(trigger) {
13162                  var _this2 = this;
13163  
13164                  this.listener = (0, _goodListener2.default)(trigger, 'click', function (e) {
13165                      return _this2.onClick(e);
13166                  });
13167              }
13168          }, {
13169              key: 'onClick',
13170              value: function onClick(e) {
13171                  var trigger = e.delegateTarget || e.currentTarget;
13172  
13173                  if (this.clipboardAction) {
13174                      this.clipboardAction = null;
13175                  }
13176  
13177                  this.clipboardAction = new _clipboardAction2.default({
13178                      action: this.action(trigger),
13179                      target: this.target(trigger),
13180                      text: this.text(trigger),
13181                      container: this.container,
13182                      trigger: trigger,
13183                      emitter: this
13184                  });
13185              }
13186          }, {
13187              key: 'defaultAction',
13188              value: function defaultAction(trigger) {
13189                  return getAttributeValue('action', trigger);
13190              }
13191          }, {
13192              key: 'defaultTarget',
13193              value: function defaultTarget(trigger) {
13194                  var selector = getAttributeValue('target', trigger);
13195  
13196                  if (selector) {
13197                      return document.querySelector(selector);
13198                  }
13199              }
13200          }, {
13201              key: 'defaultText',
13202              value: function defaultText(trigger) {
13203                  return getAttributeValue('text', trigger);
13204              }
13205          }, {
13206              key: 'destroy',
13207              value: function destroy() {
13208                  this.listener.destroy();
13209  
13210                  if (this.clipboardAction) {
13211                      this.clipboardAction.destroy();
13212                      this.clipboardAction = null;
13213                  }
13214              }
13215          }], [{
13216              key: 'isSupported',
13217              value: function isSupported() {
13218                  var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
13219  
13220                  var actions = typeof action === 'string' ? [action] : action;
13221                  var support = !!document.queryCommandSupported;
13222  
13223                  actions.forEach(function (action) {
13224                      support = support && !!document.queryCommandSupported(action);
13225                  });
13226  
13227                  return support;
13228              }
13229          }]);
13230  
13231          return Clipboard;
13232      }(_tinyEmitter2.default);
13233  
13234      /**
13235       * Helper function to retrieve attribute value.
13236       * @param {String} suffix
13237       * @param {Element} element
13238       */
13239      function getAttributeValue(suffix, element) {
13240          var attribute = 'data-clipboard-' + suffix;
13241  
13242          if (!element.hasAttribute(attribute)) {
13243              return;
13244          }
13245  
13246          return element.getAttribute(attribute);
13247      }
13248  
13249      module.exports = Clipboard;
13250  });
13251  
13252  /***/ }),
13253  
13254  /***/ "./node_modules/create-react-context/lib/implementation.js":
13255  /*!*****************************************************************!*\
13256    !*** ./node_modules/create-react-context/lib/implementation.js ***!
13257    \*****************************************************************/
13258  /*! no static exports found */
13259  /***/ (function(module, exports, __webpack_require__) {
13260  
13261  "use strict";
13262  
13263  
13264  exports.__esModule = true;
13265  
13266  var _react = __webpack_require__(/*! react */ "react");
13267  
13268  var _react2 = _interopRequireDefault(_react);
13269  
13270  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
13271  
13272  var _propTypes2 = _interopRequireDefault(_propTypes);
13273  
13274  var _gud = __webpack_require__(/*! gud */ "./node_modules/gud/index.js");
13275  
13276  var _gud2 = _interopRequireDefault(_gud);
13277  
13278  var _warning = __webpack_require__(/*! fbjs/lib/warning */ "./node_modules/fbjs/lib/warning.js");
13279  
13280  var _warning2 = _interopRequireDefault(_warning);
13281  
13282  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13283  
13284  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13285  
13286  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; }
13287  
13288  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; }
13289  
13290  var MAX_SIGNED_31_BIT_INT = 1073741823;
13291  
13292  // Inlined Object.is polyfill.
13293  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
13294  function objectIs(x, y) {
13295    if (x === y) {
13296      return x !== 0 || 1 / x === 1 / y;
13297    } else {
13298      return x !== x && y !== y;
13299    }
13300  }
13301  
13302  function createEventEmitter(value) {
13303    var handlers = [];
13304    return {
13305      on: function on(handler) {
13306        handlers.push(handler);
13307      },
13308      off: function off(handler) {
13309        handlers = handlers.filter(function (h) {
13310          return h !== handler;
13311        });
13312      },
13313      get: function get() {
13314        return value;
13315      },
13316      set: function set(newValue, changedBits) {
13317        value = newValue;
13318        handlers.forEach(function (handler) {
13319          return handler(value, changedBits);
13320        });
13321      }
13322    };
13323  }
13324  
13325  function onlyChild(children) {
13326    return Array.isArray(children) ? children[0] : children;
13327  }
13328  
13329  function createReactContext(defaultValue, calculateChangedBits) {
13330    var _Provider$childContex, _Consumer$contextType;
13331  
13332    var contextProp = '__create-react-context-' + (0, _gud2.default)() + '__';
13333  
13334    var Provider = function (_Component) {
13335      _inherits(Provider, _Component);
13336  
13337      function Provider() {
13338        var _temp, _this, _ret;
13339  
13340        _classCallCheck(this, Provider);
13341  
13342        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
13343          args[_key] = arguments[_key];
13344        }
13345  
13346        return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.emitter = createEventEmitter(_this.props.value), _temp), _possibleConstructorReturn(_this, _ret);
13347      }
13348  
13349      Provider.prototype.getChildContext = function getChildContext() {
13350        var _ref;
13351  
13352        return _ref = {}, _ref[contextProp] = this.emitter, _ref;
13353      };
13354  
13355      Provider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
13356        if (this.props.value !== nextProps.value) {
13357          var oldValue = this.props.value;
13358          var newValue = nextProps.value;
13359          var changedBits = void 0;
13360  
13361          if (objectIs(oldValue, newValue)) {
13362            changedBits = 0; // No change
13363          } else {
13364            changedBits = typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT;
13365            if (true) {
13366              (0, _warning2.default)((changedBits & MAX_SIGNED_31_BIT_INT) === changedBits, 'calculateChangedBits: Expected the return value to be a ' + '31-bit integer. Instead received: %s', changedBits);
13367            }
13368  
13369            changedBits |= 0;
13370  
13371            if (changedBits !== 0) {
13372              this.emitter.set(nextProps.value, changedBits);
13373            }
13374          }
13375        }
13376      };
13377  
13378      Provider.prototype.render = function render() {
13379        return this.props.children;
13380      };
13381  
13382      return Provider;
13383    }(_react.Component);
13384  
13385    Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = _propTypes2.default.object.isRequired, _Provider$childContex);
13386  
13387    var Consumer = function (_Component2) {
13388      _inherits(Consumer, _Component2);
13389  
13390      function Consumer() {
13391        var _temp2, _this2, _ret2;
13392  
13393        _classCallCheck(this, Consumer);
13394  
13395        for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
13396          args[_key2] = arguments[_key2];
13397        }
13398  
13399        return _ret2 = (_temp2 = (_this2 = _possibleConstructorReturn(this, _Component2.call.apply(_Component2, [this].concat(args))), _this2), _this2.state = {
13400          value: _this2.getValue()
13401        }, _this2.onUpdate = function (newValue, changedBits) {
13402          var observedBits = _this2.observedBits | 0;
13403          if ((observedBits & changedBits) !== 0) {
13404            _this2.setState({ value: _this2.getValue() });
13405          }
13406        }, _temp2), _possibleConstructorReturn(_this2, _ret2);
13407      }
13408  
13409      Consumer.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
13410        var observedBits = nextProps.observedBits;
13411  
13412        this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default
13413        : observedBits;
13414      };
13415  
13416      Consumer.prototype.componentDidMount = function componentDidMount() {
13417        if (this.context[contextProp]) {
13418          this.context[contextProp].on(this.onUpdate);
13419        }
13420        var observedBits = this.props.observedBits;
13421  
13422        this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default
13423        : observedBits;
13424      };
13425  
13426      Consumer.prototype.componentWillUnmount = function componentWillUnmount() {
13427        if (this.context[contextProp]) {
13428          this.context[contextProp].off(this.onUpdate);
13429        }
13430      };
13431  
13432      Consumer.prototype.getValue = function getValue() {
13433        if (this.context[contextProp]) {
13434          return this.context[contextProp].get();
13435        } else {
13436          return defaultValue;
13437        }
13438      };
13439  
13440      Consumer.prototype.render = function render() {
13441        return onlyChild(this.props.children)(this.state.value);
13442      };
13443  
13444      return Consumer;
13445    }(_react.Component);
13446  
13447    Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = _propTypes2.default.object, _Consumer$contextType);
13448  
13449  
13450    return {
13451      Provider: Provider,
13452      Consumer: Consumer
13453    };
13454  }
13455  
13456  exports.default = createReactContext;
13457  module.exports = exports['default'];
13458  
13459  /***/ }),
13460  
13461  /***/ "./node_modules/create-react-context/lib/index.js":
13462  /*!********************************************************!*\
13463    !*** ./node_modules/create-react-context/lib/index.js ***!
13464    \********************************************************/
13465  /*! no static exports found */
13466  /***/ (function(module, exports, __webpack_require__) {
13467  
13468  "use strict";
13469  
13470  
13471  exports.__esModule = true;
13472  
13473  var _react = __webpack_require__(/*! react */ "react");
13474  
13475  var _react2 = _interopRequireDefault(_react);
13476  
13477  var _implementation = __webpack_require__(/*! ./implementation */ "./node_modules/create-react-context/lib/implementation.js");
13478  
13479  var _implementation2 = _interopRequireDefault(_implementation);
13480  
13481  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13482  
13483  exports.default = _react2.default.createContext || _implementation2.default;
13484  module.exports = exports['default'];
13485  
13486  /***/ }),
13487  
13488  /***/ "./node_modules/delegate/src/closest.js":
13489  /*!**********************************************!*\
13490    !*** ./node_modules/delegate/src/closest.js ***!
13491    \**********************************************/
13492  /*! no static exports found */
13493  /***/ (function(module, exports) {
13494  
13495  var DOCUMENT_NODE_TYPE = 9;
13496  
13497  /**
13498   * A polyfill for Element.matches()
13499   */
13500  if (typeof Element !== 'undefined' && !Element.prototype.matches) {
13501      var proto = Element.prototype;
13502  
13503      proto.matches = proto.matchesSelector ||
13504                      proto.mozMatchesSelector ||
13505                      proto.msMatchesSelector ||
13506                      proto.oMatchesSelector ||
13507                      proto.webkitMatchesSelector;
13508  }
13509  
13510  /**
13511   * Finds the closest parent that matches a selector.
13512   *
13513   * @param {Element} element
13514   * @param {String} selector
13515   * @return {Function}
13516   */
13517  function closest (element, selector) {
13518      while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {
13519          if (typeof element.matches === 'function' &&
13520              element.matches(selector)) {
13521            return element;
13522          }
13523          element = element.parentNode;
13524      }
13525  }
13526  
13527  module.exports = closest;
13528  
13529  
13530  /***/ }),
13531  
13532  /***/ "./node_modules/delegate/src/delegate.js":
13533  /*!***********************************************!*\
13534    !*** ./node_modules/delegate/src/delegate.js ***!
13535    \***********************************************/
13536  /*! no static exports found */
13537  /***/ (function(module, exports, __webpack_require__) {
13538  
13539  var closest = __webpack_require__(/*! ./closest */ "./node_modules/delegate/src/closest.js");
13540  
13541  /**
13542   * Delegates event to a selector.
13543   *
13544   * @param {Element} element
13545   * @param {String} selector
13546   * @param {String} type
13547   * @param {Function} callback
13548   * @param {Boolean} useCapture
13549   * @return {Object}
13550   */
13551  function _delegate(element, selector, type, callback, useCapture) {
13552      var listenerFn = listener.apply(this, arguments);
13553  
13554      element.addEventListener(type, listenerFn, useCapture);
13555  
13556      return {
13557          destroy: function() {
13558              element.removeEventListener(type, listenerFn, useCapture);
13559          }
13560      }
13561  }
13562  
13563  /**
13564   * Delegates event to a selector.
13565   *
13566   * @param {Element|String|Array} [elements]
13567   * @param {String} selector
13568   * @param {String} type
13569   * @param {Function} callback
13570   * @param {Boolean} useCapture
13571   * @return {Object}
13572   */
13573  function delegate(elements, selector, type, callback, useCapture) {
13574      // Handle the regular Element usage
13575      if (typeof elements.addEventListener === 'function') {
13576          return _delegate.apply(null, arguments);
13577      }
13578  
13579      // Handle Element-less usage, it defaults to global delegation
13580      if (typeof type === 'function') {
13581          // Use `document` as the first parameter, then apply arguments
13582          // This is a short way to .unshift `arguments` without running into deoptimizations
13583          return _delegate.bind(null, document).apply(null, arguments);
13584      }
13585  
13586      // Handle Selector-based usage
13587      if (typeof elements === 'string') {
13588          elements = document.querySelectorAll(elements);
13589      }
13590  
13591      // Handle Array-like based usage
13592      return Array.prototype.map.call(elements, function (element) {
13593          return _delegate(element, selector, type, callback, useCapture);
13594      });
13595  }
13596  
13597  /**
13598   * Finds closest match and invokes callback.
13599   *
13600   * @param {Element} element
13601   * @param {String} selector
13602   * @param {String} type
13603   * @param {Function} callback
13604   * @return {Function}
13605   */
13606  function listener(element, selector, type, callback) {
13607      return function(e) {
13608          e.delegateTarget = closest(e.target, selector);
13609  
13610          if (e.delegateTarget) {
13611              callback.call(element, e);
13612          }
13613      }
13614  }
13615  
13616  module.exports = delegate;
13617  
13618  
13619  /***/ }),
13620  
13621  /***/ "./node_modules/dom-scroll-into-view/lib/dom-scroll-into-view.js":
13622  /*!***********************************************************************!*\
13623    !*** ./node_modules/dom-scroll-into-view/lib/dom-scroll-into-view.js ***!
13624    \***********************************************************************/
13625  /*! no static exports found */
13626  /***/ (function(module, exports, __webpack_require__) {
13627  
13628  "use strict";
13629  
13630  
13631  var util = __webpack_require__(/*! ./util */ "./node_modules/dom-scroll-into-view/lib/util.js");
13632  
13633  function scrollIntoView(elem, container, config) {
13634    config = config || {};
13635    // document 归一化到 window
13636    if (container.nodeType === 9) {
13637      container = util.getWindow(container);
13638    }
13639  
13640    var allowHorizontalScroll = config.allowHorizontalScroll;
13641    var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
13642    var alignWithTop = config.alignWithTop;
13643    var alignWithLeft = config.alignWithLeft;
13644    var offsetTop = config.offsetTop || 0;
13645    var offsetLeft = config.offsetLeft || 0;
13646    var offsetBottom = config.offsetBottom || 0;
13647    var offsetRight = config.offsetRight || 0;
13648  
13649    allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;
13650  
13651    var isWin = util.isWindow(container);
13652    var elemOffset = util.offset(elem);
13653    var eh = util.outerHeight(elem);
13654    var ew = util.outerWidth(elem);
13655    var containerOffset = undefined;
13656    var ch = undefined;
13657    var cw = undefined;
13658    var containerScroll = undefined;
13659    var diffTop = undefined;
13660    var diffBottom = undefined;
13661    var win = undefined;
13662    var winScroll = undefined;
13663    var ww = undefined;
13664    var wh = undefined;
13665  
13666    if (isWin) {
13667      win = container;
13668      wh = util.height(win);
13669      ww = util.width(win);
13670      winScroll = {
13671        left: util.scrollLeft(win),
13672        top: util.scrollTop(win)
13673      };
13674      // elem 相对 container 可视视窗的距离
13675      diffTop = {
13676        left: elemOffset.left - winScroll.left - offsetLeft,
13677        top: elemOffset.top - winScroll.top - offsetTop
13678      };
13679      diffBottom = {
13680        left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
13681        top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
13682      };
13683      containerScroll = winScroll;
13684    } else {
13685      containerOffset = util.offset(container);
13686      ch = container.clientHeight;
13687      cw = container.clientWidth;
13688      containerScroll = {
13689        left: container.scrollLeft,
13690        top: container.scrollTop
13691      };
13692      // elem 相对 container 可视视窗的距离
13693      // 注意边框, offset 是边框到根节点
13694      diffTop = {
13695        left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
13696        top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
13697      };
13698      diffBottom = {
13699        left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
13700        top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
13701      };
13702    }
13703  
13704    if (diffTop.top < 0 || diffBottom.top > 0) {
13705      // 强制向上
13706      if (alignWithTop === true) {
13707        util.scrollTop(container, containerScroll.top + diffTop.top);
13708      } else if (alignWithTop === false) {
13709        util.scrollTop(container, containerScroll.top + diffBottom.top);
13710      } else {
13711        // 自动调整
13712        if (diffTop.top < 0) {
13713          util.scrollTop(container, containerScroll.top + diffTop.top);
13714        } else {
13715          util.scrollTop(container, containerScroll.top + diffBottom.top);
13716        }
13717      }
13718    } else {
13719      if (!onlyScrollIfNeeded) {
13720        alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
13721        if (alignWithTop) {
13722          util.scrollTop(container, containerScroll.top + diffTop.top);
13723        } else {
13724          util.scrollTop(container, containerScroll.top + diffBottom.top);
13725        }
13726      }
13727    }
13728  
13729    if (allowHorizontalScroll) {
13730      if (diffTop.left < 0 || diffBottom.left > 0) {
13731        // 强制向上
13732        if (alignWithLeft === true) {
13733          util.scrollLeft(container, containerScroll.left + diffTop.left);
13734        } else if (alignWithLeft === false) {
13735          util.scrollLeft(container, containerScroll.left + diffBottom.left);
13736        } else {
13737          // 自动调整
13738          if (diffTop.left < 0) {
13739            util.scrollLeft(container, containerScroll.left + diffTop.left);
13740          } else {
13741            util.scrollLeft(container, containerScroll.left + diffBottom.left);
13742          }
13743        }
13744      } else {
13745        if (!onlyScrollIfNeeded) {
13746          alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
13747          if (alignWithLeft) {
13748            util.scrollLeft(container, containerScroll.left + diffTop.left);
13749          } else {
13750            util.scrollLeft(container, containerScroll.left + diffBottom.left);
13751          }
13752        }
13753      }
13754    }
13755  }
13756  
13757  module.exports = scrollIntoView;
13758  
13759  /***/ }),
13760  
13761  /***/ "./node_modules/dom-scroll-into-view/lib/index.js":
13762  /*!********************************************************!*\
13763    !*** ./node_modules/dom-scroll-into-view/lib/index.js ***!
13764    \********************************************************/
13765  /*! no static exports found */
13766  /***/ (function(module, exports, __webpack_require__) {
13767  
13768  "use strict";
13769  
13770  
13771  module.exports = __webpack_require__(/*! ./dom-scroll-into-view */ "./node_modules/dom-scroll-into-view/lib/dom-scroll-into-view.js");
13772  
13773  /***/ }),
13774  
13775  /***/ "./node_modules/dom-scroll-into-view/lib/util.js":
13776  /*!*******************************************************!*\
13777    !*** ./node_modules/dom-scroll-into-view/lib/util.js ***!
13778    \*******************************************************/
13779  /*! no static exports found */
13780  /***/ (function(module, exports, __webpack_require__) {
13781  
13782  "use strict";
13783  
13784  
13785  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; };
13786  
13787  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
13788  
13789  var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
13790  
13791  function getClientPosition(elem) {
13792    var box = undefined;
13793    var x = undefined;
13794    var y = undefined;
13795    var doc = elem.ownerDocument;
13796    var body = doc.body;
13797    var docElem = doc && doc.documentElement;
13798    // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
13799    box = elem.getBoundingClientRect();
13800  
13801    // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
13802    // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
13803    // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin
13804  
13805    x = box.left;
13806    y = box.top;
13807  
13808    // In IE, most of the time, 2 extra pixels are added to the top and left
13809    // due to the implicit 2-pixel inset border.  In IE6/7 quirks mode and
13810    // IE6 standards mode, this border can be overridden by setting the
13811    // document element's border to zero -- thus, we cannot rely on the
13812    // offset always being 2 pixels.
13813  
13814    // In quirks mode, the offset can be determined by querying the body's
13815    // clientLeft/clientTop, but in standards mode, it is found by querying
13816    // the document element's clientLeft/clientTop.  Since we already called
13817    // getClientBoundingRect we have already forced a reflow, so it is not
13818    // too expensive just to query them all.
13819  
13820    // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
13821    // 窗口边框标准是设 documentElement ,quirks 时设置 body
13822    // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
13823    // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
13824    // 标准 ie 下 docElem.clientTop 就是 border-top
13825    // ie7 html 即窗口边框改变不了。永远为 2
13826    // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0
13827  
13828    x -= docElem.clientLeft || body.clientLeft || 0;
13829    y -= docElem.clientTop || body.clientTop || 0;
13830  
13831    return {
13832      left: x,
13833      top: y
13834    };
13835  }
13836  
13837  function getScroll(w, top) {
13838    var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
13839    var method = 'scroll' + (top ? 'Top' : 'Left');
13840    if (typeof ret !== 'number') {
13841      var d = w.document;
13842      // ie6,7,8 standard mode
13843      ret = d.documentElement[method];
13844      if (typeof ret !== 'number') {
13845        // quirks mode
13846        ret = d.body[method];
13847      }
13848    }
13849    return ret;
13850  }
13851  
13852  function getScrollLeft(w) {
13853    return getScroll(w);
13854  }
13855  
13856  function getScrollTop(w) {
13857    return getScroll(w, true);
13858  }
13859  
13860  function getOffset(el) {
13861    var pos = getClientPosition(el);
13862    var doc = el.ownerDocument;
13863    var w = doc.defaultView || doc.parentWindow;
13864    pos.left += getScrollLeft(w);
13865    pos.top += getScrollTop(w);
13866    return pos;
13867  }
13868  function _getComputedStyle(elem, name, computedStyle_) {
13869    var val = '';
13870    var d = elem.ownerDocument;
13871    var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);
13872  
13873    // https://github.com/kissyteam/kissy/issues/61
13874    if (computedStyle) {
13875      val = computedStyle.getPropertyValue(name) || computedStyle[name];
13876    }
13877  
13878    return val;
13879  }
13880  
13881  var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
13882  var RE_POS = /^(top|right|bottom|left)$/;
13883  var CURRENT_STYLE = 'currentStyle';
13884  var RUNTIME_STYLE = 'runtimeStyle';
13885  var LEFT = 'left';
13886  var PX = 'px';
13887  
13888  function _getComputedStyleIE(elem, name) {
13889    // currentStyle maybe null
13890    // http://msdn.microsoft.com/en-us/library/ms535231.aspx
13891    var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];
13892  
13893    // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
13894    // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
13895    // 在 ie 下不对,需要直接用 offset 方式
13896    // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了
13897  
13898    // From the awesome hack by Dean Edwards
13899    // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
13900    // If we're not dealing with a regular pixel number
13901    // but a number that has a weird ending, we need to convert it to pixels
13902    // exclude left right for relativity
13903    if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
13904      // Remember the original values
13905      var style = elem.style;
13906      var left = style[LEFT];
13907      var rsLeft = elem[RUNTIME_STYLE][LEFT];
13908  
13909      // prevent flashing of content
13910      elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];
13911  
13912      // Put in the new values to get a computed value out
13913      style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
13914      ret = style.pixelLeft + PX;
13915  
13916      // Revert the changed values
13917      style[LEFT] = left;
13918  
13919      elem[RUNTIME_STYLE][LEFT] = rsLeft;
13920    }
13921    return ret === '' ? 'auto' : ret;
13922  }
13923  
13924  var getComputedStyleX = undefined;
13925  if (typeof window !== 'undefined') {
13926    getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
13927  }
13928  
13929  function each(arr, fn) {
13930    for (var i = 0; i < arr.length; i++) {
13931      fn(arr[i]);
13932    }
13933  }
13934  
13935  function isBorderBoxFn(elem) {
13936    return getComputedStyleX(elem, 'boxSizing') === 'border-box';
13937  }
13938  
13939  var BOX_MODELS = ['margin', 'border', 'padding'];
13940  var CONTENT_INDEX = -1;
13941  var PADDING_INDEX = 2;
13942  var BORDER_INDEX = 1;
13943  var MARGIN_INDEX = 0;
13944  
13945  function swap(elem, options, callback) {
13946    var old = {};
13947    var style = elem.style;
13948    var name = undefined;
13949  
13950    // Remember the old values, and insert the new ones
13951    for (name in options) {
13952      if (options.hasOwnProperty(name)) {
13953        old[name] = style[name];
13954        style[name] = options[name];
13955      }
13956    }
13957  
13958    callback.call(elem);
13959  
13960    // Revert the old values
13961    for (name in options) {
13962      if (options.hasOwnProperty(name)) {
13963        style[name] = old[name];
13964      }
13965    }
13966  }
13967  
13968  function getPBMWidth(elem, props, which) {
13969    var value = 0;
13970    var prop = undefined;
13971    var j = undefined;
13972    var i = undefined;
13973    for (j = 0; j < props.length; j++) {
13974      prop = props[j];
13975      if (prop) {
13976        for (i = 0; i < which.length; i++) {
13977          var cssProp = undefined;
13978          if (prop === 'border') {
13979            cssProp = prop + which[i] + 'Width';
13980          } else {
13981            cssProp = prop + which[i];
13982          }
13983          value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
13984        }
13985      }
13986    }
13987    return value;
13988  }
13989  
13990  /**
13991   * A crude way of determining if an object is a window
13992   * @member util
13993   */
13994  function isWindow(obj) {
13995    // must use == for ie8
13996    /* eslint eqeqeq:0 */
13997    return obj != null && obj == obj.window;
13998  }
13999  
14000  var domUtils = {};
14001  
14002  each(['Width', 'Height'], function (name) {
14003    domUtils['doc' + name] = function (refWin) {
14004      var d = refWin.document;
14005      return Math.max(
14006      // firefox chrome documentElement.scrollHeight< body.scrollHeight
14007      // ie standard mode : documentElement.scrollHeight> body.scrollHeight
14008      d.documentElement['scroll' + name],
14009      // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
14010      d.body['scroll' + name], domUtils['viewport' + name](d));
14011    };
14012  
14013    domUtils['viewport' + name] = function (win) {
14014      // pc browser includes scrollbar in window.innerWidth
14015      var prop = 'client' + name;
14016      var doc = win.document;
14017      var body = doc.body;
14018      var documentElement = doc.documentElement;
14019      var documentElementProp = documentElement[prop];
14020      // 标准模式取 documentElement
14021      // backcompat 取 body
14022      return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
14023    };
14024  });
14025  
14026  /*
14027   得到元素的大小信息
14028   @param elem
14029   @param name
14030   @param {String} [extra]  'padding' : (css width) + padding
14031   'border' : (css width) + padding + border
14032   'margin' : (css width) + padding + border + margin
14033   */
14034  function getWH(elem, name, extra) {
14035    if (isWindow(elem)) {
14036      return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
14037    } else if (elem.nodeType === 9) {
14038      return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
14039    }
14040    var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
14041    var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
14042    var computedStyle = getComputedStyleX(elem);
14043    var isBorderBox = isBorderBoxFn(elem, computedStyle);
14044    var cssBoxValue = 0;
14045    if (borderBoxValue == null || borderBoxValue <= 0) {
14046      borderBoxValue = undefined;
14047      // Fall back to computed then un computed css if necessary
14048      cssBoxValue = getComputedStyleX(elem, name);
14049      if (cssBoxValue == null || Number(cssBoxValue) < 0) {
14050        cssBoxValue = elem.style[name] || 0;
14051      }
14052      // Normalize '', auto, and prepare for extra
14053      cssBoxValue = parseFloat(cssBoxValue) || 0;
14054    }
14055    if (extra === undefined) {
14056      extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
14057    }
14058    var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
14059    var val = borderBoxValue || cssBoxValue;
14060    if (extra === CONTENT_INDEX) {
14061      if (borderBoxValueOrIsBorderBox) {
14062        return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
14063      }
14064      return cssBoxValue;
14065    }
14066    if (borderBoxValueOrIsBorderBox) {
14067      var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
14068      return val + (extra === BORDER_INDEX ? 0 : padding);
14069    }
14070    return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
14071  }
14072  
14073  var cssShow = {
14074    position: 'absolute',
14075    visibility: 'hidden',
14076    display: 'block'
14077  };
14078  
14079  // fix #119 : https://github.com/kissyteam/kissy/issues/119
14080  function getWHIgnoreDisplay(elem) {
14081    var val = undefined;
14082    var args = arguments;
14083    // in case elem is window
14084    // elem.offsetWidth === undefined
14085    if (elem.offsetWidth !== 0) {
14086      val = getWH.apply(undefined, args);
14087    } else {
14088      swap(elem, cssShow, function () {
14089        val = getWH.apply(undefined, args);
14090      });
14091    }
14092    return val;
14093  }
14094  
14095  function css(el, name, v) {
14096    var value = v;
14097    if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
14098      for (var i in name) {
14099        if (name.hasOwnProperty(i)) {
14100          css(el, i, name[i]);
14101        }
14102      }
14103      return undefined;
14104    }
14105    if (typeof value !== 'undefined') {
14106      if (typeof value === 'number') {
14107        value += 'px';
14108      }
14109      el.style[name] = value;
14110      return undefined;
14111    }
14112    return getComputedStyleX(el, name);
14113  }
14114  
14115  each(['width', 'height'], function (name) {
14116    var first = name.charAt(0).toUpperCase() + name.slice(1);
14117    domUtils['outer' + first] = function (el, includeMargin) {
14118      return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
14119    };
14120    var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
14121  
14122    domUtils[name] = function (elem, val) {
14123      if (val !== undefined) {
14124        if (elem) {
14125          var computedStyle = getComputedStyleX(elem);
14126          var isBorderBox = isBorderBoxFn(elem);
14127          if (isBorderBox) {
14128            val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
14129          }
14130          return css(elem, name, val);
14131        }
14132        return undefined;
14133      }
14134      return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
14135    };
14136  });
14137  
14138  // 设置 elem 相对 elem.ownerDocument 的坐标
14139  function setOffset(elem, offset) {
14140    // set position first, in-case top/left are set even on static elem
14141    if (css(elem, 'position') === 'static') {
14142      elem.style.position = 'relative';
14143    }
14144  
14145    var old = getOffset(elem);
14146    var ret = {};
14147    var current = undefined;
14148    var key = undefined;
14149  
14150    for (key in offset) {
14151      if (offset.hasOwnProperty(key)) {
14152        current = parseFloat(css(elem, key)) || 0;
14153        ret[key] = current + offset[key] - old[key];
14154      }
14155    }
14156    css(elem, ret);
14157  }
14158  
14159  module.exports = _extends({
14160    getWindow: function getWindow(node) {
14161      var doc = node.ownerDocument || node;
14162      return doc.defaultView || doc.parentWindow;
14163    },
14164    offset: function offset(el, value) {
14165      if (typeof value !== 'undefined') {
14166        setOffset(el, value);
14167      } else {
14168        return getOffset(el);
14169      }
14170    },
14171  
14172    isWindow: isWindow,
14173    each: each,
14174    css: css,
14175    clone: function clone(obj) {
14176      var ret = {};
14177      for (var i in obj) {
14178        if (obj.hasOwnProperty(i)) {
14179          ret[i] = obj[i];
14180        }
14181      }
14182      var overflow = obj.overflow;
14183      if (overflow) {
14184        for (var i in obj) {
14185          if (obj.hasOwnProperty(i)) {
14186            ret.overflow[i] = obj.overflow[i];
14187          }
14188        }
14189      }
14190      return ret;
14191    },
14192    scrollLeft: function scrollLeft(w, v) {
14193      if (isWindow(w)) {
14194        if (v === undefined) {
14195          return getScrollLeft(w);
14196        }
14197        window.scrollTo(v, getScrollTop(w));
14198      } else {
14199        if (v === undefined) {
14200          return w.scrollLeft;
14201        }
14202        w.scrollLeft = v;
14203      }
14204    },
14205    scrollTop: function scrollTop(w, v) {
14206      if (isWindow(w)) {
14207        if (v === undefined) {
14208          return getScrollTop(w);
14209        }
14210        window.scrollTo(getScrollLeft(w), v);
14211      } else {
14212        if (v === undefined) {
14213          return w.scrollTop;
14214        }
14215        w.scrollTop = v;
14216      }
14217    },
14218  
14219    viewportWidth: 0,
14220    viewportHeight: 0
14221  }, domUtils);
14222  
14223  /***/ }),
14224  
14225  /***/ "./node_modules/fbjs/lib/emptyFunction.js":
14226  /*!************************************************!*\
14227    !*** ./node_modules/fbjs/lib/emptyFunction.js ***!
14228    \************************************************/
14229  /*! no static exports found */
14230  /***/ (function(module, exports, __webpack_require__) {
14231  
14232  "use strict";
14233  
14234  
14235  /**
14236   * Copyright (c) 2013-present, Facebook, Inc.
14237   *
14238   * This source code is licensed under the MIT license found in the
14239   * LICENSE file in the root directory of this source tree.
14240   *
14241   * 
14242   */
14243  
14244  function makeEmptyFunction(arg) {
14245    return function () {
14246      return arg;
14247    };
14248  }
14249  
14250  /**
14251   * This function accepts and discards inputs; it has no side effects. This is
14252   * primarily useful idiomatically for overridable function endpoints which
14253   * always need to be callable, since JS lacks a null-call idiom ala Cocoa.
14254   */
14255  var emptyFunction = function emptyFunction() {};
14256  
14257  emptyFunction.thatReturns = makeEmptyFunction;
14258  emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
14259  emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
14260  emptyFunction.thatReturnsNull = makeEmptyFunction(null);
14261  emptyFunction.thatReturnsThis = function () {
14262    return this;
14263  };
14264  emptyFunction.thatReturnsArgument = function (arg) {
14265    return arg;
14266  };
14267  
14268  module.exports = emptyFunction;
14269  
14270  /***/ }),
14271  
14272  /***/ "./node_modules/fbjs/lib/warning.js":
14273  /*!******************************************!*\
14274    !*** ./node_modules/fbjs/lib/warning.js ***!
14275    \******************************************/
14276  /*! no static exports found */
14277  /***/ (function(module, exports, __webpack_require__) {
14278  
14279  "use strict";
14280  /**
14281   * Copyright (c) 2014-present, Facebook, Inc.
14282   *
14283   * This source code is licensed under the MIT license found in the
14284   * LICENSE file in the root directory of this source tree.
14285   *
14286   */
14287  
14288  
14289  
14290  var emptyFunction = __webpack_require__(/*! ./emptyFunction */ "./node_modules/fbjs/lib/emptyFunction.js");
14291  
14292  /**
14293   * Similar to invariant but only logs a warning if the condition is not met.
14294   * This can be used to log issues in development environments in critical
14295   * paths. Removing the logging code for production environments will keep the
14296   * same logic and follow the same code paths.
14297   */
14298  
14299  var warning = emptyFunction;
14300  
14301  if (true) {
14302    var printWarning = function printWarning(format) {
14303      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
14304        args[_key - 1] = arguments[_key];
14305      }
14306  
14307      var argIndex = 0;
14308      var message = 'Warning: ' + format.replace(/%s/g, function () {
14309        return args[argIndex++];
14310      });
14311      if (typeof console !== 'undefined') {
14312        console.error(message);
14313      }
14314      try {
14315        // --- Welcome to debugging React ---
14316        // This error was thrown as a convenience so that you can use this stack
14317        // to find the callsite that caused this warning to fire.
14318        throw new Error(message);
14319      } catch (x) {}
14320    };
14321  
14322    warning = function warning(condition, format) {
14323      if (format === undefined) {
14324        throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
14325      }
14326  
14327      if (format.indexOf('Failed Composite propType: ') === 0) {
14328        return; // Ignore CompositeComponent proptype check.
14329      }
14330  
14331      if (!condition) {
14332        for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
14333          args[_key2 - 2] = arguments[_key2];
14334        }
14335  
14336        printWarning.apply(undefined, [format].concat(args));
14337      }
14338    };
14339  }
14340  
14341  module.exports = warning;
14342  
14343  /***/ }),
14344  
14345  /***/ "./node_modules/good-listener/src/is.js":
14346  /*!**********************************************!*\
14347    !*** ./node_modules/good-listener/src/is.js ***!
14348    \**********************************************/
14349  /*! no static exports found */
14350  /***/ (function(module, exports) {
14351  
14352  /**
14353   * Check if argument is a HTML element.
14354   *
14355   * @param {Object} value
14356   * @return {Boolean}
14357   */
14358  exports.node = function(value) {
14359      return value !== undefined
14360          && value instanceof HTMLElement
14361          && value.nodeType === 1;
14362  };
14363  
14364  /**
14365   * Check if argument is a list of HTML elements.
14366   *
14367   * @param {Object} value
14368   * @return {Boolean}
14369   */
14370  exports.nodeList = function(value) {
14371      var type = Object.prototype.toString.call(value);
14372  
14373      return value !== undefined
14374          && (type === '[object NodeList]' || type === '[object HTMLCollection]')
14375          && ('length' in value)
14376          && (value.length === 0 || exports.node(value[0]));
14377  };
14378  
14379  /**
14380   * Check if argument is a string.
14381   *
14382   * @param {Object} value
14383   * @return {Boolean}
14384   */
14385  exports.string = function(value) {
14386      return typeof value === 'string'
14387          || value instanceof String;
14388  };
14389  
14390  /**
14391   * Check if argument is a function.
14392   *
14393   * @param {Object} value
14394   * @return {Boolean}
14395   */
14396  exports.fn = function(value) {
14397      var type = Object.prototype.toString.call(value);
14398  
14399      return type === '[object Function]';
14400  };
14401  
14402  
14403  /***/ }),
14404  
14405  /***/ "./node_modules/good-listener/src/listen.js":
14406  /*!**************************************************!*\
14407    !*** ./node_modules/good-listener/src/listen.js ***!
14408    \**************************************************/
14409  /*! no static exports found */
14410  /***/ (function(module, exports, __webpack_require__) {
14411  
14412  var is = __webpack_require__(/*! ./is */ "./node_modules/good-listener/src/is.js");
14413  var delegate = __webpack_require__(/*! delegate */ "./node_modules/delegate/src/delegate.js");
14414  
14415  /**
14416   * Validates all params and calls the right
14417   * listener function based on its target type.
14418   *
14419   * @param {String|HTMLElement|HTMLCollection|NodeList} target
14420   * @param {String} type
14421   * @param {Function} callback
14422   * @return {Object}
14423   */
14424  function listen(target, type, callback) {
14425      if (!target && !type && !callback) {
14426          throw new Error('Missing required arguments');
14427      }
14428  
14429      if (!is.string(type)) {
14430          throw new TypeError('Second argument must be a String');
14431      }
14432  
14433      if (!is.fn(callback)) {
14434          throw new TypeError('Third argument must be a Function');
14435      }
14436  
14437      if (is.node(target)) {
14438          return listenNode(target, type, callback);
14439      }
14440      else if (is.nodeList(target)) {
14441          return listenNodeList(target, type, callback);
14442      }
14443      else if (is.string(target)) {
14444          return listenSelector(target, type, callback);
14445      }
14446      else {
14447          throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');
14448      }
14449  }
14450  
14451  /**
14452   * Adds an event listener to a HTML element
14453   * and returns a remove listener function.
14454   *
14455   * @param {HTMLElement} node
14456   * @param {String} type
14457   * @param {Function} callback
14458   * @return {Object}
14459   */
14460  function listenNode(node, type, callback) {
14461      node.addEventListener(type, callback);
14462  
14463      return {
14464          destroy: function() {
14465              node.removeEventListener(type, callback);
14466          }
14467      }
14468  }
14469  
14470  /**
14471   * Add an event listener to a list of HTML elements
14472   * and returns a remove listener function.
14473   *
14474   * @param {NodeList|HTMLCollection} nodeList
14475   * @param {String} type
14476   * @param {Function} callback
14477   * @return {Object}
14478   */
14479  function listenNodeList(nodeList, type, callback) {
14480      Array.prototype.forEach.call(nodeList, function(node) {
14481          node.addEventListener(type, callback);
14482      });
14483  
14484      return {
14485          destroy: function() {
14486              Array.prototype.forEach.call(nodeList, function(node) {
14487                  node.removeEventListener(type, callback);
14488              });
14489          }
14490      }
14491  }
14492  
14493  /**
14494   * Add an event listener to a selector
14495   * and returns a remove listener function.
14496   *
14497   * @param {String} selector
14498   * @param {String} type
14499   * @param {Function} callback
14500   * @return {Object}
14501   */
14502  function listenSelector(selector, type, callback) {
14503      return delegate(document.body, selector, type, callback);
14504  }
14505  
14506  module.exports = listen;
14507  
14508  
14509  /***/ }),
14510  
14511  /***/ "./node_modules/gud/index.js":
14512  /*!***********************************!*\
14513    !*** ./node_modules/gud/index.js ***!
14514    \***********************************/
14515  /*! no static exports found */
14516  /***/ (function(module, exports, __webpack_require__) {
14517  
14518  "use strict";
14519  /* WEBPACK VAR INJECTION */(function(global) {// @flow
14520  
14521  
14522  var key = '__global_unique_id__';
14523  
14524  module.exports = function() {
14525    return global[key] = (global[key] || 0) + 1;
14526  };
14527  
14528  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
14529  
14530  /***/ }),
14531  
14532  /***/ "./node_modules/hoist-non-react-statics/index.js":
14533  /*!*******************************************************!*\
14534    !*** ./node_modules/hoist-non-react-statics/index.js ***!
14535    \*******************************************************/
14536  /*! no static exports found */
14537  /***/ (function(module, exports, __webpack_require__) {
14538  
14539  "use strict";
14540  /**
14541   * Copyright 2015, Yahoo! Inc.
14542   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
14543   */
14544  
14545  
14546  var REACT_STATICS = {
14547      childContextTypes: true,
14548      contextTypes: true,
14549      defaultProps: true,
14550      displayName: true,
14551      getDefaultProps: true,
14552      mixins: true,
14553      propTypes: true,
14554      type: true
14555  };
14556  
14557  var KNOWN_STATICS = {
14558      name: true,
14559      length: true,
14560      prototype: true,
14561      caller: true,
14562      arguments: true,
14563      arity: true
14564  };
14565  
14566  var isGetOwnPropertySymbolsAvailable = typeof Object.getOwnPropertySymbols === 'function';
14567  
14568  module.exports = function hoistNonReactStatics(targetComponent, sourceComponent, customStatics) {
14569      if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components
14570          var keys = Object.getOwnPropertyNames(sourceComponent);
14571  
14572          /* istanbul ignore else */
14573          if (isGetOwnPropertySymbolsAvailable) {
14574              keys = keys.concat(Object.getOwnPropertySymbols(sourceComponent));
14575          }
14576  
14577          for (var i = 0; i < keys.length; ++i) {
14578              if (!REACT_STATICS[keys[i]] && !KNOWN_STATICS[keys[i]] && (!customStatics || !customStatics[keys[i]])) {
14579                  try {
14580                      targetComponent[keys[i]] = sourceComponent[keys[i]];
14581                  } catch (error) {
14582  
14583                  }
14584              }
14585          }
14586      }
14587  
14588      return targetComponent;
14589  };
14590  
14591  
14592  /***/ }),
14593  
14594  /***/ "./node_modules/lodash/_DataView.js":
14595  /*!******************************************!*\
14596    !*** ./node_modules/lodash/_DataView.js ***!
14597    \******************************************/
14598  /*! no static exports found */
14599  /***/ (function(module, exports, __webpack_require__) {
14600  
14601  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
14602      root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14603  
14604  /* Built-in method references that are verified to be native. */
14605  var DataView = getNative(root, 'DataView');
14606  
14607  module.exports = DataView;
14608  
14609  
14610  /***/ }),
14611  
14612  /***/ "./node_modules/lodash/_Hash.js":
14613  /*!**************************************!*\
14614    !*** ./node_modules/lodash/_Hash.js ***!
14615    \**************************************/
14616  /*! no static exports found */
14617  /***/ (function(module, exports, __webpack_require__) {
14618  
14619  var hashClear = __webpack_require__(/*! ./_hashClear */ "./node_modules/lodash/_hashClear.js"),
14620      hashDelete = __webpack_require__(/*! ./_hashDelete */ "./node_modules/lodash/_hashDelete.js"),
14621      hashGet = __webpack_require__(/*! ./_hashGet */ "./node_modules/lodash/_hashGet.js"),
14622      hashHas = __webpack_require__(/*! ./_hashHas */ "./node_modules/lodash/_hashHas.js"),
14623      hashSet = __webpack_require__(/*! ./_hashSet */ "./node_modules/lodash/_hashSet.js");
14624  
14625  /**
14626   * Creates a hash object.
14627   *
14628   * @private
14629   * @constructor
14630   * @param {Array} [entries] The key-value pairs to cache.
14631   */
14632  function Hash(entries) {
14633    var index = -1,
14634        length = entries == null ? 0 : entries.length;
14635  
14636    this.clear();
14637    while (++index < length) {
14638      var entry = entries[index];
14639      this.set(entry[0], entry[1]);
14640    }
14641  }
14642  
14643  // Add methods to `Hash`.
14644  Hash.prototype.clear = hashClear;
14645  Hash.prototype['delete'] = hashDelete;
14646  Hash.prototype.get = hashGet;
14647  Hash.prototype.has = hashHas;
14648  Hash.prototype.set = hashSet;
14649  
14650  module.exports = Hash;
14651  
14652  
14653  /***/ }),
14654  
14655  /***/ "./node_modules/lodash/_ListCache.js":
14656  /*!*******************************************!*\
14657    !*** ./node_modules/lodash/_ListCache.js ***!
14658    \*******************************************/
14659  /*! no static exports found */
14660  /***/ (function(module, exports, __webpack_require__) {
14661  
14662  var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ "./node_modules/lodash/_listCacheClear.js"),
14663      listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ "./node_modules/lodash/_listCacheDelete.js"),
14664      listCacheGet = __webpack_require__(/*! ./_listCacheGet */ "./node_modules/lodash/_listCacheGet.js"),
14665      listCacheHas = __webpack_require__(/*! ./_listCacheHas */ "./node_modules/lodash/_listCacheHas.js"),
14666      listCacheSet = __webpack_require__(/*! ./_listCacheSet */ "./node_modules/lodash/_listCacheSet.js");
14667  
14668  /**
14669   * Creates an list cache object.
14670   *
14671   * @private
14672   * @constructor
14673   * @param {Array} [entries] The key-value pairs to cache.
14674   */
14675  function ListCache(entries) {
14676    var index = -1,
14677        length = entries == null ? 0 : entries.length;
14678  
14679    this.clear();
14680    while (++index < length) {
14681      var entry = entries[index];
14682      this.set(entry[0], entry[1]);
14683    }
14684  }
14685  
14686  // Add methods to `ListCache`.
14687  ListCache.prototype.clear = listCacheClear;
14688  ListCache.prototype['delete'] = listCacheDelete;
14689  ListCache.prototype.get = listCacheGet;
14690  ListCache.prototype.has = listCacheHas;
14691  ListCache.prototype.set = listCacheSet;
14692  
14693  module.exports = ListCache;
14694  
14695  
14696  /***/ }),
14697  
14698  /***/ "./node_modules/lodash/_Map.js":
14699  /*!*************************************!*\
14700    !*** ./node_modules/lodash/_Map.js ***!
14701    \*************************************/
14702  /*! no static exports found */
14703  /***/ (function(module, exports, __webpack_require__) {
14704  
14705  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
14706      root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14707  
14708  /* Built-in method references that are verified to be native. */
14709  var Map = getNative(root, 'Map');
14710  
14711  module.exports = Map;
14712  
14713  
14714  /***/ }),
14715  
14716  /***/ "./node_modules/lodash/_MapCache.js":
14717  /*!******************************************!*\
14718    !*** ./node_modules/lodash/_MapCache.js ***!
14719    \******************************************/
14720  /*! no static exports found */
14721  /***/ (function(module, exports, __webpack_require__) {
14722  
14723  var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ "./node_modules/lodash/_mapCacheClear.js"),
14724      mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ "./node_modules/lodash/_mapCacheDelete.js"),
14725      mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ "./node_modules/lodash/_mapCacheGet.js"),
14726      mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ "./node_modules/lodash/_mapCacheHas.js"),
14727      mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ "./node_modules/lodash/_mapCacheSet.js");
14728  
14729  /**
14730   * Creates a map cache object to store key-value pairs.
14731   *
14732   * @private
14733   * @constructor
14734   * @param {Array} [entries] The key-value pairs to cache.
14735   */
14736  function MapCache(entries) {
14737    var index = -1,
14738        length = entries == null ? 0 : entries.length;
14739  
14740    this.clear();
14741    while (++index < length) {
14742      var entry = entries[index];
14743      this.set(entry[0], entry[1]);
14744    }
14745  }
14746  
14747  // Add methods to `MapCache`.
14748  MapCache.prototype.clear = mapCacheClear;
14749  MapCache.prototype['delete'] = mapCacheDelete;
14750  MapCache.prototype.get = mapCacheGet;
14751  MapCache.prototype.has = mapCacheHas;
14752  MapCache.prototype.set = mapCacheSet;
14753  
14754  module.exports = MapCache;
14755  
14756  
14757  /***/ }),
14758  
14759  /***/ "./node_modules/lodash/_Promise.js":
14760  /*!*****************************************!*\
14761    !*** ./node_modules/lodash/_Promise.js ***!
14762    \*****************************************/
14763  /*! no static exports found */
14764  /***/ (function(module, exports, __webpack_require__) {
14765  
14766  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
14767      root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14768  
14769  /* Built-in method references that are verified to be native. */
14770  var Promise = getNative(root, 'Promise');
14771  
14772  module.exports = Promise;
14773  
14774  
14775  /***/ }),
14776  
14777  /***/ "./node_modules/lodash/_Set.js":
14778  /*!*************************************!*\
14779    !*** ./node_modules/lodash/_Set.js ***!
14780    \*************************************/
14781  /*! no static exports found */
14782  /***/ (function(module, exports, __webpack_require__) {
14783  
14784  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
14785      root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14786  
14787  /* Built-in method references that are verified to be native. */
14788  var Set = getNative(root, 'Set');
14789  
14790  module.exports = Set;
14791  
14792  
14793  /***/ }),
14794  
14795  /***/ "./node_modules/lodash/_SetCache.js":
14796  /*!******************************************!*\
14797    !*** ./node_modules/lodash/_SetCache.js ***!
14798    \******************************************/
14799  /*! no static exports found */
14800  /***/ (function(module, exports, __webpack_require__) {
14801  
14802  var MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js"),
14803      setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ "./node_modules/lodash/_setCacheAdd.js"),
14804      setCacheHas = __webpack_require__(/*! ./_setCacheHas */ "./node_modules/lodash/_setCacheHas.js");
14805  
14806  /**
14807   *
14808   * Creates an array cache object to store unique values.
14809   *
14810   * @private
14811   * @constructor
14812   * @param {Array} [values] The values to cache.
14813   */
14814  function SetCache(values) {
14815    var index = -1,
14816        length = values == null ? 0 : values.length;
14817  
14818    this.__data__ = new MapCache;
14819    while (++index < length) {
14820      this.add(values[index]);
14821    }
14822  }
14823  
14824  // Add methods to `SetCache`.
14825  SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
14826  SetCache.prototype.has = setCacheHas;
14827  
14828  module.exports = SetCache;
14829  
14830  
14831  /***/ }),
14832  
14833  /***/ "./node_modules/lodash/_Stack.js":
14834  /*!***************************************!*\
14835    !*** ./node_modules/lodash/_Stack.js ***!
14836    \***************************************/
14837  /*! no static exports found */
14838  /***/ (function(module, exports, __webpack_require__) {
14839  
14840  var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
14841      stackClear = __webpack_require__(/*! ./_stackClear */ "./node_modules/lodash/_stackClear.js"),
14842      stackDelete = __webpack_require__(/*! ./_stackDelete */ "./node_modules/lodash/_stackDelete.js"),
14843      stackGet = __webpack_require__(/*! ./_stackGet */ "./node_modules/lodash/_stackGet.js"),
14844      stackHas = __webpack_require__(/*! ./_stackHas */ "./node_modules/lodash/_stackHas.js"),
14845      stackSet = __webpack_require__(/*! ./_stackSet */ "./node_modules/lodash/_stackSet.js");
14846  
14847  /**
14848   * Creates a stack cache object to store key-value pairs.
14849   *
14850   * @private
14851   * @constructor
14852   * @param {Array} [entries] The key-value pairs to cache.
14853   */
14854  function Stack(entries) {
14855    var data = this.__data__ = new ListCache(entries);
14856    this.size = data.size;
14857  }
14858  
14859  // Add methods to `Stack`.
14860  Stack.prototype.clear = stackClear;
14861  Stack.prototype['delete'] = stackDelete;
14862  Stack.prototype.get = stackGet;
14863  Stack.prototype.has = stackHas;
14864  Stack.prototype.set = stackSet;
14865  
14866  module.exports = Stack;
14867  
14868  
14869  /***/ }),
14870  
14871  /***/ "./node_modules/lodash/_Symbol.js":
14872  /*!****************************************!*\
14873    !*** ./node_modules/lodash/_Symbol.js ***!
14874    \****************************************/
14875  /*! no static exports found */
14876  /***/ (function(module, exports, __webpack_require__) {
14877  
14878  var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14879  
14880  /** Built-in value references. */
14881  var Symbol = root.Symbol;
14882  
14883  module.exports = Symbol;
14884  
14885  
14886  /***/ }),
14887  
14888  /***/ "./node_modules/lodash/_Uint8Array.js":
14889  /*!********************************************!*\
14890    !*** ./node_modules/lodash/_Uint8Array.js ***!
14891    \********************************************/
14892  /*! no static exports found */
14893  /***/ (function(module, exports, __webpack_require__) {
14894  
14895  var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14896  
14897  /** Built-in value references. */
14898  var Uint8Array = root.Uint8Array;
14899  
14900  module.exports = Uint8Array;
14901  
14902  
14903  /***/ }),
14904  
14905  /***/ "./node_modules/lodash/_WeakMap.js":
14906  /*!*****************************************!*\
14907    !*** ./node_modules/lodash/_WeakMap.js ***!
14908    \*****************************************/
14909  /*! no static exports found */
14910  /***/ (function(module, exports, __webpack_require__) {
14911  
14912  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js"),
14913      root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
14914  
14915  /* Built-in method references that are verified to be native. */
14916  var WeakMap = getNative(root, 'WeakMap');
14917  
14918  module.exports = WeakMap;
14919  
14920  
14921  /***/ }),
14922  
14923  /***/ "./node_modules/lodash/_arrayEach.js":
14924  /*!*******************************************!*\
14925    !*** ./node_modules/lodash/_arrayEach.js ***!
14926    \*******************************************/
14927  /*! no static exports found */
14928  /***/ (function(module, exports) {
14929  
14930  /**
14931   * A specialized version of `_.forEach` for arrays without support for
14932   * iteratee shorthands.
14933   *
14934   * @private
14935   * @param {Array} [array] The array to iterate over.
14936   * @param {Function} iteratee The function invoked per iteration.
14937   * @returns {Array} Returns `array`.
14938   */
14939  function arrayEach(array, iteratee) {
14940    var index = -1,
14941        length = array == null ? 0 : array.length;
14942  
14943    while (++index < length) {
14944      if (iteratee(array[index], index, array) === false) {
14945        break;
14946      }
14947    }
14948    return array;
14949  }
14950  
14951  module.exports = arrayEach;
14952  
14953  
14954  /***/ }),
14955  
14956  /***/ "./node_modules/lodash/_arrayFilter.js":
14957  /*!*********************************************!*\
14958    !*** ./node_modules/lodash/_arrayFilter.js ***!
14959    \*********************************************/
14960  /*! no static exports found */
14961  /***/ (function(module, exports) {
14962  
14963  /**
14964   * A specialized version of `_.filter` for arrays without support for
14965   * iteratee shorthands.
14966   *
14967   * @private
14968   * @param {Array} [array] The array to iterate over.
14969   * @param {Function} predicate The function invoked per iteration.
14970   * @returns {Array} Returns the new filtered array.
14971   */
14972  function arrayFilter(array, predicate) {
14973    var index = -1,
14974        length = array == null ? 0 : array.length,
14975        resIndex = 0,
14976        result = [];
14977  
14978    while (++index < length) {
14979      var value = array[index];
14980      if (predicate(value, index, array)) {
14981        result[resIndex++] = value;
14982      }
14983    }
14984    return result;
14985  }
14986  
14987  module.exports = arrayFilter;
14988  
14989  
14990  /***/ }),
14991  
14992  /***/ "./node_modules/lodash/_arrayLikeKeys.js":
14993  /*!***********************************************!*\
14994    !*** ./node_modules/lodash/_arrayLikeKeys.js ***!
14995    \***********************************************/
14996  /*! no static exports found */
14997  /***/ (function(module, exports, __webpack_require__) {
14998  
14999  var baseTimes = __webpack_require__(/*! ./_baseTimes */ "./node_modules/lodash/_baseTimes.js"),
15000      isArguments = __webpack_require__(/*! ./isArguments */ "./node_modules/lodash/isArguments.js"),
15001      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
15002      isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
15003      isIndex = __webpack_require__(/*! ./_isIndex */ "./node_modules/lodash/_isIndex.js"),
15004      isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./node_modules/lodash/isTypedArray.js");
15005  
15006  /** Used for built-in method references. */
15007  var objectProto = Object.prototype;
15008  
15009  /** Used to check objects for own properties. */
15010  var hasOwnProperty = objectProto.hasOwnProperty;
15011  
15012  /**
15013   * Creates an array of the enumerable property names of the array-like `value`.
15014   *
15015   * @private
15016   * @param {*} value The value to query.
15017   * @param {boolean} inherited Specify returning inherited property names.
15018   * @returns {Array} Returns the array of property names.
15019   */
15020  function arrayLikeKeys(value, inherited) {
15021    var isArr = isArray(value),
15022        isArg = !isArr && isArguments(value),
15023        isBuff = !isArr && !isArg && isBuffer(value),
15024        isType = !isArr && !isArg && !isBuff && isTypedArray(value),
15025        skipIndexes = isArr || isArg || isBuff || isType,
15026        result = skipIndexes ? baseTimes(value.length, String) : [],
15027        length = result.length;
15028  
15029    for (var key in value) {
15030      if ((inherited || hasOwnProperty.call(value, key)) &&
15031          !(skipIndexes && (
15032             // Safari 9 has enumerable `arguments.length` in strict mode.
15033             key == 'length' ||
15034             // Node.js 0.10 has enumerable non-index properties on buffers.
15035             (isBuff && (key == 'offset' || key == 'parent')) ||
15036             // PhantomJS 2 has enumerable non-index properties on typed arrays.
15037             (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
15038             // Skip index properties.
15039             isIndex(key, length)
15040          ))) {
15041        result.push(key);
15042      }
15043    }
15044    return result;
15045  }
15046  
15047  module.exports = arrayLikeKeys;
15048  
15049  
15050  /***/ }),
15051  
15052  /***/ "./node_modules/lodash/_arrayMap.js":
15053  /*!******************************************!*\
15054    !*** ./node_modules/lodash/_arrayMap.js ***!
15055    \******************************************/
15056  /*! no static exports found */
15057  /***/ (function(module, exports) {
15058  
15059  /**
15060   * A specialized version of `_.map` for arrays without support for iteratee
15061   * shorthands.
15062   *
15063   * @private
15064   * @param {Array} [array] The array to iterate over.
15065   * @param {Function} iteratee The function invoked per iteration.
15066   * @returns {Array} Returns the new mapped array.
15067   */
15068  function arrayMap(array, iteratee) {
15069    var index = -1,
15070        length = array == null ? 0 : array.length,
15071        result = Array(length);
15072  
15073    while (++index < length) {
15074      result[index] = iteratee(array[index], index, array);
15075    }
15076    return result;
15077  }
15078  
15079  module.exports = arrayMap;
15080  
15081  
15082  /***/ }),
15083  
15084  /***/ "./node_modules/lodash/_arrayPush.js":
15085  /*!*******************************************!*\
15086    !*** ./node_modules/lodash/_arrayPush.js ***!
15087    \*******************************************/
15088  /*! no static exports found */
15089  /***/ (function(module, exports) {
15090  
15091  /**
15092   * Appends the elements of `values` to `array`.
15093   *
15094   * @private
15095   * @param {Array} array The array to modify.
15096   * @param {Array} values The values to append.
15097   * @returns {Array} Returns `array`.
15098   */
15099  function arrayPush(array, values) {
15100    var index = -1,
15101        length = values.length,
15102        offset = array.length;
15103  
15104    while (++index < length) {
15105      array[offset + index] = values[index];
15106    }
15107    return array;
15108  }
15109  
15110  module.exports = arrayPush;
15111  
15112  
15113  /***/ }),
15114  
15115  /***/ "./node_modules/lodash/_arraySome.js":
15116  /*!*******************************************!*\
15117    !*** ./node_modules/lodash/_arraySome.js ***!
15118    \*******************************************/
15119  /*! no static exports found */
15120  /***/ (function(module, exports) {
15121  
15122  /**
15123   * A specialized version of `_.some` for arrays without support for iteratee
15124   * shorthands.
15125   *
15126   * @private
15127   * @param {Array} [array] The array to iterate over.
15128   * @param {Function} predicate The function invoked per iteration.
15129   * @returns {boolean} Returns `true` if any element passes the predicate check,
15130   *  else `false`.
15131   */
15132  function arraySome(array, predicate) {
15133    var index = -1,
15134        length = array == null ? 0 : array.length;
15135  
15136    while (++index < length) {
15137      if (predicate(array[index], index, array)) {
15138        return true;
15139      }
15140    }
15141    return false;
15142  }
15143  
15144  module.exports = arraySome;
15145  
15146  
15147  /***/ }),
15148  
15149  /***/ "./node_modules/lodash/_assignValue.js":
15150  /*!*********************************************!*\
15151    !*** ./node_modules/lodash/_assignValue.js ***!
15152    \*********************************************/
15153  /*! no static exports found */
15154  /***/ (function(module, exports, __webpack_require__) {
15155  
15156  var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js"),
15157      eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js");
15158  
15159  /** Used for built-in method references. */
15160  var objectProto = Object.prototype;
15161  
15162  /** Used to check objects for own properties. */
15163  var hasOwnProperty = objectProto.hasOwnProperty;
15164  
15165  /**
15166   * Assigns `value` to `key` of `object` if the existing value is not equivalent
15167   * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
15168   * for equality comparisons.
15169   *
15170   * @private
15171   * @param {Object} object The object to modify.
15172   * @param {string} key The key of the property to assign.
15173   * @param {*} value The value to assign.
15174   */
15175  function assignValue(object, key, value) {
15176    var objValue = object[key];
15177    if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
15178        (value === undefined && !(key in object))) {
15179      baseAssignValue(object, key, value);
15180    }
15181  }
15182  
15183  module.exports = assignValue;
15184  
15185  
15186  /***/ }),
15187  
15188  /***/ "./node_modules/lodash/_assocIndexOf.js":
15189  /*!**********************************************!*\
15190    !*** ./node_modules/lodash/_assocIndexOf.js ***!
15191    \**********************************************/
15192  /*! no static exports found */
15193  /***/ (function(module, exports, __webpack_require__) {
15194  
15195  var eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js");
15196  
15197  /**
15198   * Gets the index at which the `key` is found in `array` of key-value pairs.
15199   *
15200   * @private
15201   * @param {Array} array The array to inspect.
15202   * @param {*} key The key to search for.
15203   * @returns {number} Returns the index of the matched value, else `-1`.
15204   */
15205  function assocIndexOf(array, key) {
15206    var length = array.length;
15207    while (length--) {
15208      if (eq(array[length][0], key)) {
15209        return length;
15210      }
15211    }
15212    return -1;
15213  }
15214  
15215  module.exports = assocIndexOf;
15216  
15217  
15218  /***/ }),
15219  
15220  /***/ "./node_modules/lodash/_baseAssign.js":
15221  /*!********************************************!*\
15222    !*** ./node_modules/lodash/_baseAssign.js ***!
15223    \********************************************/
15224  /*! no static exports found */
15225  /***/ (function(module, exports, __webpack_require__) {
15226  
15227  var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
15228      keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
15229  
15230  /**
15231   * The base implementation of `_.assign` without support for multiple sources
15232   * or `customizer` functions.
15233   *
15234   * @private
15235   * @param {Object} object The destination object.
15236   * @param {Object} source The source object.
15237   * @returns {Object} Returns `object`.
15238   */
15239  function baseAssign(object, source) {
15240    return object && copyObject(source, keys(source), object);
15241  }
15242  
15243  module.exports = baseAssign;
15244  
15245  
15246  /***/ }),
15247  
15248  /***/ "./node_modules/lodash/_baseAssignIn.js":
15249  /*!**********************************************!*\
15250    !*** ./node_modules/lodash/_baseAssignIn.js ***!
15251    \**********************************************/
15252  /*! no static exports found */
15253  /***/ (function(module, exports, __webpack_require__) {
15254  
15255  var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
15256      keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
15257  
15258  /**
15259   * The base implementation of `_.assignIn` without support for multiple sources
15260   * or `customizer` functions.
15261   *
15262   * @private
15263   * @param {Object} object The destination object.
15264   * @param {Object} source The source object.
15265   * @returns {Object} Returns `object`.
15266   */
15267  function baseAssignIn(object, source) {
15268    return object && copyObject(source, keysIn(source), object);
15269  }
15270  
15271  module.exports = baseAssignIn;
15272  
15273  
15274  /***/ }),
15275  
15276  /***/ "./node_modules/lodash/_baseAssignValue.js":
15277  /*!*************************************************!*\
15278    !*** ./node_modules/lodash/_baseAssignValue.js ***!
15279    \*************************************************/
15280  /*! no static exports found */
15281  /***/ (function(module, exports, __webpack_require__) {
15282  
15283  var defineProperty = __webpack_require__(/*! ./_defineProperty */ "./node_modules/lodash/_defineProperty.js");
15284  
15285  /**
15286   * The base implementation of `assignValue` and `assignMergeValue` without
15287   * value checks.
15288   *
15289   * @private
15290   * @param {Object} object The object to modify.
15291   * @param {string} key The key of the property to assign.
15292   * @param {*} value The value to assign.
15293   */
15294  function baseAssignValue(object, key, value) {
15295    if (key == '__proto__' && defineProperty) {
15296      defineProperty(object, key, {
15297        'configurable': true,
15298        'enumerable': true,
15299        'value': value,
15300        'writable': true
15301      });
15302    } else {
15303      object[key] = value;
15304    }
15305  }
15306  
15307  module.exports = baseAssignValue;
15308  
15309  
15310  /***/ }),
15311  
15312  /***/ "./node_modules/lodash/_baseClone.js":
15313  /*!*******************************************!*\
15314    !*** ./node_modules/lodash/_baseClone.js ***!
15315    \*******************************************/
15316  /*! no static exports found */
15317  /***/ (function(module, exports, __webpack_require__) {
15318  
15319  var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
15320      arrayEach = __webpack_require__(/*! ./_arrayEach */ "./node_modules/lodash/_arrayEach.js"),
15321      assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
15322      baseAssign = __webpack_require__(/*! ./_baseAssign */ "./node_modules/lodash/_baseAssign.js"),
15323      baseAssignIn = __webpack_require__(/*! ./_baseAssignIn */ "./node_modules/lodash/_baseAssignIn.js"),
15324      cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ "./node_modules/lodash/_cloneBuffer.js"),
15325      copyArray = __webpack_require__(/*! ./_copyArray */ "./node_modules/lodash/_copyArray.js"),
15326      copySymbols = __webpack_require__(/*! ./_copySymbols */ "./node_modules/lodash/_copySymbols.js"),
15327      copySymbolsIn = __webpack_require__(/*! ./_copySymbolsIn */ "./node_modules/lodash/_copySymbolsIn.js"),
15328      getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "./node_modules/lodash/_getAllKeys.js"),
15329      getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ "./node_modules/lodash/_getAllKeysIn.js"),
15330      getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
15331      initCloneArray = __webpack_require__(/*! ./_initCloneArray */ "./node_modules/lodash/_initCloneArray.js"),
15332      initCloneByTag = __webpack_require__(/*! ./_initCloneByTag */ "./node_modules/lodash/_initCloneByTag.js"),
15333      initCloneObject = __webpack_require__(/*! ./_initCloneObject */ "./node_modules/lodash/_initCloneObject.js"),
15334      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
15335      isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
15336      isMap = __webpack_require__(/*! ./isMap */ "./node_modules/lodash/isMap.js"),
15337      isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
15338      isSet = __webpack_require__(/*! ./isSet */ "./node_modules/lodash/isSet.js"),
15339      keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
15340  
15341  /** Used to compose bitmasks for cloning. */
15342  var CLONE_DEEP_FLAG = 1,
15343      CLONE_FLAT_FLAG = 2,
15344      CLONE_SYMBOLS_FLAG = 4;
15345  
15346  /** `Object#toString` result references. */
15347  var argsTag = '[object Arguments]',
15348      arrayTag = '[object Array]',
15349      boolTag = '[object Boolean]',
15350      dateTag = '[object Date]',
15351      errorTag = '[object Error]',
15352      funcTag = '[object Function]',
15353      genTag = '[object GeneratorFunction]',
15354      mapTag = '[object Map]',
15355      numberTag = '[object Number]',
15356      objectTag = '[object Object]',
15357      regexpTag = '[object RegExp]',
15358      setTag = '[object Set]',
15359      stringTag = '[object String]',
15360      symbolTag = '[object Symbol]',
15361      weakMapTag = '[object WeakMap]';
15362  
15363  var arrayBufferTag = '[object ArrayBuffer]',
15364      dataViewTag = '[object DataView]',
15365      float32Tag = '[object Float32Array]',
15366      float64Tag = '[object Float64Array]',
15367      int8Tag = '[object Int8Array]',
15368      int16Tag = '[object Int16Array]',
15369      int32Tag = '[object Int32Array]',
15370      uint8Tag = '[object Uint8Array]',
15371      uint8ClampedTag = '[object Uint8ClampedArray]',
15372      uint16Tag = '[object Uint16Array]',
15373      uint32Tag = '[object Uint32Array]';
15374  
15375  /** Used to identify `toStringTag` values supported by `_.clone`. */
15376  var cloneableTags = {};
15377  cloneableTags[argsTag] = cloneableTags[arrayTag] =
15378  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
15379  cloneableTags[boolTag] = cloneableTags[dateTag] =
15380  cloneableTags[float32Tag] = cloneableTags[float64Tag] =
15381  cloneableTags[int8Tag] = cloneableTags[int16Tag] =
15382  cloneableTags[int32Tag] = cloneableTags[mapTag] =
15383  cloneableTags[numberTag] = cloneableTags[objectTag] =
15384  cloneableTags[regexpTag] = cloneableTags[setTag] =
15385  cloneableTags[stringTag] = cloneableTags[symbolTag] =
15386  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
15387  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
15388  cloneableTags[errorTag] = cloneableTags[funcTag] =
15389  cloneableTags[weakMapTag] = false;
15390  
15391  /**
15392   * The base implementation of `_.clone` and `_.cloneDeep` which tracks
15393   * traversed objects.
15394   *
15395   * @private
15396   * @param {*} value The value to clone.
15397   * @param {boolean} bitmask The bitmask flags.
15398   *  1 - Deep clone
15399   *  2 - Flatten inherited properties
15400   *  4 - Clone symbols
15401   * @param {Function} [customizer] The function to customize cloning.
15402   * @param {string} [key] The key of `value`.
15403   * @param {Object} [object] The parent object of `value`.
15404   * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
15405   * @returns {*} Returns the cloned value.
15406   */
15407  function baseClone(value, bitmask, customizer, key, object, stack) {
15408    var result,
15409        isDeep = bitmask & CLONE_DEEP_FLAG,
15410        isFlat = bitmask & CLONE_FLAT_FLAG,
15411        isFull = bitmask & CLONE_SYMBOLS_FLAG;
15412  
15413    if (customizer) {
15414      result = object ? customizer(value, key, object, stack) : customizer(value);
15415    }
15416    if (result !== undefined) {
15417      return result;
15418    }
15419    if (!isObject(value)) {
15420      return value;
15421    }
15422    var isArr = isArray(value);
15423    if (isArr) {
15424      result = initCloneArray(value);
15425      if (!isDeep) {
15426        return copyArray(value, result);
15427      }
15428    } else {
15429      var tag = getTag(value),
15430          isFunc = tag == funcTag || tag == genTag;
15431  
15432      if (isBuffer(value)) {
15433        return cloneBuffer(value, isDeep);
15434      }
15435      if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
15436        result = (isFlat || isFunc) ? {} : initCloneObject(value);
15437        if (!isDeep) {
15438          return isFlat
15439            ? copySymbolsIn(value, baseAssignIn(result, value))
15440            : copySymbols(value, baseAssign(result, value));
15441        }
15442      } else {
15443        if (!cloneableTags[tag]) {
15444          return object ? value : {};
15445        }
15446        result = initCloneByTag(value, tag, isDeep);
15447      }
15448    }
15449    // Check for circular references and return its corresponding clone.
15450    stack || (stack = new Stack);
15451    var stacked = stack.get(value);
15452    if (stacked) {
15453      return stacked;
15454    }
15455    stack.set(value, result);
15456  
15457    if (isSet(value)) {
15458      value.forEach(function(subValue) {
15459        result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
15460      });
15461  
15462      return result;
15463    }
15464  
15465    if (isMap(value)) {
15466      value.forEach(function(subValue, key) {
15467        result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
15468      });
15469  
15470      return result;
15471    }
15472  
15473    var keysFunc = isFull
15474      ? (isFlat ? getAllKeysIn : getAllKeys)
15475      : (isFlat ? keysIn : keys);
15476  
15477    var props = isArr ? undefined : keysFunc(value);
15478    arrayEach(props || value, function(subValue, key) {
15479      if (props) {
15480        key = subValue;
15481        subValue = value[key];
15482      }
15483      // Recursively populate clone (susceptible to call stack limits).
15484      assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
15485    });
15486    return result;
15487  }
15488  
15489  module.exports = baseClone;
15490  
15491  
15492  /***/ }),
15493  
15494  /***/ "./node_modules/lodash/_baseCreate.js":
15495  /*!********************************************!*\
15496    !*** ./node_modules/lodash/_baseCreate.js ***!
15497    \********************************************/
15498  /*! no static exports found */
15499  /***/ (function(module, exports, __webpack_require__) {
15500  
15501  var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
15502  
15503  /** Built-in value references. */
15504  var objectCreate = Object.create;
15505  
15506  /**
15507   * The base implementation of `_.create` without support for assigning
15508   * properties to the created object.
15509   *
15510   * @private
15511   * @param {Object} proto The object to inherit from.
15512   * @returns {Object} Returns the new object.
15513   */
15514  var baseCreate = (function() {
15515    function object() {}
15516    return function(proto) {
15517      if (!isObject(proto)) {
15518        return {};
15519      }
15520      if (objectCreate) {
15521        return objectCreate(proto);
15522      }
15523      object.prototype = proto;
15524      var result = new object;
15525      object.prototype = undefined;
15526      return result;
15527    };
15528  }());
15529  
15530  module.exports = baseCreate;
15531  
15532  
15533  /***/ }),
15534  
15535  /***/ "./node_modules/lodash/_baseEach.js":
15536  /*!******************************************!*\
15537    !*** ./node_modules/lodash/_baseEach.js ***!
15538    \******************************************/
15539  /*! no static exports found */
15540  /***/ (function(module, exports, __webpack_require__) {
15541  
15542  var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "./node_modules/lodash/_baseForOwn.js"),
15543      createBaseEach = __webpack_require__(/*! ./_createBaseEach */ "./node_modules/lodash/_createBaseEach.js");
15544  
15545  /**
15546   * The base implementation of `_.forEach` without support for iteratee shorthands.
15547   *
15548   * @private
15549   * @param {Array|Object} collection The collection to iterate over.
15550   * @param {Function} iteratee The function invoked per iteration.
15551   * @returns {Array|Object} Returns `collection`.
15552   */
15553  var baseEach = createBaseEach(baseForOwn);
15554  
15555  module.exports = baseEach;
15556  
15557  
15558  /***/ }),
15559  
15560  /***/ "./node_modules/lodash/_baseFor.js":
15561  /*!*****************************************!*\
15562    !*** ./node_modules/lodash/_baseFor.js ***!
15563    \*****************************************/
15564  /*! no static exports found */
15565  /***/ (function(module, exports, __webpack_require__) {
15566  
15567  var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ "./node_modules/lodash/_createBaseFor.js");
15568  
15569  /**
15570   * The base implementation of `baseForOwn` which iterates over `object`
15571   * properties returned by `keysFunc` and invokes `iteratee` for each property.
15572   * Iteratee functions may exit iteration early by explicitly returning `false`.
15573   *
15574   * @private
15575   * @param {Object} object The object to iterate over.
15576   * @param {Function} iteratee The function invoked per iteration.
15577   * @param {Function} keysFunc The function to get the keys of `object`.
15578   * @returns {Object} Returns `object`.
15579   */
15580  var baseFor = createBaseFor();
15581  
15582  module.exports = baseFor;
15583  
15584  
15585  /***/ }),
15586  
15587  /***/ "./node_modules/lodash/_baseForOwn.js":
15588  /*!********************************************!*\
15589    !*** ./node_modules/lodash/_baseForOwn.js ***!
15590    \********************************************/
15591  /*! no static exports found */
15592  /***/ (function(module, exports, __webpack_require__) {
15593  
15594  var baseFor = __webpack_require__(/*! ./_baseFor */ "./node_modules/lodash/_baseFor.js"),
15595      keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
15596  
15597  /**
15598   * The base implementation of `_.forOwn` without support for iteratee shorthands.
15599   *
15600   * @private
15601   * @param {Object} object The object to iterate over.
15602   * @param {Function} iteratee The function invoked per iteration.
15603   * @returns {Object} Returns `object`.
15604   */
15605  function baseForOwn(object, iteratee) {
15606    return object && baseFor(object, iteratee, keys);
15607  }
15608  
15609  module.exports = baseForOwn;
15610  
15611  
15612  /***/ }),
15613  
15614  /***/ "./node_modules/lodash/_baseGet.js":
15615  /*!*****************************************!*\
15616    !*** ./node_modules/lodash/_baseGet.js ***!
15617    \*****************************************/
15618  /*! no static exports found */
15619  /***/ (function(module, exports, __webpack_require__) {
15620  
15621  var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
15622      toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
15623  
15624  /**
15625   * The base implementation of `_.get` without support for default values.
15626   *
15627   * @private
15628   * @param {Object} object The object to query.
15629   * @param {Array|string} path The path of the property to get.
15630   * @returns {*} Returns the resolved value.
15631   */
15632  function baseGet(object, path) {
15633    path = castPath(path, object);
15634  
15635    var index = 0,
15636        length = path.length;
15637  
15638    while (object != null && index < length) {
15639      object = object[toKey(path[index++])];
15640    }
15641    return (index && index == length) ? object : undefined;
15642  }
15643  
15644  module.exports = baseGet;
15645  
15646  
15647  /***/ }),
15648  
15649  /***/ "./node_modules/lodash/_baseGetAllKeys.js":
15650  /*!************************************************!*\
15651    !*** ./node_modules/lodash/_baseGetAllKeys.js ***!
15652    \************************************************/
15653  /*! no static exports found */
15654  /***/ (function(module, exports, __webpack_require__) {
15655  
15656  var arrayPush = __webpack_require__(/*! ./_arrayPush */ "./node_modules/lodash/_arrayPush.js"),
15657      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
15658  
15659  /**
15660   * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
15661   * `keysFunc` and `symbolsFunc` to get the enumerable property names and
15662   * symbols of `object`.
15663   *
15664   * @private
15665   * @param {Object} object The object to query.
15666   * @param {Function} keysFunc The function to get the keys of `object`.
15667   * @param {Function} symbolsFunc The function to get the symbols of `object`.
15668   * @returns {Array} Returns the array of property names and symbols.
15669   */
15670  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
15671    var result = keysFunc(object);
15672    return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
15673  }
15674  
15675  module.exports = baseGetAllKeys;
15676  
15677  
15678  /***/ }),
15679  
15680  /***/ "./node_modules/lodash/_baseGetTag.js":
15681  /*!********************************************!*\
15682    !*** ./node_modules/lodash/_baseGetTag.js ***!
15683    \********************************************/
15684  /*! no static exports found */
15685  /***/ (function(module, exports, __webpack_require__) {
15686  
15687  var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
15688      getRawTag = __webpack_require__(/*! ./_getRawTag */ "./node_modules/lodash/_getRawTag.js"),
15689      objectToString = __webpack_require__(/*! ./_objectToString */ "./node_modules/lodash/_objectToString.js");
15690  
15691  /** `Object#toString` result references. */
15692  var nullTag = '[object Null]',
15693      undefinedTag = '[object Undefined]';
15694  
15695  /** Built-in value references. */
15696  var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
15697  
15698  /**
15699   * The base implementation of `getTag` without fallbacks for buggy environments.
15700   *
15701   * @private
15702   * @param {*} value The value to query.
15703   * @returns {string} Returns the `toStringTag`.
15704   */
15705  function baseGetTag(value) {
15706    if (value == null) {
15707      return value === undefined ? undefinedTag : nullTag;
15708    }
15709    return (symToStringTag && symToStringTag in Object(value))
15710      ? getRawTag(value)
15711      : objectToString(value);
15712  }
15713  
15714  module.exports = baseGetTag;
15715  
15716  
15717  /***/ }),
15718  
15719  /***/ "./node_modules/lodash/_baseHasIn.js":
15720  /*!*******************************************!*\
15721    !*** ./node_modules/lodash/_baseHasIn.js ***!
15722    \*******************************************/
15723  /*! no static exports found */
15724  /***/ (function(module, exports) {
15725  
15726  /**
15727   * The base implementation of `_.hasIn` without support for deep paths.
15728   *
15729   * @private
15730   * @param {Object} [object] The object to query.
15731   * @param {Array|string} key The key to check.
15732   * @returns {boolean} Returns `true` if `key` exists, else `false`.
15733   */
15734  function baseHasIn(object, key) {
15735    return object != null && key in Object(object);
15736  }
15737  
15738  module.exports = baseHasIn;
15739  
15740  
15741  /***/ }),
15742  
15743  /***/ "./node_modules/lodash/_baseIsArguments.js":
15744  /*!*************************************************!*\
15745    !*** ./node_modules/lodash/_baseIsArguments.js ***!
15746    \*************************************************/
15747  /*! no static exports found */
15748  /***/ (function(module, exports, __webpack_require__) {
15749  
15750  var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
15751      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
15752  
15753  /** `Object#toString` result references. */
15754  var argsTag = '[object Arguments]';
15755  
15756  /**
15757   * The base implementation of `_.isArguments`.
15758   *
15759   * @private
15760   * @param {*} value The value to check.
15761   * @returns {boolean} Returns `true` if `value` is an `arguments` object,
15762   */
15763  function baseIsArguments(value) {
15764    return isObjectLike(value) && baseGetTag(value) == argsTag;
15765  }
15766  
15767  module.exports = baseIsArguments;
15768  
15769  
15770  /***/ }),
15771  
15772  /***/ "./node_modules/lodash/_baseIsEqual.js":
15773  /*!*********************************************!*\
15774    !*** ./node_modules/lodash/_baseIsEqual.js ***!
15775    \*********************************************/
15776  /*! no static exports found */
15777  /***/ (function(module, exports, __webpack_require__) {
15778  
15779  var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */ "./node_modules/lodash/_baseIsEqualDeep.js"),
15780      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
15781  
15782  /**
15783   * The base implementation of `_.isEqual` which supports partial comparisons
15784   * and tracks traversed objects.
15785   *
15786   * @private
15787   * @param {*} value The value to compare.
15788   * @param {*} other The other value to compare.
15789   * @param {boolean} bitmask The bitmask flags.
15790   *  1 - Unordered comparison
15791   *  2 - Partial comparison
15792   * @param {Function} [customizer] The function to customize comparisons.
15793   * @param {Object} [stack] Tracks traversed `value` and `other` objects.
15794   * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
15795   */
15796  function baseIsEqual(value, other, bitmask, customizer, stack) {
15797    if (value === other) {
15798      return true;
15799    }
15800    if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
15801      return value !== value && other !== other;
15802    }
15803    return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
15804  }
15805  
15806  module.exports = baseIsEqual;
15807  
15808  
15809  /***/ }),
15810  
15811  /***/ "./node_modules/lodash/_baseIsEqualDeep.js":
15812  /*!*************************************************!*\
15813    !*** ./node_modules/lodash/_baseIsEqualDeep.js ***!
15814    \*************************************************/
15815  /*! no static exports found */
15816  /***/ (function(module, exports, __webpack_require__) {
15817  
15818  var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
15819      equalArrays = __webpack_require__(/*! ./_equalArrays */ "./node_modules/lodash/_equalArrays.js"),
15820      equalByTag = __webpack_require__(/*! ./_equalByTag */ "./node_modules/lodash/_equalByTag.js"),
15821      equalObjects = __webpack_require__(/*! ./_equalObjects */ "./node_modules/lodash/_equalObjects.js"),
15822      getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
15823      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
15824      isBuffer = __webpack_require__(/*! ./isBuffer */ "./node_modules/lodash/isBuffer.js"),
15825      isTypedArray = __webpack_require__(/*! ./isTypedArray */ "./node_modules/lodash/isTypedArray.js");
15826  
15827  /** Used to compose bitmasks for value comparisons. */
15828  var COMPARE_PARTIAL_FLAG = 1;
15829  
15830  /** `Object#toString` result references. */
15831  var argsTag = '[object Arguments]',
15832      arrayTag = '[object Array]',
15833      objectTag = '[object Object]';
15834  
15835  /** Used for built-in method references. */
15836  var objectProto = Object.prototype;
15837  
15838  /** Used to check objects for own properties. */
15839  var hasOwnProperty = objectProto.hasOwnProperty;
15840  
15841  /**
15842   * A specialized version of `baseIsEqual` for arrays and objects which performs
15843   * deep comparisons and tracks traversed objects enabling objects with circular
15844   * references to be compared.
15845   *
15846   * @private
15847   * @param {Object} object The object to compare.
15848   * @param {Object} other The other object to compare.
15849   * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
15850   * @param {Function} customizer The function to customize comparisons.
15851   * @param {Function} equalFunc The function to determine equivalents of values.
15852   * @param {Object} [stack] Tracks traversed `object` and `other` objects.
15853   * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
15854   */
15855  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
15856    var objIsArr = isArray(object),
15857        othIsArr = isArray(other),
15858        objTag = objIsArr ? arrayTag : getTag(object),
15859        othTag = othIsArr ? arrayTag : getTag(other);
15860  
15861    objTag = objTag == argsTag ? objectTag : objTag;
15862    othTag = othTag == argsTag ? objectTag : othTag;
15863  
15864    var objIsObj = objTag == objectTag,
15865        othIsObj = othTag == objectTag,
15866        isSameTag = objTag == othTag;
15867  
15868    if (isSameTag && isBuffer(object)) {
15869      if (!isBuffer(other)) {
15870        return false;
15871      }
15872      objIsArr = true;
15873      objIsObj = false;
15874    }
15875    if (isSameTag && !objIsObj) {
15876      stack || (stack = new Stack);
15877      return (objIsArr || isTypedArray(object))
15878        ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
15879        : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
15880    }
15881    if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
15882      var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
15883          othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
15884  
15885      if (objIsWrapped || othIsWrapped) {
15886        var objUnwrapped = objIsWrapped ? object.value() : object,
15887            othUnwrapped = othIsWrapped ? other.value() : other;
15888  
15889        stack || (stack = new Stack);
15890        return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
15891      }
15892    }
15893    if (!isSameTag) {
15894      return false;
15895    }
15896    stack || (stack = new Stack);
15897    return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
15898  }
15899  
15900  module.exports = baseIsEqualDeep;
15901  
15902  
15903  /***/ }),
15904  
15905  /***/ "./node_modules/lodash/_baseIsMap.js":
15906  /*!*******************************************!*\
15907    !*** ./node_modules/lodash/_baseIsMap.js ***!
15908    \*******************************************/
15909  /*! no static exports found */
15910  /***/ (function(module, exports, __webpack_require__) {
15911  
15912  var getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
15913      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
15914  
15915  /** `Object#toString` result references. */
15916  var mapTag = '[object Map]';
15917  
15918  /**
15919   * The base implementation of `_.isMap` without Node.js optimizations.
15920   *
15921   * @private
15922   * @param {*} value The value to check.
15923   * @returns {boolean} Returns `true` if `value` is a map, else `false`.
15924   */
15925  function baseIsMap(value) {
15926    return isObjectLike(value) && getTag(value) == mapTag;
15927  }
15928  
15929  module.exports = baseIsMap;
15930  
15931  
15932  /***/ }),
15933  
15934  /***/ "./node_modules/lodash/_baseIsMatch.js":
15935  /*!*********************************************!*\
15936    !*** ./node_modules/lodash/_baseIsMatch.js ***!
15937    \*********************************************/
15938  /*! no static exports found */
15939  /***/ (function(module, exports, __webpack_require__) {
15940  
15941  var Stack = __webpack_require__(/*! ./_Stack */ "./node_modules/lodash/_Stack.js"),
15942      baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "./node_modules/lodash/_baseIsEqual.js");
15943  
15944  /** Used to compose bitmasks for value comparisons. */
15945  var COMPARE_PARTIAL_FLAG = 1,
15946      COMPARE_UNORDERED_FLAG = 2;
15947  
15948  /**
15949   * The base implementation of `_.isMatch` without support for iteratee shorthands.
15950   *
15951   * @private
15952   * @param {Object} object The object to inspect.
15953   * @param {Object} source The object of property values to match.
15954   * @param {Array} matchData The property names, values, and compare flags to match.
15955   * @param {Function} [customizer] The function to customize comparisons.
15956   * @returns {boolean} Returns `true` if `object` is a match, else `false`.
15957   */
15958  function baseIsMatch(object, source, matchData, customizer) {
15959    var index = matchData.length,
15960        length = index,
15961        noCustomizer = !customizer;
15962  
15963    if (object == null) {
15964      return !length;
15965    }
15966    object = Object(object);
15967    while (index--) {
15968      var data = matchData[index];
15969      if ((noCustomizer && data[2])
15970            ? data[1] !== object[data[0]]
15971            : !(data[0] in object)
15972          ) {
15973        return false;
15974      }
15975    }
15976    while (++index < length) {
15977      data = matchData[index];
15978      var key = data[0],
15979          objValue = object[key],
15980          srcValue = data[1];
15981  
15982      if (noCustomizer && data[2]) {
15983        if (objValue === undefined && !(key in object)) {
15984          return false;
15985        }
15986      } else {
15987        var stack = new Stack;
15988        if (customizer) {
15989          var result = customizer(objValue, srcValue, key, object, source, stack);
15990        }
15991        if (!(result === undefined
15992              ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
15993              : result
15994            )) {
15995          return false;
15996        }
15997      }
15998    }
15999    return true;
16000  }
16001  
16002  module.exports = baseIsMatch;
16003  
16004  
16005  /***/ }),
16006  
16007  /***/ "./node_modules/lodash/_baseIsNative.js":
16008  /*!**********************************************!*\
16009    !*** ./node_modules/lodash/_baseIsNative.js ***!
16010    \**********************************************/
16011  /*! no static exports found */
16012  /***/ (function(module, exports, __webpack_require__) {
16013  
16014  var isFunction = __webpack_require__(/*! ./isFunction */ "./node_modules/lodash/isFunction.js"),
16015      isMasked = __webpack_require__(/*! ./_isMasked */ "./node_modules/lodash/_isMasked.js"),
16016      isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
16017      toSource = __webpack_require__(/*! ./_toSource */ "./node_modules/lodash/_toSource.js");
16018  
16019  /**
16020   * Used to match `RegExp`
16021   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
16022   */
16023  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
16024  
16025  /** Used to detect host constructors (Safari). */
16026  var reIsHostCtor = /^\[object .+?Constructor\]$/;
16027  
16028  /** Used for built-in method references. */
16029  var funcProto = Function.prototype,
16030      objectProto = Object.prototype;
16031  
16032  /** Used to resolve the decompiled source of functions. */
16033  var funcToString = funcProto.toString;
16034  
16035  /** Used to check objects for own properties. */
16036  var hasOwnProperty = objectProto.hasOwnProperty;
16037  
16038  /** Used to detect if a method is native. */
16039  var reIsNative = RegExp('^' +
16040    funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
16041    .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
16042  );
16043  
16044  /**
16045   * The base implementation of `_.isNative` without bad shim checks.
16046   *
16047   * @private
16048   * @param {*} value The value to check.
16049   * @returns {boolean} Returns `true` if `value` is a native function,
16050   *  else `false`.
16051   */
16052  function baseIsNative(value) {
16053    if (!isObject(value) || isMasked(value)) {
16054      return false;
16055    }
16056    var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
16057    return pattern.test(toSource(value));
16058  }
16059  
16060  module.exports = baseIsNative;
16061  
16062  
16063  /***/ }),
16064  
16065  /***/ "./node_modules/lodash/_baseIsSet.js":
16066  /*!*******************************************!*\
16067    !*** ./node_modules/lodash/_baseIsSet.js ***!
16068    \*******************************************/
16069  /*! no static exports found */
16070  /***/ (function(module, exports, __webpack_require__) {
16071  
16072  var getTag = __webpack_require__(/*! ./_getTag */ "./node_modules/lodash/_getTag.js"),
16073      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
16074  
16075  /** `Object#toString` result references. */
16076  var setTag = '[object Set]';
16077  
16078  /**
16079   * The base implementation of `_.isSet` without Node.js optimizations.
16080   *
16081   * @private
16082   * @param {*} value The value to check.
16083   * @returns {boolean} Returns `true` if `value` is a set, else `false`.
16084   */
16085  function baseIsSet(value) {
16086    return isObjectLike(value) && getTag(value) == setTag;
16087  }
16088  
16089  module.exports = baseIsSet;
16090  
16091  
16092  /***/ }),
16093  
16094  /***/ "./node_modules/lodash/_baseIsTypedArray.js":
16095  /*!**************************************************!*\
16096    !*** ./node_modules/lodash/_baseIsTypedArray.js ***!
16097    \**************************************************/
16098  /*! no static exports found */
16099  /***/ (function(module, exports, __webpack_require__) {
16100  
16101  var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
16102      isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js"),
16103      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
16104  
16105  /** `Object#toString` result references. */
16106  var argsTag = '[object Arguments]',
16107      arrayTag = '[object Array]',
16108      boolTag = '[object Boolean]',
16109      dateTag = '[object Date]',
16110      errorTag = '[object Error]',
16111      funcTag = '[object Function]',
16112      mapTag = '[object Map]',
16113      numberTag = '[object Number]',
16114      objectTag = '[object Object]',
16115      regexpTag = '[object RegExp]',
16116      setTag = '[object Set]',
16117      stringTag = '[object String]',
16118      weakMapTag = '[object WeakMap]';
16119  
16120  var arrayBufferTag = '[object ArrayBuffer]',
16121      dataViewTag = '[object DataView]',
16122      float32Tag = '[object Float32Array]',
16123      float64Tag = '[object Float64Array]',
16124      int8Tag = '[object Int8Array]',
16125      int16Tag = '[object Int16Array]',
16126      int32Tag = '[object Int32Array]',
16127      uint8Tag = '[object Uint8Array]',
16128      uint8ClampedTag = '[object Uint8ClampedArray]',
16129      uint16Tag = '[object Uint16Array]',
16130      uint32Tag = '[object Uint32Array]';
16131  
16132  /** Used to identify `toStringTag` values of typed arrays. */
16133  var typedArrayTags = {};
16134  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
16135  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
16136  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
16137  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
16138  typedArrayTags[uint32Tag] = true;
16139  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
16140  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
16141  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
16142  typedArrayTags[errorTag] = typedArrayTags[funcTag] =
16143  typedArrayTags[mapTag] = typedArrayTags[numberTag] =
16144  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
16145  typedArrayTags[setTag] = typedArrayTags[stringTag] =
16146  typedArrayTags[weakMapTag] = false;
16147  
16148  /**
16149   * The base implementation of `_.isTypedArray` without Node.js optimizations.
16150   *
16151   * @private
16152   * @param {*} value The value to check.
16153   * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
16154   */
16155  function baseIsTypedArray(value) {
16156    return isObjectLike(value) &&
16157      isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
16158  }
16159  
16160  module.exports = baseIsTypedArray;
16161  
16162  
16163  /***/ }),
16164  
16165  /***/ "./node_modules/lodash/_baseIteratee.js":
16166  /*!**********************************************!*\
16167    !*** ./node_modules/lodash/_baseIteratee.js ***!
16168    \**********************************************/
16169  /*! no static exports found */
16170  /***/ (function(module, exports, __webpack_require__) {
16171  
16172  var baseMatches = __webpack_require__(/*! ./_baseMatches */ "./node_modules/lodash/_baseMatches.js"),
16173      baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */ "./node_modules/lodash/_baseMatchesProperty.js"),
16174      identity = __webpack_require__(/*! ./identity */ "./node_modules/lodash/identity.js"),
16175      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
16176      property = __webpack_require__(/*! ./property */ "./node_modules/lodash/property.js");
16177  
16178  /**
16179   * The base implementation of `_.iteratee`.
16180   *
16181   * @private
16182   * @param {*} [value=_.identity] The value to convert to an iteratee.
16183   * @returns {Function} Returns the iteratee.
16184   */
16185  function baseIteratee(value) {
16186    // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
16187    // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
16188    if (typeof value == 'function') {
16189      return value;
16190    }
16191    if (value == null) {
16192      return identity;
16193    }
16194    if (typeof value == 'object') {
16195      return isArray(value)
16196        ? baseMatchesProperty(value[0], value[1])
16197        : baseMatches(value);
16198    }
16199    return property(value);
16200  }
16201  
16202  module.exports = baseIteratee;
16203  
16204  
16205  /***/ }),
16206  
16207  /***/ "./node_modules/lodash/_baseKeys.js":
16208  /*!******************************************!*\
16209    !*** ./node_modules/lodash/_baseKeys.js ***!
16210    \******************************************/
16211  /*! no static exports found */
16212  /***/ (function(module, exports, __webpack_require__) {
16213  
16214  var isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js"),
16215      nativeKeys = __webpack_require__(/*! ./_nativeKeys */ "./node_modules/lodash/_nativeKeys.js");
16216  
16217  /** Used for built-in method references. */
16218  var objectProto = Object.prototype;
16219  
16220  /** Used to check objects for own properties. */
16221  var hasOwnProperty = objectProto.hasOwnProperty;
16222  
16223  /**
16224   * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
16225   *
16226   * @private
16227   * @param {Object} object The object to query.
16228   * @returns {Array} Returns the array of property names.
16229   */
16230  function baseKeys(object) {
16231    if (!isPrototype(object)) {
16232      return nativeKeys(object);
16233    }
16234    var result = [];
16235    for (var key in Object(object)) {
16236      if (hasOwnProperty.call(object, key) && key != 'constructor') {
16237        result.push(key);
16238      }
16239    }
16240    return result;
16241  }
16242  
16243  module.exports = baseKeys;
16244  
16245  
16246  /***/ }),
16247  
16248  /***/ "./node_modules/lodash/_baseKeysIn.js":
16249  /*!********************************************!*\
16250    !*** ./node_modules/lodash/_baseKeysIn.js ***!
16251    \********************************************/
16252  /*! no static exports found */
16253  /***/ (function(module, exports, __webpack_require__) {
16254  
16255  var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
16256      isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js"),
16257      nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ "./node_modules/lodash/_nativeKeysIn.js");
16258  
16259  /** Used for built-in method references. */
16260  var objectProto = Object.prototype;
16261  
16262  /** Used to check objects for own properties. */
16263  var hasOwnProperty = objectProto.hasOwnProperty;
16264  
16265  /**
16266   * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
16267   *
16268   * @private
16269   * @param {Object} object The object to query.
16270   * @returns {Array} Returns the array of property names.
16271   */
16272  function baseKeysIn(object) {
16273    if (!isObject(object)) {
16274      return nativeKeysIn(object);
16275    }
16276    var isProto = isPrototype(object),
16277        result = [];
16278  
16279    for (var key in object) {
16280      if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
16281        result.push(key);
16282      }
16283    }
16284    return result;
16285  }
16286  
16287  module.exports = baseKeysIn;
16288  
16289  
16290  /***/ }),
16291  
16292  /***/ "./node_modules/lodash/_baseMap.js":
16293  /*!*****************************************!*\
16294    !*** ./node_modules/lodash/_baseMap.js ***!
16295    \*****************************************/
16296  /*! no static exports found */
16297  /***/ (function(module, exports, __webpack_require__) {
16298  
16299  var baseEach = __webpack_require__(/*! ./_baseEach */ "./node_modules/lodash/_baseEach.js"),
16300      isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
16301  
16302  /**
16303   * The base implementation of `_.map` without support for iteratee shorthands.
16304   *
16305   * @private
16306   * @param {Array|Object} collection The collection to iterate over.
16307   * @param {Function} iteratee The function invoked per iteration.
16308   * @returns {Array} Returns the new mapped array.
16309   */
16310  function baseMap(collection, iteratee) {
16311    var index = -1,
16312        result = isArrayLike(collection) ? Array(collection.length) : [];
16313  
16314    baseEach(collection, function(value, key, collection) {
16315      result[++index] = iteratee(value, key, collection);
16316    });
16317    return result;
16318  }
16319  
16320  module.exports = baseMap;
16321  
16322  
16323  /***/ }),
16324  
16325  /***/ "./node_modules/lodash/_baseMatches.js":
16326  /*!*********************************************!*\
16327    !*** ./node_modules/lodash/_baseMatches.js ***!
16328    \*********************************************/
16329  /*! no static exports found */
16330  /***/ (function(module, exports, __webpack_require__) {
16331  
16332  var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ "./node_modules/lodash/_baseIsMatch.js"),
16333      getMatchData = __webpack_require__(/*! ./_getMatchData */ "./node_modules/lodash/_getMatchData.js"),
16334      matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "./node_modules/lodash/_matchesStrictComparable.js");
16335  
16336  /**
16337   * The base implementation of `_.matches` which doesn't clone `source`.
16338   *
16339   * @private
16340   * @param {Object} source The object of property values to match.
16341   * @returns {Function} Returns the new spec function.
16342   */
16343  function baseMatches(source) {
16344    var matchData = getMatchData(source);
16345    if (matchData.length == 1 && matchData[0][2]) {
16346      return matchesStrictComparable(matchData[0][0], matchData[0][1]);
16347    }
16348    return function(object) {
16349      return object === source || baseIsMatch(object, source, matchData);
16350    };
16351  }
16352  
16353  module.exports = baseMatches;
16354  
16355  
16356  /***/ }),
16357  
16358  /***/ "./node_modules/lodash/_baseMatchesProperty.js":
16359  /*!*****************************************************!*\
16360    !*** ./node_modules/lodash/_baseMatchesProperty.js ***!
16361    \*****************************************************/
16362  /*! no static exports found */
16363  /***/ (function(module, exports, __webpack_require__) {
16364  
16365  var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ "./node_modules/lodash/_baseIsEqual.js"),
16366      get = __webpack_require__(/*! ./get */ "./node_modules/lodash/get.js"),
16367      hasIn = __webpack_require__(/*! ./hasIn */ "./node_modules/lodash/hasIn.js"),
16368      isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
16369      isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "./node_modules/lodash/_isStrictComparable.js"),
16370      matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ "./node_modules/lodash/_matchesStrictComparable.js"),
16371      toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
16372  
16373  /** Used to compose bitmasks for value comparisons. */
16374  var COMPARE_PARTIAL_FLAG = 1,
16375      COMPARE_UNORDERED_FLAG = 2;
16376  
16377  /**
16378   * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
16379   *
16380   * @private
16381   * @param {string} path The path of the property to get.
16382   * @param {*} srcValue The value to match.
16383   * @returns {Function} Returns the new spec function.
16384   */
16385  function baseMatchesProperty(path, srcValue) {
16386    if (isKey(path) && isStrictComparable(srcValue)) {
16387      return matchesStrictComparable(toKey(path), srcValue);
16388    }
16389    return function(object) {
16390      var objValue = get(object, path);
16391      return (objValue === undefined && objValue === srcValue)
16392        ? hasIn(object, path)
16393        : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
16394    };
16395  }
16396  
16397  module.exports = baseMatchesProperty;
16398  
16399  
16400  /***/ }),
16401  
16402  /***/ "./node_modules/lodash/_baseProperty.js":
16403  /*!**********************************************!*\
16404    !*** ./node_modules/lodash/_baseProperty.js ***!
16405    \**********************************************/
16406  /*! no static exports found */
16407  /***/ (function(module, exports) {
16408  
16409  /**
16410   * The base implementation of `_.property` without support for deep paths.
16411   *
16412   * @private
16413   * @param {string} key The key of the property to get.
16414   * @returns {Function} Returns the new accessor function.
16415   */
16416  function baseProperty(key) {
16417    return function(object) {
16418      return object == null ? undefined : object[key];
16419    };
16420  }
16421  
16422  module.exports = baseProperty;
16423  
16424  
16425  /***/ }),
16426  
16427  /***/ "./node_modules/lodash/_basePropertyDeep.js":
16428  /*!**************************************************!*\
16429    !*** ./node_modules/lodash/_basePropertyDeep.js ***!
16430    \**************************************************/
16431  /*! no static exports found */
16432  /***/ (function(module, exports, __webpack_require__) {
16433  
16434  var baseGet = __webpack_require__(/*! ./_baseGet */ "./node_modules/lodash/_baseGet.js");
16435  
16436  /**
16437   * A specialized version of `baseProperty` which supports deep paths.
16438   *
16439   * @private
16440   * @param {Array|string} path The path of the property to get.
16441   * @returns {Function} Returns the new accessor function.
16442   */
16443  function basePropertyDeep(path) {
16444    return function(object) {
16445      return baseGet(object, path);
16446    };
16447  }
16448  
16449  module.exports = basePropertyDeep;
16450  
16451  
16452  /***/ }),
16453  
16454  /***/ "./node_modules/lodash/_baseTimes.js":
16455  /*!*******************************************!*\
16456    !*** ./node_modules/lodash/_baseTimes.js ***!
16457    \*******************************************/
16458  /*! no static exports found */
16459  /***/ (function(module, exports) {
16460  
16461  /**
16462   * The base implementation of `_.times` without support for iteratee shorthands
16463   * or max array length checks.
16464   *
16465   * @private
16466   * @param {number} n The number of times to invoke `iteratee`.
16467   * @param {Function} iteratee The function invoked per iteration.
16468   * @returns {Array} Returns the array of results.
16469   */
16470  function baseTimes(n, iteratee) {
16471    var index = -1,
16472        result = Array(n);
16473  
16474    while (++index < n) {
16475      result[index] = iteratee(index);
16476    }
16477    return result;
16478  }
16479  
16480  module.exports = baseTimes;
16481  
16482  
16483  /***/ }),
16484  
16485  /***/ "./node_modules/lodash/_baseToString.js":
16486  /*!**********************************************!*\
16487    !*** ./node_modules/lodash/_baseToString.js ***!
16488    \**********************************************/
16489  /*! no static exports found */
16490  /***/ (function(module, exports, __webpack_require__) {
16491  
16492  var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
16493      arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
16494      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
16495      isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
16496  
16497  /** Used as references for various `Number` constants. */
16498  var INFINITY = 1 / 0;
16499  
16500  /** Used to convert symbols to primitives and strings. */
16501  var symbolProto = Symbol ? Symbol.prototype : undefined,
16502      symbolToString = symbolProto ? symbolProto.toString : undefined;
16503  
16504  /**
16505   * The base implementation of `_.toString` which doesn't convert nullish
16506   * values to empty strings.
16507   *
16508   * @private
16509   * @param {*} value The value to process.
16510   * @returns {string} Returns the string.
16511   */
16512  function baseToString(value) {
16513    // Exit early for strings to avoid a performance hit in some environments.
16514    if (typeof value == 'string') {
16515      return value;
16516    }
16517    if (isArray(value)) {
16518      // Recursively convert values (susceptible to call stack limits).
16519      return arrayMap(value, baseToString) + '';
16520    }
16521    if (isSymbol(value)) {
16522      return symbolToString ? symbolToString.call(value) : '';
16523    }
16524    var result = (value + '');
16525    return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
16526  }
16527  
16528  module.exports = baseToString;
16529  
16530  
16531  /***/ }),
16532  
16533  /***/ "./node_modules/lodash/_baseUnary.js":
16534  /*!*******************************************!*\
16535    !*** ./node_modules/lodash/_baseUnary.js ***!
16536    \*******************************************/
16537  /*! no static exports found */
16538  /***/ (function(module, exports) {
16539  
16540  /**
16541   * The base implementation of `_.unary` without support for storing metadata.
16542   *
16543   * @private
16544   * @param {Function} func The function to cap arguments for.
16545   * @returns {Function} Returns the new capped function.
16546   */
16547  function baseUnary(func) {
16548    return function(value) {
16549      return func(value);
16550    };
16551  }
16552  
16553  module.exports = baseUnary;
16554  
16555  
16556  /***/ }),
16557  
16558  /***/ "./node_modules/lodash/_cacheHas.js":
16559  /*!******************************************!*\
16560    !*** ./node_modules/lodash/_cacheHas.js ***!
16561    \******************************************/
16562  /*! no static exports found */
16563  /***/ (function(module, exports) {
16564  
16565  /**
16566   * Checks if a `cache` value for `key` exists.
16567   *
16568   * @private
16569   * @param {Object} cache The cache to query.
16570   * @param {string} key The key of the entry to check.
16571   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
16572   */
16573  function cacheHas(cache, key) {
16574    return cache.has(key);
16575  }
16576  
16577  module.exports = cacheHas;
16578  
16579  
16580  /***/ }),
16581  
16582  /***/ "./node_modules/lodash/_castFunction.js":
16583  /*!**********************************************!*\
16584    !*** ./node_modules/lodash/_castFunction.js ***!
16585    \**********************************************/
16586  /*! no static exports found */
16587  /***/ (function(module, exports, __webpack_require__) {
16588  
16589  var identity = __webpack_require__(/*! ./identity */ "./node_modules/lodash/identity.js");
16590  
16591  /**
16592   * Casts `value` to `identity` if it's not a function.
16593   *
16594   * @private
16595   * @param {*} value The value to inspect.
16596   * @returns {Function} Returns cast function.
16597   */
16598  function castFunction(value) {
16599    return typeof value == 'function' ? value : identity;
16600  }
16601  
16602  module.exports = castFunction;
16603  
16604  
16605  /***/ }),
16606  
16607  /***/ "./node_modules/lodash/_castPath.js":
16608  /*!******************************************!*\
16609    !*** ./node_modules/lodash/_castPath.js ***!
16610    \******************************************/
16611  /*! no static exports found */
16612  /***/ (function(module, exports, __webpack_require__) {
16613  
16614  var isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
16615      isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
16616      stringToPath = __webpack_require__(/*! ./_stringToPath */ "./node_modules/lodash/_stringToPath.js"),
16617      toString = __webpack_require__(/*! ./toString */ "./node_modules/lodash/toString.js");
16618  
16619  /**
16620   * Casts `value` to a path array if it's not one.
16621   *
16622   * @private
16623   * @param {*} value The value to inspect.
16624   * @param {Object} [object] The object to query keys on.
16625   * @returns {Array} Returns the cast property path array.
16626   */
16627  function castPath(value, object) {
16628    if (isArray(value)) {
16629      return value;
16630    }
16631    return isKey(value, object) ? [value] : stringToPath(toString(value));
16632  }
16633  
16634  module.exports = castPath;
16635  
16636  
16637  /***/ }),
16638  
16639  /***/ "./node_modules/lodash/_cloneArrayBuffer.js":
16640  /*!**************************************************!*\
16641    !*** ./node_modules/lodash/_cloneArrayBuffer.js ***!
16642    \**************************************************/
16643  /*! no static exports found */
16644  /***/ (function(module, exports, __webpack_require__) {
16645  
16646  var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "./node_modules/lodash/_Uint8Array.js");
16647  
16648  /**
16649   * Creates a clone of `arrayBuffer`.
16650   *
16651   * @private
16652   * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
16653   * @returns {ArrayBuffer} Returns the cloned array buffer.
16654   */
16655  function cloneArrayBuffer(arrayBuffer) {
16656    var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
16657    new Uint8Array(result).set(new Uint8Array(arrayBuffer));
16658    return result;
16659  }
16660  
16661  module.exports = cloneArrayBuffer;
16662  
16663  
16664  /***/ }),
16665  
16666  /***/ "./node_modules/lodash/_cloneBuffer.js":
16667  /*!*********************************************!*\
16668    !*** ./node_modules/lodash/_cloneBuffer.js ***!
16669    \*********************************************/
16670  /*! no static exports found */
16671  /***/ (function(module, exports, __webpack_require__) {
16672  
16673  /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
16674  
16675  /** Detect free variable `exports`. */
16676  var freeExports =  true && exports && !exports.nodeType && exports;
16677  
16678  /** Detect free variable `module`. */
16679  var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
16680  
16681  /** Detect the popular CommonJS extension `module.exports`. */
16682  var moduleExports = freeModule && freeModule.exports === freeExports;
16683  
16684  /** Built-in value references. */
16685  var Buffer = moduleExports ? root.Buffer : undefined,
16686      allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
16687  
16688  /**
16689   * Creates a clone of  `buffer`.
16690   *
16691   * @private
16692   * @param {Buffer} buffer The buffer to clone.
16693   * @param {boolean} [isDeep] Specify a deep clone.
16694   * @returns {Buffer} Returns the cloned buffer.
16695   */
16696  function cloneBuffer(buffer, isDeep) {
16697    if (isDeep) {
16698      return buffer.slice();
16699    }
16700    var length = buffer.length,
16701        result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
16702  
16703    buffer.copy(result);
16704    return result;
16705  }
16706  
16707  module.exports = cloneBuffer;
16708  
16709  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ "./node_modules/webpack/buildin/module.js")(module)))
16710  
16711  /***/ }),
16712  
16713  /***/ "./node_modules/lodash/_cloneDataView.js":
16714  /*!***********************************************!*\
16715    !*** ./node_modules/lodash/_cloneDataView.js ***!
16716    \***********************************************/
16717  /*! no static exports found */
16718  /***/ (function(module, exports, __webpack_require__) {
16719  
16720  var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js");
16721  
16722  /**
16723   * Creates a clone of `dataView`.
16724   *
16725   * @private
16726   * @param {Object} dataView The data view to clone.
16727   * @param {boolean} [isDeep] Specify a deep clone.
16728   * @returns {Object} Returns the cloned data view.
16729   */
16730  function cloneDataView(dataView, isDeep) {
16731    var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
16732    return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
16733  }
16734  
16735  module.exports = cloneDataView;
16736  
16737  
16738  /***/ }),
16739  
16740  /***/ "./node_modules/lodash/_cloneRegExp.js":
16741  /*!*********************************************!*\
16742    !*** ./node_modules/lodash/_cloneRegExp.js ***!
16743    \*********************************************/
16744  /*! no static exports found */
16745  /***/ (function(module, exports) {
16746  
16747  /** Used to match `RegExp` flags from their coerced string values. */
16748  var reFlags = /\w*$/;
16749  
16750  /**
16751   * Creates a clone of `regexp`.
16752   *
16753   * @private
16754   * @param {Object} regexp The regexp to clone.
16755   * @returns {Object} Returns the cloned regexp.
16756   */
16757  function cloneRegExp(regexp) {
16758    var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
16759    result.lastIndex = regexp.lastIndex;
16760    return result;
16761  }
16762  
16763  module.exports = cloneRegExp;
16764  
16765  
16766  /***/ }),
16767  
16768  /***/ "./node_modules/lodash/_cloneSymbol.js":
16769  /*!*********************************************!*\
16770    !*** ./node_modules/lodash/_cloneSymbol.js ***!
16771    \*********************************************/
16772  /*! no static exports found */
16773  /***/ (function(module, exports, __webpack_require__) {
16774  
16775  var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
16776  
16777  /** Used to convert symbols to primitives and strings. */
16778  var symbolProto = Symbol ? Symbol.prototype : undefined,
16779      symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
16780  
16781  /**
16782   * Creates a clone of the `symbol` object.
16783   *
16784   * @private
16785   * @param {Object} symbol The symbol object to clone.
16786   * @returns {Object} Returns the cloned symbol object.
16787   */
16788  function cloneSymbol(symbol) {
16789    return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
16790  }
16791  
16792  module.exports = cloneSymbol;
16793  
16794  
16795  /***/ }),
16796  
16797  /***/ "./node_modules/lodash/_cloneTypedArray.js":
16798  /*!*************************************************!*\
16799    !*** ./node_modules/lodash/_cloneTypedArray.js ***!
16800    \*************************************************/
16801  /*! no static exports found */
16802  /***/ (function(module, exports, __webpack_require__) {
16803  
16804  var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js");
16805  
16806  /**
16807   * Creates a clone of `typedArray`.
16808   *
16809   * @private
16810   * @param {Object} typedArray The typed array to clone.
16811   * @param {boolean} [isDeep] Specify a deep clone.
16812   * @returns {Object} Returns the cloned typed array.
16813   */
16814  function cloneTypedArray(typedArray, isDeep) {
16815    var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
16816    return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
16817  }
16818  
16819  module.exports = cloneTypedArray;
16820  
16821  
16822  /***/ }),
16823  
16824  /***/ "./node_modules/lodash/_copyArray.js":
16825  /*!*******************************************!*\
16826    !*** ./node_modules/lodash/_copyArray.js ***!
16827    \*******************************************/
16828  /*! no static exports found */
16829  /***/ (function(module, exports) {
16830  
16831  /**
16832   * Copies the values of `source` to `array`.
16833   *
16834   * @private
16835   * @param {Array} source The array to copy values from.
16836   * @param {Array} [array=[]] The array to copy values to.
16837   * @returns {Array} Returns `array`.
16838   */
16839  function copyArray(source, array) {
16840    var index = -1,
16841        length = source.length;
16842  
16843    array || (array = Array(length));
16844    while (++index < length) {
16845      array[index] = source[index];
16846    }
16847    return array;
16848  }
16849  
16850  module.exports = copyArray;
16851  
16852  
16853  /***/ }),
16854  
16855  /***/ "./node_modules/lodash/_copyObject.js":
16856  /*!********************************************!*\
16857    !*** ./node_modules/lodash/_copyObject.js ***!
16858    \********************************************/
16859  /*! no static exports found */
16860  /***/ (function(module, exports, __webpack_require__) {
16861  
16862  var assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
16863      baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js");
16864  
16865  /**
16866   * Copies properties of `source` to `object`.
16867   *
16868   * @private
16869   * @param {Object} source The object to copy properties from.
16870   * @param {Array} props The property identifiers to copy.
16871   * @param {Object} [object={}] The object to copy properties to.
16872   * @param {Function} [customizer] The function to customize copied values.
16873   * @returns {Object} Returns `object`.
16874   */
16875  function copyObject(source, props, object, customizer) {
16876    var isNew = !object;
16877    object || (object = {});
16878  
16879    var index = -1,
16880        length = props.length;
16881  
16882    while (++index < length) {
16883      var key = props[index];
16884  
16885      var newValue = customizer
16886        ? customizer(object[key], source[key], key, object, source)
16887        : undefined;
16888  
16889      if (newValue === undefined) {
16890        newValue = source[key];
16891      }
16892      if (isNew) {
16893        baseAssignValue(object, key, newValue);
16894      } else {
16895        assignValue(object, key, newValue);
16896      }
16897    }
16898    return object;
16899  }
16900  
16901  module.exports = copyObject;
16902  
16903  
16904  /***/ }),
16905  
16906  /***/ "./node_modules/lodash/_copySymbols.js":
16907  /*!*********************************************!*\
16908    !*** ./node_modules/lodash/_copySymbols.js ***!
16909    \*********************************************/
16910  /*! no static exports found */
16911  /***/ (function(module, exports, __webpack_require__) {
16912  
16913  var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
16914      getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js");
16915  
16916  /**
16917   * Copies own symbols of `source` to `object`.
16918   *
16919   * @private
16920   * @param {Object} source The object to copy symbols from.
16921   * @param {Object} [object={}] The object to copy symbols to.
16922   * @returns {Object} Returns `object`.
16923   */
16924  function copySymbols(source, object) {
16925    return copyObject(source, getSymbols(source), object);
16926  }
16927  
16928  module.exports = copySymbols;
16929  
16930  
16931  /***/ }),
16932  
16933  /***/ "./node_modules/lodash/_copySymbolsIn.js":
16934  /*!***********************************************!*\
16935    !*** ./node_modules/lodash/_copySymbolsIn.js ***!
16936    \***********************************************/
16937  /*! no static exports found */
16938  /***/ (function(module, exports, __webpack_require__) {
16939  
16940  var copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
16941      getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ "./node_modules/lodash/_getSymbolsIn.js");
16942  
16943  /**
16944   * Copies own and inherited symbols of `source` to `object`.
16945   *
16946   * @private
16947   * @param {Object} source The object to copy symbols from.
16948   * @param {Object} [object={}] The object to copy symbols to.
16949   * @returns {Object} Returns `object`.
16950   */
16951  function copySymbolsIn(source, object) {
16952    return copyObject(source, getSymbolsIn(source), object);
16953  }
16954  
16955  module.exports = copySymbolsIn;
16956  
16957  
16958  /***/ }),
16959  
16960  /***/ "./node_modules/lodash/_coreJsData.js":
16961  /*!********************************************!*\
16962    !*** ./node_modules/lodash/_coreJsData.js ***!
16963    \********************************************/
16964  /*! no static exports found */
16965  /***/ (function(module, exports, __webpack_require__) {
16966  
16967  var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
16968  
16969  /** Used to detect overreaching core-js shims. */
16970  var coreJsData = root['__core-js_shared__'];
16971  
16972  module.exports = coreJsData;
16973  
16974  
16975  /***/ }),
16976  
16977  /***/ "./node_modules/lodash/_createBaseEach.js":
16978  /*!************************************************!*\
16979    !*** ./node_modules/lodash/_createBaseEach.js ***!
16980    \************************************************/
16981  /*! no static exports found */
16982  /***/ (function(module, exports, __webpack_require__) {
16983  
16984  var isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
16985  
16986  /**
16987   * Creates a `baseEach` or `baseEachRight` function.
16988   *
16989   * @private
16990   * @param {Function} eachFunc The function to iterate over a collection.
16991   * @param {boolean} [fromRight] Specify iterating from right to left.
16992   * @returns {Function} Returns the new base function.
16993   */
16994  function createBaseEach(eachFunc, fromRight) {
16995    return function(collection, iteratee) {
16996      if (collection == null) {
16997        return collection;
16998      }
16999      if (!isArrayLike(collection)) {
17000        return eachFunc(collection, iteratee);
17001      }
17002      var length = collection.length,
17003          index = fromRight ? length : -1,
17004          iterable = Object(collection);
17005  
17006      while ((fromRight ? index-- : ++index < length)) {
17007        if (iteratee(iterable[index], index, iterable) === false) {
17008          break;
17009        }
17010      }
17011      return collection;
17012    };
17013  }
17014  
17015  module.exports = createBaseEach;
17016  
17017  
17018  /***/ }),
17019  
17020  /***/ "./node_modules/lodash/_createBaseFor.js":
17021  /*!***********************************************!*\
17022    !*** ./node_modules/lodash/_createBaseFor.js ***!
17023    \***********************************************/
17024  /*! no static exports found */
17025  /***/ (function(module, exports) {
17026  
17027  /**
17028   * Creates a base function for methods like `_.forIn` and `_.forOwn`.
17029   *
17030   * @private
17031   * @param {boolean} [fromRight] Specify iterating from right to left.
17032   * @returns {Function} Returns the new base function.
17033   */
17034  function createBaseFor(fromRight) {
17035    return function(object, iteratee, keysFunc) {
17036      var index = -1,
17037          iterable = Object(object),
17038          props = keysFunc(object),
17039          length = props.length;
17040  
17041      while (length--) {
17042        var key = props[fromRight ? length : ++index];
17043        if (iteratee(iterable[key], key, iterable) === false) {
17044          break;
17045        }
17046      }
17047      return object;
17048    };
17049  }
17050  
17051  module.exports = createBaseFor;
17052  
17053  
17054  /***/ }),
17055  
17056  /***/ "./node_modules/lodash/_defineProperty.js":
17057  /*!************************************************!*\
17058    !*** ./node_modules/lodash/_defineProperty.js ***!
17059    \************************************************/
17060  /*! no static exports found */
17061  /***/ (function(module, exports, __webpack_require__) {
17062  
17063  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js");
17064  
17065  var defineProperty = (function() {
17066    try {
17067      var func = getNative(Object, 'defineProperty');
17068      func({}, '', {});
17069      return func;
17070    } catch (e) {}
17071  }());
17072  
17073  module.exports = defineProperty;
17074  
17075  
17076  /***/ }),
17077  
17078  /***/ "./node_modules/lodash/_equalArrays.js":
17079  /*!*********************************************!*\
17080    !*** ./node_modules/lodash/_equalArrays.js ***!
17081    \*********************************************/
17082  /*! no static exports found */
17083  /***/ (function(module, exports, __webpack_require__) {
17084  
17085  var SetCache = __webpack_require__(/*! ./_SetCache */ "./node_modules/lodash/_SetCache.js"),
17086      arraySome = __webpack_require__(/*! ./_arraySome */ "./node_modules/lodash/_arraySome.js"),
17087      cacheHas = __webpack_require__(/*! ./_cacheHas */ "./node_modules/lodash/_cacheHas.js");
17088  
17089  /** Used to compose bitmasks for value comparisons. */
17090  var COMPARE_PARTIAL_FLAG = 1,
17091      COMPARE_UNORDERED_FLAG = 2;
17092  
17093  /**
17094   * A specialized version of `baseIsEqualDeep` for arrays with support for
17095   * partial deep comparisons.
17096   *
17097   * @private
17098   * @param {Array} array The array to compare.
17099   * @param {Array} other The other array to compare.
17100   * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
17101   * @param {Function} customizer The function to customize comparisons.
17102   * @param {Function} equalFunc The function to determine equivalents of values.
17103   * @param {Object} stack Tracks traversed `array` and `other` objects.
17104   * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
17105   */
17106  function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
17107    var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
17108        arrLength = array.length,
17109        othLength = other.length;
17110  
17111    if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
17112      return false;
17113    }
17114    // Assume cyclic values are equal.
17115    var stacked = stack.get(array);
17116    if (stacked && stack.get(other)) {
17117      return stacked == other;
17118    }
17119    var index = -1,
17120        result = true,
17121        seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
17122  
17123    stack.set(array, other);
17124    stack.set(other, array);
17125  
17126    // Ignore non-index properties.
17127    while (++index < arrLength) {
17128      var arrValue = array[index],
17129          othValue = other[index];
17130  
17131      if (customizer) {
17132        var compared = isPartial
17133          ? customizer(othValue, arrValue, index, other, array, stack)
17134          : customizer(arrValue, othValue, index, array, other, stack);
17135      }
17136      if (compared !== undefined) {
17137        if (compared) {
17138          continue;
17139        }
17140        result = false;
17141        break;
17142      }
17143      // Recursively compare arrays (susceptible to call stack limits).
17144      if (seen) {
17145        if (!arraySome(other, function(othValue, othIndex) {
17146              if (!cacheHas(seen, othIndex) &&
17147                  (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
17148                return seen.push(othIndex);
17149              }
17150            })) {
17151          result = false;
17152          break;
17153        }
17154      } else if (!(
17155            arrValue === othValue ||
17156              equalFunc(arrValue, othValue, bitmask, customizer, stack)
17157          )) {
17158        result = false;
17159        break;
17160      }
17161    }
17162    stack['delete'](array);
17163    stack['delete'](other);
17164    return result;
17165  }
17166  
17167  module.exports = equalArrays;
17168  
17169  
17170  /***/ }),
17171  
17172  /***/ "./node_modules/lodash/_equalByTag.js":
17173  /*!********************************************!*\
17174    !*** ./node_modules/lodash/_equalByTag.js ***!
17175    \********************************************/
17176  /*! no static exports found */
17177  /***/ (function(module, exports, __webpack_require__) {
17178  
17179  var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js"),
17180      Uint8Array = __webpack_require__(/*! ./_Uint8Array */ "./node_modules/lodash/_Uint8Array.js"),
17181      eq = __webpack_require__(/*! ./eq */ "./node_modules/lodash/eq.js"),
17182      equalArrays = __webpack_require__(/*! ./_equalArrays */ "./node_modules/lodash/_equalArrays.js"),
17183      mapToArray = __webpack_require__(/*! ./_mapToArray */ "./node_modules/lodash/_mapToArray.js"),
17184      setToArray = __webpack_require__(/*! ./_setToArray */ "./node_modules/lodash/_setToArray.js");
17185  
17186  /** Used to compose bitmasks for value comparisons. */
17187  var COMPARE_PARTIAL_FLAG = 1,
17188      COMPARE_UNORDERED_FLAG = 2;
17189  
17190  /** `Object#toString` result references. */
17191  var boolTag = '[object Boolean]',
17192      dateTag = '[object Date]',
17193      errorTag = '[object Error]',
17194      mapTag = '[object Map]',
17195      numberTag = '[object Number]',
17196      regexpTag = '[object RegExp]',
17197      setTag = '[object Set]',
17198      stringTag = '[object String]',
17199      symbolTag = '[object Symbol]';
17200  
17201  var arrayBufferTag = '[object ArrayBuffer]',
17202      dataViewTag = '[object DataView]';
17203  
17204  /** Used to convert symbols to primitives and strings. */
17205  var symbolProto = Symbol ? Symbol.prototype : undefined,
17206      symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
17207  
17208  /**
17209   * A specialized version of `baseIsEqualDeep` for comparing objects of
17210   * the same `toStringTag`.
17211   *
17212   * **Note:** This function only supports comparing values with tags of
17213   * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
17214   *
17215   * @private
17216   * @param {Object} object The object to compare.
17217   * @param {Object} other The other object to compare.
17218   * @param {string} tag The `toStringTag` of the objects to compare.
17219   * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
17220   * @param {Function} customizer The function to customize comparisons.
17221   * @param {Function} equalFunc The function to determine equivalents of values.
17222   * @param {Object} stack Tracks traversed `object` and `other` objects.
17223   * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
17224   */
17225  function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
17226    switch (tag) {
17227      case dataViewTag:
17228        if ((object.byteLength != other.byteLength) ||
17229            (object.byteOffset != other.byteOffset)) {
17230          return false;
17231        }
17232        object = object.buffer;
17233        other = other.buffer;
17234  
17235      case arrayBufferTag:
17236        if ((object.byteLength != other.byteLength) ||
17237            !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
17238          return false;
17239        }
17240        return true;
17241  
17242      case boolTag:
17243      case dateTag:
17244      case numberTag:
17245        // Coerce booleans to `1` or `0` and dates to milliseconds.
17246        // Invalid dates are coerced to `NaN`.
17247        return eq(+object, +other);
17248  
17249      case errorTag:
17250        return object.name == other.name && object.message == other.message;
17251  
17252      case regexpTag:
17253      case stringTag:
17254        // Coerce regexes to strings and treat strings, primitives and objects,
17255        // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
17256        // for more details.
17257        return object == (other + '');
17258  
17259      case mapTag:
17260        var convert = mapToArray;
17261  
17262      case setTag:
17263        var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
17264        convert || (convert = setToArray);
17265  
17266        if (object.size != other.size && !isPartial) {
17267          return false;
17268        }
17269        // Assume cyclic values are equal.
17270        var stacked = stack.get(object);
17271        if (stacked) {
17272          return stacked == other;
17273        }
17274        bitmask |= COMPARE_UNORDERED_FLAG;
17275  
17276        // Recursively compare objects (susceptible to call stack limits).
17277        stack.set(object, other);
17278        var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
17279        stack['delete'](object);
17280        return result;
17281  
17282      case symbolTag:
17283        if (symbolValueOf) {
17284          return symbolValueOf.call(object) == symbolValueOf.call(other);
17285        }
17286    }
17287    return false;
17288  }
17289  
17290  module.exports = equalByTag;
17291  
17292  
17293  /***/ }),
17294  
17295  /***/ "./node_modules/lodash/_equalObjects.js":
17296  /*!**********************************************!*\
17297    !*** ./node_modules/lodash/_equalObjects.js ***!
17298    \**********************************************/
17299  /*! no static exports found */
17300  /***/ (function(module, exports, __webpack_require__) {
17301  
17302  var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ "./node_modules/lodash/_getAllKeys.js");
17303  
17304  /** Used to compose bitmasks for value comparisons. */
17305  var COMPARE_PARTIAL_FLAG = 1;
17306  
17307  /** Used for built-in method references. */
17308  var objectProto = Object.prototype;
17309  
17310  /** Used to check objects for own properties. */
17311  var hasOwnProperty = objectProto.hasOwnProperty;
17312  
17313  /**
17314   * A specialized version of `baseIsEqualDeep` for objects with support for
17315   * partial deep comparisons.
17316   *
17317   * @private
17318   * @param {Object} object The object to compare.
17319   * @param {Object} other The other object to compare.
17320   * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
17321   * @param {Function} customizer The function to customize comparisons.
17322   * @param {Function} equalFunc The function to determine equivalents of values.
17323   * @param {Object} stack Tracks traversed `object` and `other` objects.
17324   * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
17325   */
17326  function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
17327    var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
17328        objProps = getAllKeys(object),
17329        objLength = objProps.length,
17330        othProps = getAllKeys(other),
17331        othLength = othProps.length;
17332  
17333    if (objLength != othLength && !isPartial) {
17334      return false;
17335    }
17336    var index = objLength;
17337    while (index--) {
17338      var key = objProps[index];
17339      if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
17340        return false;
17341      }
17342    }
17343    // Assume cyclic values are equal.
17344    var stacked = stack.get(object);
17345    if (stacked && stack.get(other)) {
17346      return stacked == other;
17347    }
17348    var result = true;
17349    stack.set(object, other);
17350    stack.set(other, object);
17351  
17352    var skipCtor = isPartial;
17353    while (++index < objLength) {
17354      key = objProps[index];
17355      var objValue = object[key],
17356          othValue = other[key];
17357  
17358      if (customizer) {
17359        var compared = isPartial
17360          ? customizer(othValue, objValue, key, other, object, stack)
17361          : customizer(objValue, othValue, key, object, other, stack);
17362      }
17363      // Recursively compare objects (susceptible to call stack limits).
17364      if (!(compared === undefined
17365            ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
17366            : compared
17367          )) {
17368        result = false;
17369        break;
17370      }
17371      skipCtor || (skipCtor = key == 'constructor');
17372    }
17373    if (result && !skipCtor) {
17374      var objCtor = object.constructor,
17375          othCtor = other.constructor;
17376  
17377      // Non `Object` object instances with different constructors are not equal.
17378      if (objCtor != othCtor &&
17379          ('constructor' in object && 'constructor' in other) &&
17380          !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
17381            typeof othCtor == 'function' && othCtor instanceof othCtor)) {
17382        result = false;
17383      }
17384    }
17385    stack['delete'](object);
17386    stack['delete'](other);
17387    return result;
17388  }
17389  
17390  module.exports = equalObjects;
17391  
17392  
17393  /***/ }),
17394  
17395  /***/ "./node_modules/lodash/_freeGlobal.js":
17396  /*!********************************************!*\
17397    !*** ./node_modules/lodash/_freeGlobal.js ***!
17398    \********************************************/
17399  /*! no static exports found */
17400  /***/ (function(module, exports, __webpack_require__) {
17401  
17402  /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
17403  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
17404  
17405  module.exports = freeGlobal;
17406  
17407  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
17408  
17409  /***/ }),
17410  
17411  /***/ "./node_modules/lodash/_getAllKeys.js":
17412  /*!********************************************!*\
17413    !*** ./node_modules/lodash/_getAllKeys.js ***!
17414    \********************************************/
17415  /*! no static exports found */
17416  /***/ (function(module, exports, __webpack_require__) {
17417  
17418  var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "./node_modules/lodash/_baseGetAllKeys.js"),
17419      getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js"),
17420      keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
17421  
17422  /**
17423   * Creates an array of own enumerable property names and symbols of `object`.
17424   *
17425   * @private
17426   * @param {Object} object The object to query.
17427   * @returns {Array} Returns the array of property names and symbols.
17428   */
17429  function getAllKeys(object) {
17430    return baseGetAllKeys(object, keys, getSymbols);
17431  }
17432  
17433  module.exports = getAllKeys;
17434  
17435  
17436  /***/ }),
17437  
17438  /***/ "./node_modules/lodash/_getAllKeysIn.js":
17439  /*!**********************************************!*\
17440    !*** ./node_modules/lodash/_getAllKeysIn.js ***!
17441    \**********************************************/
17442  /*! no static exports found */
17443  /***/ (function(module, exports, __webpack_require__) {
17444  
17445  var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ "./node_modules/lodash/_baseGetAllKeys.js"),
17446      getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ "./node_modules/lodash/_getSymbolsIn.js"),
17447      keysIn = __webpack_require__(/*! ./keysIn */ "./node_modules/lodash/keysIn.js");
17448  
17449  /**
17450   * Creates an array of own and inherited enumerable property names and
17451   * symbols of `object`.
17452   *
17453   * @private
17454   * @param {Object} object The object to query.
17455   * @returns {Array} Returns the array of property names and symbols.
17456   */
17457  function getAllKeysIn(object) {
17458    return baseGetAllKeys(object, keysIn, getSymbolsIn);
17459  }
17460  
17461  module.exports = getAllKeysIn;
17462  
17463  
17464  /***/ }),
17465  
17466  /***/ "./node_modules/lodash/_getMapData.js":
17467  /*!********************************************!*\
17468    !*** ./node_modules/lodash/_getMapData.js ***!
17469    \********************************************/
17470  /*! no static exports found */
17471  /***/ (function(module, exports, __webpack_require__) {
17472  
17473  var isKeyable = __webpack_require__(/*! ./_isKeyable */ "./node_modules/lodash/_isKeyable.js");
17474  
17475  /**
17476   * Gets the data for `map`.
17477   *
17478   * @private
17479   * @param {Object} map The map to query.
17480   * @param {string} key The reference key.
17481   * @returns {*} Returns the map data.
17482   */
17483  function getMapData(map, key) {
17484    var data = map.__data__;
17485    return isKeyable(key)
17486      ? data[typeof key == 'string' ? 'string' : 'hash']
17487      : data.map;
17488  }
17489  
17490  module.exports = getMapData;
17491  
17492  
17493  /***/ }),
17494  
17495  /***/ "./node_modules/lodash/_getMatchData.js":
17496  /*!**********************************************!*\
17497    !*** ./node_modules/lodash/_getMatchData.js ***!
17498    \**********************************************/
17499  /*! no static exports found */
17500  /***/ (function(module, exports, __webpack_require__) {
17501  
17502  var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ "./node_modules/lodash/_isStrictComparable.js"),
17503      keys = __webpack_require__(/*! ./keys */ "./node_modules/lodash/keys.js");
17504  
17505  /**
17506   * Gets the property names, values, and compare flags of `object`.
17507   *
17508   * @private
17509   * @param {Object} object The object to query.
17510   * @returns {Array} Returns the match data of `object`.
17511   */
17512  function getMatchData(object) {
17513    var result = keys(object),
17514        length = result.length;
17515  
17516    while (length--) {
17517      var key = result[length],
17518          value = object[key];
17519  
17520      result[length] = [key, value, isStrictComparable(value)];
17521    }
17522    return result;
17523  }
17524  
17525  module.exports = getMatchData;
17526  
17527  
17528  /***/ }),
17529  
17530  /***/ "./node_modules/lodash/_getNative.js":
17531  /*!*******************************************!*\
17532    !*** ./node_modules/lodash/_getNative.js ***!
17533    \*******************************************/
17534  /*! no static exports found */
17535  /***/ (function(module, exports, __webpack_require__) {
17536  
17537  var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ "./node_modules/lodash/_baseIsNative.js"),
17538      getValue = __webpack_require__(/*! ./_getValue */ "./node_modules/lodash/_getValue.js");
17539  
17540  /**
17541   * Gets the native function at `key` of `object`.
17542   *
17543   * @private
17544   * @param {Object} object The object to query.
17545   * @param {string} key The key of the method to get.
17546   * @returns {*} Returns the function if it's native, else `undefined`.
17547   */
17548  function getNative(object, key) {
17549    var value = getValue(object, key);
17550    return baseIsNative(value) ? value : undefined;
17551  }
17552  
17553  module.exports = getNative;
17554  
17555  
17556  /***/ }),
17557  
17558  /***/ "./node_modules/lodash/_getPrototype.js":
17559  /*!**********************************************!*\
17560    !*** ./node_modules/lodash/_getPrototype.js ***!
17561    \**********************************************/
17562  /*! no static exports found */
17563  /***/ (function(module, exports, __webpack_require__) {
17564  
17565  var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
17566  
17567  /** Built-in value references. */
17568  var getPrototype = overArg(Object.getPrototypeOf, Object);
17569  
17570  module.exports = getPrototype;
17571  
17572  
17573  /***/ }),
17574  
17575  /***/ "./node_modules/lodash/_getRawTag.js":
17576  /*!*******************************************!*\
17577    !*** ./node_modules/lodash/_getRawTag.js ***!
17578    \*******************************************/
17579  /*! no static exports found */
17580  /***/ (function(module, exports, __webpack_require__) {
17581  
17582  var Symbol = __webpack_require__(/*! ./_Symbol */ "./node_modules/lodash/_Symbol.js");
17583  
17584  /** Used for built-in method references. */
17585  var objectProto = Object.prototype;
17586  
17587  /** Used to check objects for own properties. */
17588  var hasOwnProperty = objectProto.hasOwnProperty;
17589  
17590  /**
17591   * Used to resolve the
17592   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
17593   * of values.
17594   */
17595  var nativeObjectToString = objectProto.toString;
17596  
17597  /** Built-in value references. */
17598  var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
17599  
17600  /**
17601   * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
17602   *
17603   * @private
17604   * @param {*} value The value to query.
17605   * @returns {string} Returns the raw `toStringTag`.
17606   */
17607  function getRawTag(value) {
17608    var isOwn = hasOwnProperty.call(value, symToStringTag),
17609        tag = value[symToStringTag];
17610  
17611    try {
17612      value[symToStringTag] = undefined;
17613      var unmasked = true;
17614    } catch (e) {}
17615  
17616    var result = nativeObjectToString.call(value);
17617    if (unmasked) {
17618      if (isOwn) {
17619        value[symToStringTag] = tag;
17620      } else {
17621        delete value[symToStringTag];
17622      }
17623    }
17624    return result;
17625  }
17626  
17627  module.exports = getRawTag;
17628  
17629  
17630  /***/ }),
17631  
17632  /***/ "./node_modules/lodash/_getSymbols.js":
17633  /*!********************************************!*\
17634    !*** ./node_modules/lodash/_getSymbols.js ***!
17635    \********************************************/
17636  /*! no static exports found */
17637  /***/ (function(module, exports, __webpack_require__) {
17638  
17639  var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ "./node_modules/lodash/_arrayFilter.js"),
17640      stubArray = __webpack_require__(/*! ./stubArray */ "./node_modules/lodash/stubArray.js");
17641  
17642  /** Used for built-in method references. */
17643  var objectProto = Object.prototype;
17644  
17645  /** Built-in value references. */
17646  var propertyIsEnumerable = objectProto.propertyIsEnumerable;
17647  
17648  /* Built-in method references for those with the same name as other `lodash` methods. */
17649  var nativeGetSymbols = Object.getOwnPropertySymbols;
17650  
17651  /**
17652   * Creates an array of the own enumerable symbols of `object`.
17653   *
17654   * @private
17655   * @param {Object} object The object to query.
17656   * @returns {Array} Returns the array of symbols.
17657   */
17658  var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
17659    if (object == null) {
17660      return [];
17661    }
17662    object = Object(object);
17663    return arrayFilter(nativeGetSymbols(object), function(symbol) {
17664      return propertyIsEnumerable.call(object, symbol);
17665    });
17666  };
17667  
17668  module.exports = getSymbols;
17669  
17670  
17671  /***/ }),
17672  
17673  /***/ "./node_modules/lodash/_getSymbolsIn.js":
17674  /*!**********************************************!*\
17675    !*** ./node_modules/lodash/_getSymbolsIn.js ***!
17676    \**********************************************/
17677  /*! no static exports found */
17678  /***/ (function(module, exports, __webpack_require__) {
17679  
17680  var arrayPush = __webpack_require__(/*! ./_arrayPush */ "./node_modules/lodash/_arrayPush.js"),
17681      getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
17682      getSymbols = __webpack_require__(/*! ./_getSymbols */ "./node_modules/lodash/_getSymbols.js"),
17683      stubArray = __webpack_require__(/*! ./stubArray */ "./node_modules/lodash/stubArray.js");
17684  
17685  /* Built-in method references for those with the same name as other `lodash` methods. */
17686  var nativeGetSymbols = Object.getOwnPropertySymbols;
17687  
17688  /**
17689   * Creates an array of the own and inherited enumerable symbols of `object`.
17690   *
17691   * @private
17692   * @param {Object} object The object to query.
17693   * @returns {Array} Returns the array of symbols.
17694   */
17695  var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
17696    var result = [];
17697    while (object) {
17698      arrayPush(result, getSymbols(object));
17699      object = getPrototype(object);
17700    }
17701    return result;
17702  };
17703  
17704  module.exports = getSymbolsIn;
17705  
17706  
17707  /***/ }),
17708  
17709  /***/ "./node_modules/lodash/_getTag.js":
17710  /*!****************************************!*\
17711    !*** ./node_modules/lodash/_getTag.js ***!
17712    \****************************************/
17713  /*! no static exports found */
17714  /***/ (function(module, exports, __webpack_require__) {
17715  
17716  var DataView = __webpack_require__(/*! ./_DataView */ "./node_modules/lodash/_DataView.js"),
17717      Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js"),
17718      Promise = __webpack_require__(/*! ./_Promise */ "./node_modules/lodash/_Promise.js"),
17719      Set = __webpack_require__(/*! ./_Set */ "./node_modules/lodash/_Set.js"),
17720      WeakMap = __webpack_require__(/*! ./_WeakMap */ "./node_modules/lodash/_WeakMap.js"),
17721      baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
17722      toSource = __webpack_require__(/*! ./_toSource */ "./node_modules/lodash/_toSource.js");
17723  
17724  /** `Object#toString` result references. */
17725  var mapTag = '[object Map]',
17726      objectTag = '[object Object]',
17727      promiseTag = '[object Promise]',
17728      setTag = '[object Set]',
17729      weakMapTag = '[object WeakMap]';
17730  
17731  var dataViewTag = '[object DataView]';
17732  
17733  /** Used to detect maps, sets, and weakmaps. */
17734  var dataViewCtorString = toSource(DataView),
17735      mapCtorString = toSource(Map),
17736      promiseCtorString = toSource(Promise),
17737      setCtorString = toSource(Set),
17738      weakMapCtorString = toSource(WeakMap);
17739  
17740  /**
17741   * Gets the `toStringTag` of `value`.
17742   *
17743   * @private
17744   * @param {*} value The value to query.
17745   * @returns {string} Returns the `toStringTag`.
17746   */
17747  var getTag = baseGetTag;
17748  
17749  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
17750  if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
17751      (Map && getTag(new Map) != mapTag) ||
17752      (Promise && getTag(Promise.resolve()) != promiseTag) ||
17753      (Set && getTag(new Set) != setTag) ||
17754      (WeakMap && getTag(new WeakMap) != weakMapTag)) {
17755    getTag = function(value) {
17756      var result = baseGetTag(value),
17757          Ctor = result == objectTag ? value.constructor : undefined,
17758          ctorString = Ctor ? toSource(Ctor) : '';
17759  
17760      if (ctorString) {
17761        switch (ctorString) {
17762          case dataViewCtorString: return dataViewTag;
17763          case mapCtorString: return mapTag;
17764          case promiseCtorString: return promiseTag;
17765          case setCtorString: return setTag;
17766          case weakMapCtorString: return weakMapTag;
17767        }
17768      }
17769      return result;
17770    };
17771  }
17772  
17773  module.exports = getTag;
17774  
17775  
17776  /***/ }),
17777  
17778  /***/ "./node_modules/lodash/_getValue.js":
17779  /*!******************************************!*\
17780    !*** ./node_modules/lodash/_getValue.js ***!
17781    \******************************************/
17782  /*! no static exports found */
17783  /***/ (function(module, exports) {
17784  
17785  /**
17786   * Gets the value at `key` of `object`.
17787   *
17788   * @private
17789   * @param {Object} [object] The object to query.
17790   * @param {string} key The key of the property to get.
17791   * @returns {*} Returns the property value.
17792   */
17793  function getValue(object, key) {
17794    return object == null ? undefined : object[key];
17795  }
17796  
17797  module.exports = getValue;
17798  
17799  
17800  /***/ }),
17801  
17802  /***/ "./node_modules/lodash/_hasPath.js":
17803  /*!*****************************************!*\
17804    !*** ./node_modules/lodash/_hasPath.js ***!
17805    \*****************************************/
17806  /*! no static exports found */
17807  /***/ (function(module, exports, __webpack_require__) {
17808  
17809  var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
17810      isArguments = __webpack_require__(/*! ./isArguments */ "./node_modules/lodash/isArguments.js"),
17811      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
17812      isIndex = __webpack_require__(/*! ./_isIndex */ "./node_modules/lodash/_isIndex.js"),
17813      isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js"),
17814      toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
17815  
17816  /**
17817   * Checks if `path` exists on `object`.
17818   *
17819   * @private
17820   * @param {Object} object The object to query.
17821   * @param {Array|string} path The path to check.
17822   * @param {Function} hasFunc The function to check properties.
17823   * @returns {boolean} Returns `true` if `path` exists, else `false`.
17824   */
17825  function hasPath(object, path, hasFunc) {
17826    path = castPath(path, object);
17827  
17828    var index = -1,
17829        length = path.length,
17830        result = false;
17831  
17832    while (++index < length) {
17833      var key = toKey(path[index]);
17834      if (!(result = object != null && hasFunc(object, key))) {
17835        break;
17836      }
17837      object = object[key];
17838    }
17839    if (result || ++index != length) {
17840      return result;
17841    }
17842    length = object == null ? 0 : object.length;
17843    return !!length && isLength(length) && isIndex(key, length) &&
17844      (isArray(object) || isArguments(object));
17845  }
17846  
17847  module.exports = hasPath;
17848  
17849  
17850  /***/ }),
17851  
17852  /***/ "./node_modules/lodash/_hashClear.js":
17853  /*!*******************************************!*\
17854    !*** ./node_modules/lodash/_hashClear.js ***!
17855    \*******************************************/
17856  /*! no static exports found */
17857  /***/ (function(module, exports, __webpack_require__) {
17858  
17859  var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
17860  
17861  /**
17862   * Removes all key-value entries from the hash.
17863   *
17864   * @private
17865   * @name clear
17866   * @memberOf Hash
17867   */
17868  function hashClear() {
17869    this.__data__ = nativeCreate ? nativeCreate(null) : {};
17870    this.size = 0;
17871  }
17872  
17873  module.exports = hashClear;
17874  
17875  
17876  /***/ }),
17877  
17878  /***/ "./node_modules/lodash/_hashDelete.js":
17879  /*!********************************************!*\
17880    !*** ./node_modules/lodash/_hashDelete.js ***!
17881    \********************************************/
17882  /*! no static exports found */
17883  /***/ (function(module, exports) {
17884  
17885  /**
17886   * Removes `key` and its value from the hash.
17887   *
17888   * @private
17889   * @name delete
17890   * @memberOf Hash
17891   * @param {Object} hash The hash to modify.
17892   * @param {string} key The key of the value to remove.
17893   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
17894   */
17895  function hashDelete(key) {
17896    var result = this.has(key) && delete this.__data__[key];
17897    this.size -= result ? 1 : 0;
17898    return result;
17899  }
17900  
17901  module.exports = hashDelete;
17902  
17903  
17904  /***/ }),
17905  
17906  /***/ "./node_modules/lodash/_hashGet.js":
17907  /*!*****************************************!*\
17908    !*** ./node_modules/lodash/_hashGet.js ***!
17909    \*****************************************/
17910  /*! no static exports found */
17911  /***/ (function(module, exports, __webpack_require__) {
17912  
17913  var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
17914  
17915  /** Used to stand-in for `undefined` hash values. */
17916  var HASH_UNDEFINED = '__lodash_hash_undefined__';
17917  
17918  /** Used for built-in method references. */
17919  var objectProto = Object.prototype;
17920  
17921  /** Used to check objects for own properties. */
17922  var hasOwnProperty = objectProto.hasOwnProperty;
17923  
17924  /**
17925   * Gets the hash value for `key`.
17926   *
17927   * @private
17928   * @name get
17929   * @memberOf Hash
17930   * @param {string} key The key of the value to get.
17931   * @returns {*} Returns the entry value.
17932   */
17933  function hashGet(key) {
17934    var data = this.__data__;
17935    if (nativeCreate) {
17936      var result = data[key];
17937      return result === HASH_UNDEFINED ? undefined : result;
17938    }
17939    return hasOwnProperty.call(data, key) ? data[key] : undefined;
17940  }
17941  
17942  module.exports = hashGet;
17943  
17944  
17945  /***/ }),
17946  
17947  /***/ "./node_modules/lodash/_hashHas.js":
17948  /*!*****************************************!*\
17949    !*** ./node_modules/lodash/_hashHas.js ***!
17950    \*****************************************/
17951  /*! no static exports found */
17952  /***/ (function(module, exports, __webpack_require__) {
17953  
17954  var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
17955  
17956  /** Used for built-in method references. */
17957  var objectProto = Object.prototype;
17958  
17959  /** Used to check objects for own properties. */
17960  var hasOwnProperty = objectProto.hasOwnProperty;
17961  
17962  /**
17963   * Checks if a hash value for `key` exists.
17964   *
17965   * @private
17966   * @name has
17967   * @memberOf Hash
17968   * @param {string} key The key of the entry to check.
17969   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
17970   */
17971  function hashHas(key) {
17972    var data = this.__data__;
17973    return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
17974  }
17975  
17976  module.exports = hashHas;
17977  
17978  
17979  /***/ }),
17980  
17981  /***/ "./node_modules/lodash/_hashSet.js":
17982  /*!*****************************************!*\
17983    !*** ./node_modules/lodash/_hashSet.js ***!
17984    \*****************************************/
17985  /*! no static exports found */
17986  /***/ (function(module, exports, __webpack_require__) {
17987  
17988  var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ "./node_modules/lodash/_nativeCreate.js");
17989  
17990  /** Used to stand-in for `undefined` hash values. */
17991  var HASH_UNDEFINED = '__lodash_hash_undefined__';
17992  
17993  /**
17994   * Sets the hash `key` to `value`.
17995   *
17996   * @private
17997   * @name set
17998   * @memberOf Hash
17999   * @param {string} key The key of the value to set.
18000   * @param {*} value The value to set.
18001   * @returns {Object} Returns the hash instance.
18002   */
18003  function hashSet(key, value) {
18004    var data = this.__data__;
18005    this.size += this.has(key) ? 0 : 1;
18006    data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
18007    return this;
18008  }
18009  
18010  module.exports = hashSet;
18011  
18012  
18013  /***/ }),
18014  
18015  /***/ "./node_modules/lodash/_initCloneArray.js":
18016  /*!************************************************!*\
18017    !*** ./node_modules/lodash/_initCloneArray.js ***!
18018    \************************************************/
18019  /*! no static exports found */
18020  /***/ (function(module, exports) {
18021  
18022  /** Used for built-in method references. */
18023  var objectProto = Object.prototype;
18024  
18025  /** Used to check objects for own properties. */
18026  var hasOwnProperty = objectProto.hasOwnProperty;
18027  
18028  /**
18029   * Initializes an array clone.
18030   *
18031   * @private
18032   * @param {Array} array The array to clone.
18033   * @returns {Array} Returns the initialized clone.
18034   */
18035  function initCloneArray(array) {
18036    var length = array.length,
18037        result = new array.constructor(length);
18038  
18039    // Add properties assigned by `RegExp#exec`.
18040    if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
18041      result.index = array.index;
18042      result.input = array.input;
18043    }
18044    return result;
18045  }
18046  
18047  module.exports = initCloneArray;
18048  
18049  
18050  /***/ }),
18051  
18052  /***/ "./node_modules/lodash/_initCloneByTag.js":
18053  /*!************************************************!*\
18054    !*** ./node_modules/lodash/_initCloneByTag.js ***!
18055    \************************************************/
18056  /*! no static exports found */
18057  /***/ (function(module, exports, __webpack_require__) {
18058  
18059  var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ "./node_modules/lodash/_cloneArrayBuffer.js"),
18060      cloneDataView = __webpack_require__(/*! ./_cloneDataView */ "./node_modules/lodash/_cloneDataView.js"),
18061      cloneRegExp = __webpack_require__(/*! ./_cloneRegExp */ "./node_modules/lodash/_cloneRegExp.js"),
18062      cloneSymbol = __webpack_require__(/*! ./_cloneSymbol */ "./node_modules/lodash/_cloneSymbol.js"),
18063      cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ "./node_modules/lodash/_cloneTypedArray.js");
18064  
18065  /** `Object#toString` result references. */
18066  var boolTag = '[object Boolean]',
18067      dateTag = '[object Date]',
18068      mapTag = '[object Map]',
18069      numberTag = '[object Number]',
18070      regexpTag = '[object RegExp]',
18071      setTag = '[object Set]',
18072      stringTag = '[object String]',
18073      symbolTag = '[object Symbol]';
18074  
18075  var arrayBufferTag = '[object ArrayBuffer]',
18076      dataViewTag = '[object DataView]',
18077      float32Tag = '[object Float32Array]',
18078      float64Tag = '[object Float64Array]',
18079      int8Tag = '[object Int8Array]',
18080      int16Tag = '[object Int16Array]',
18081      int32Tag = '[object Int32Array]',
18082      uint8Tag = '[object Uint8Array]',
18083      uint8ClampedTag = '[object Uint8ClampedArray]',
18084      uint16Tag = '[object Uint16Array]',
18085      uint32Tag = '[object Uint32Array]';
18086  
18087  /**
18088   * Initializes an object clone based on its `toStringTag`.
18089   *
18090   * **Note:** This function only supports cloning values with tags of
18091   * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
18092   *
18093   * @private
18094   * @param {Object} object The object to clone.
18095   * @param {string} tag The `toStringTag` of the object to clone.
18096   * @param {boolean} [isDeep] Specify a deep clone.
18097   * @returns {Object} Returns the initialized clone.
18098   */
18099  function initCloneByTag(object, tag, isDeep) {
18100    var Ctor = object.constructor;
18101    switch (tag) {
18102      case arrayBufferTag:
18103        return cloneArrayBuffer(object);
18104  
18105      case boolTag:
18106      case dateTag:
18107        return new Ctor(+object);
18108  
18109      case dataViewTag:
18110        return cloneDataView(object, isDeep);
18111  
18112      case float32Tag: case float64Tag:
18113      case int8Tag: case int16Tag: case int32Tag:
18114      case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
18115        return cloneTypedArray(object, isDeep);
18116  
18117      case mapTag:
18118        return new Ctor;
18119  
18120      case numberTag:
18121      case stringTag:
18122        return new Ctor(object);
18123  
18124      case regexpTag:
18125        return cloneRegExp(object);
18126  
18127      case setTag:
18128        return new Ctor;
18129  
18130      case symbolTag:
18131        return cloneSymbol(object);
18132    }
18133  }
18134  
18135  module.exports = initCloneByTag;
18136  
18137  
18138  /***/ }),
18139  
18140  /***/ "./node_modules/lodash/_initCloneObject.js":
18141  /*!*************************************************!*\
18142    !*** ./node_modules/lodash/_initCloneObject.js ***!
18143    \*************************************************/
18144  /*! no static exports found */
18145  /***/ (function(module, exports, __webpack_require__) {
18146  
18147  var baseCreate = __webpack_require__(/*! ./_baseCreate */ "./node_modules/lodash/_baseCreate.js"),
18148      getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
18149      isPrototype = __webpack_require__(/*! ./_isPrototype */ "./node_modules/lodash/_isPrototype.js");
18150  
18151  /**
18152   * Initializes an object clone.
18153   *
18154   * @private
18155   * @param {Object} object The object to clone.
18156   * @returns {Object} Returns the initialized clone.
18157   */
18158  function initCloneObject(object) {
18159    return (typeof object.constructor == 'function' && !isPrototype(object))
18160      ? baseCreate(getPrototype(object))
18161      : {};
18162  }
18163  
18164  module.exports = initCloneObject;
18165  
18166  
18167  /***/ }),
18168  
18169  /***/ "./node_modules/lodash/_isIndex.js":
18170  /*!*****************************************!*\
18171    !*** ./node_modules/lodash/_isIndex.js ***!
18172    \*****************************************/
18173  /*! no static exports found */
18174  /***/ (function(module, exports) {
18175  
18176  /** Used as references for various `Number` constants. */
18177  var MAX_SAFE_INTEGER = 9007199254740991;
18178  
18179  /** Used to detect unsigned integer values. */
18180  var reIsUint = /^(?:0|[1-9]\d*)$/;
18181  
18182  /**
18183   * Checks if `value` is a valid array-like index.
18184   *
18185   * @private
18186   * @param {*} value The value to check.
18187   * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
18188   * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
18189   */
18190  function isIndex(value, length) {
18191    var type = typeof value;
18192    length = length == null ? MAX_SAFE_INTEGER : length;
18193  
18194    return !!length &&
18195      (type == 'number' ||
18196        (type != 'symbol' && reIsUint.test(value))) &&
18197          (value > -1 && value % 1 == 0 && value < length);
18198  }
18199  
18200  module.exports = isIndex;
18201  
18202  
18203  /***/ }),
18204  
18205  /***/ "./node_modules/lodash/_isKey.js":
18206  /*!***************************************!*\
18207    !*** ./node_modules/lodash/_isKey.js ***!
18208    \***************************************/
18209  /*! no static exports found */
18210  /***/ (function(module, exports, __webpack_require__) {
18211  
18212  var isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
18213      isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
18214  
18215  /** Used to match property names within property paths. */
18216  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
18217      reIsPlainProp = /^\w*$/;
18218  
18219  /**
18220   * Checks if `value` is a property name and not a property path.
18221   *
18222   * @private
18223   * @param {*} value The value to check.
18224   * @param {Object} [object] The object to query keys on.
18225   * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
18226   */
18227  function isKey(value, object) {
18228    if (isArray(value)) {
18229      return false;
18230    }
18231    var type = typeof value;
18232    if (type == 'number' || type == 'symbol' || type == 'boolean' ||
18233        value == null || isSymbol(value)) {
18234      return true;
18235    }
18236    return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
18237      (object != null && value in Object(object));
18238  }
18239  
18240  module.exports = isKey;
18241  
18242  
18243  /***/ }),
18244  
18245  /***/ "./node_modules/lodash/_isKeyable.js":
18246  /*!*******************************************!*\
18247    !*** ./node_modules/lodash/_isKeyable.js ***!
18248    \*******************************************/
18249  /*! no static exports found */
18250  /***/ (function(module, exports) {
18251  
18252  /**
18253   * Checks if `value` is suitable for use as unique object key.
18254   *
18255   * @private
18256   * @param {*} value The value to check.
18257   * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
18258   */
18259  function isKeyable(value) {
18260    var type = typeof value;
18261    return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
18262      ? (value !== '__proto__')
18263      : (value === null);
18264  }
18265  
18266  module.exports = isKeyable;
18267  
18268  
18269  /***/ }),
18270  
18271  /***/ "./node_modules/lodash/_isMasked.js":
18272  /*!******************************************!*\
18273    !*** ./node_modules/lodash/_isMasked.js ***!
18274    \******************************************/
18275  /*! no static exports found */
18276  /***/ (function(module, exports, __webpack_require__) {
18277  
18278  var coreJsData = __webpack_require__(/*! ./_coreJsData */ "./node_modules/lodash/_coreJsData.js");
18279  
18280  /** Used to detect methods masquerading as native. */
18281  var maskSrcKey = (function() {
18282    var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
18283    return uid ? ('Symbol(src)_1.' + uid) : '';
18284  }());
18285  
18286  /**
18287   * Checks if `func` has its source masked.
18288   *
18289   * @private
18290   * @param {Function} func The function to check.
18291   * @returns {boolean} Returns `true` if `func` is masked, else `false`.
18292   */
18293  function isMasked(func) {
18294    return !!maskSrcKey && (maskSrcKey in func);
18295  }
18296  
18297  module.exports = isMasked;
18298  
18299  
18300  /***/ }),
18301  
18302  /***/ "./node_modules/lodash/_isPrototype.js":
18303  /*!*********************************************!*\
18304    !*** ./node_modules/lodash/_isPrototype.js ***!
18305    \*********************************************/
18306  /*! no static exports found */
18307  /***/ (function(module, exports) {
18308  
18309  /** Used for built-in method references. */
18310  var objectProto = Object.prototype;
18311  
18312  /**
18313   * Checks if `value` is likely a prototype object.
18314   *
18315   * @private
18316   * @param {*} value The value to check.
18317   * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
18318   */
18319  function isPrototype(value) {
18320    var Ctor = value && value.constructor,
18321        proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
18322  
18323    return value === proto;
18324  }
18325  
18326  module.exports = isPrototype;
18327  
18328  
18329  /***/ }),
18330  
18331  /***/ "./node_modules/lodash/_isStrictComparable.js":
18332  /*!****************************************************!*\
18333    !*** ./node_modules/lodash/_isStrictComparable.js ***!
18334    \****************************************************/
18335  /*! no static exports found */
18336  /***/ (function(module, exports, __webpack_require__) {
18337  
18338  var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
18339  
18340  /**
18341   * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
18342   *
18343   * @private
18344   * @param {*} value The value to check.
18345   * @returns {boolean} Returns `true` if `value` if suitable for strict
18346   *  equality comparisons, else `false`.
18347   */
18348  function isStrictComparable(value) {
18349    return value === value && !isObject(value);
18350  }
18351  
18352  module.exports = isStrictComparable;
18353  
18354  
18355  /***/ }),
18356  
18357  /***/ "./node_modules/lodash/_listCacheClear.js":
18358  /*!************************************************!*\
18359    !*** ./node_modules/lodash/_listCacheClear.js ***!
18360    \************************************************/
18361  /*! no static exports found */
18362  /***/ (function(module, exports) {
18363  
18364  /**
18365   * Removes all key-value entries from the list cache.
18366   *
18367   * @private
18368   * @name clear
18369   * @memberOf ListCache
18370   */
18371  function listCacheClear() {
18372    this.__data__ = [];
18373    this.size = 0;
18374  }
18375  
18376  module.exports = listCacheClear;
18377  
18378  
18379  /***/ }),
18380  
18381  /***/ "./node_modules/lodash/_listCacheDelete.js":
18382  /*!*************************************************!*\
18383    !*** ./node_modules/lodash/_listCacheDelete.js ***!
18384    \*************************************************/
18385  /*! no static exports found */
18386  /***/ (function(module, exports, __webpack_require__) {
18387  
18388  var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
18389  
18390  /** Used for built-in method references. */
18391  var arrayProto = Array.prototype;
18392  
18393  /** Built-in value references. */
18394  var splice = arrayProto.splice;
18395  
18396  /**
18397   * Removes `key` and its value from the list cache.
18398   *
18399   * @private
18400   * @name delete
18401   * @memberOf ListCache
18402   * @param {string} key The key of the value to remove.
18403   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
18404   */
18405  function listCacheDelete(key) {
18406    var data = this.__data__,
18407        index = assocIndexOf(data, key);
18408  
18409    if (index < 0) {
18410      return false;
18411    }
18412    var lastIndex = data.length - 1;
18413    if (index == lastIndex) {
18414      data.pop();
18415    } else {
18416      splice.call(data, index, 1);
18417    }
18418    --this.size;
18419    return true;
18420  }
18421  
18422  module.exports = listCacheDelete;
18423  
18424  
18425  /***/ }),
18426  
18427  /***/ "./node_modules/lodash/_listCacheGet.js":
18428  /*!**********************************************!*\
18429    !*** ./node_modules/lodash/_listCacheGet.js ***!
18430    \**********************************************/
18431  /*! no static exports found */
18432  /***/ (function(module, exports, __webpack_require__) {
18433  
18434  var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
18435  
18436  /**
18437   * Gets the list cache value for `key`.
18438   *
18439   * @private
18440   * @name get
18441   * @memberOf ListCache
18442   * @param {string} key The key of the value to get.
18443   * @returns {*} Returns the entry value.
18444   */
18445  function listCacheGet(key) {
18446    var data = this.__data__,
18447        index = assocIndexOf(data, key);
18448  
18449    return index < 0 ? undefined : data[index][1];
18450  }
18451  
18452  module.exports = listCacheGet;
18453  
18454  
18455  /***/ }),
18456  
18457  /***/ "./node_modules/lodash/_listCacheHas.js":
18458  /*!**********************************************!*\
18459    !*** ./node_modules/lodash/_listCacheHas.js ***!
18460    \**********************************************/
18461  /*! no static exports found */
18462  /***/ (function(module, exports, __webpack_require__) {
18463  
18464  var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
18465  
18466  /**
18467   * Checks if a list cache value for `key` exists.
18468   *
18469   * @private
18470   * @name has
18471   * @memberOf ListCache
18472   * @param {string} key The key of the entry to check.
18473   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
18474   */
18475  function listCacheHas(key) {
18476    return assocIndexOf(this.__data__, key) > -1;
18477  }
18478  
18479  module.exports = listCacheHas;
18480  
18481  
18482  /***/ }),
18483  
18484  /***/ "./node_modules/lodash/_listCacheSet.js":
18485  /*!**********************************************!*\
18486    !*** ./node_modules/lodash/_listCacheSet.js ***!
18487    \**********************************************/
18488  /*! no static exports found */
18489  /***/ (function(module, exports, __webpack_require__) {
18490  
18491  var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ "./node_modules/lodash/_assocIndexOf.js");
18492  
18493  /**
18494   * Sets the list cache `key` to `value`.
18495   *
18496   * @private
18497   * @name set
18498   * @memberOf ListCache
18499   * @param {string} key The key of the value to set.
18500   * @param {*} value The value to set.
18501   * @returns {Object} Returns the list cache instance.
18502   */
18503  function listCacheSet(key, value) {
18504    var data = this.__data__,
18505        index = assocIndexOf(data, key);
18506  
18507    if (index < 0) {
18508      ++this.size;
18509      data.push([key, value]);
18510    } else {
18511      data[index][1] = value;
18512    }
18513    return this;
18514  }
18515  
18516  module.exports = listCacheSet;
18517  
18518  
18519  /***/ }),
18520  
18521  /***/ "./node_modules/lodash/_mapCacheClear.js":
18522  /*!***********************************************!*\
18523    !*** ./node_modules/lodash/_mapCacheClear.js ***!
18524    \***********************************************/
18525  /*! no static exports found */
18526  /***/ (function(module, exports, __webpack_require__) {
18527  
18528  var Hash = __webpack_require__(/*! ./_Hash */ "./node_modules/lodash/_Hash.js"),
18529      ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
18530      Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js");
18531  
18532  /**
18533   * Removes all key-value entries from the map.
18534   *
18535   * @private
18536   * @name clear
18537   * @memberOf MapCache
18538   */
18539  function mapCacheClear() {
18540    this.size = 0;
18541    this.__data__ = {
18542      'hash': new Hash,
18543      'map': new (Map || ListCache),
18544      'string': new Hash
18545    };
18546  }
18547  
18548  module.exports = mapCacheClear;
18549  
18550  
18551  /***/ }),
18552  
18553  /***/ "./node_modules/lodash/_mapCacheDelete.js":
18554  /*!************************************************!*\
18555    !*** ./node_modules/lodash/_mapCacheDelete.js ***!
18556    \************************************************/
18557  /*! no static exports found */
18558  /***/ (function(module, exports, __webpack_require__) {
18559  
18560  var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
18561  
18562  /**
18563   * Removes `key` and its value from the map.
18564   *
18565   * @private
18566   * @name delete
18567   * @memberOf MapCache
18568   * @param {string} key The key of the value to remove.
18569   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
18570   */
18571  function mapCacheDelete(key) {
18572    var result = getMapData(this, key)['delete'](key);
18573    this.size -= result ? 1 : 0;
18574    return result;
18575  }
18576  
18577  module.exports = mapCacheDelete;
18578  
18579  
18580  /***/ }),
18581  
18582  /***/ "./node_modules/lodash/_mapCacheGet.js":
18583  /*!*********************************************!*\
18584    !*** ./node_modules/lodash/_mapCacheGet.js ***!
18585    \*********************************************/
18586  /*! no static exports found */
18587  /***/ (function(module, exports, __webpack_require__) {
18588  
18589  var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
18590  
18591  /**
18592   * Gets the map value for `key`.
18593   *
18594   * @private
18595   * @name get
18596   * @memberOf MapCache
18597   * @param {string} key The key of the value to get.
18598   * @returns {*} Returns the entry value.
18599   */
18600  function mapCacheGet(key) {
18601    return getMapData(this, key).get(key);
18602  }
18603  
18604  module.exports = mapCacheGet;
18605  
18606  
18607  /***/ }),
18608  
18609  /***/ "./node_modules/lodash/_mapCacheHas.js":
18610  /*!*********************************************!*\
18611    !*** ./node_modules/lodash/_mapCacheHas.js ***!
18612    \*********************************************/
18613  /*! no static exports found */
18614  /***/ (function(module, exports, __webpack_require__) {
18615  
18616  var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
18617  
18618  /**
18619   * Checks if a map value for `key` exists.
18620   *
18621   * @private
18622   * @name has
18623   * @memberOf MapCache
18624   * @param {string} key The key of the entry to check.
18625   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
18626   */
18627  function mapCacheHas(key) {
18628    return getMapData(this, key).has(key);
18629  }
18630  
18631  module.exports = mapCacheHas;
18632  
18633  
18634  /***/ }),
18635  
18636  /***/ "./node_modules/lodash/_mapCacheSet.js":
18637  /*!*********************************************!*\
18638    !*** ./node_modules/lodash/_mapCacheSet.js ***!
18639    \*********************************************/
18640  /*! no static exports found */
18641  /***/ (function(module, exports, __webpack_require__) {
18642  
18643  var getMapData = __webpack_require__(/*! ./_getMapData */ "./node_modules/lodash/_getMapData.js");
18644  
18645  /**
18646   * Sets the map `key` to `value`.
18647   *
18648   * @private
18649   * @name set
18650   * @memberOf MapCache
18651   * @param {string} key The key of the value to set.
18652   * @param {*} value The value to set.
18653   * @returns {Object} Returns the map cache instance.
18654   */
18655  function mapCacheSet(key, value) {
18656    var data = getMapData(this, key),
18657        size = data.size;
18658  
18659    data.set(key, value);
18660    this.size += data.size == size ? 0 : 1;
18661    return this;
18662  }
18663  
18664  module.exports = mapCacheSet;
18665  
18666  
18667  /***/ }),
18668  
18669  /***/ "./node_modules/lodash/_mapToArray.js":
18670  /*!********************************************!*\
18671    !*** ./node_modules/lodash/_mapToArray.js ***!
18672    \********************************************/
18673  /*! no static exports found */
18674  /***/ (function(module, exports) {
18675  
18676  /**
18677   * Converts `map` to its key-value pairs.
18678   *
18679   * @private
18680   * @param {Object} map The map to convert.
18681   * @returns {Array} Returns the key-value pairs.
18682   */
18683  function mapToArray(map) {
18684    var index = -1,
18685        result = Array(map.size);
18686  
18687    map.forEach(function(value, key) {
18688      result[++index] = [key, value];
18689    });
18690    return result;
18691  }
18692  
18693  module.exports = mapToArray;
18694  
18695  
18696  /***/ }),
18697  
18698  /***/ "./node_modules/lodash/_matchesStrictComparable.js":
18699  /*!*********************************************************!*\
18700    !*** ./node_modules/lodash/_matchesStrictComparable.js ***!
18701    \*********************************************************/
18702  /*! no static exports found */
18703  /***/ (function(module, exports) {
18704  
18705  /**
18706   * A specialized version of `matchesProperty` for source values suitable
18707   * for strict equality comparisons, i.e. `===`.
18708   *
18709   * @private
18710   * @param {string} key The key of the property to get.
18711   * @param {*} srcValue The value to match.
18712   * @returns {Function} Returns the new spec function.
18713   */
18714  function matchesStrictComparable(key, srcValue) {
18715    return function(object) {
18716      if (object == null) {
18717        return false;
18718      }
18719      return object[key] === srcValue &&
18720        (srcValue !== undefined || (key in Object(object)));
18721    };
18722  }
18723  
18724  module.exports = matchesStrictComparable;
18725  
18726  
18727  /***/ }),
18728  
18729  /***/ "./node_modules/lodash/_memoizeCapped.js":
18730  /*!***********************************************!*\
18731    !*** ./node_modules/lodash/_memoizeCapped.js ***!
18732    \***********************************************/
18733  /*! no static exports found */
18734  /***/ (function(module, exports, __webpack_require__) {
18735  
18736  var memoize = __webpack_require__(/*! ./memoize */ "./node_modules/lodash/memoize.js");
18737  
18738  /** Used as the maximum memoize cache size. */
18739  var MAX_MEMOIZE_SIZE = 500;
18740  
18741  /**
18742   * A specialized version of `_.memoize` which clears the memoized function's
18743   * cache when it exceeds `MAX_MEMOIZE_SIZE`.
18744   *
18745   * @private
18746   * @param {Function} func The function to have its output memoized.
18747   * @returns {Function} Returns the new memoized function.
18748   */
18749  function memoizeCapped(func) {
18750    var result = memoize(func, function(key) {
18751      if (cache.size === MAX_MEMOIZE_SIZE) {
18752        cache.clear();
18753      }
18754      return key;
18755    });
18756  
18757    var cache = result.cache;
18758    return result;
18759  }
18760  
18761  module.exports = memoizeCapped;
18762  
18763  
18764  /***/ }),
18765  
18766  /***/ "./node_modules/lodash/_nativeCreate.js":
18767  /*!**********************************************!*\
18768    !*** ./node_modules/lodash/_nativeCreate.js ***!
18769    \**********************************************/
18770  /*! no static exports found */
18771  /***/ (function(module, exports, __webpack_require__) {
18772  
18773  var getNative = __webpack_require__(/*! ./_getNative */ "./node_modules/lodash/_getNative.js");
18774  
18775  /* Built-in method references that are verified to be native. */
18776  var nativeCreate = getNative(Object, 'create');
18777  
18778  module.exports = nativeCreate;
18779  
18780  
18781  /***/ }),
18782  
18783  /***/ "./node_modules/lodash/_nativeKeys.js":
18784  /*!********************************************!*\
18785    !*** ./node_modules/lodash/_nativeKeys.js ***!
18786    \********************************************/
18787  /*! no static exports found */
18788  /***/ (function(module, exports, __webpack_require__) {
18789  
18790  var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
18791  
18792  /* Built-in method references for those with the same name as other `lodash` methods. */
18793  var nativeKeys = overArg(Object.keys, Object);
18794  
18795  module.exports = nativeKeys;
18796  
18797  
18798  /***/ }),
18799  
18800  /***/ "./node_modules/lodash/_nativeKeysIn.js":
18801  /*!**********************************************!*\
18802    !*** ./node_modules/lodash/_nativeKeysIn.js ***!
18803    \**********************************************/
18804  /*! no static exports found */
18805  /***/ (function(module, exports) {
18806  
18807  /**
18808   * This function is like
18809   * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
18810   * except that it includes inherited enumerable properties.
18811   *
18812   * @private
18813   * @param {Object} object The object to query.
18814   * @returns {Array} Returns the array of property names.
18815   */
18816  function nativeKeysIn(object) {
18817    var result = [];
18818    if (object != null) {
18819      for (var key in Object(object)) {
18820        result.push(key);
18821      }
18822    }
18823    return result;
18824  }
18825  
18826  module.exports = nativeKeysIn;
18827  
18828  
18829  /***/ }),
18830  
18831  /***/ "./node_modules/lodash/_nodeUtil.js":
18832  /*!******************************************!*\
18833    !*** ./node_modules/lodash/_nodeUtil.js ***!
18834    \******************************************/
18835  /*! no static exports found */
18836  /***/ (function(module, exports, __webpack_require__) {
18837  
18838  /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
18839  
18840  /** Detect free variable `exports`. */
18841  var freeExports =  true && exports && !exports.nodeType && exports;
18842  
18843  /** Detect free variable `module`. */
18844  var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
18845  
18846  /** Detect the popular CommonJS extension `module.exports`. */
18847  var moduleExports = freeModule && freeModule.exports === freeExports;
18848  
18849  /** Detect free variable `process` from Node.js. */
18850  var freeProcess = moduleExports && freeGlobal.process;
18851  
18852  /** Used to access faster Node.js helpers. */
18853  var nodeUtil = (function() {
18854    try {
18855      // Use `util.types` for Node.js 10+.
18856      var types = freeModule && freeModule.require && freeModule.require('util').types;
18857  
18858      if (types) {
18859        return types;
18860      }
18861  
18862      // Legacy `process.binding('util')` for Node.js < 10.
18863      return freeProcess && freeProcess.binding && freeProcess.binding('util');
18864    } catch (e) {}
18865  }());
18866  
18867  module.exports = nodeUtil;
18868  
18869  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ "./node_modules/webpack/buildin/module.js")(module)))
18870  
18871  /***/ }),
18872  
18873  /***/ "./node_modules/lodash/_objectToString.js":
18874  /*!************************************************!*\
18875    !*** ./node_modules/lodash/_objectToString.js ***!
18876    \************************************************/
18877  /*! no static exports found */
18878  /***/ (function(module, exports) {
18879  
18880  /** Used for built-in method references. */
18881  var objectProto = Object.prototype;
18882  
18883  /**
18884   * Used to resolve the
18885   * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
18886   * of values.
18887   */
18888  var nativeObjectToString = objectProto.toString;
18889  
18890  /**
18891   * Converts `value` to a string using `Object.prototype.toString`.
18892   *
18893   * @private
18894   * @param {*} value The value to convert.
18895   * @returns {string} Returns the converted string.
18896   */
18897  function objectToString(value) {
18898    return nativeObjectToString.call(value);
18899  }
18900  
18901  module.exports = objectToString;
18902  
18903  
18904  /***/ }),
18905  
18906  /***/ "./node_modules/lodash/_overArg.js":
18907  /*!*****************************************!*\
18908    !*** ./node_modules/lodash/_overArg.js ***!
18909    \*****************************************/
18910  /*! no static exports found */
18911  /***/ (function(module, exports) {
18912  
18913  /**
18914   * Creates a unary function that invokes `func` with its argument transformed.
18915   *
18916   * @private
18917   * @param {Function} func The function to wrap.
18918   * @param {Function} transform The argument transform.
18919   * @returns {Function} Returns the new function.
18920   */
18921  function overArg(func, transform) {
18922    return function(arg) {
18923      return func(transform(arg));
18924    };
18925  }
18926  
18927  module.exports = overArg;
18928  
18929  
18930  /***/ }),
18931  
18932  /***/ "./node_modules/lodash/_root.js":
18933  /*!**************************************!*\
18934    !*** ./node_modules/lodash/_root.js ***!
18935    \**************************************/
18936  /*! no static exports found */
18937  /***/ (function(module, exports, __webpack_require__) {
18938  
18939  var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ "./node_modules/lodash/_freeGlobal.js");
18940  
18941  /** Detect free variable `self`. */
18942  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
18943  
18944  /** Used as a reference to the global object. */
18945  var root = freeGlobal || freeSelf || Function('return this')();
18946  
18947  module.exports = root;
18948  
18949  
18950  /***/ }),
18951  
18952  /***/ "./node_modules/lodash/_setCacheAdd.js":
18953  /*!*********************************************!*\
18954    !*** ./node_modules/lodash/_setCacheAdd.js ***!
18955    \*********************************************/
18956  /*! no static exports found */
18957  /***/ (function(module, exports) {
18958  
18959  /** Used to stand-in for `undefined` hash values. */
18960  var HASH_UNDEFINED = '__lodash_hash_undefined__';
18961  
18962  /**
18963   * Adds `value` to the array cache.
18964   *
18965   * @private
18966   * @name add
18967   * @memberOf SetCache
18968   * @alias push
18969   * @param {*} value The value to cache.
18970   * @returns {Object} Returns the cache instance.
18971   */
18972  function setCacheAdd(value) {
18973    this.__data__.set(value, HASH_UNDEFINED);
18974    return this;
18975  }
18976  
18977  module.exports = setCacheAdd;
18978  
18979  
18980  /***/ }),
18981  
18982  /***/ "./node_modules/lodash/_setCacheHas.js":
18983  /*!*********************************************!*\
18984    !*** ./node_modules/lodash/_setCacheHas.js ***!
18985    \*********************************************/
18986  /*! no static exports found */
18987  /***/ (function(module, exports) {
18988  
18989  /**
18990   * Checks if `value` is in the array cache.
18991   *
18992   * @private
18993   * @name has
18994   * @memberOf SetCache
18995   * @param {*} value The value to search for.
18996   * @returns {number} Returns `true` if `value` is found, else `false`.
18997   */
18998  function setCacheHas(value) {
18999    return this.__data__.has(value);
19000  }
19001  
19002  module.exports = setCacheHas;
19003  
19004  
19005  /***/ }),
19006  
19007  /***/ "./node_modules/lodash/_setToArray.js":
19008  /*!********************************************!*\
19009    !*** ./node_modules/lodash/_setToArray.js ***!
19010    \********************************************/
19011  /*! no static exports found */
19012  /***/ (function(module, exports) {
19013  
19014  /**
19015   * Converts `set` to an array of its values.
19016   *
19017   * @private
19018   * @param {Object} set The set to convert.
19019   * @returns {Array} Returns the values.
19020   */
19021  function setToArray(set) {
19022    var index = -1,
19023        result = Array(set.size);
19024  
19025    set.forEach(function(value) {
19026      result[++index] = value;
19027    });
19028    return result;
19029  }
19030  
19031  module.exports = setToArray;
19032  
19033  
19034  /***/ }),
19035  
19036  /***/ "./node_modules/lodash/_stackClear.js":
19037  /*!********************************************!*\
19038    !*** ./node_modules/lodash/_stackClear.js ***!
19039    \********************************************/
19040  /*! no static exports found */
19041  /***/ (function(module, exports, __webpack_require__) {
19042  
19043  var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js");
19044  
19045  /**
19046   * Removes all key-value entries from the stack.
19047   *
19048   * @private
19049   * @name clear
19050   * @memberOf Stack
19051   */
19052  function stackClear() {
19053    this.__data__ = new ListCache;
19054    this.size = 0;
19055  }
19056  
19057  module.exports = stackClear;
19058  
19059  
19060  /***/ }),
19061  
19062  /***/ "./node_modules/lodash/_stackDelete.js":
19063  /*!*********************************************!*\
19064    !*** ./node_modules/lodash/_stackDelete.js ***!
19065    \*********************************************/
19066  /*! no static exports found */
19067  /***/ (function(module, exports) {
19068  
19069  /**
19070   * Removes `key` and its value from the stack.
19071   *
19072   * @private
19073   * @name delete
19074   * @memberOf Stack
19075   * @param {string} key The key of the value to remove.
19076   * @returns {boolean} Returns `true` if the entry was removed, else `false`.
19077   */
19078  function stackDelete(key) {
19079    var data = this.__data__,
19080        result = data['delete'](key);
19081  
19082    this.size = data.size;
19083    return result;
19084  }
19085  
19086  module.exports = stackDelete;
19087  
19088  
19089  /***/ }),
19090  
19091  /***/ "./node_modules/lodash/_stackGet.js":
19092  /*!******************************************!*\
19093    !*** ./node_modules/lodash/_stackGet.js ***!
19094    \******************************************/
19095  /*! no static exports found */
19096  /***/ (function(module, exports) {
19097  
19098  /**
19099   * Gets the stack value for `key`.
19100   *
19101   * @private
19102   * @name get
19103   * @memberOf Stack
19104   * @param {string} key The key of the value to get.
19105   * @returns {*} Returns the entry value.
19106   */
19107  function stackGet(key) {
19108    return this.__data__.get(key);
19109  }
19110  
19111  module.exports = stackGet;
19112  
19113  
19114  /***/ }),
19115  
19116  /***/ "./node_modules/lodash/_stackHas.js":
19117  /*!******************************************!*\
19118    !*** ./node_modules/lodash/_stackHas.js ***!
19119    \******************************************/
19120  /*! no static exports found */
19121  /***/ (function(module, exports) {
19122  
19123  /**
19124   * Checks if a stack value for `key` exists.
19125   *
19126   * @private
19127   * @name has
19128   * @memberOf Stack
19129   * @param {string} key The key of the entry to check.
19130   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
19131   */
19132  function stackHas(key) {
19133    return this.__data__.has(key);
19134  }
19135  
19136  module.exports = stackHas;
19137  
19138  
19139  /***/ }),
19140  
19141  /***/ "./node_modules/lodash/_stackSet.js":
19142  /*!******************************************!*\
19143    !*** ./node_modules/lodash/_stackSet.js ***!
19144    \******************************************/
19145  /*! no static exports found */
19146  /***/ (function(module, exports, __webpack_require__) {
19147  
19148  var ListCache = __webpack_require__(/*! ./_ListCache */ "./node_modules/lodash/_ListCache.js"),
19149      Map = __webpack_require__(/*! ./_Map */ "./node_modules/lodash/_Map.js"),
19150      MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js");
19151  
19152  /** Used as the size to enable large array optimizations. */
19153  var LARGE_ARRAY_SIZE = 200;
19154  
19155  /**
19156   * Sets the stack `key` to `value`.
19157   *
19158   * @private
19159   * @name set
19160   * @memberOf Stack
19161   * @param {string} key The key of the value to set.
19162   * @param {*} value The value to set.
19163   * @returns {Object} Returns the stack cache instance.
19164   */
19165  function stackSet(key, value) {
19166    var data = this.__data__;
19167    if (data instanceof ListCache) {
19168      var pairs = data.__data__;
19169      if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
19170        pairs.push([key, value]);
19171        this.size = ++data.size;
19172        return this;
19173      }
19174      data = this.__data__ = new MapCache(pairs);
19175    }
19176    data.set(key, value);
19177    this.size = data.size;
19178    return this;
19179  }
19180  
19181  module.exports = stackSet;
19182  
19183  
19184  /***/ }),
19185  
19186  /***/ "./node_modules/lodash/_stringToPath.js":
19187  /*!**********************************************!*\
19188    !*** ./node_modules/lodash/_stringToPath.js ***!
19189    \**********************************************/
19190  /*! no static exports found */
19191  /***/ (function(module, exports, __webpack_require__) {
19192  
19193  var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ "./node_modules/lodash/_memoizeCapped.js");
19194  
19195  /** Used to match property names within property paths. */
19196  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
19197  
19198  /** Used to match backslashes in property paths. */
19199  var reEscapeChar = /\\(\\)?/g;
19200  
19201  /**
19202   * Converts `string` to a property path array.
19203   *
19204   * @private
19205   * @param {string} string The string to convert.
19206   * @returns {Array} Returns the property path array.
19207   */
19208  var stringToPath = memoizeCapped(function(string) {
19209    var result = [];
19210    if (string.charCodeAt(0) === 46 /* . */) {
19211      result.push('');
19212    }
19213    string.replace(rePropName, function(match, number, quote, subString) {
19214      result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
19215    });
19216    return result;
19217  });
19218  
19219  module.exports = stringToPath;
19220  
19221  
19222  /***/ }),
19223  
19224  /***/ "./node_modules/lodash/_toKey.js":
19225  /*!***************************************!*\
19226    !*** ./node_modules/lodash/_toKey.js ***!
19227    \***************************************/
19228  /*! no static exports found */
19229  /***/ (function(module, exports, __webpack_require__) {
19230  
19231  var isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
19232  
19233  /** Used as references for various `Number` constants. */
19234  var INFINITY = 1 / 0;
19235  
19236  /**
19237   * Converts `value` to a string key if it's not a string or symbol.
19238   *
19239   * @private
19240   * @param {*} value The value to inspect.
19241   * @returns {string|symbol} Returns the key.
19242   */
19243  function toKey(value) {
19244    if (typeof value == 'string' || isSymbol(value)) {
19245      return value;
19246    }
19247    var result = (value + '');
19248    return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
19249  }
19250  
19251  module.exports = toKey;
19252  
19253  
19254  /***/ }),
19255  
19256  /***/ "./node_modules/lodash/_toSource.js":
19257  /*!******************************************!*\
19258    !*** ./node_modules/lodash/_toSource.js ***!
19259    \******************************************/
19260  /*! no static exports found */
19261  /***/ (function(module, exports) {
19262  
19263  /** Used for built-in method references. */
19264  var funcProto = Function.prototype;
19265  
19266  /** Used to resolve the decompiled source of functions. */
19267  var funcToString = funcProto.toString;
19268  
19269  /**
19270   * Converts `func` to its source code.
19271   *
19272   * @private
19273   * @param {Function} func The function to convert.
19274   * @returns {string} Returns the source code.
19275   */
19276  function toSource(func) {
19277    if (func != null) {
19278      try {
19279        return funcToString.call(func);
19280      } catch (e) {}
19281      try {
19282        return (func + '');
19283      } catch (e) {}
19284    }
19285    return '';
19286  }
19287  
19288  module.exports = toSource;
19289  
19290  
19291  /***/ }),
19292  
19293  /***/ "./node_modules/lodash/cloneDeep.js":
19294  /*!******************************************!*\
19295    !*** ./node_modules/lodash/cloneDeep.js ***!
19296    \******************************************/
19297  /*! no static exports found */
19298  /***/ (function(module, exports, __webpack_require__) {
19299  
19300  var baseClone = __webpack_require__(/*! ./_baseClone */ "./node_modules/lodash/_baseClone.js");
19301  
19302  /** Used to compose bitmasks for cloning. */
19303  var CLONE_DEEP_FLAG = 1,
19304      CLONE_SYMBOLS_FLAG = 4;
19305  
19306  /**
19307   * This method is like `_.clone` except that it recursively clones `value`.
19308   *
19309   * @static
19310   * @memberOf _
19311   * @since 1.0.0
19312   * @category Lang
19313   * @param {*} value The value to recursively clone.
19314   * @returns {*} Returns the deep cloned value.
19315   * @see _.clone
19316   * @example
19317   *
19318   * var objects = [{ 'a': 1 }, { 'b': 2 }];
19319   *
19320   * var deep = _.cloneDeep(objects);
19321   * console.log(deep[0] === objects[0]);
19322   * // => false
19323   */
19324  function cloneDeep(value) {
19325    return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
19326  }
19327  
19328  module.exports = cloneDeep;
19329  
19330  
19331  /***/ }),
19332  
19333  /***/ "./node_modules/lodash/debounce.js":
19334  /*!*****************************************!*\
19335    !*** ./node_modules/lodash/debounce.js ***!
19336    \*****************************************/
19337  /*! no static exports found */
19338  /***/ (function(module, exports, __webpack_require__) {
19339  
19340  var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
19341      now = __webpack_require__(/*! ./now */ "./node_modules/lodash/now.js"),
19342      toNumber = __webpack_require__(/*! ./toNumber */ "./node_modules/lodash/toNumber.js");
19343  
19344  /** Error message constants. */
19345  var FUNC_ERROR_TEXT = 'Expected a function';
19346  
19347  /* Built-in method references for those with the same name as other `lodash` methods. */
19348  var nativeMax = Math.max,
19349      nativeMin = Math.min;
19350  
19351  /**
19352   * Creates a debounced function that delays invoking `func` until after `wait`
19353   * milliseconds have elapsed since the last time the debounced function was
19354   * invoked. The debounced function comes with a `cancel` method to cancel
19355   * delayed `func` invocations and a `flush` method to immediately invoke them.
19356   * Provide `options` to indicate whether `func` should be invoked on the
19357   * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
19358   * with the last arguments provided to the debounced function. Subsequent
19359   * calls to the debounced function return the result of the last `func`
19360   * invocation.
19361   *
19362   * **Note:** If `leading` and `trailing` options are `true`, `func` is
19363   * invoked on the trailing edge of the timeout only if the debounced function
19364   * is invoked more than once during the `wait` timeout.
19365   *
19366   * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
19367   * until to the next tick, similar to `setTimeout` with a timeout of `0`.
19368   *
19369   * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
19370   * for details over the differences between `_.debounce` and `_.throttle`.
19371   *
19372   * @static
19373   * @memberOf _
19374   * @since 0.1.0
19375   * @category Function
19376   * @param {Function} func The function to debounce.
19377   * @param {number} [wait=0] The number of milliseconds to delay.
19378   * @param {Object} [options={}] The options object.
19379   * @param {boolean} [options.leading=false]
19380   *  Specify invoking on the leading edge of the timeout.
19381   * @param {number} [options.maxWait]
19382   *  The maximum time `func` is allowed to be delayed before it's invoked.
19383   * @param {boolean} [options.trailing=true]
19384   *  Specify invoking on the trailing edge of the timeout.
19385   * @returns {Function} Returns the new debounced function.
19386   * @example
19387   *
19388   * // Avoid costly calculations while the window size is in flux.
19389   * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
19390   *
19391   * // Invoke `sendMail` when clicked, debouncing subsequent calls.
19392   * jQuery(element).on('click', _.debounce(sendMail, 300, {
19393   *   'leading': true,
19394   *   'trailing': false
19395   * }));
19396   *
19397   * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
19398   * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
19399   * var source = new EventSource('/stream');
19400   * jQuery(source).on('message', debounced);
19401   *
19402   * // Cancel the trailing debounced invocation.
19403   * jQuery(window).on('popstate', debounced.cancel);
19404   */
19405  function debounce(func, wait, options) {
19406    var lastArgs,
19407        lastThis,
19408        maxWait,
19409        result,
19410        timerId,
19411        lastCallTime,
19412        lastInvokeTime = 0,
19413        leading = false,
19414        maxing = false,
19415        trailing = true;
19416  
19417    if (typeof func != 'function') {
19418      throw new TypeError(FUNC_ERROR_TEXT);
19419    }
19420    wait = toNumber(wait) || 0;
19421    if (isObject(options)) {
19422      leading = !!options.leading;
19423      maxing = 'maxWait' in options;
19424      maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
19425      trailing = 'trailing' in options ? !!options.trailing : trailing;
19426    }
19427  
19428    function invokeFunc(time) {
19429      var args = lastArgs,
19430          thisArg = lastThis;
19431  
19432      lastArgs = lastThis = undefined;
19433      lastInvokeTime = time;
19434      result = func.apply(thisArg, args);
19435      return result;
19436    }
19437  
19438    function leadingEdge(time) {
19439      // Reset any `maxWait` timer.
19440      lastInvokeTime = time;
19441      // Start the timer for the trailing edge.
19442      timerId = setTimeout(timerExpired, wait);
19443      // Invoke the leading edge.
19444      return leading ? invokeFunc(time) : result;
19445    }
19446  
19447    function remainingWait(time) {
19448      var timeSinceLastCall = time - lastCallTime,
19449          timeSinceLastInvoke = time - lastInvokeTime,
19450          timeWaiting = wait - timeSinceLastCall;
19451  
19452      return maxing
19453        ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
19454        : timeWaiting;
19455    }
19456  
19457    function shouldInvoke(time) {
19458      var timeSinceLastCall = time - lastCallTime,
19459          timeSinceLastInvoke = time - lastInvokeTime;
19460  
19461      // Either this is the first call, activity has stopped and we're at the
19462      // trailing edge, the system time has gone backwards and we're treating
19463      // it as the trailing edge, or we've hit the `maxWait` limit.
19464      return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
19465        (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
19466    }
19467  
19468    function timerExpired() {
19469      var time = now();
19470      if (shouldInvoke(time)) {
19471        return trailingEdge(time);
19472      }
19473      // Restart the timer.
19474      timerId = setTimeout(timerExpired, remainingWait(time));
19475    }
19476  
19477    function trailingEdge(time) {
19478      timerId = undefined;
19479  
19480      // Only invoke if we have `lastArgs` which means `func` has been
19481      // debounced at least once.
19482      if (trailing && lastArgs) {
19483        return invokeFunc(time);
19484      }
19485      lastArgs = lastThis = undefined;
19486      return result;
19487    }
19488  
19489    function cancel() {
19490      if (timerId !== undefined) {
19491        clearTimeout(timerId);
19492      }
19493      lastInvokeTime = 0;
19494      lastArgs = lastCallTime = lastThis = timerId = undefined;
19495    }
19496  
19497    function flush() {
19498      return timerId === undefined ? result : trailingEdge(now());
19499    }
19500  
19501    function debounced() {
19502      var time = now(),
19503          isInvoking = shouldInvoke(time);
19504  
19505      lastArgs = arguments;
19506      lastThis = this;
19507      lastCallTime = time;
19508  
19509      if (isInvoking) {
19510        if (timerId === undefined) {
19511          return leadingEdge(lastCallTime);
19512        }
19513        if (maxing) {
19514          // Handle invocations in a tight loop.
19515          timerId = setTimeout(timerExpired, wait);
19516          return invokeFunc(lastCallTime);
19517        }
19518      }
19519      if (timerId === undefined) {
19520        timerId = setTimeout(timerExpired, wait);
19521      }
19522      return result;
19523    }
19524    debounced.cancel = cancel;
19525    debounced.flush = flush;
19526    return debounced;
19527  }
19528  
19529  module.exports = debounce;
19530  
19531  
19532  /***/ }),
19533  
19534  /***/ "./node_modules/lodash/each.js":
19535  /*!*************************************!*\
19536    !*** ./node_modules/lodash/each.js ***!
19537    \*************************************/
19538  /*! no static exports found */
19539  /***/ (function(module, exports, __webpack_require__) {
19540  
19541  module.exports = __webpack_require__(/*! ./forEach */ "./node_modules/lodash/forEach.js");
19542  
19543  
19544  /***/ }),
19545  
19546  /***/ "./node_modules/lodash/eq.js":
19547  /*!***********************************!*\
19548    !*** ./node_modules/lodash/eq.js ***!
19549    \***********************************/
19550  /*! no static exports found */
19551  /***/ (function(module, exports) {
19552  
19553  /**
19554   * Performs a
19555   * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
19556   * comparison between two values to determine if they are equivalent.
19557   *
19558   * @static
19559   * @memberOf _
19560   * @since 4.0.0
19561   * @category Lang
19562   * @param {*} value The value to compare.
19563   * @param {*} other The other value to compare.
19564   * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
19565   * @example
19566   *
19567   * var object = { 'a': 1 };
19568   * var other = { 'a': 1 };
19569   *
19570   * _.eq(object, object);
19571   * // => true
19572   *
19573   * _.eq(object, other);
19574   * // => false
19575   *
19576   * _.eq('a', 'a');
19577   * // => true
19578   *
19579   * _.eq('a', Object('a'));
19580   * // => false
19581   *
19582   * _.eq(NaN, NaN);
19583   * // => true
19584   */
19585  function eq(value, other) {
19586    return value === other || (value !== value && other !== other);
19587  }
19588  
19589  module.exports = eq;
19590  
19591  
19592  /***/ }),
19593  
19594  /***/ "./node_modules/lodash/forEach.js":
19595  /*!****************************************!*\
19596    !*** ./node_modules/lodash/forEach.js ***!
19597    \****************************************/
19598  /*! no static exports found */
19599  /***/ (function(module, exports, __webpack_require__) {
19600  
19601  var arrayEach = __webpack_require__(/*! ./_arrayEach */ "./node_modules/lodash/_arrayEach.js"),
19602      baseEach = __webpack_require__(/*! ./_baseEach */ "./node_modules/lodash/_baseEach.js"),
19603      castFunction = __webpack_require__(/*! ./_castFunction */ "./node_modules/lodash/_castFunction.js"),
19604      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
19605  
19606  /**
19607   * Iterates over elements of `collection` and invokes `iteratee` for each element.
19608   * The iteratee is invoked with three arguments: (value, index|key, collection).
19609   * Iteratee functions may exit iteration early by explicitly returning `false`.
19610   *
19611   * **Note:** As with other "Collections" methods, objects with a "length"
19612   * property are iterated like arrays. To avoid this behavior use `_.forIn`
19613   * or `_.forOwn` for object iteration.
19614   *
19615   * @static
19616   * @memberOf _
19617   * @since 0.1.0
19618   * @alias each
19619   * @category Collection
19620   * @param {Array|Object} collection The collection to iterate over.
19621   * @param {Function} [iteratee=_.identity] The function invoked per iteration.
19622   * @returns {Array|Object} Returns `collection`.
19623   * @see _.forEachRight
19624   * @example
19625   *
19626   * _.forEach([1, 2], function(value) {
19627   *   console.log(value);
19628   * });
19629   * // => Logs `1` then `2`.
19630   *
19631   * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
19632   *   console.log(key);
19633   * });
19634   * // => Logs 'a' then 'b' (iteration order is not guaranteed).
19635   */
19636  function forEach(collection, iteratee) {
19637    var func = isArray(collection) ? arrayEach : baseEach;
19638    return func(collection, castFunction(iteratee));
19639  }
19640  
19641  module.exports = forEach;
19642  
19643  
19644  /***/ }),
19645  
19646  /***/ "./node_modules/lodash/forOwn.js":
19647  /*!***************************************!*\
19648    !*** ./node_modules/lodash/forOwn.js ***!
19649    \***************************************/
19650  /*! no static exports found */
19651  /***/ (function(module, exports, __webpack_require__) {
19652  
19653  var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ "./node_modules/lodash/_baseForOwn.js"),
19654      castFunction = __webpack_require__(/*! ./_castFunction */ "./node_modules/lodash/_castFunction.js");
19655  
19656  /**
19657   * Iterates over own enumerable string keyed properties of an object and
19658   * invokes `iteratee` for each property. The iteratee is invoked with three
19659   * arguments: (value, key, object). Iteratee functions may exit iteration
19660   * early by explicitly returning `false`.
19661   *
19662   * @static
19663   * @memberOf _
19664   * @since 0.3.0
19665   * @category Object
19666   * @param {Object} object The object to iterate over.
19667   * @param {Function} [iteratee=_.identity] The function invoked per iteration.
19668   * @returns {Object} Returns `object`.
19669   * @see _.forOwnRight
19670   * @example
19671   *
19672   * function Foo() {
19673   *   this.a = 1;
19674   *   this.b = 2;
19675   * }
19676   *
19677   * Foo.prototype.c = 3;
19678   *
19679   * _.forOwn(new Foo, function(value, key) {
19680   *   console.log(key);
19681   * });
19682   * // => Logs 'a' then 'b' (iteration order is not guaranteed).
19683   */
19684  function forOwn(object, iteratee) {
19685    return object && baseForOwn(object, castFunction(iteratee));
19686  }
19687  
19688  module.exports = forOwn;
19689  
19690  
19691  /***/ }),
19692  
19693  /***/ "./node_modules/lodash/get.js":
19694  /*!************************************!*\
19695    !*** ./node_modules/lodash/get.js ***!
19696    \************************************/
19697  /*! no static exports found */
19698  /***/ (function(module, exports, __webpack_require__) {
19699  
19700  var baseGet = __webpack_require__(/*! ./_baseGet */ "./node_modules/lodash/_baseGet.js");
19701  
19702  /**
19703   * Gets the value at `path` of `object`. If the resolved value is
19704   * `undefined`, the `defaultValue` is returned in its place.
19705   *
19706   * @static
19707   * @memberOf _
19708   * @since 3.7.0
19709   * @category Object
19710   * @param {Object} object The object to query.
19711   * @param {Array|string} path The path of the property to get.
19712   * @param {*} [defaultValue] The value returned for `undefined` resolved values.
19713   * @returns {*} Returns the resolved value.
19714   * @example
19715   *
19716   * var object = { 'a': [{ 'b': { 'c': 3 } }] };
19717   *
19718   * _.get(object, 'a[0].b.c');
19719   * // => 3
19720   *
19721   * _.get(object, ['a', '0', 'b', 'c']);
19722   * // => 3
19723   *
19724   * _.get(object, 'a.b.c', 'default');
19725   * // => 'default'
19726   */
19727  function get(object, path, defaultValue) {
19728    var result = object == null ? undefined : baseGet(object, path);
19729    return result === undefined ? defaultValue : result;
19730  }
19731  
19732  module.exports = get;
19733  
19734  
19735  /***/ }),
19736  
19737  /***/ "./node_modules/lodash/hasIn.js":
19738  /*!**************************************!*\
19739    !*** ./node_modules/lodash/hasIn.js ***!
19740    \**************************************/
19741  /*! no static exports found */
19742  /***/ (function(module, exports, __webpack_require__) {
19743  
19744  var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ "./node_modules/lodash/_baseHasIn.js"),
19745      hasPath = __webpack_require__(/*! ./_hasPath */ "./node_modules/lodash/_hasPath.js");
19746  
19747  /**
19748   * Checks if `path` is a direct or inherited property of `object`.
19749   *
19750   * @static
19751   * @memberOf _
19752   * @since 4.0.0
19753   * @category Object
19754   * @param {Object} object The object to query.
19755   * @param {Array|string} path The path to check.
19756   * @returns {boolean} Returns `true` if `path` exists, else `false`.
19757   * @example
19758   *
19759   * var object = _.create({ 'a': _.create({ 'b': 2 }) });
19760   *
19761   * _.hasIn(object, 'a');
19762   * // => true
19763   *
19764   * _.hasIn(object, 'a.b');
19765   * // => true
19766   *
19767   * _.hasIn(object, ['a', 'b']);
19768   * // => true
19769   *
19770   * _.hasIn(object, 'b');
19771   * // => false
19772   */
19773  function hasIn(object, path) {
19774    return object != null && hasPath(object, path, baseHasIn);
19775  }
19776  
19777  module.exports = hasIn;
19778  
19779  
19780  /***/ }),
19781  
19782  /***/ "./node_modules/lodash/identity.js":
19783  /*!*****************************************!*\
19784    !*** ./node_modules/lodash/identity.js ***!
19785    \*****************************************/
19786  /*! no static exports found */
19787  /***/ (function(module, exports) {
19788  
19789  /**
19790   * This method returns the first argument it receives.
19791   *
19792   * @static
19793   * @since 0.1.0
19794   * @memberOf _
19795   * @category Util
19796   * @param {*} value Any value.
19797   * @returns {*} Returns `value`.
19798   * @example
19799   *
19800   * var object = { 'a': 1 };
19801   *
19802   * console.log(_.identity(object) === object);
19803   * // => true
19804   */
19805  function identity(value) {
19806    return value;
19807  }
19808  
19809  module.exports = identity;
19810  
19811  
19812  /***/ }),
19813  
19814  /***/ "./node_modules/lodash/isArguments.js":
19815  /*!********************************************!*\
19816    !*** ./node_modules/lodash/isArguments.js ***!
19817    \********************************************/
19818  /*! no static exports found */
19819  /***/ (function(module, exports, __webpack_require__) {
19820  
19821  var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ "./node_modules/lodash/_baseIsArguments.js"),
19822      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
19823  
19824  /** Used for built-in method references. */
19825  var objectProto = Object.prototype;
19826  
19827  /** Used to check objects for own properties. */
19828  var hasOwnProperty = objectProto.hasOwnProperty;
19829  
19830  /** Built-in value references. */
19831  var propertyIsEnumerable = objectProto.propertyIsEnumerable;
19832  
19833  /**
19834   * Checks if `value` is likely an `arguments` object.
19835   *
19836   * @static
19837   * @memberOf _
19838   * @since 0.1.0
19839   * @category Lang
19840   * @param {*} value The value to check.
19841   * @returns {boolean} Returns `true` if `value` is an `arguments` object,
19842   *  else `false`.
19843   * @example
19844   *
19845   * _.isArguments(function() { return arguments; }());
19846   * // => true
19847   *
19848   * _.isArguments([1, 2, 3]);
19849   * // => false
19850   */
19851  var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
19852    return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
19853      !propertyIsEnumerable.call(value, 'callee');
19854  };
19855  
19856  module.exports = isArguments;
19857  
19858  
19859  /***/ }),
19860  
19861  /***/ "./node_modules/lodash/isArray.js":
19862  /*!****************************************!*\
19863    !*** ./node_modules/lodash/isArray.js ***!
19864    \****************************************/
19865  /*! no static exports found */
19866  /***/ (function(module, exports) {
19867  
19868  /**
19869   * Checks if `value` is classified as an `Array` object.
19870   *
19871   * @static
19872   * @memberOf _
19873   * @since 0.1.0
19874   * @category Lang
19875   * @param {*} value The value to check.
19876   * @returns {boolean} Returns `true` if `value` is an array, else `false`.
19877   * @example
19878   *
19879   * _.isArray([1, 2, 3]);
19880   * // => true
19881   *
19882   * _.isArray(document.body.children);
19883   * // => false
19884   *
19885   * _.isArray('abc');
19886   * // => false
19887   *
19888   * _.isArray(_.noop);
19889   * // => false
19890   */
19891  var isArray = Array.isArray;
19892  
19893  module.exports = isArray;
19894  
19895  
19896  /***/ }),
19897  
19898  /***/ "./node_modules/lodash/isArrayLike.js":
19899  /*!********************************************!*\
19900    !*** ./node_modules/lodash/isArrayLike.js ***!
19901    \********************************************/
19902  /*! no static exports found */
19903  /***/ (function(module, exports, __webpack_require__) {
19904  
19905  var isFunction = __webpack_require__(/*! ./isFunction */ "./node_modules/lodash/isFunction.js"),
19906      isLength = __webpack_require__(/*! ./isLength */ "./node_modules/lodash/isLength.js");
19907  
19908  /**
19909   * Checks if `value` is array-like. A value is considered array-like if it's
19910   * not a function and has a `value.length` that's an integer greater than or
19911   * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
19912   *
19913   * @static
19914   * @memberOf _
19915   * @since 4.0.0
19916   * @category Lang
19917   * @param {*} value The value to check.
19918   * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
19919   * @example
19920   *
19921   * _.isArrayLike([1, 2, 3]);
19922   * // => true
19923   *
19924   * _.isArrayLike(document.body.children);
19925   * // => true
19926   *
19927   * _.isArrayLike('abc');
19928   * // => true
19929   *
19930   * _.isArrayLike(_.noop);
19931   * // => false
19932   */
19933  function isArrayLike(value) {
19934    return value != null && isLength(value.length) && !isFunction(value);
19935  }
19936  
19937  module.exports = isArrayLike;
19938  
19939  
19940  /***/ }),
19941  
19942  /***/ "./node_modules/lodash/isBuffer.js":
19943  /*!*****************************************!*\
19944    !*** ./node_modules/lodash/isBuffer.js ***!
19945    \*****************************************/
19946  /*! no static exports found */
19947  /***/ (function(module, exports, __webpack_require__) {
19948  
19949  /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js"),
19950      stubFalse = __webpack_require__(/*! ./stubFalse */ "./node_modules/lodash/stubFalse.js");
19951  
19952  /** Detect free variable `exports`. */
19953  var freeExports =  true && exports && !exports.nodeType && exports;
19954  
19955  /** Detect free variable `module`. */
19956  var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
19957  
19958  /** Detect the popular CommonJS extension `module.exports`. */
19959  var moduleExports = freeModule && freeModule.exports === freeExports;
19960  
19961  /** Built-in value references. */
19962  var Buffer = moduleExports ? root.Buffer : undefined;
19963  
19964  /* Built-in method references for those with the same name as other `lodash` methods. */
19965  var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
19966  
19967  /**
19968   * Checks if `value` is a buffer.
19969   *
19970   * @static
19971   * @memberOf _
19972   * @since 4.3.0
19973   * @category Lang
19974   * @param {*} value The value to check.
19975   * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
19976   * @example
19977   *
19978   * _.isBuffer(new Buffer(2));
19979   * // => true
19980   *
19981   * _.isBuffer(new Uint8Array(2));
19982   * // => false
19983   */
19984  var isBuffer = nativeIsBuffer || stubFalse;
19985  
19986  module.exports = isBuffer;
19987  
19988  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ "./node_modules/webpack/buildin/module.js")(module)))
19989  
19990  /***/ }),
19991  
19992  /***/ "./node_modules/lodash/isFunction.js":
19993  /*!*******************************************!*\
19994    !*** ./node_modules/lodash/isFunction.js ***!
19995    \*******************************************/
19996  /*! no static exports found */
19997  /***/ (function(module, exports, __webpack_require__) {
19998  
19999  var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
20000      isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
20001  
20002  /** `Object#toString` result references. */
20003  var asyncTag = '[object AsyncFunction]',
20004      funcTag = '[object Function]',
20005      genTag = '[object GeneratorFunction]',
20006      proxyTag = '[object Proxy]';
20007  
20008  /**
20009   * Checks if `value` is classified as a `Function` object.
20010   *
20011   * @static
20012   * @memberOf _
20013   * @since 0.1.0
20014   * @category Lang
20015   * @param {*} value The value to check.
20016   * @returns {boolean} Returns `true` if `value` is a function, else `false`.
20017   * @example
20018   *
20019   * _.isFunction(_);
20020   * // => true
20021   *
20022   * _.isFunction(/abc/);
20023   * // => false
20024   */
20025  function isFunction(value) {
20026    if (!isObject(value)) {
20027      return false;
20028    }
20029    // The use of `Object#toString` avoids issues with the `typeof` operator
20030    // in Safari 9 which returns 'object' for typed arrays and other constructors.
20031    var tag = baseGetTag(value);
20032    return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
20033  }
20034  
20035  module.exports = isFunction;
20036  
20037  
20038  /***/ }),
20039  
20040  /***/ "./node_modules/lodash/isLength.js":
20041  /*!*****************************************!*\
20042    !*** ./node_modules/lodash/isLength.js ***!
20043    \*****************************************/
20044  /*! no static exports found */
20045  /***/ (function(module, exports) {
20046  
20047  /** Used as references for various `Number` constants. */
20048  var MAX_SAFE_INTEGER = 9007199254740991;
20049  
20050  /**
20051   * Checks if `value` is a valid array-like length.
20052   *
20053   * **Note:** This method is loosely based on
20054   * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
20055   *
20056   * @static
20057   * @memberOf _
20058   * @since 4.0.0
20059   * @category Lang
20060   * @param {*} value The value to check.
20061   * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
20062   * @example
20063   *
20064   * _.isLength(3);
20065   * // => true
20066   *
20067   * _.isLength(Number.MIN_VALUE);
20068   * // => false
20069   *
20070   * _.isLength(Infinity);
20071   * // => false
20072   *
20073   * _.isLength('3');
20074   * // => false
20075   */
20076  function isLength(value) {
20077    return typeof value == 'number' &&
20078      value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
20079  }
20080  
20081  module.exports = isLength;
20082  
20083  
20084  /***/ }),
20085  
20086  /***/ "./node_modules/lodash/isMap.js":
20087  /*!**************************************!*\
20088    !*** ./node_modules/lodash/isMap.js ***!
20089    \**************************************/
20090  /*! no static exports found */
20091  /***/ (function(module, exports, __webpack_require__) {
20092  
20093  var baseIsMap = __webpack_require__(/*! ./_baseIsMap */ "./node_modules/lodash/_baseIsMap.js"),
20094      baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
20095      nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
20096  
20097  /* Node.js helper references. */
20098  var nodeIsMap = nodeUtil && nodeUtil.isMap;
20099  
20100  /**
20101   * Checks if `value` is classified as a `Map` object.
20102   *
20103   * @static
20104   * @memberOf _
20105   * @since 4.3.0
20106   * @category Lang
20107   * @param {*} value The value to check.
20108   * @returns {boolean} Returns `true` if `value` is a map, else `false`.
20109   * @example
20110   *
20111   * _.isMap(new Map);
20112   * // => true
20113   *
20114   * _.isMap(new WeakMap);
20115   * // => false
20116   */
20117  var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
20118  
20119  module.exports = isMap;
20120  
20121  
20122  /***/ }),
20123  
20124  /***/ "./node_modules/lodash/isObject.js":
20125  /*!*****************************************!*\
20126    !*** ./node_modules/lodash/isObject.js ***!
20127    \*****************************************/
20128  /*! no static exports found */
20129  /***/ (function(module, exports) {
20130  
20131  /**
20132   * Checks if `value` is the
20133   * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
20134   * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
20135   *
20136   * @static
20137   * @memberOf _
20138   * @since 0.1.0
20139   * @category Lang
20140   * @param {*} value The value to check.
20141   * @returns {boolean} Returns `true` if `value` is an object, else `false`.
20142   * @example
20143   *
20144   * _.isObject({});
20145   * // => true
20146   *
20147   * _.isObject([1, 2, 3]);
20148   * // => true
20149   *
20150   * _.isObject(_.noop);
20151   * // => true
20152   *
20153   * _.isObject(null);
20154   * // => false
20155   */
20156  function isObject(value) {
20157    var type = typeof value;
20158    return value != null && (type == 'object' || type == 'function');
20159  }
20160  
20161  module.exports = isObject;
20162  
20163  
20164  /***/ }),
20165  
20166  /***/ "./node_modules/lodash/isObjectLike.js":
20167  /*!*********************************************!*\
20168    !*** ./node_modules/lodash/isObjectLike.js ***!
20169    \*********************************************/
20170  /*! no static exports found */
20171  /***/ (function(module, exports) {
20172  
20173  /**
20174   * Checks if `value` is object-like. A value is object-like if it's not `null`
20175   * and has a `typeof` result of "object".
20176   *
20177   * @static
20178   * @memberOf _
20179   * @since 4.0.0
20180   * @category Lang
20181   * @param {*} value The value to check.
20182   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
20183   * @example
20184   *
20185   * _.isObjectLike({});
20186   * // => true
20187   *
20188   * _.isObjectLike([1, 2, 3]);
20189   * // => true
20190   *
20191   * _.isObjectLike(_.noop);
20192   * // => false
20193   *
20194   * _.isObjectLike(null);
20195   * // => false
20196   */
20197  function isObjectLike(value) {
20198    return value != null && typeof value == 'object';
20199  }
20200  
20201  module.exports = isObjectLike;
20202  
20203  
20204  /***/ }),
20205  
20206  /***/ "./node_modules/lodash/isPlainObject.js":
20207  /*!**********************************************!*\
20208    !*** ./node_modules/lodash/isPlainObject.js ***!
20209    \**********************************************/
20210  /*! no static exports found */
20211  /***/ (function(module, exports, __webpack_require__) {
20212  
20213  var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
20214      getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
20215      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
20216  
20217  /** `Object#toString` result references. */
20218  var objectTag = '[object Object]';
20219  
20220  /** Used for built-in method references. */
20221  var funcProto = Function.prototype,
20222      objectProto = Object.prototype;
20223  
20224  /** Used to resolve the decompiled source of functions. */
20225  var funcToString = funcProto.toString;
20226  
20227  /** Used to check objects for own properties. */
20228  var hasOwnProperty = objectProto.hasOwnProperty;
20229  
20230  /** Used to infer the `Object` constructor. */
20231  var objectCtorString = funcToString.call(Object);
20232  
20233  /**
20234   * Checks if `value` is a plain object, that is, an object created by the
20235   * `Object` constructor or one with a `[[Prototype]]` of `null`.
20236   *
20237   * @static
20238   * @memberOf _
20239   * @since 0.8.0
20240   * @category Lang
20241   * @param {*} value The value to check.
20242   * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
20243   * @example
20244   *
20245   * function Foo() {
20246   *   this.a = 1;
20247   * }
20248   *
20249   * _.isPlainObject(new Foo);
20250   * // => false
20251   *
20252   * _.isPlainObject([1, 2, 3]);
20253   * // => false
20254   *
20255   * _.isPlainObject({ 'x': 0, 'y': 0 });
20256   * // => true
20257   *
20258   * _.isPlainObject(Object.create(null));
20259   * // => true
20260   */
20261  function isPlainObject(value) {
20262    if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
20263      return false;
20264    }
20265    var proto = getPrototype(value);
20266    if (proto === null) {
20267      return true;
20268    }
20269    var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
20270    return typeof Ctor == 'function' && Ctor instanceof Ctor &&
20271      funcToString.call(Ctor) == objectCtorString;
20272  }
20273  
20274  module.exports = isPlainObject;
20275  
20276  
20277  /***/ }),
20278  
20279  /***/ "./node_modules/lodash/isSet.js":
20280  /*!**************************************!*\
20281    !*** ./node_modules/lodash/isSet.js ***!
20282    \**************************************/
20283  /*! no static exports found */
20284  /***/ (function(module, exports, __webpack_require__) {
20285  
20286  var baseIsSet = __webpack_require__(/*! ./_baseIsSet */ "./node_modules/lodash/_baseIsSet.js"),
20287      baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
20288      nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
20289  
20290  /* Node.js helper references. */
20291  var nodeIsSet = nodeUtil && nodeUtil.isSet;
20292  
20293  /**
20294   * Checks if `value` is classified as a `Set` object.
20295   *
20296   * @static
20297   * @memberOf _
20298   * @since 4.3.0
20299   * @category Lang
20300   * @param {*} value The value to check.
20301   * @returns {boolean} Returns `true` if `value` is a set, else `false`.
20302   * @example
20303   *
20304   * _.isSet(new Set);
20305   * // => true
20306   *
20307   * _.isSet(new WeakSet);
20308   * // => false
20309   */
20310  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
20311  
20312  module.exports = isSet;
20313  
20314  
20315  /***/ }),
20316  
20317  /***/ "./node_modules/lodash/isString.js":
20318  /*!*****************************************!*\
20319    !*** ./node_modules/lodash/isString.js ***!
20320    \*****************************************/
20321  /*! no static exports found */
20322  /***/ (function(module, exports, __webpack_require__) {
20323  
20324  var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
20325      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js"),
20326      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
20327  
20328  /** `Object#toString` result references. */
20329  var stringTag = '[object String]';
20330  
20331  /**
20332   * Checks if `value` is classified as a `String` primitive or object.
20333   *
20334   * @static
20335   * @since 0.1.0
20336   * @memberOf _
20337   * @category Lang
20338   * @param {*} value The value to check.
20339   * @returns {boolean} Returns `true` if `value` is a string, else `false`.
20340   * @example
20341   *
20342   * _.isString('abc');
20343   * // => true
20344   *
20345   * _.isString(1);
20346   * // => false
20347   */
20348  function isString(value) {
20349    return typeof value == 'string' ||
20350      (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
20351  }
20352  
20353  module.exports = isString;
20354  
20355  
20356  /***/ }),
20357  
20358  /***/ "./node_modules/lodash/isSymbol.js":
20359  /*!*****************************************!*\
20360    !*** ./node_modules/lodash/isSymbol.js ***!
20361    \*****************************************/
20362  /*! no static exports found */
20363  /***/ (function(module, exports, __webpack_require__) {
20364  
20365  var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
20366      isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
20367  
20368  /** `Object#toString` result references. */
20369  var symbolTag = '[object Symbol]';
20370  
20371  /**
20372   * Checks if `value` is classified as a `Symbol` primitive or object.
20373   *
20374   * @static
20375   * @memberOf _
20376   * @since 4.0.0
20377   * @category Lang
20378   * @param {*} value The value to check.
20379   * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
20380   * @example
20381   *
20382   * _.isSymbol(Symbol.iterator);
20383   * // => true
20384   *
20385   * _.isSymbol('abc');
20386   * // => false
20387   */
20388  function isSymbol(value) {
20389    return typeof value == 'symbol' ||
20390      (isObjectLike(value) && baseGetTag(value) == symbolTag);
20391  }
20392  
20393  module.exports = isSymbol;
20394  
20395  
20396  /***/ }),
20397  
20398  /***/ "./node_modules/lodash/isTypedArray.js":
20399  /*!*********************************************!*\
20400    !*** ./node_modules/lodash/isTypedArray.js ***!
20401    \*********************************************/
20402  /*! no static exports found */
20403  /***/ (function(module, exports, __webpack_require__) {
20404  
20405  var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ "./node_modules/lodash/_baseIsTypedArray.js"),
20406      baseUnary = __webpack_require__(/*! ./_baseUnary */ "./node_modules/lodash/_baseUnary.js"),
20407      nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "./node_modules/lodash/_nodeUtil.js");
20408  
20409  /* Node.js helper references. */
20410  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
20411  
20412  /**
20413   * Checks if `value` is classified as a typed array.
20414   *
20415   * @static
20416   * @memberOf _
20417   * @since 3.0.0
20418   * @category Lang
20419   * @param {*} value The value to check.
20420   * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
20421   * @example
20422   *
20423   * _.isTypedArray(new Uint8Array);
20424   * // => true
20425   *
20426   * _.isTypedArray([]);
20427   * // => false
20428   */
20429  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
20430  
20431  module.exports = isTypedArray;
20432  
20433  
20434  /***/ }),
20435  
20436  /***/ "./node_modules/lodash/keys.js":
20437  /*!*************************************!*\
20438    !*** ./node_modules/lodash/keys.js ***!
20439    \*************************************/
20440  /*! no static exports found */
20441  /***/ (function(module, exports, __webpack_require__) {
20442  
20443  var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./node_modules/lodash/_arrayLikeKeys.js"),
20444      baseKeys = __webpack_require__(/*! ./_baseKeys */ "./node_modules/lodash/_baseKeys.js"),
20445      isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
20446  
20447  /**
20448   * Creates an array of the own enumerable property names of `object`.
20449   *
20450   * **Note:** Non-object values are coerced to objects. See the
20451   * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
20452   * for more details.
20453   *
20454   * @static
20455   * @since 0.1.0
20456   * @memberOf _
20457   * @category Object
20458   * @param {Object} object The object to query.
20459   * @returns {Array} Returns the array of property names.
20460   * @example
20461   *
20462   * function Foo() {
20463   *   this.a = 1;
20464   *   this.b = 2;
20465   * }
20466   *
20467   * Foo.prototype.c = 3;
20468   *
20469   * _.keys(new Foo);
20470   * // => ['a', 'b'] (iteration order is not guaranteed)
20471   *
20472   * _.keys('hi');
20473   * // => ['0', '1']
20474   */
20475  function keys(object) {
20476    return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
20477  }
20478  
20479  module.exports = keys;
20480  
20481  
20482  /***/ }),
20483  
20484  /***/ "./node_modules/lodash/keysIn.js":
20485  /*!***************************************!*\
20486    !*** ./node_modules/lodash/keysIn.js ***!
20487    \***************************************/
20488  /*! no static exports found */
20489  /***/ (function(module, exports, __webpack_require__) {
20490  
20491  var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ "./node_modules/lodash/_arrayLikeKeys.js"),
20492      baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ "./node_modules/lodash/_baseKeysIn.js"),
20493      isArrayLike = __webpack_require__(/*! ./isArrayLike */ "./node_modules/lodash/isArrayLike.js");
20494  
20495  /**
20496   * Creates an array of the own and inherited enumerable property names of `object`.
20497   *
20498   * **Note:** Non-object values are coerced to objects.
20499   *
20500   * @static
20501   * @memberOf _
20502   * @since 3.0.0
20503   * @category Object
20504   * @param {Object} object The object to query.
20505   * @returns {Array} Returns the array of property names.
20506   * @example
20507   *
20508   * function Foo() {
20509   *   this.a = 1;
20510   *   this.b = 2;
20511   * }
20512   *
20513   * Foo.prototype.c = 3;
20514   *
20515   * _.keysIn(new Foo);
20516   * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
20517   */
20518  function keysIn(object) {
20519    return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
20520  }
20521  
20522  module.exports = keysIn;
20523  
20524  
20525  /***/ }),
20526  
20527  /***/ "./node_modules/lodash/map.js":
20528  /*!************************************!*\
20529    !*** ./node_modules/lodash/map.js ***!
20530    \************************************/
20531  /*! no static exports found */
20532  /***/ (function(module, exports, __webpack_require__) {
20533  
20534  var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
20535      baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "./node_modules/lodash/_baseIteratee.js"),
20536      baseMap = __webpack_require__(/*! ./_baseMap */ "./node_modules/lodash/_baseMap.js"),
20537      isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
20538  
20539  /**
20540   * Creates an array of values by running each element in `collection` thru
20541   * `iteratee`. The iteratee is invoked with three arguments:
20542   * (value, index|key, collection).
20543   *
20544   * Many lodash methods are guarded to work as iteratees for methods like
20545   * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
20546   *
20547   * The guarded methods are:
20548   * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
20549   * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
20550   * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
20551   * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
20552   *
20553   * @static
20554   * @memberOf _
20555   * @since 0.1.0
20556   * @category Collection
20557   * @param {Array|Object} collection The collection to iterate over.
20558   * @param {Function} [iteratee=_.identity] The function invoked per iteration.
20559   * @returns {Array} Returns the new mapped array.
20560   * @example
20561   *
20562   * function square(n) {
20563   *   return n * n;
20564   * }
20565   *
20566   * _.map([4, 8], square);
20567   * // => [16, 64]
20568   *
20569   * _.map({ 'a': 4, 'b': 8 }, square);
20570   * // => [16, 64] (iteration order is not guaranteed)
20571   *
20572   * var users = [
20573   *   { 'user': 'barney' },
20574   *   { 'user': 'fred' }
20575   * ];
20576   *
20577   * // The `_.property` iteratee shorthand.
20578   * _.map(users, 'user');
20579   * // => ['barney', 'fred']
20580   */
20581  function map(collection, iteratee) {
20582    var func = isArray(collection) ? arrayMap : baseMap;
20583    return func(collection, baseIteratee(iteratee, 3));
20584  }
20585  
20586  module.exports = map;
20587  
20588  
20589  /***/ }),
20590  
20591  /***/ "./node_modules/lodash/memoize.js":
20592  /*!****************************************!*\
20593    !*** ./node_modules/lodash/memoize.js ***!
20594    \****************************************/
20595  /*! no static exports found */
20596  /***/ (function(module, exports, __webpack_require__) {
20597  
20598  var MapCache = __webpack_require__(/*! ./_MapCache */ "./node_modules/lodash/_MapCache.js");
20599  
20600  /** Error message constants. */
20601  var FUNC_ERROR_TEXT = 'Expected a function';
20602  
20603  /**
20604   * Creates a function that memoizes the result of `func`. If `resolver` is
20605   * provided, it determines the cache key for storing the result based on the
20606   * arguments provided to the memoized function. By default, the first argument
20607   * provided to the memoized function is used as the map cache key. The `func`
20608   * is invoked with the `this` binding of the memoized function.
20609   *
20610   * **Note:** The cache is exposed as the `cache` property on the memoized
20611   * function. Its creation may be customized by replacing the `_.memoize.Cache`
20612   * constructor with one whose instances implement the
20613   * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
20614   * method interface of `clear`, `delete`, `get`, `has`, and `set`.
20615   *
20616   * @static
20617   * @memberOf _
20618   * @since 0.1.0
20619   * @category Function
20620   * @param {Function} func The function to have its output memoized.
20621   * @param {Function} [resolver] The function to resolve the cache key.
20622   * @returns {Function} Returns the new memoized function.
20623   * @example
20624   *
20625   * var object = { 'a': 1, 'b': 2 };
20626   * var other = { 'c': 3, 'd': 4 };
20627   *
20628   * var values = _.memoize(_.values);
20629   * values(object);
20630   * // => [1, 2]
20631   *
20632   * values(other);
20633   * // => [3, 4]
20634   *
20635   * object.a = 2;
20636   * values(object);
20637   * // => [1, 2]
20638   *
20639   * // Modify the result cache.
20640   * values.cache.set(object, ['a', 'b']);
20641   * values(object);
20642   * // => ['a', 'b']
20643   *
20644   * // Replace `_.memoize.Cache`.
20645   * _.memoize.Cache = WeakMap;
20646   */
20647  function memoize(func, resolver) {
20648    if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
20649      throw new TypeError(FUNC_ERROR_TEXT);
20650    }
20651    var memoized = function() {
20652      var args = arguments,
20653          key = resolver ? resolver.apply(this, args) : args[0],
20654          cache = memoized.cache;
20655  
20656      if (cache.has(key)) {
20657        return cache.get(key);
20658      }
20659      var result = func.apply(this, args);
20660      memoized.cache = cache.set(key, result) || cache;
20661      return result;
20662    };
20663    memoized.cache = new (memoize.Cache || MapCache);
20664    return memoized;
20665  }
20666  
20667  // Expose `MapCache`.
20668  memoize.Cache = MapCache;
20669  
20670  module.exports = memoize;
20671  
20672  
20673  /***/ }),
20674  
20675  /***/ "./node_modules/lodash/now.js":
20676  /*!************************************!*\
20677    !*** ./node_modules/lodash/now.js ***!
20678    \************************************/
20679  /*! no static exports found */
20680  /***/ (function(module, exports, __webpack_require__) {
20681  
20682  var root = __webpack_require__(/*! ./_root */ "./node_modules/lodash/_root.js");
20683  
20684  /**
20685   * Gets the timestamp of the number of milliseconds that have elapsed since
20686   * the Unix epoch (1 January 1970 00:00:00 UTC).
20687   *
20688   * @static
20689   * @memberOf _
20690   * @since 2.4.0
20691   * @category Date
20692   * @returns {number} Returns the timestamp.
20693   * @example
20694   *
20695   * _.defer(function(stamp) {
20696   *   console.log(_.now() - stamp);
20697   * }, _.now());
20698   * // => Logs the number of milliseconds it took for the deferred invocation.
20699   */
20700  var now = function() {
20701    return root.Date.now();
20702  };
20703  
20704  module.exports = now;
20705  
20706  
20707  /***/ }),
20708  
20709  /***/ "./node_modules/lodash/property.js":
20710  /*!*****************************************!*\
20711    !*** ./node_modules/lodash/property.js ***!
20712    \*****************************************/
20713  /*! no static exports found */
20714  /***/ (function(module, exports, __webpack_require__) {
20715  
20716  var baseProperty = __webpack_require__(/*! ./_baseProperty */ "./node_modules/lodash/_baseProperty.js"),
20717      basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ "./node_modules/lodash/_basePropertyDeep.js"),
20718      isKey = __webpack_require__(/*! ./_isKey */ "./node_modules/lodash/_isKey.js"),
20719      toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
20720  
20721  /**
20722   * Creates a function that returns the value at `path` of a given object.
20723   *
20724   * @static
20725   * @memberOf _
20726   * @since 2.4.0
20727   * @category Util
20728   * @param {Array|string} path The path of the property to get.
20729   * @returns {Function} Returns the new accessor function.
20730   * @example
20731   *
20732   * var objects = [
20733   *   { 'a': { 'b': 2 } },
20734   *   { 'a': { 'b': 1 } }
20735   * ];
20736   *
20737   * _.map(objects, _.property('a.b'));
20738   * // => [2, 1]
20739   *
20740   * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
20741   * // => [1, 2]
20742   */
20743  function property(path) {
20744    return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
20745  }
20746  
20747  module.exports = property;
20748  
20749  
20750  /***/ }),
20751  
20752  /***/ "./node_modules/lodash/stubArray.js":
20753  /*!******************************************!*\
20754    !*** ./node_modules/lodash/stubArray.js ***!
20755    \******************************************/
20756  /*! no static exports found */
20757  /***/ (function(module, exports) {
20758  
20759  /**
20760   * This method returns a new empty array.
20761   *
20762   * @static
20763   * @memberOf _
20764   * @since 4.13.0
20765   * @category Util
20766   * @returns {Array} Returns the new empty array.
20767   * @example
20768   *
20769   * var arrays = _.times(2, _.stubArray);
20770   *
20771   * console.log(arrays);
20772   * // => [[], []]
20773   *
20774   * console.log(arrays[0] === arrays[1]);
20775   * // => false
20776   */
20777  function stubArray() {
20778    return [];
20779  }
20780  
20781  module.exports = stubArray;
20782  
20783  
20784  /***/ }),
20785  
20786  /***/ "./node_modules/lodash/stubFalse.js":
20787  /*!******************************************!*\
20788    !*** ./node_modules/lodash/stubFalse.js ***!
20789    \******************************************/
20790  /*! no static exports found */
20791  /***/ (function(module, exports) {
20792  
20793  /**
20794   * This method returns `false`.
20795   *
20796   * @static
20797   * @memberOf _
20798   * @since 4.13.0
20799   * @category Util
20800   * @returns {boolean} Returns `false`.
20801   * @example
20802   *
20803   * _.times(2, _.stubFalse);
20804   * // => [false, false]
20805   */
20806  function stubFalse() {
20807    return false;
20808  }
20809  
20810  module.exports = stubFalse;
20811  
20812  
20813  /***/ }),
20814  
20815  /***/ "./node_modules/lodash/throttle.js":
20816  /*!*****************************************!*\
20817    !*** ./node_modules/lodash/throttle.js ***!
20818    \*****************************************/
20819  /*! no static exports found */
20820  /***/ (function(module, exports, __webpack_require__) {
20821  
20822  var debounce = __webpack_require__(/*! ./debounce */ "./node_modules/lodash/debounce.js"),
20823      isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js");
20824  
20825  /** Error message constants. */
20826  var FUNC_ERROR_TEXT = 'Expected a function';
20827  
20828  /**
20829   * Creates a throttled function that only invokes `func` at most once per
20830   * every `wait` milliseconds. The throttled function comes with a `cancel`
20831   * method to cancel delayed `func` invocations and a `flush` method to
20832   * immediately invoke them. Provide `options` to indicate whether `func`
20833   * should be invoked on the leading and/or trailing edge of the `wait`
20834   * timeout. The `func` is invoked with the last arguments provided to the
20835   * throttled function. Subsequent calls to the throttled function return the
20836   * result of the last `func` invocation.
20837   *
20838   * **Note:** If `leading` and `trailing` options are `true`, `func` is
20839   * invoked on the trailing edge of the timeout only if the throttled function
20840   * is invoked more than once during the `wait` timeout.
20841   *
20842   * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
20843   * until to the next tick, similar to `setTimeout` with a timeout of `0`.
20844   *
20845   * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
20846   * for details over the differences between `_.throttle` and `_.debounce`.
20847   *
20848   * @static
20849   * @memberOf _
20850   * @since 0.1.0
20851   * @category Function
20852   * @param {Function} func The function to throttle.
20853   * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
20854   * @param {Object} [options={}] The options object.
20855   * @param {boolean} [options.leading=true]
20856   *  Specify invoking on the leading edge of the timeout.
20857   * @param {boolean} [options.trailing=true]
20858   *  Specify invoking on the trailing edge of the timeout.
20859   * @returns {Function} Returns the new throttled function.
20860   * @example
20861   *
20862   * // Avoid excessively updating the position while scrolling.
20863   * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
20864   *
20865   * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
20866   * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
20867   * jQuery(element).on('click', throttled);
20868   *
20869   * // Cancel the trailing throttled invocation.
20870   * jQuery(window).on('popstate', throttled.cancel);
20871   */
20872  function throttle(func, wait, options) {
20873    var leading = true,
20874        trailing = true;
20875  
20876    if (typeof func != 'function') {
20877      throw new TypeError(FUNC_ERROR_TEXT);
20878    }
20879    if (isObject(options)) {
20880      leading = 'leading' in options ? !!options.leading : leading;
20881      trailing = 'trailing' in options ? !!options.trailing : trailing;
20882    }
20883    return debounce(func, wait, {
20884      'leading': leading,
20885      'maxWait': wait,
20886      'trailing': trailing
20887    });
20888  }
20889  
20890  module.exports = throttle;
20891  
20892  
20893  /***/ }),
20894  
20895  /***/ "./node_modules/lodash/toNumber.js":
20896  /*!*****************************************!*\
20897    !*** ./node_modules/lodash/toNumber.js ***!
20898    \*****************************************/
20899  /*! no static exports found */
20900  /***/ (function(module, exports, __webpack_require__) {
20901  
20902  var isObject = __webpack_require__(/*! ./isObject */ "./node_modules/lodash/isObject.js"),
20903      isSymbol = __webpack_require__(/*! ./isSymbol */ "./node_modules/lodash/isSymbol.js");
20904  
20905  /** Used as references for various `Number` constants. */
20906  var NAN = 0 / 0;
20907  
20908  /** Used to match leading and trailing whitespace. */
20909  var reTrim = /^\s+|\s+$/g;
20910  
20911  /** Used to detect bad signed hexadecimal string values. */
20912  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
20913  
20914  /** Used to detect binary string values. */
20915  var reIsBinary = /^0b[01]+$/i;
20916  
20917  /** Used to detect octal string values. */
20918  var reIsOctal = /^0o[0-7]+$/i;
20919  
20920  /** Built-in method references without a dependency on `root`. */
20921  var freeParseInt = parseInt;
20922  
20923  /**
20924   * Converts `value` to a number.
20925   *
20926   * @static
20927   * @memberOf _
20928   * @since 4.0.0
20929   * @category Lang
20930   * @param {*} value The value to process.
20931   * @returns {number} Returns the number.
20932   * @example
20933   *
20934   * _.toNumber(3.2);
20935   * // => 3.2
20936   *
20937   * _.toNumber(Number.MIN_VALUE);
20938   * // => 5e-324
20939   *
20940   * _.toNumber(Infinity);
20941   * // => Infinity
20942   *
20943   * _.toNumber('3.2');
20944   * // => 3.2
20945   */
20946  function toNumber(value) {
20947    if (typeof value == 'number') {
20948      return value;
20949    }
20950    if (isSymbol(value)) {
20951      return NAN;
20952    }
20953    if (isObject(value)) {
20954      var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
20955      value = isObject(other) ? (other + '') : other;
20956    }
20957    if (typeof value != 'string') {
20958      return value === 0 ? value : +value;
20959    }
20960    value = value.replace(reTrim, '');
20961    var isBinary = reIsBinary.test(value);
20962    return (isBinary || reIsOctal.test(value))
20963      ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
20964      : (reIsBadHex.test(value) ? NAN : +value);
20965  }
20966  
20967  module.exports = toNumber;
20968  
20969  
20970  /***/ }),
20971  
20972  /***/ "./node_modules/lodash/toString.js":
20973  /*!*****************************************!*\
20974    !*** ./node_modules/lodash/toString.js ***!
20975    \*****************************************/
20976  /*! no static exports found */
20977  /***/ (function(module, exports, __webpack_require__) {
20978  
20979  var baseToString = __webpack_require__(/*! ./_baseToString */ "./node_modules/lodash/_baseToString.js");
20980  
20981  /**
20982   * Converts `value` to a string. An empty string is returned for `null`
20983   * and `undefined` values. The sign of `-0` is preserved.
20984   *
20985   * @static
20986   * @memberOf _
20987   * @since 4.0.0
20988   * @category Lang
20989   * @param {*} value The value to convert.
20990   * @returns {string} Returns the converted string.
20991   * @example
20992   *
20993   * _.toString(null);
20994   * // => ''
20995   *
20996   * _.toString(-0);
20997   * // => '-0'
20998   *
20999   * _.toString([1, 2, 3]);
21000   * // => '1,2,3'
21001   */
21002  function toString(value) {
21003    return value == null ? '' : baseToString(value);
21004  }
21005  
21006  module.exports = toString;
21007  
21008  
21009  /***/ }),
21010  
21011  /***/ "./node_modules/material-colors/dist/colors.es2015.js":
21012  /*!************************************************************!*\
21013    !*** ./node_modules/material-colors/dist/colors.es2015.js ***!
21014    \************************************************************/
21015  /*! exports provided: red, pink, purple, deepPurple, indigo, blue, lightBlue, cyan, teal, green, lightGreen, lime, yellow, amber, orange, deepOrange, brown, grey, blueGrey, darkText, lightText, darkIcons, lightIcons, white, black, default */
21016  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21017  
21018  "use strict";
21019  __webpack_require__.r(__webpack_exports__);
21020  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "red", function() { return red; });
21021  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pink", function() { return pink; });
21022  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "purple", function() { return purple; });
21023  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepPurple", function() { return deepPurple; });
21024  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "indigo", function() { return indigo; });
21025  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "blue", function() { return blue; });
21026  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightBlue", function() { return lightBlue; });
21027  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cyan", function() { return cyan; });
21028  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "teal", function() { return teal; });
21029  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "green", function() { return green; });
21030  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightGreen", function() { return lightGreen; });
21031  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lime", function() { return lime; });
21032  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yellow", function() { return yellow; });
21033  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "amber", function() { return amber; });
21034  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "orange", function() { return orange; });
21035  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepOrange", function() { return deepOrange; });
21036  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "brown", function() { return brown; });
21037  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "grey", function() { return grey; });
21038  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "blueGrey", function() { return blueGrey; });
21039  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darkText", function() { return darkText; });
21040  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightText", function() { return lightText; });
21041  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darkIcons", function() { return darkIcons; });
21042  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lightIcons", function() { return lightIcons; });
21043  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "white", function() { return white; });
21044  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "black", function() { return black; });
21045  var red = {"50":"#ffebee","100":"#ffcdd2","200":"#ef9a9a","300":"#e57373","400":"#ef5350","500":"#f44336","600":"#e53935","700":"#d32f2f","800":"#c62828","900":"#b71c1c","a100":"#ff8a80","a200":"#ff5252","a400":"#ff1744","a700":"#d50000"};
21046  var pink = {"50":"#fce4ec","100":"#f8bbd0","200":"#f48fb1","300":"#f06292","400":"#ec407a","500":"#e91e63","600":"#d81b60","700":"#c2185b","800":"#ad1457","900":"#880e4f","a100":"#ff80ab","a200":"#ff4081","a400":"#f50057","a700":"#c51162"};
21047  var purple = {"50":"#f3e5f5","100":"#e1bee7","200":"#ce93d8","300":"#ba68c8","400":"#ab47bc","500":"#9c27b0","600":"#8e24aa","700":"#7b1fa2","800":"#6a1b9a","900":"#4a148c","a100":"#ea80fc","a200":"#e040fb","a400":"#d500f9","a700":"#aa00ff"};
21048  var deepPurple = {"50":"#ede7f6","100":"#d1c4e9","200":"#b39ddb","300":"#9575cd","400":"#7e57c2","500":"#673ab7","600":"#5e35b1","700":"#512da8","800":"#4527a0","900":"#311b92","a100":"#b388ff","a200":"#7c4dff","a400":"#651fff","a700":"#6200ea"};
21049  var indigo = {"50":"#e8eaf6","100":"#c5cae9","200":"#9fa8da","300":"#7986cb","400":"#5c6bc0","500":"#3f51b5","600":"#3949ab","700":"#303f9f","800":"#283593","900":"#1a237e","a100":"#8c9eff","a200":"#536dfe","a400":"#3d5afe","a700":"#304ffe"};
21050  var blue = {"50":"#e3f2fd","100":"#bbdefb","200":"#90caf9","300":"#64b5f6","400":"#42a5f5","500":"#2196f3","600":"#1e88e5","700":"#1976d2","800":"#1565c0","900":"#0d47a1","a100":"#82b1ff","a200":"#448aff","a400":"#2979ff","a700":"#2962ff"};
21051  var lightBlue = {"50":"#e1f5fe","100":"#b3e5fc","200":"#81d4fa","300":"#4fc3f7","400":"#29b6f6","500":"#03a9f4","600":"#039be5","700":"#0288d1","800":"#0277bd","900":"#01579b","a100":"#80d8ff","a200":"#40c4ff","a400":"#00b0ff","a700":"#0091ea"};
21052  var cyan = {"50":"#e0f7fa","100":"#b2ebf2","200":"#80deea","300":"#4dd0e1","400":"#26c6da","500":"#00bcd4","600":"#00acc1","700":"#0097a7","800":"#00838f","900":"#006064","a100":"#84ffff","a200":"#18ffff","a400":"#00e5ff","a700":"#00b8d4"};
21053  var teal = {"50":"#e0f2f1","100":"#b2dfdb","200":"#80cbc4","300":"#4db6ac","400":"#26a69a","500":"#009688","600":"#00897b","700":"#00796b","800":"#00695c","900":"#004d40","a100":"#a7ffeb","a200":"#64ffda","a400":"#1de9b6","a700":"#00bfa5"};
21054  var green = {"50":"#e8f5e9","100":"#c8e6c9","200":"#a5d6a7","300":"#81c784","400":"#66bb6a","500":"#4caf50","600":"#43a047","700":"#388e3c","800":"#2e7d32","900":"#1b5e20","a100":"#b9f6ca","a200":"#69f0ae","a400":"#00e676","a700":"#00c853"};
21055  var lightGreen = {"50":"#f1f8e9","100":"#dcedc8","200":"#c5e1a5","300":"#aed581","400":"#9ccc65","500":"#8bc34a","600":"#7cb342","700":"#689f38","800":"#558b2f","900":"#33691e","a100":"#ccff90","a200":"#b2ff59","a400":"#76ff03","a700":"#64dd17"};
21056  var lime = {"50":"#f9fbe7","100":"#f0f4c3","200":"#e6ee9c","300":"#dce775","400":"#d4e157","500":"#cddc39","600":"#c0ca33","700":"#afb42b","800":"#9e9d24","900":"#827717","a100":"#f4ff81","a200":"#eeff41","a400":"#c6ff00","a700":"#aeea00"};
21057  var yellow = {"50":"#fffde7","100":"#fff9c4","200":"#fff59d","300":"#fff176","400":"#ffee58","500":"#ffeb3b","600":"#fdd835","700":"#fbc02d","800":"#f9a825","900":"#f57f17","a100":"#ffff8d","a200":"#ffff00","a400":"#ffea00","a700":"#ffd600"};
21058  var amber = {"50":"#fff8e1","100":"#ffecb3","200":"#ffe082","300":"#ffd54f","400":"#ffca28","500":"#ffc107","600":"#ffb300","700":"#ffa000","800":"#ff8f00","900":"#ff6f00","a100":"#ffe57f","a200":"#ffd740","a400":"#ffc400","a700":"#ffab00"};
21059  var orange = {"50":"#fff3e0","100":"#ffe0b2","200":"#ffcc80","300":"#ffb74d","400":"#ffa726","500":"#ff9800","600":"#fb8c00","700":"#f57c00","800":"#ef6c00","900":"#e65100","a100":"#ffd180","a200":"#ffab40","a400":"#ff9100","a700":"#ff6d00"};
21060  var deepOrange = {"50":"#fbe9e7","100":"#ffccbc","200":"#ffab91","300":"#ff8a65","400":"#ff7043","500":"#ff5722","600":"#f4511e","700":"#e64a19","800":"#d84315","900":"#bf360c","a100":"#ff9e80","a200":"#ff6e40","a400":"#ff3d00","a700":"#dd2c00"};
21061  var brown = {"50":"#efebe9","100":"#d7ccc8","200":"#bcaaa4","300":"#a1887f","400":"#8d6e63","500":"#795548","600":"#6d4c41","700":"#5d4037","800":"#4e342e","900":"#3e2723"};
21062  var grey = {"50":"#fafafa","100":"#f5f5f5","200":"#eeeeee","300":"#e0e0e0","400":"#bdbdbd","500":"#9e9e9e","600":"#757575","700":"#616161","800":"#424242","900":"#212121"};
21063  var blueGrey = {"50":"#eceff1","100":"#cfd8dc","200":"#b0bec5","300":"#90a4ae","400":"#78909c","500":"#607d8b","600":"#546e7a","700":"#455a64","800":"#37474f","900":"#263238"};
21064  var darkText = {"primary":"rgba(0, 0, 0, 0.87)","secondary":"rgba(0, 0, 0, 0.54)","disabled":"rgba(0, 0, 0, 0.38)","dividers":"rgba(0, 0, 0, 0.12)"};
21065  var lightText = {"primary":"rgba(255, 255, 255, 1)","secondary":"rgba(255, 255, 255, 0.7)","disabled":"rgba(255, 255, 255, 0.5)","dividers":"rgba(255, 255, 255, 0.12)"};
21066  var darkIcons = {"active":"rgba(0, 0, 0, 0.54)","inactive":"rgba(0, 0, 0, 0.38)"};
21067  var lightIcons = {"active":"rgba(255, 255, 255, 1)","inactive":"rgba(255, 255, 255, 0.5)"};
21068  var white = "#ffffff";
21069  var black = "#000000";
21070  
21071  /* harmony default export */ __webpack_exports__["default"] = ({
21072    red: red,
21073    pink: pink,
21074    purple: purple,
21075    deepPurple: deepPurple,
21076    indigo: indigo,
21077    blue: blue,
21078    lightBlue: lightBlue,
21079    cyan: cyan,
21080    teal: teal,
21081    green: green,
21082    lightGreen: lightGreen,
21083    lime: lime,
21084    yellow: yellow,
21085    amber: amber,
21086    orange: orange,
21087    deepOrange: deepOrange,
21088    brown: brown,
21089    grey: grey,
21090    blueGrey: blueGrey,
21091    darkText: darkText,
21092    lightText: lightText,
21093    darkIcons: darkIcons,
21094    lightIcons: lightIcons,
21095    white: white,
21096    black: black
21097  });
21098  
21099  
21100  /***/ }),
21101  
21102  /***/ "./node_modules/mousetrap/mousetrap.js":
21103  /*!*********************************************!*\
21104    !*** ./node_modules/mousetrap/mousetrap.js ***!
21105    \*********************************************/
21106  /*! no static exports found */
21107  /***/ (function(module, exports, __webpack_require__) {
21108  
21109  var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
21110  /**
21111   * Copyright 2012-2017 Craig Campbell
21112   *
21113   * Licensed under the Apache License, Version 2.0 (the "License");
21114   * you may not use this file except in compliance with the License.
21115   * You may obtain a copy of the License at
21116   *
21117   * http://www.apache.org/licenses/LICENSE-2.0
21118   *
21119   * Unless required by applicable law or agreed to in writing, software
21120   * distributed under the License is distributed on an "AS IS" BASIS,
21121   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21122   * See the License for the specific language governing permissions and
21123   * limitations under the License.
21124   *
21125   * Mousetrap is a simple keyboard shortcut library for Javascript with
21126   * no external dependencies
21127   *
21128   * @version 1.6.2
21129   * @url craig.is/killing/mice
21130   */
21131  (function(window, document, undefined) {
21132  
21133      // Check if mousetrap is used inside browser, if not, return
21134      if (!window) {
21135          return;
21136      }
21137  
21138      /**
21139       * mapping of special keycodes to their corresponding keys
21140       *
21141       * everything in this dictionary cannot use keypress events
21142       * so it has to be here to map to the correct keycodes for
21143       * keyup/keydown events
21144       *
21145       * @type {Object}
21146       */
21147      var _MAP = {
21148          8: 'backspace',
21149          9: 'tab',
21150          13: 'enter',
21151          16: 'shift',
21152          17: 'ctrl',
21153          18: 'alt',
21154          20: 'capslock',
21155          27: 'esc',
21156          32: 'space',
21157          33: 'pageup',
21158          34: 'pagedown',
21159          35: 'end',
21160          36: 'home',
21161          37: 'left',
21162          38: 'up',
21163          39: 'right',
21164          40: 'down',
21165          45: 'ins',
21166          46: 'del',
21167          91: 'meta',
21168          93: 'meta',
21169          224: 'meta'
21170      };
21171  
21172      /**
21173       * mapping for special characters so they can support
21174       *
21175       * this dictionary is only used incase you want to bind a
21176       * keyup or keydown event to one of these keys
21177       *
21178       * @type {Object}
21179       */
21180      var _KEYCODE_MAP = {
21181          106: '*',
21182          107: '+',
21183          109: '-',
21184          110: '.',
21185          111 : '/',
21186          186: ';',
21187          187: '=',
21188          188: ',',
21189          189: '-',
21190          190: '.',
21191          191: '/',
21192          192: '`',
21193          219: '[',
21194          220: '\\',
21195          221: ']',
21196          222: '\''
21197      };
21198  
21199      /**
21200       * this is a mapping of keys that require shift on a US keypad
21201       * back to the non shift equivelents
21202       *
21203       * this is so you can use keyup events with these keys
21204       *
21205       * note that this will only work reliably on US keyboards
21206       *
21207       * @type {Object}
21208       */
21209      var _SHIFT_MAP = {
21210          '~': '`',
21211          '!': '1',
21212          '@': '2',
21213          '#': '3',
21214          '$': '4',
21215          '%': '5',
21216          '^': '6',
21217          '&': '7',
21218          '*': '8',
21219          '(': '9',
21220          ')': '0',
21221          '_': '-',
21222          '+': '=',
21223          ':': ';',
21224          '\"': '\'',
21225          '<': ',',
21226          '>': '.',
21227          '?': '/',
21228          '|': '\\'
21229      };
21230  
21231      /**
21232       * this is a list of special strings you can use to map
21233       * to modifier keys when you specify your keyboard shortcuts
21234       *
21235       * @type {Object}
21236       */
21237      var _SPECIAL_ALIASES = {
21238          'option': 'alt',
21239          'command': 'meta',
21240          'return': 'enter',
21241          'escape': 'esc',
21242          'plus': '+',
21243          'mod': /Mac|iPod|iPhone|iPad/.test(navigator.platform) ? 'meta' : 'ctrl'
21244      };
21245  
21246      /**
21247       * variable to store the flipped version of _MAP from above
21248       * needed to check if we should use keypress or not when no action
21249       * is specified
21250       *
21251       * @type {Object|undefined}
21252       */
21253      var _REVERSE_MAP;
21254  
21255      /**
21256       * loop through the f keys, f1 to f19 and add them to the map
21257       * programatically
21258       */
21259      for (var i = 1; i < 20; ++i) {
21260          _MAP[111 + i] = 'f' + i;
21261      }
21262  
21263      /**
21264       * loop through to map numbers on the numeric keypad
21265       */
21266      for (i = 0; i <= 9; ++i) {
21267  
21268          // This needs to use a string cause otherwise since 0 is falsey
21269          // mousetrap will never fire for numpad 0 pressed as part of a keydown
21270          // event.
21271          //
21272          // @see https://github.com/ccampbell/mousetrap/pull/258
21273          _MAP[i + 96] = i.toString();
21274      }
21275  
21276      /**
21277       * cross browser add event method
21278       *
21279       * @param {Element|HTMLDocument} object
21280       * @param {string} type
21281       * @param {Function} callback
21282       * @returns void
21283       */
21284      function _addEvent(object, type, callback) {
21285          if (object.addEventListener) {
21286              object.addEventListener(type, callback, false);
21287              return;
21288          }
21289  
21290          object.attachEvent('on' + type, callback);
21291      }
21292  
21293      /**
21294       * takes the event and returns the key character
21295       *
21296       * @param {Event} e
21297       * @return {string}
21298       */
21299      function _characterFromEvent(e) {
21300  
21301          // for keypress events we should return the character as is
21302          if (e.type == 'keypress') {
21303              var character = String.fromCharCode(e.which);
21304  
21305              // if the shift key is not pressed then it is safe to assume
21306              // that we want the character to be lowercase.  this means if
21307              // you accidentally have caps lock on then your key bindings
21308              // will continue to work
21309              //
21310              // the only side effect that might not be desired is if you
21311              // bind something like 'A' cause you want to trigger an
21312              // event when capital A is pressed caps lock will no longer
21313              // trigger the event.  shift+a will though.
21314              if (!e.shiftKey) {
21315                  character = character.toLowerCase();
21316              }
21317  
21318              return character;
21319          }
21320  
21321          // for non keypress events the special maps are needed
21322          if (_MAP[e.which]) {
21323              return _MAP[e.which];
21324          }
21325  
21326          if (_KEYCODE_MAP[e.which]) {
21327              return _KEYCODE_MAP[e.which];
21328          }
21329  
21330          // if it is not in the special map
21331  
21332          // with keydown and keyup events the character seems to always
21333          // come in as an uppercase character whether you are pressing shift
21334          // or not.  we should make sure it is always lowercase for comparisons
21335          return String.fromCharCode(e.which).toLowerCase();
21336      }
21337  
21338      /**
21339       * checks if two arrays are equal
21340       *
21341       * @param {Array} modifiers1
21342       * @param {Array} modifiers2
21343       * @returns {boolean}
21344       */
21345      function _modifiersMatch(modifiers1, modifiers2) {
21346          return modifiers1.sort().join(',') === modifiers2.sort().join(',');
21347      }
21348  
21349      /**
21350       * takes a key event and figures out what the modifiers are
21351       *
21352       * @param {Event} e
21353       * @returns {Array}
21354       */
21355      function _eventModifiers(e) {
21356          var modifiers = [];
21357  
21358          if (e.shiftKey) {
21359              modifiers.push('shift');
21360          }
21361  
21362          if (e.altKey) {
21363              modifiers.push('alt');
21364          }
21365  
21366          if (e.ctrlKey) {
21367              modifiers.push('ctrl');
21368          }
21369  
21370          if (e.metaKey) {
21371              modifiers.push('meta');
21372          }
21373  
21374          return modifiers;
21375      }
21376  
21377      /**
21378       * prevents default for this event
21379       *
21380       * @param {Event} e
21381       * @returns void
21382       */
21383      function _preventDefault(e) {
21384          if (e.preventDefault) {
21385              e.preventDefault();
21386              return;
21387          }
21388  
21389          e.returnValue = false;
21390      }
21391  
21392      /**
21393       * stops propogation for this event
21394       *
21395       * @param {Event} e
21396       * @returns void
21397       */
21398      function _stopPropagation(e) {
21399          if (e.stopPropagation) {
21400              e.stopPropagation();
21401              return;
21402          }
21403  
21404          e.cancelBubble = true;
21405      }
21406  
21407      /**
21408       * determines if the keycode specified is a modifier key or not
21409       *
21410       * @param {string} key
21411       * @returns {boolean}
21412       */
21413      function _isModifier(key) {
21414          return key == 'shift' || key == 'ctrl' || key == 'alt' || key == 'meta';
21415      }
21416  
21417      /**
21418       * reverses the map lookup so that we can look for specific keys
21419       * to see what can and can't use keypress
21420       *
21421       * @return {Object}
21422       */
21423      function _getReverseMap() {
21424          if (!_REVERSE_MAP) {
21425              _REVERSE_MAP = {};
21426              for (var key in _MAP) {
21427  
21428                  // pull out the numeric keypad from here cause keypress should
21429                  // be able to detect the keys from the character
21430                  if (key > 95 && key < 112) {
21431                      continue;
21432                  }
21433  
21434                  if (_MAP.hasOwnProperty(key)) {
21435                      _REVERSE_MAP[_MAP[key]] = key;
21436                  }
21437              }
21438          }
21439          return _REVERSE_MAP;
21440      }
21441  
21442      /**
21443       * picks the best action based on the key combination
21444       *
21445       * @param {string} key - character for key
21446       * @param {Array} modifiers
21447       * @param {string=} action passed in
21448       */
21449      function _pickBestAction(key, modifiers, action) {
21450  
21451          // if no action was picked in we should try to pick the one
21452          // that we think would work best for this key
21453          if (!action) {
21454              action = _getReverseMap()[key] ? 'keydown' : 'keypress';
21455          }
21456  
21457          // modifier keys don't work as expected with keypress,
21458          // switch to keydown
21459          if (action == 'keypress' && modifiers.length) {
21460              action = 'keydown';
21461          }
21462  
21463          return action;
21464      }
21465  
21466      /**
21467       * Converts from a string key combination to an array
21468       *
21469       * @param  {string} combination like "command+shift+l"
21470       * @return {Array}
21471       */
21472      function _keysFromString(combination) {
21473          if (combination === '+') {
21474              return ['+'];
21475          }
21476  
21477          combination = combination.replace(/\+{2}/g, '+plus');
21478          return combination.split('+');
21479      }
21480  
21481      /**
21482       * Gets info for a specific key combination
21483       *
21484       * @param  {string} combination key combination ("command+s" or "a" or "*")
21485       * @param  {string=} action
21486       * @returns {Object}
21487       */
21488      function _getKeyInfo(combination, action) {
21489          var keys;
21490          var key;
21491          var i;
21492          var modifiers = [];
21493  
21494          // take the keys from this pattern and figure out what the actual
21495          // pattern is all about
21496          keys = _keysFromString(combination);
21497  
21498          for (i = 0; i < keys.length; ++i) {
21499              key = keys[i];
21500  
21501              // normalize key names
21502              if (_SPECIAL_ALIASES[key]) {
21503                  key = _SPECIAL_ALIASES[key];
21504              }
21505  
21506              // if this is not a keypress event then we should
21507              // be smart about using shift keys
21508              // this will only work for US keyboards however
21509              if (action && action != 'keypress' && _SHIFT_MAP[key]) {
21510                  key = _SHIFT_MAP[key];
21511                  modifiers.push('shift');
21512              }
21513  
21514              // if this key is a modifier then add it to the list of modifiers
21515              if (_isModifier(key)) {
21516                  modifiers.push(key);
21517              }
21518          }
21519  
21520          // depending on what the key combination is
21521          // we will try to pick the best event for it
21522          action = _pickBestAction(key, modifiers, action);
21523  
21524          return {
21525              key: key,
21526              modifiers: modifiers,
21527              action: action
21528          };
21529      }
21530  
21531      function _belongsTo(element, ancestor) {
21532          if (element === null || element === document) {
21533              return false;
21534          }
21535  
21536          if (element === ancestor) {
21537              return true;
21538          }
21539  
21540          return _belongsTo(element.parentNode, ancestor);
21541      }
21542  
21543      function Mousetrap(targetElement) {
21544          var self = this;
21545  
21546          targetElement = targetElement || document;
21547  
21548          if (!(self instanceof Mousetrap)) {
21549              return new Mousetrap(targetElement);
21550          }
21551  
21552          /**
21553           * element to attach key events to
21554           *
21555           * @type {Element}
21556           */
21557          self.target = targetElement;
21558  
21559          /**
21560           * a list of all the callbacks setup via Mousetrap.bind()
21561           *
21562           * @type {Object}
21563           */
21564          self._callbacks = {};
21565  
21566          /**
21567           * direct map of string combinations to callbacks used for trigger()
21568           *
21569           * @type {Object}
21570           */
21571          self._directMap = {};
21572  
21573          /**
21574           * keeps track of what level each sequence is at since multiple
21575           * sequences can start out with the same sequence
21576           *
21577           * @type {Object}
21578           */
21579          var _sequenceLevels = {};
21580  
21581          /**
21582           * variable to store the setTimeout call
21583           *
21584           * @type {null|number}
21585           */
21586          var _resetTimer;
21587  
21588          /**
21589           * temporary state where we will ignore the next keyup
21590           *
21591           * @type {boolean|string}
21592           */
21593          var _ignoreNextKeyup = false;
21594  
21595          /**
21596           * temporary state where we will ignore the next keypress
21597           *
21598           * @type {boolean}
21599           */
21600          var _ignoreNextKeypress = false;
21601  
21602          /**
21603           * are we currently inside of a sequence?
21604           * type of action ("keyup" or "keydown" or "keypress") or false
21605           *
21606           * @type {boolean|string}
21607           */
21608          var _nextExpectedAction = false;
21609  
21610          /**
21611           * resets all sequence counters except for the ones passed in
21612           *
21613           * @param {Object} doNotReset
21614           * @returns void
21615           */
21616          function _resetSequences(doNotReset) {
21617              doNotReset = doNotReset || {};
21618  
21619              var activeSequences = false,
21620                  key;
21621  
21622              for (key in _sequenceLevels) {
21623                  if (doNotReset[key]) {
21624                      activeSequences = true;
21625                      continue;
21626                  }
21627                  _sequenceLevels[key] = 0;
21628              }
21629  
21630              if (!activeSequences) {
21631                  _nextExpectedAction = false;
21632              }
21633          }
21634  
21635          /**
21636           * finds all callbacks that match based on the keycode, modifiers,
21637           * and action
21638           *
21639           * @param {string} character
21640           * @param {Array} modifiers
21641           * @param {Event|Object} e
21642           * @param {string=} sequenceName - name of the sequence we are looking for
21643           * @param {string=} combination
21644           * @param {number=} level
21645           * @returns {Array}
21646           */
21647          function _getMatches(character, modifiers, e, sequenceName, combination, level) {
21648              var i;
21649              var callback;
21650              var matches = [];
21651              var action = e.type;
21652  
21653              // if there are no events related to this keycode
21654              if (!self._callbacks[character]) {
21655                  return [];
21656              }
21657  
21658              // if a modifier key is coming up on its own we should allow it
21659              if (action == 'keyup' && _isModifier(character)) {
21660                  modifiers = [character];
21661              }
21662  
21663              // loop through all callbacks for the key that was pressed
21664              // and see if any of them match
21665              for (i = 0; i < self._callbacks[character].length; ++i) {
21666                  callback = self._callbacks[character][i];
21667  
21668                  // if a sequence name is not specified, but this is a sequence at
21669                  // the wrong level then move onto the next match
21670                  if (!sequenceName && callback.seq && _sequenceLevels[callback.seq] != callback.level) {
21671                      continue;
21672                  }
21673  
21674                  // if the action we are looking for doesn't match the action we got
21675                  // then we should keep going
21676                  if (action != callback.action) {
21677                      continue;
21678                  }
21679  
21680                  // if this is a keypress event and the meta key and control key
21681                  // are not pressed that means that we need to only look at the
21682                  // character, otherwise check the modifiers as well
21683                  //
21684                  // chrome will not fire a keypress if meta or control is down
21685                  // safari will fire a keypress if meta or meta+shift is down
21686                  // firefox will fire a keypress if meta or control is down
21687                  if ((action == 'keypress' && !e.metaKey && !e.ctrlKey) || _modifiersMatch(modifiers, callback.modifiers)) {
21688  
21689                      // when you bind a combination or sequence a second time it
21690                      // should overwrite the first one.  if a sequenceName or
21691                      // combination is specified in this call it does just that
21692                      //
21693                      // @todo make deleting its own method?
21694                      var deleteCombo = !sequenceName && callback.combo == combination;
21695                      var deleteSequence = sequenceName && callback.seq == sequenceName && callback.level == level;
21696                      if (deleteCombo || deleteSequence) {
21697                          self._callbacks[character].splice(i, 1);
21698                      }
21699  
21700                      matches.push(callback);
21701                  }
21702              }
21703  
21704              return matches;
21705          }
21706  
21707          /**
21708           * actually calls the callback function
21709           *
21710           * if your callback function returns false this will use the jquery
21711           * convention - prevent default and stop propogation on the event
21712           *
21713           * @param {Function} callback
21714           * @param {Event} e
21715           * @returns void
21716           */
21717          function _fireCallback(callback, e, combo, sequence) {
21718  
21719              // if this event should not happen stop here
21720              if (self.stopCallback(e, e.target || e.srcElement, combo, sequence)) {
21721                  return;
21722              }
21723  
21724              if (callback(e, combo) === false) {
21725                  _preventDefault(e);
21726                  _stopPropagation(e);
21727              }
21728          }
21729  
21730          /**
21731           * handles a character key event
21732           *
21733           * @param {string} character
21734           * @param {Array} modifiers
21735           * @param {Event} e
21736           * @returns void
21737           */
21738          self._handleKey = function(character, modifiers, e) {
21739              var callbacks = _getMatches(character, modifiers, e);
21740              var i;
21741              var doNotReset = {};
21742              var maxLevel = 0;
21743              var processedSequenceCallback = false;
21744  
21745              // Calculate the maxLevel for sequences so we can only execute the longest callback sequence
21746              for (i = 0; i < callbacks.length; ++i) {
21747                  if (callbacks[i].seq) {
21748                      maxLevel = Math.max(maxLevel, callbacks[i].level);
21749                  }
21750              }
21751  
21752              // loop through matching callbacks for this key event
21753              for (i = 0; i < callbacks.length; ++i) {
21754  
21755                  // fire for all sequence callbacks
21756                  // this is because if for example you have multiple sequences
21757                  // bound such as "g i" and "g t" they both need to fire the
21758                  // callback for matching g cause otherwise you can only ever
21759                  // match the first one
21760                  if (callbacks[i].seq) {
21761  
21762                      // only fire callbacks for the maxLevel to prevent
21763                      // subsequences from also firing
21764                      //
21765                      // for example 'a option b' should not cause 'option b' to fire
21766                      // even though 'option b' is part of the other sequence
21767                      //
21768                      // any sequences that do not match here will be discarded
21769                      // below by the _resetSequences call
21770                      if (callbacks[i].level != maxLevel) {
21771                          continue;
21772                      }
21773  
21774                      processedSequenceCallback = true;
21775  
21776                      // keep a list of which sequences were matches for later
21777                      doNotReset[callbacks[i].seq] = 1;
21778                      _fireCallback(callbacks[i].callback, e, callbacks[i].combo, callbacks[i].seq);
21779                      continue;
21780                  }
21781  
21782                  // if there were no sequence matches but we are still here
21783                  // that means this is a regular match so we should fire that
21784                  if (!processedSequenceCallback) {
21785                      _fireCallback(callbacks[i].callback, e, callbacks[i].combo);
21786                  }
21787              }
21788  
21789              // if the key you pressed matches the type of sequence without
21790              // being a modifier (ie "keyup" or "keypress") then we should
21791              // reset all sequences that were not matched by this event
21792              //
21793              // this is so, for example, if you have the sequence "h a t" and you
21794              // type "h e a r t" it does not match.  in this case the "e" will
21795              // cause the sequence to reset
21796              //
21797              // modifier keys are ignored because you can have a sequence
21798              // that contains modifiers such as "enter ctrl+space" and in most
21799              // cases the modifier key will be pressed before the next key
21800              //
21801              // also if you have a sequence such as "ctrl+b a" then pressing the
21802              // "b" key will trigger a "keypress" and a "keydown"
21803              //
21804              // the "keydown" is expected when there is a modifier, but the
21805              // "keypress" ends up matching the _nextExpectedAction since it occurs
21806              // after and that causes the sequence to reset
21807              //
21808              // we ignore keypresses in a sequence that directly follow a keydown
21809              // for the same character
21810              var ignoreThisKeypress = e.type == 'keypress' && _ignoreNextKeypress;
21811              if (e.type == _nextExpectedAction && !_isModifier(character) && !ignoreThisKeypress) {
21812                  _resetSequences(doNotReset);
21813              }
21814  
21815              _ignoreNextKeypress = processedSequenceCallback && e.type == 'keydown';
21816          };
21817  
21818          /**
21819           * handles a keydown event
21820           *
21821           * @param {Event} e
21822           * @returns void
21823           */
21824          function _handleKeyEvent(e) {
21825  
21826              // normalize e.which for key events
21827              // @see http://stackoverflow.com/questions/4285627/javascript-keycode-vs-charcode-utter-confusion
21828              if (typeof e.which !== 'number') {
21829                  e.which = e.keyCode;
21830              }
21831  
21832              var character = _characterFromEvent(e);
21833  
21834              // no character found then stop
21835              if (!character) {
21836                  return;
21837              }
21838  
21839              // need to use === for the character check because the character can be 0
21840              if (e.type == 'keyup' && _ignoreNextKeyup === character) {
21841                  _ignoreNextKeyup = false;
21842                  return;
21843              }
21844  
21845              self.handleKey(character, _eventModifiers(e), e);
21846          }
21847  
21848          /**
21849           * called to set a 1 second timeout on the specified sequence
21850           *
21851           * this is so after each key press in the sequence you have 1 second
21852           * to press the next key before you have to start over
21853           *
21854           * @returns void
21855           */
21856          function _resetSequenceTimer() {
21857              clearTimeout(_resetTimer);
21858              _resetTimer = setTimeout(_resetSequences, 1000);
21859          }
21860  
21861          /**
21862           * binds a key sequence to an event
21863           *
21864           * @param {string} combo - combo specified in bind call
21865           * @param {Array} keys
21866           * @param {Function} callback
21867           * @param {string=} action
21868           * @returns void
21869           */
21870          function _bindSequence(combo, keys, callback, action) {
21871  
21872              // start off by adding a sequence level record for this combination
21873              // and setting the level to 0
21874              _sequenceLevels[combo] = 0;
21875  
21876              /**
21877               * callback to increase the sequence level for this sequence and reset
21878               * all other sequences that were active
21879               *
21880               * @param {string} nextAction
21881               * @returns {Function}
21882               */
21883              function _increaseSequence(nextAction) {
21884                  return function() {
21885                      _nextExpectedAction = nextAction;
21886                      ++_sequenceLevels[combo];
21887                      _resetSequenceTimer();
21888                  };
21889              }
21890  
21891              /**
21892               * wraps the specified callback inside of another function in order
21893               * to reset all sequence counters as soon as this sequence is done
21894               *
21895               * @param {Event} e
21896               * @returns void
21897               */
21898              function _callbackAndReset(e) {
21899                  _fireCallback(callback, e, combo);
21900  
21901                  // we should ignore the next key up if the action is key down
21902                  // or keypress.  this is so if you finish a sequence and
21903                  // release the key the final key will not trigger a keyup
21904                  if (action !== 'keyup') {
21905                      _ignoreNextKeyup = _characterFromEvent(e);
21906                  }
21907  
21908                  // weird race condition if a sequence ends with the key
21909                  // another sequence begins with
21910                  setTimeout(_resetSequences, 10);
21911              }
21912  
21913              // loop through keys one at a time and bind the appropriate callback
21914              // function.  for any key leading up to the final one it should
21915              // increase the sequence. after the final, it should reset all sequences
21916              //
21917              // if an action is specified in the original bind call then that will
21918              // be used throughout.  otherwise we will pass the action that the
21919              // next key in the sequence should match.  this allows a sequence
21920              // to mix and match keypress and keydown events depending on which
21921              // ones are better suited to the key provided
21922              for (var i = 0; i < keys.length; ++i) {
21923                  var isFinal = i + 1 === keys.length;
21924                  var wrappedCallback = isFinal ? _callbackAndReset : _increaseSequence(action || _getKeyInfo(keys[i + 1]).action);
21925                  _bindSingle(keys[i], wrappedCallback, action, combo, i);
21926              }
21927          }
21928  
21929          /**
21930           * binds a single keyboard combination
21931           *
21932           * @param {string} combination
21933           * @param {Function} callback
21934           * @param {string=} action
21935           * @param {string=} sequenceName - name of sequence if part of sequence
21936           * @param {number=} level - what part of the sequence the command is
21937           * @returns void
21938           */
21939          function _bindSingle(combination, callback, action, sequenceName, level) {
21940  
21941              // store a direct mapped reference for use with Mousetrap.trigger
21942              self._directMap[combination + ':' + action] = callback;
21943  
21944              // make sure multiple spaces in a row become a single space
21945              combination = combination.replace(/\s+/g, ' ');
21946  
21947              var sequence = combination.split(' ');
21948              var info;
21949  
21950              // if this pattern is a sequence of keys then run through this method
21951              // to reprocess each pattern one key at a time
21952              if (sequence.length > 1) {
21953                  _bindSequence(combination, sequence, callback, action);
21954                  return;
21955              }
21956  
21957              info = _getKeyInfo(combination, action);
21958  
21959              // make sure to initialize array if this is the first time
21960              // a callback is added for this key
21961              self._callbacks[info.key] = self._callbacks[info.key] || [];
21962  
21963              // remove an existing match if there is one
21964              _getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level);
21965  
21966              // add this call back to the array
21967              // if it is a sequence put it at the beginning
21968              // if not put it at the end
21969              //
21970              // this is important because the way these are processed expects
21971              // the sequence ones to come first
21972              self._callbacks[info.key][sequenceName ? 'unshift' : 'push']({
21973                  callback: callback,
21974                  modifiers: info.modifiers,
21975                  action: info.action,
21976                  seq: sequenceName,
21977                  level: level,
21978                  combo: combination
21979              });
21980          }
21981  
21982          /**
21983           * binds multiple combinations to the same callback
21984           *
21985           * @param {Array} combinations
21986           * @param {Function} callback
21987           * @param {string|undefined} action
21988           * @returns void
21989           */
21990          self._bindMultiple = function(combinations, callback, action) {
21991              for (var i = 0; i < combinations.length; ++i) {
21992                  _bindSingle(combinations[i], callback, action);
21993              }
21994          };
21995  
21996          // start!
21997          _addEvent(targetElement, 'keypress', _handleKeyEvent);
21998          _addEvent(targetElement, 'keydown', _handleKeyEvent);
21999          _addEvent(targetElement, 'keyup', _handleKeyEvent);
22000      }
22001  
22002      /**
22003       * binds an event to mousetrap
22004       *
22005       * can be a single key, a combination of keys separated with +,
22006       * an array of keys, or a sequence of keys separated by spaces
22007       *
22008       * be sure to list the modifier keys first to make sure that the
22009       * correct key ends up getting bound (the last key in the pattern)
22010       *
22011       * @param {string|Array} keys
22012       * @param {Function} callback
22013       * @param {string=} action - 'keypress', 'keydown', or 'keyup'
22014       * @returns void
22015       */
22016      Mousetrap.prototype.bind = function(keys, callback, action) {
22017          var self = this;
22018          keys = keys instanceof Array ? keys : [keys];
22019          self._bindMultiple.call(self, keys, callback, action);
22020          return self;
22021      };
22022  
22023      /**
22024       * unbinds an event to mousetrap
22025       *
22026       * the unbinding sets the callback function of the specified key combo
22027       * to an empty function and deletes the corresponding key in the
22028       * _directMap dict.
22029       *
22030       * TODO: actually remove this from the _callbacks dictionary instead
22031       * of binding an empty function
22032       *
22033       * the keycombo+action has to be exactly the same as
22034       * it was defined in the bind method
22035       *
22036       * @param {string|Array} keys
22037       * @param {string} action
22038       * @returns void
22039       */
22040      Mousetrap.prototype.unbind = function(keys, action) {
22041          var self = this;
22042          return self.bind.call(self, keys, function() {}, action);
22043      };
22044  
22045      /**
22046       * triggers an event that has already been bound
22047       *
22048       * @param {string} keys
22049       * @param {string=} action
22050       * @returns void
22051       */
22052      Mousetrap.prototype.trigger = function(keys, action) {
22053          var self = this;
22054          if (self._directMap[keys + ':' + action]) {
22055              self._directMap[keys + ':' + action]({}, keys);
22056          }
22057          return self;
22058      };
22059  
22060      /**
22061       * resets the library back to its initial state.  this is useful
22062       * if you want to clear out the current keyboard shortcuts and bind
22063       * new ones - for example if you switch to another page
22064       *
22065       * @returns void
22066       */
22067      Mousetrap.prototype.reset = function() {
22068          var self = this;
22069          self._callbacks = {};
22070          self._directMap = {};
22071          return self;
22072      };
22073  
22074      /**
22075       * should we stop this event before firing off callbacks
22076       *
22077       * @param {Event} e
22078       * @param {Element} element
22079       * @return {boolean}
22080       */
22081      Mousetrap.prototype.stopCallback = function(e, element) {
22082          var self = this;
22083  
22084          // if the element has the class "mousetrap" then no need to stop
22085          if ((' ' + element.className + ' ').indexOf(' mousetrap ') > -1) {
22086              return false;
22087          }
22088  
22089          if (_belongsTo(element, self.target)) {
22090              return false;
22091          }
22092  
22093          // stop for input, select, and textarea
22094          return element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA' || element.isContentEditable;
22095      };
22096  
22097      /**
22098       * exposes _handleKey publicly so it can be overwritten by extensions
22099       */
22100      Mousetrap.prototype.handleKey = function() {
22101          var self = this;
22102          return self._handleKey.apply(self, arguments);
22103      };
22104  
22105      /**
22106       * allow custom key mappings
22107       */
22108      Mousetrap.addKeycodes = function(object) {
22109          for (var key in object) {
22110              if (object.hasOwnProperty(key)) {
22111                  _MAP[key] = object[key];
22112              }
22113          }
22114          _REVERSE_MAP = null;
22115      };
22116  
22117      /**
22118       * Init the global mousetrap functions
22119       *
22120       * This method is needed to allow the global mousetrap functions to work
22121       * now that mousetrap is a constructor function.
22122       */
22123      Mousetrap.init = function() {
22124          var documentMousetrap = Mousetrap(document);
22125          for (var method in documentMousetrap) {
22126              if (method.charAt(0) !== '_') {
22127                  Mousetrap[method] = (function(method) {
22128                      return function() {
22129                          return documentMousetrap[method].apply(documentMousetrap, arguments);
22130                      };
22131                  } (method));
22132              }
22133          }
22134      };
22135  
22136      Mousetrap.init();
22137  
22138      // expose mousetrap to the global object
22139      window.Mousetrap = Mousetrap;
22140  
22141      // expose as a common js module
22142      if ( true && module.exports) {
22143          module.exports = Mousetrap;
22144      }
22145  
22146      // expose mousetrap as an AMD module
22147      if (true) {
22148          !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
22149              return Mousetrap;
22150          }).call(exports, __webpack_require__, exports, module),
22151                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
22152      }
22153  }) (typeof window !== 'undefined' ? window : null, typeof  window !== 'undefined' ? document : null);
22154  
22155  
22156  /***/ }),
22157  
22158  /***/ "./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js":
22159  /*!*****************************************************************************!*\
22160    !*** ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js ***!
22161    \*****************************************************************************/
22162  /*! no static exports found */
22163  /***/ (function(module, exports) {
22164  
22165  /**
22166   * adds a bindGlobal method to Mousetrap that allows you to
22167   * bind specific keyboard shortcuts that will still work
22168   * inside a text input field
22169   *
22170   * usage:
22171   * Mousetrap.bindGlobal('ctrl+s', _saveChanges);
22172   */
22173  /* global Mousetrap:true */
22174  (function(Mousetrap) {
22175      var _globalCallbacks = {};
22176      var _originalStopCallback = Mousetrap.prototype.stopCallback;
22177  
22178      Mousetrap.prototype.stopCallback = function(e, element, combo, sequence) {
22179          var self = this;
22180  
22181          if (self.paused) {
22182              return true;
22183          }
22184  
22185          if (_globalCallbacks[combo] || _globalCallbacks[sequence]) {
22186              return false;
22187          }
22188  
22189          return _originalStopCallback.call(self, e, element, combo);
22190      };
22191  
22192      Mousetrap.prototype.bindGlobal = function(keys, callback, action) {
22193          var self = this;
22194          self.bind(keys, callback, action);
22195  
22196          if (keys instanceof Array) {
22197              for (var i = 0; i < keys.length; i++) {
22198                  _globalCallbacks[keys[i]] = true;
22199              }
22200              return;
22201          }
22202  
22203          _globalCallbacks[keys] = true;
22204      };
22205  
22206      Mousetrap.init();
22207  }) (Mousetrap);
22208  
22209  
22210  /***/ }),
22211  
22212  /***/ "./node_modules/object-assign/index.js":
22213  /*!*********************************************!*\
22214    !*** ./node_modules/object-assign/index.js ***!
22215    \*********************************************/
22216  /*! no static exports found */
22217  /***/ (function(module, exports, __webpack_require__) {
22218  
22219  "use strict";
22220  /*
22221  object-assign
22222  (c) Sindre Sorhus
22223  @license MIT
22224  */
22225  
22226  
22227  /* eslint-disable no-unused-vars */
22228  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
22229  var hasOwnProperty = Object.prototype.hasOwnProperty;
22230  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
22231  
22232  function toObject(val) {
22233      if (val === null || val === undefined) {
22234          throw new TypeError('Object.assign cannot be called with null or undefined');
22235      }
22236  
22237      return Object(val);
22238  }
22239  
22240  function shouldUseNative() {
22241      try {
22242          if (!Object.assign) {
22243              return false;
22244          }
22245  
22246          // Detect buggy property enumeration order in older V8 versions.
22247  
22248          // https://bugs.chromium.org/p/v8/issues/detail?id=4118
22249          var test1 = new String('abc');  // eslint-disable-line no-new-wrappers
22250          test1[5] = 'de';
22251          if (Object.getOwnPropertyNames(test1)[0] === '5') {
22252              return false;
22253          }
22254  
22255          // https://bugs.chromium.org/p/v8/issues/detail?id=3056
22256          var test2 = {};
22257          for (var i = 0; i < 10; i++) {
22258              test2['_' + String.fromCharCode(i)] = i;
22259          }
22260          var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
22261              return test2[n];
22262          });
22263          if (order2.join('') !== '0123456789') {
22264              return false;
22265          }
22266  
22267          // https://bugs.chromium.org/p/v8/issues/detail?id=3056
22268          var test3 = {};
22269          'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
22270              test3[letter] = letter;
22271          });
22272          if (Object.keys(Object.assign({}, test3)).join('') !==
22273                  'abcdefghijklmnopqrst') {
22274              return false;
22275          }
22276  
22277          return true;
22278      } catch (err) {
22279          // We don't expect any of the above to throw, but better to be safe.
22280          return false;
22281      }
22282  }
22283  
22284  module.exports = shouldUseNative() ? Object.assign : function (target, source) {
22285      var from;
22286      var to = toObject(target);
22287      var symbols;
22288  
22289      for (var s = 1; s < arguments.length; s++) {
22290          from = Object(arguments[s]);
22291  
22292          for (var key in from) {
22293              if (hasOwnProperty.call(from, key)) {
22294                  to[key] = from[key];
22295              }
22296          }
22297  
22298          if (getOwnPropertySymbols) {
22299              symbols = getOwnPropertySymbols(from);
22300              for (var i = 0; i < symbols.length; i++) {
22301                  if (propIsEnumerable.call(from, symbols[i])) {
22302                      to[symbols[i]] = from[symbols[i]];
22303                  }
22304              }
22305          }
22306      }
22307  
22308      return to;
22309  };
22310  
22311  
22312  /***/ }),
22313  
22314  /***/ "./node_modules/popper.js/dist/esm/popper.js":
22315  /*!***************************************************!*\
22316    !*** ./node_modules/popper.js/dist/esm/popper.js ***!
22317    \***************************************************/
22318  /*! exports provided: default */
22319  /***/ (function(module, __webpack_exports__, __webpack_require__) {
22320  
22321  "use strict";
22322  __webpack_require__.r(__webpack_exports__);
22323  /* WEBPACK VAR INJECTION */(function(global) {/**!
22324   * @fileOverview Kickass library to create and place poppers near their reference elements.
22325   * @version 1.14.6
22326   * @license
22327   * Copyright (c) 2016 Federico Zivolo and contributors
22328   *
22329   * Permission is hereby granted, free of charge, to any person obtaining a copy
22330   * of this software and associated documentation files (the "Software"), to deal
22331   * in the Software without restriction, including without limitation the rights
22332   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22333   * copies of the Software, and to permit persons to whom the Software is
22334   * furnished to do so, subject to the following conditions:
22335   *
22336   * The above copyright notice and this permission notice shall be included in all
22337   * copies or substantial portions of the Software.
22338   *
22339   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22340   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22341   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22342   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22343   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22344   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22345   * SOFTWARE.
22346   */
22347  var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
22348  
22349  var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];
22350  var timeoutDuration = 0;
22351  for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {
22352    if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {
22353      timeoutDuration = 1;
22354      break;
22355    }
22356  }
22357  
22358  function microtaskDebounce(fn) {
22359    var called = false;
22360    return function () {
22361      if (called) {
22362        return;
22363      }
22364      called = true;
22365      window.Promise.resolve().then(function () {
22366        called = false;
22367        fn();
22368      });
22369    };
22370  }
22371  
22372  function taskDebounce(fn) {
22373    var scheduled = false;
22374    return function () {
22375      if (!scheduled) {
22376        scheduled = true;
22377        setTimeout(function () {
22378          scheduled = false;
22379          fn();
22380        }, timeoutDuration);
22381      }
22382    };
22383  }
22384  
22385  var supportsMicroTasks = isBrowser && window.Promise;
22386  
22387  /**
22388  * Create a debounced version of a method, that's asynchronously deferred
22389  * but called in the minimum time possible.
22390  *
22391  * @method
22392  * @memberof Popper.Utils
22393  * @argument {Function} fn
22394  * @returns {Function}
22395  */
22396  var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;
22397  
22398  /**
22399   * Check if the given variable is a function
22400   * @method
22401   * @memberof Popper.Utils
22402   * @argument {Any} functionToCheck - variable to check
22403   * @returns {Boolean} answer to: is a function?
22404   */
22405  function isFunction(functionToCheck) {
22406    var getType = {};
22407    return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
22408  }
22409  
22410  /**
22411   * Get CSS computed property of the given element
22412   * @method
22413   * @memberof Popper.Utils
22414   * @argument {Eement} element
22415   * @argument {String} property
22416   */
22417  function getStyleComputedProperty(element, property) {
22418    if (element.nodeType !== 1) {
22419      return [];
22420    }
22421    // NOTE: 1 DOM access here
22422    var window = element.ownerDocument.defaultView;
22423    var css = window.getComputedStyle(element, null);
22424    return property ? css[property] : css;
22425  }
22426  
22427  /**
22428   * Returns the parentNode or the host of the element
22429   * @method
22430   * @memberof Popper.Utils
22431   * @argument {Element} element
22432   * @returns {Element} parent
22433   */
22434  function getParentNode(element) {
22435    if (element.nodeName === 'HTML') {
22436      return element;
22437    }
22438    return element.parentNode || element.host;
22439  }
22440  
22441  /**
22442   * Returns the scrolling parent of the given element
22443   * @method
22444   * @memberof Popper.Utils
22445   * @argument {Element} element
22446   * @returns {Element} scroll parent
22447   */
22448  function getScrollParent(element) {
22449    // Return body, `getScroll` will take care to get the correct `scrollTop` from it
22450    if (!element) {
22451      return document.body;
22452    }
22453  
22454    switch (element.nodeName) {
22455      case 'HTML':
22456      case 'BODY':
22457        return element.ownerDocument.body;
22458      case '#document':
22459        return element.body;
22460    }
22461  
22462    // Firefox want us to check `-x` and `-y` variations as well
22463  
22464    var _getStyleComputedProp = getStyleComputedProperty(element),
22465        overflow = _getStyleComputedProp.overflow,
22466        overflowX = _getStyleComputedProp.overflowX,
22467        overflowY = _getStyleComputedProp.overflowY;
22468  
22469    if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {
22470      return element;
22471    }
22472  
22473    return getScrollParent(getParentNode(element));
22474  }
22475  
22476  var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);
22477  var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);
22478  
22479  /**
22480   * Determines if the browser is Internet Explorer
22481   * @method
22482   * @memberof Popper.Utils
22483   * @param {Number} version to check
22484   * @returns {Boolean} isIE
22485   */
22486  function isIE(version) {
22487    if (version === 11) {
22488      return isIE11;
22489    }
22490    if (version === 10) {
22491      return isIE10;
22492    }
22493    return isIE11 || isIE10;
22494  }
22495  
22496  /**
22497   * Returns the offset parent of the given element
22498   * @method
22499   * @memberof Popper.Utils
22500   * @argument {Element} element
22501   * @returns {Element} offset parent
22502   */
22503  function getOffsetParent(element) {
22504    if (!element) {
22505      return document.documentElement;
22506    }
22507  
22508    var noOffsetParent = isIE(10) ? document.body : null;
22509  
22510    // NOTE: 1 DOM access here
22511    var offsetParent = element.offsetParent || null;
22512    // Skip hidden elements which don't have an offsetParent
22513    while (offsetParent === noOffsetParent && element.nextElementSibling) {
22514      offsetParent = (element = element.nextElementSibling).offsetParent;
22515    }
22516  
22517    var nodeName = offsetParent && offsetParent.nodeName;
22518  
22519    if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {
22520      return element ? element.ownerDocument.documentElement : document.documentElement;
22521    }
22522  
22523    // .offsetParent will return the closest TH, TD or TABLE in case
22524    // no offsetParent is present, I hate this job...
22525    if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {
22526      return getOffsetParent(offsetParent);
22527    }
22528  
22529    return offsetParent;
22530  }
22531  
22532  function isOffsetContainer(element) {
22533    var nodeName = element.nodeName;
22534  
22535    if (nodeName === 'BODY') {
22536      return false;
22537    }
22538    return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;
22539  }
22540  
22541  /**
22542   * Finds the root node (document, shadowDOM root) of the given element
22543   * @method
22544   * @memberof Popper.Utils
22545   * @argument {Element} node
22546   * @returns {Element} root node
22547   */
22548  function getRoot(node) {
22549    if (node.parentNode !== null) {
22550      return getRoot(node.parentNode);
22551    }
22552  
22553    return node;
22554  }
22555  
22556  /**
22557   * Finds the offset parent common to the two provided nodes
22558   * @method
22559   * @memberof Popper.Utils
22560   * @argument {Element} element1
22561   * @argument {Element} element2
22562   * @returns {Element} common offset parent
22563   */
22564  function findCommonOffsetParent(element1, element2) {
22565    // This check is needed to avoid errors in case one of the elements isn't defined for any reason
22566    if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {
22567      return document.documentElement;
22568    }
22569  
22570    // Here we make sure to give as "start" the element that comes first in the DOM
22571    var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;
22572    var start = order ? element1 : element2;
22573    var end = order ? element2 : element1;
22574  
22575    // Get common ancestor container
22576    var range = document.createRange();
22577    range.setStart(start, 0);
22578    range.setEnd(end, 0);
22579    var commonAncestorContainer = range.commonAncestorContainer;
22580  
22581    // Both nodes are inside #document
22582  
22583    if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {
22584      if (isOffsetContainer(commonAncestorContainer)) {
22585        return commonAncestorContainer;
22586      }
22587  
22588      return getOffsetParent(commonAncestorContainer);
22589    }
22590  
22591    // one of the nodes is inside shadowDOM, find which one
22592    var element1root = getRoot(element1);
22593    if (element1root.host) {
22594      return findCommonOffsetParent(element1root.host, element2);
22595    } else {
22596      return findCommonOffsetParent(element1, getRoot(element2).host);
22597    }
22598  }
22599  
22600  /**
22601   * Gets the scroll value of the given element in the given side (top and left)
22602   * @method
22603   * @memberof Popper.Utils
22604   * @argument {Element} element
22605   * @argument {String} side `top` or `left`
22606   * @returns {number} amount of scrolled pixels
22607   */
22608  function getScroll(element) {
22609    var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';
22610  
22611    var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';
22612    var nodeName = element.nodeName;
22613  
22614    if (nodeName === 'BODY' || nodeName === 'HTML') {
22615      var html = element.ownerDocument.documentElement;
22616      var scrollingElement = element.ownerDocument.scrollingElement || html;
22617      return scrollingElement[upperSide];
22618    }
22619  
22620    return element[upperSide];
22621  }
22622  
22623  /*
22624   * Sum or subtract the element scroll values (left and top) from a given rect object
22625   * @method
22626   * @memberof Popper.Utils
22627   * @param {Object} rect - Rect object you want to change
22628   * @param {HTMLElement} element - The element from the function reads the scroll values
22629   * @param {Boolean} subtract - set to true if you want to subtract the scroll values
22630   * @return {Object} rect - The modifier rect object
22631   */
22632  function includeScroll(rect, element) {
22633    var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
22634  
22635    var scrollTop = getScroll(element, 'top');
22636    var scrollLeft = getScroll(element, 'left');
22637    var modifier = subtract ? -1 : 1;
22638    rect.top += scrollTop * modifier;
22639    rect.bottom += scrollTop * modifier;
22640    rect.left += scrollLeft * modifier;
22641    rect.right += scrollLeft * modifier;
22642    return rect;
22643  }
22644  
22645  /*
22646   * Helper to detect borders of a given element
22647   * @method
22648   * @memberof Popper.Utils
22649   * @param {CSSStyleDeclaration} styles
22650   * Result of `getStyleComputedProperty` on the given element
22651   * @param {String} axis - `x` or `y`
22652   * @return {number} borders - The borders size of the given axis
22653   */
22654  
22655  function getBordersSize(styles, axis) {
22656    var sideA = axis === 'x' ? 'Left' : 'Top';
22657    var sideB = sideA === 'Left' ? 'Right' : 'Bottom';
22658  
22659    return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);
22660  }
22661  
22662  function getSize(axis, body, html, computedStyle) {
22663    return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);
22664  }
22665  
22666  function getWindowSizes(document) {
22667    var body = document.body;
22668    var html = document.documentElement;
22669    var computedStyle = isIE(10) && getComputedStyle(html);
22670  
22671    return {
22672      height: getSize('Height', body, html, computedStyle),
22673      width: getSize('Width', body, html, computedStyle)
22674    };
22675  }
22676  
22677  var classCallCheck = function (instance, Constructor) {
22678    if (!(instance instanceof Constructor)) {
22679      throw new TypeError("Cannot call a class as a function");
22680    }
22681  };
22682  
22683  var createClass = function () {
22684    function defineProperties(target, props) {
22685      for (var i = 0; i < props.length; i++) {
22686        var descriptor = props[i];
22687        descriptor.enumerable = descriptor.enumerable || false;
22688        descriptor.configurable = true;
22689        if ("value" in descriptor) descriptor.writable = true;
22690        Object.defineProperty(target, descriptor.key, descriptor);
22691      }
22692    }
22693  
22694    return function (Constructor, protoProps, staticProps) {
22695      if (protoProps) defineProperties(Constructor.prototype, protoProps);
22696      if (staticProps) defineProperties(Constructor, staticProps);
22697      return Constructor;
22698    };
22699  }();
22700  
22701  
22702  
22703  
22704  
22705  var defineProperty = function (obj, key, value) {
22706    if (key in obj) {
22707      Object.defineProperty(obj, key, {
22708        value: value,
22709        enumerable: true,
22710        configurable: true,
22711        writable: true
22712      });
22713    } else {
22714      obj[key] = value;
22715    }
22716  
22717    return obj;
22718  };
22719  
22720  var _extends = Object.assign || function (target) {
22721    for (var i = 1; i < arguments.length; i++) {
22722      var source = arguments[i];
22723  
22724      for (var key in source) {
22725        if (Object.prototype.hasOwnProperty.call(source, key)) {
22726          target[key] = source[key];
22727        }
22728      }
22729    }
22730  
22731    return target;
22732  };
22733  
22734  /**
22735   * Given element offsets, generate an output similar to getBoundingClientRect
22736   * @method
22737   * @memberof Popper.Utils
22738   * @argument {Object} offsets
22739   * @returns {Object} ClientRect like output
22740   */
22741  function getClientRect(offsets) {
22742    return _extends({}, offsets, {
22743      right: offsets.left + offsets.width,
22744      bottom: offsets.top + offsets.height
22745    });
22746  }
22747  
22748  /**
22749   * Get bounding client rect of given element
22750   * @method
22751   * @memberof Popper.Utils
22752   * @param {HTMLElement} element
22753   * @return {Object} client rect
22754   */
22755  function getBoundingClientRect(element) {
22756    var rect = {};
22757  
22758    // IE10 10 FIX: Please, don't ask, the element isn't
22759    // considered in DOM in some circumstances...
22760    // This isn't reproducible in IE10 compatibility mode of IE11
22761    try {
22762      if (isIE(10)) {
22763        rect = element.getBoundingClientRect();
22764        var scrollTop = getScroll(element, 'top');
22765        var scrollLeft = getScroll(element, 'left');
22766        rect.top += scrollTop;
22767        rect.left += scrollLeft;
22768        rect.bottom += scrollTop;
22769        rect.right += scrollLeft;
22770      } else {
22771        rect = element.getBoundingClientRect();
22772      }
22773    } catch (e) {}
22774  
22775    var result = {
22776      left: rect.left,
22777      top: rect.top,
22778      width: rect.right - rect.left,
22779      height: rect.bottom - rect.top
22780    };
22781  
22782    // subtract scrollbar size from sizes
22783    var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};
22784    var width = sizes.width || element.clientWidth || result.right - result.left;
22785    var height = sizes.height || element.clientHeight || result.bottom - result.top;
22786  
22787    var horizScrollbar = element.offsetWidth - width;
22788    var vertScrollbar = element.offsetHeight - height;
22789  
22790    // if an hypothetical scrollbar is detected, we must be sure it's not a `border`
22791    // we make this check conditional for performance reasons
22792    if (horizScrollbar || vertScrollbar) {
22793      var styles = getStyleComputedProperty(element);
22794      horizScrollbar -= getBordersSize(styles, 'x');
22795      vertScrollbar -= getBordersSize(styles, 'y');
22796  
22797      result.width -= horizScrollbar;
22798      result.height -= vertScrollbar;
22799    }
22800  
22801    return getClientRect(result);
22802  }
22803  
22804  function getOffsetRectRelativeToArbitraryNode(children, parent) {
22805    var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
22806  
22807    var isIE10 = isIE(10);
22808    var isHTML = parent.nodeName === 'HTML';
22809    var childrenRect = getBoundingClientRect(children);
22810    var parentRect = getBoundingClientRect(parent);
22811    var scrollParent = getScrollParent(children);
22812  
22813    var styles = getStyleComputedProperty(parent);
22814    var borderTopWidth = parseFloat(styles.borderTopWidth, 10);
22815    var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);
22816  
22817    // In cases where the parent is fixed, we must ignore negative scroll in offset calc
22818    if (fixedPosition && isHTML) {
22819      parentRect.top = Math.max(parentRect.top, 0);
22820      parentRect.left = Math.max(parentRect.left, 0);
22821    }
22822    var offsets = getClientRect({
22823      top: childrenRect.top - parentRect.top - borderTopWidth,
22824      left: childrenRect.left - parentRect.left - borderLeftWidth,
22825      width: childrenRect.width,
22826      height: childrenRect.height
22827    });
22828    offsets.marginTop = 0;
22829    offsets.marginLeft = 0;
22830  
22831    // Subtract margins of documentElement in case it's being used as parent
22832    // we do this only on HTML because it's the only element that behaves
22833    // differently when margins are applied to it. The margins are included in
22834    // the box of the documentElement, in the other cases not.
22835    if (!isIE10 && isHTML) {
22836      var marginTop = parseFloat(styles.marginTop, 10);
22837      var marginLeft = parseFloat(styles.marginLeft, 10);
22838  
22839      offsets.top -= borderTopWidth - marginTop;
22840      offsets.bottom -= borderTopWidth - marginTop;
22841      offsets.left -= borderLeftWidth - marginLeft;
22842      offsets.right -= borderLeftWidth - marginLeft;
22843  
22844      // Attach marginTop and marginLeft because in some circumstances we may need them
22845      offsets.marginTop = marginTop;
22846      offsets.marginLeft = marginLeft;
22847    }
22848  
22849    if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {
22850      offsets = includeScroll(offsets, parent);
22851    }
22852  
22853    return offsets;
22854  }
22855  
22856  function getViewportOffsetRectRelativeToArtbitraryNode(element) {
22857    var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
22858  
22859    var html = element.ownerDocument.documentElement;
22860    var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);
22861    var width = Math.max(html.clientWidth, window.innerWidth || 0);
22862    var height = Math.max(html.clientHeight, window.innerHeight || 0);
22863  
22864    var scrollTop = !excludeScroll ? getScroll(html) : 0;
22865    var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;
22866  
22867    var offset = {
22868      top: scrollTop - relativeOffset.top + relativeOffset.marginTop,
22869      left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,
22870      width: width,
22871      height: height
22872    };
22873  
22874    return getClientRect(offset);
22875  }
22876  
22877  /**
22878   * Check if the given element is fixed or is inside a fixed parent
22879   * @method
22880   * @memberof Popper.Utils
22881   * @argument {Element} element
22882   * @argument {Element} customContainer
22883   * @returns {Boolean} answer to "isFixed?"
22884   */
22885  function isFixed(element) {
22886    var nodeName = element.nodeName;
22887    if (nodeName === 'BODY' || nodeName === 'HTML') {
22888      return false;
22889    }
22890    if (getStyleComputedProperty(element, 'position') === 'fixed') {
22891      return true;
22892    }
22893    return isFixed(getParentNode(element));
22894  }
22895  
22896  /**
22897   * Finds the first parent of an element that has a transformed property defined
22898   * @method
22899   * @memberof Popper.Utils
22900   * @argument {Element} element
22901   * @returns {Element} first transformed parent or documentElement
22902   */
22903  
22904  function getFixedPositionOffsetParent(element) {
22905    // This check is needed to avoid errors in case one of the elements isn't defined for any reason
22906    if (!element || !element.parentElement || isIE()) {
22907      return document.documentElement;
22908    }
22909    var el = element.parentElement;
22910    while (el && getStyleComputedProperty(el, 'transform') === 'none') {
22911      el = el.parentElement;
22912    }
22913    return el || document.documentElement;
22914  }
22915  
22916  /**
22917   * Computed the boundaries limits and return them
22918   * @method
22919   * @memberof Popper.Utils
22920   * @param {HTMLElement} popper
22921   * @param {HTMLElement} reference
22922   * @param {number} padding
22923   * @param {HTMLElement} boundariesElement - Element used to define the boundaries
22924   * @param {Boolean} fixedPosition - Is in fixed position mode
22925   * @returns {Object} Coordinates of the boundaries
22926   */
22927  function getBoundaries(popper, reference, padding, boundariesElement) {
22928    var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
22929  
22930    // NOTE: 1 DOM access here
22931  
22932    var boundaries = { top: 0, left: 0 };
22933    var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);
22934  
22935    // Handle viewport case
22936    if (boundariesElement === 'viewport') {
22937      boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);
22938    } else {
22939      // Handle other cases based on DOM element used as boundaries
22940      var boundariesNode = void 0;
22941      if (boundariesElement === 'scrollParent') {
22942        boundariesNode = getScrollParent(getParentNode(reference));
22943        if (boundariesNode.nodeName === 'BODY') {
22944          boundariesNode = popper.ownerDocument.documentElement;
22945        }
22946      } else if (boundariesElement === 'window') {
22947        boundariesNode = popper.ownerDocument.documentElement;
22948      } else {
22949        boundariesNode = boundariesElement;
22950      }
22951  
22952      var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);
22953  
22954      // In case of HTML, we need a different computation
22955      if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {
22956        var _getWindowSizes = getWindowSizes(popper.ownerDocument),
22957            height = _getWindowSizes.height,
22958            width = _getWindowSizes.width;
22959  
22960        boundaries.top += offsets.top - offsets.marginTop;
22961        boundaries.bottom = height + offsets.top;
22962        boundaries.left += offsets.left - offsets.marginLeft;
22963        boundaries.right = width + offsets.left;
22964      } else {
22965        // for all the other DOM elements, this one is good
22966        boundaries = offsets;
22967      }
22968    }
22969  
22970    // Add paddings
22971    padding = padding || 0;
22972    var isPaddingNumber = typeof padding === 'number';
22973    boundaries.left += isPaddingNumber ? padding : padding.left || 0;
22974    boundaries.top += isPaddingNumber ? padding : padding.top || 0;
22975    boundaries.right -= isPaddingNumber ? padding : padding.right || 0;
22976    boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;
22977  
22978    return boundaries;
22979  }
22980  
22981  function getArea(_ref) {
22982    var width = _ref.width,
22983        height = _ref.height;
22984  
22985    return width * height;
22986  }
22987  
22988  /**
22989   * Utility used to transform the `auto` placement to the placement with more
22990   * available space.
22991   * @method
22992   * @memberof Popper.Utils
22993   * @argument {Object} data - The data object generated by update method
22994   * @argument {Object} options - Modifiers configuration and options
22995   * @returns {Object} The data object, properly modified
22996   */
22997  function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {
22998    var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;
22999  
23000    if (placement.indexOf('auto') === -1) {
23001      return placement;
23002    }
23003  
23004    var boundaries = getBoundaries(popper, reference, padding, boundariesElement);
23005  
23006    var rects = {
23007      top: {
23008        width: boundaries.width,
23009        height: refRect.top - boundaries.top
23010      },
23011      right: {
23012        width: boundaries.right - refRect.right,
23013        height: boundaries.height
23014      },
23015      bottom: {
23016        width: boundaries.width,
23017        height: boundaries.bottom - refRect.bottom
23018      },
23019      left: {
23020        width: refRect.left - boundaries.left,
23021        height: boundaries.height
23022      }
23023    };
23024  
23025    var sortedAreas = Object.keys(rects).map(function (key) {
23026      return _extends({
23027        key: key
23028      }, rects[key], {
23029        area: getArea(rects[key])
23030      });
23031    }).sort(function (a, b) {
23032      return b.area - a.area;
23033    });
23034  
23035    var filteredAreas = sortedAreas.filter(function (_ref2) {
23036      var width = _ref2.width,
23037          height = _ref2.height;
23038      return width >= popper.clientWidth && height >= popper.clientHeight;
23039    });
23040  
23041    var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;
23042  
23043    var variation = placement.split('-')[1];
23044  
23045    return computedPlacement + (variation ? '-' + variation : '');
23046  }
23047  
23048  /**
23049   * Get offsets to the reference element
23050   * @method
23051   * @memberof Popper.Utils
23052   * @param {Object} state
23053   * @param {Element} popper - the popper element
23054   * @param {Element} reference - the reference element (the popper will be relative to this)
23055   * @param {Element} fixedPosition - is in fixed position mode
23056   * @returns {Object} An object containing the offsets which will be applied to the popper
23057   */
23058  function getReferenceOffsets(state, popper, reference) {
23059    var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
23060  
23061    var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);
23062    return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);
23063  }
23064  
23065  /**
23066   * Get the outer sizes of the given element (offset size + margins)
23067   * @method
23068   * @memberof Popper.Utils
23069   * @argument {Element} element
23070   * @returns {Object} object containing width and height properties
23071   */
23072  function getOuterSizes(element) {
23073    var window = element.ownerDocument.defaultView;
23074    var styles = window.getComputedStyle(element);
23075    var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);
23076    var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);
23077    var result = {
23078      width: element.offsetWidth + y,
23079      height: element.offsetHeight + x
23080    };
23081    return result;
23082  }
23083  
23084  /**
23085   * Get the opposite placement of the given one
23086   * @method
23087   * @memberof Popper.Utils
23088   * @argument {String} placement
23089   * @returns {String} flipped placement
23090   */
23091  function getOppositePlacement(placement) {
23092    var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };
23093    return placement.replace(/left|right|bottom|top/g, function (matched) {
23094      return hash[matched];
23095    });
23096  }
23097  
23098  /**
23099   * Get offsets to the popper
23100   * @method
23101   * @memberof Popper.Utils
23102   * @param {Object} position - CSS position the Popper will get applied
23103   * @param {HTMLElement} popper - the popper element
23104   * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)
23105   * @param {String} placement - one of the valid placement options
23106   * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper
23107   */
23108  function getPopperOffsets(popper, referenceOffsets, placement) {
23109    placement = placement.split('-')[0];
23110  
23111    // Get popper node sizes
23112    var popperRect = getOuterSizes(popper);
23113  
23114    // Add position, width and height to our offsets object
23115    var popperOffsets = {
23116      width: popperRect.width,
23117      height: popperRect.height
23118    };
23119  
23120    // depending by the popper placement we have to compute its offsets slightly differently
23121    var isHoriz = ['right', 'left'].indexOf(placement) !== -1;
23122    var mainSide = isHoriz ? 'top' : 'left';
23123    var secondarySide = isHoriz ? 'left' : 'top';
23124    var measurement = isHoriz ? 'height' : 'width';
23125    var secondaryMeasurement = !isHoriz ? 'height' : 'width';
23126  
23127    popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;
23128    if (placement === secondarySide) {
23129      popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];
23130    } else {
23131      popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];
23132    }
23133  
23134    return popperOffsets;
23135  }
23136  
23137  /**
23138   * Mimics the `find` method of Array
23139   * @method
23140   * @memberof Popper.Utils
23141   * @argument {Array} arr
23142   * @argument prop
23143   * @argument value
23144   * @returns index or -1
23145   */
23146  function find(arr, check) {
23147    // use native find if supported
23148    if (Array.prototype.find) {
23149      return arr.find(check);
23150    }
23151  
23152    // use `filter` to obtain the same behavior of `find`
23153    return arr.filter(check)[0];
23154  }
23155  
23156  /**
23157   * Return the index of the matching object
23158   * @method
23159   * @memberof Popper.Utils
23160   * @argument {Array} arr
23161   * @argument prop
23162   * @argument value
23163   * @returns index or -1
23164   */
23165  function findIndex(arr, prop, value) {
23166    // use native findIndex if supported
23167    if (Array.prototype.findIndex) {
23168      return arr.findIndex(function (cur) {
23169        return cur[prop] === value;
23170      });
23171    }
23172  
23173    // use `find` + `indexOf` if `findIndex` isn't supported
23174    var match = find(arr, function (obj) {
23175      return obj[prop] === value;
23176    });
23177    return arr.indexOf(match);
23178  }
23179  
23180  /**
23181   * Loop trough the list of modifiers and run them in order,
23182   * each of them will then edit the data object.
23183   * @method
23184   * @memberof Popper.Utils
23185   * @param {dataObject} data
23186   * @param {Array} modifiers
23187   * @param {String} ends - Optional modifier name used as stopper
23188   * @returns {dataObject}
23189   */
23190  function runModifiers(modifiers, data, ends) {
23191    var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));
23192  
23193    modifiersToRun.forEach(function (modifier) {
23194      if (modifier['function']) {
23195        // eslint-disable-line dot-notation
23196        console.warn('`modifier.function` is deprecated, use `modifier.fn`!');
23197      }
23198      var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation
23199      if (modifier.enabled && isFunction(fn)) {
23200        // Add properties to offsets to make them a complete clientRect object
23201        // we do this before each modifier to make sure the previous one doesn't
23202        // mess with these values
23203        data.offsets.popper = getClientRect(data.offsets.popper);
23204        data.offsets.reference = getClientRect(data.offsets.reference);
23205  
23206        data = fn(data, modifier);
23207      }
23208    });
23209  
23210    return data;
23211  }
23212  
23213  /**
23214   * Updates the position of the popper, computing the new offsets and applying
23215   * the new style.<br />
23216   * Prefer `scheduleUpdate` over `update` because of performance reasons.
23217   * @method
23218   * @memberof Popper
23219   */
23220  function update() {
23221    // if popper is destroyed, don't perform any further update
23222    if (this.state.isDestroyed) {
23223      return;
23224    }
23225  
23226    var data = {
23227      instance: this,
23228      styles: {},
23229      arrowStyles: {},
23230      attributes: {},
23231      flipped: false,
23232      offsets: {}
23233    };
23234  
23235    // compute reference element offsets
23236    data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);
23237  
23238    // compute auto placement, store placement inside the data object,
23239    // modifiers will be able to edit `placement` if needed
23240    // and refer to originalPlacement to know the original value
23241    data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);
23242  
23243    // store the computed placement inside `originalPlacement`
23244    data.originalPlacement = data.placement;
23245  
23246    data.positionFixed = this.options.positionFixed;
23247  
23248    // compute the popper offsets
23249    data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);
23250  
23251    data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';
23252  
23253    // run the modifiers
23254    data = runModifiers(this.modifiers, data);
23255  
23256    // the first `update` will call `onCreate` callback
23257    // the other ones will call `onUpdate` callback
23258    if (!this.state.isCreated) {
23259      this.state.isCreated = true;
23260      this.options.onCreate(data);
23261    } else {
23262      this.options.onUpdate(data);
23263    }
23264  }
23265  
23266  /**
23267   * Helper used to know if the given modifier is enabled.
23268   * @method
23269   * @memberof Popper.Utils
23270   * @returns {Boolean}
23271   */
23272  function isModifierEnabled(modifiers, modifierName) {
23273    return modifiers.some(function (_ref) {
23274      var name = _ref.name,
23275          enabled = _ref.enabled;
23276      return enabled && name === modifierName;
23277    });
23278  }
23279  
23280  /**
23281   * Get the prefixed supported property name
23282   * @method
23283   * @memberof Popper.Utils
23284   * @argument {String} property (camelCase)
23285   * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)
23286   */
23287  function getSupportedPropertyName(property) {
23288    var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];
23289    var upperProp = property.charAt(0).toUpperCase() + property.slice(1);
23290  
23291    for (var i = 0; i < prefixes.length; i++) {
23292      var prefix = prefixes[i];
23293      var toCheck = prefix ? '' + prefix + upperProp : property;
23294      if (typeof document.body.style[toCheck] !== 'undefined') {
23295        return toCheck;
23296      }
23297    }
23298    return null;
23299  }
23300  
23301  /**
23302   * Destroys the popper.
23303   * @method
23304   * @memberof Popper
23305   */
23306  function destroy() {
23307    this.state.isDestroyed = true;
23308  
23309    // touch DOM only if `applyStyle` modifier is enabled
23310    if (isModifierEnabled(this.modifiers, 'applyStyle')) {
23311      this.popper.removeAttribute('x-placement');
23312      this.popper.style.position = '';
23313      this.popper.style.top = '';
23314      this.popper.style.left = '';
23315      this.popper.style.right = '';
23316      this.popper.style.bottom = '';
23317      this.popper.style.willChange = '';
23318      this.popper.style[getSupportedPropertyName('transform')] = '';
23319    }
23320  
23321    this.disableEventListeners();
23322  
23323    // remove the popper if user explicity asked for the deletion on destroy
23324    // do not use `remove` because IE11 doesn't support it
23325    if (this.options.removeOnDestroy) {
23326      this.popper.parentNode.removeChild(this.popper);
23327    }
23328    return this;
23329  }
23330  
23331  /**
23332   * Get the window associated with the element
23333   * @argument {Element} element
23334   * @returns {Window}
23335   */
23336  function getWindow(element) {
23337    var ownerDocument = element.ownerDocument;
23338    return ownerDocument ? ownerDocument.defaultView : window;
23339  }
23340  
23341  function attachToScrollParents(scrollParent, event, callback, scrollParents) {
23342    var isBody = scrollParent.nodeName === 'BODY';
23343    var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;
23344    target.addEventListener(event, callback, { passive: true });
23345  
23346    if (!isBody) {
23347      attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);
23348    }
23349    scrollParents.push(target);
23350  }
23351  
23352  /**
23353   * Setup needed event listeners used to update the popper position
23354   * @method
23355   * @memberof Popper.Utils
23356   * @private
23357   */
23358  function setupEventListeners(reference, options, state, updateBound) {
23359    // Resize event listener on window
23360    state.updateBound = updateBound;
23361    getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });
23362  
23363    // Scroll event listener on scroll parents
23364    var scrollElement = getScrollParent(reference);
23365    attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);
23366    state.scrollElement = scrollElement;
23367    state.eventsEnabled = true;
23368  
23369    return state;
23370  }
23371  
23372  /**
23373   * It will add resize/scroll events and start recalculating
23374   * position of the popper element when they are triggered.
23375   * @method
23376   * @memberof Popper
23377   */
23378  function enableEventListeners() {
23379    if (!this.state.eventsEnabled) {
23380      this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);
23381    }
23382  }
23383  
23384  /**
23385   * Remove event listeners used to update the popper position
23386   * @method
23387   * @memberof Popper.Utils
23388   * @private
23389   */
23390  function removeEventListeners(reference, state) {
23391    // Remove resize event listener on window
23392    getWindow(reference).removeEventListener('resize', state.updateBound);
23393  
23394    // Remove scroll event listener on scroll parents
23395    state.scrollParents.forEach(function (target) {
23396      target.removeEventListener('scroll', state.updateBound);
23397    });
23398  
23399    // Reset state
23400    state.updateBound = null;
23401    state.scrollParents = [];
23402    state.scrollElement = null;
23403    state.eventsEnabled = false;
23404    return state;
23405  }
23406  
23407  /**
23408   * It will remove resize/scroll events and won't recalculate popper position
23409   * when they are triggered. It also won't trigger `onUpdate` callback anymore,
23410   * unless you call `update` method manually.
23411   * @method
23412   * @memberof Popper
23413   */
23414  function disableEventListeners() {
23415    if (this.state.eventsEnabled) {
23416      cancelAnimationFrame(this.scheduleUpdate);
23417      this.state = removeEventListeners(this.reference, this.state);
23418    }
23419  }
23420  
23421  /**
23422   * Tells if a given input is a number
23423   * @method
23424   * @memberof Popper.Utils
23425   * @param {*} input to check
23426   * @return {Boolean}
23427   */
23428  function isNumeric(n) {
23429    return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);
23430  }
23431  
23432  /**
23433   * Set the style to the given popper
23434   * @method
23435   * @memberof Popper.Utils
23436   * @argument {Element} element - Element to apply the style to
23437   * @argument {Object} styles
23438   * Object with a list of properties and values which will be applied to the element
23439   */
23440  function setStyles(element, styles) {
23441    Object.keys(styles).forEach(function (prop) {
23442      var unit = '';
23443      // add unit if the value is numeric and is one of the following
23444      if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {
23445        unit = 'px';
23446      }
23447      element.style[prop] = styles[prop] + unit;
23448    });
23449  }
23450  
23451  /**
23452   * Set the attributes to the given popper
23453   * @method
23454   * @memberof Popper.Utils
23455   * @argument {Element} element - Element to apply the attributes to
23456   * @argument {Object} styles
23457   * Object with a list of properties and values which will be applied to the element
23458   */
23459  function setAttributes(element, attributes) {
23460    Object.keys(attributes).forEach(function (prop) {
23461      var value = attributes[prop];
23462      if (value !== false) {
23463        element.setAttribute(prop, attributes[prop]);
23464      } else {
23465        element.removeAttribute(prop);
23466      }
23467    });
23468  }
23469  
23470  /**
23471   * @function
23472   * @memberof Modifiers
23473   * @argument {Object} data - The data object generated by `update` method
23474   * @argument {Object} data.styles - List of style properties - values to apply to popper element
23475   * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element
23476   * @argument {Object} options - Modifiers configuration and options
23477   * @returns {Object} The same data object
23478   */
23479  function applyStyle(data) {
23480    // any property present in `data.styles` will be applied to the popper,
23481    // in this way we can make the 3rd party modifiers add custom styles to it
23482    // Be aware, modifiers could override the properties defined in the previous
23483    // lines of this modifier!
23484    setStyles(data.instance.popper, data.styles);
23485  
23486    // any property present in `data.attributes` will be applied to the popper,
23487    // they will be set as HTML attributes of the element
23488    setAttributes(data.instance.popper, data.attributes);
23489  
23490    // if arrowElement is defined and arrowStyles has some properties
23491    if (data.arrowElement && Object.keys(data.arrowStyles).length) {
23492      setStyles(data.arrowElement, data.arrowStyles);
23493    }
23494  
23495    return data;
23496  }
23497  
23498  /**
23499   * Set the x-placement attribute before everything else because it could be used
23500   * to add margins to the popper margins needs to be calculated to get the
23501   * correct popper offsets.
23502   * @method
23503   * @memberof Popper.modifiers
23504   * @param {HTMLElement} reference - The reference element used to position the popper
23505   * @param {HTMLElement} popper - The HTML element used as popper
23506   * @param {Object} options - Popper.js options
23507   */
23508  function applyStyleOnLoad(reference, popper, options, modifierOptions, state) {
23509    // compute reference element offsets
23510    var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);
23511  
23512    // compute auto placement, store placement inside the data object,
23513    // modifiers will be able to edit `placement` if needed
23514    // and refer to originalPlacement to know the original value
23515    var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);
23516  
23517    popper.setAttribute('x-placement', placement);
23518  
23519    // Apply `position` to popper before anything else because
23520    // without the position applied we can't guarantee correct computations
23521    setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });
23522  
23523    return options;
23524  }
23525  
23526  /**
23527   * @function
23528   * @memberof Popper.Utils
23529   * @argument {Object} data - The data object generated by `update` method
23530   * @argument {Boolean} shouldRound - If the offsets should be rounded at all
23531   * @returns {Object} The popper's position offsets rounded
23532   *
23533   * The tale of pixel-perfect positioning. It's still not 100% perfect, but as
23534   * good as it can be within reason.
23535   * Discussion here: https://github.com/FezVrasta/popper.js/pull/715
23536   *
23537   * Low DPI screens cause a popper to be blurry if not using full pixels (Safari
23538   * as well on High DPI screens).
23539   *
23540   * Firefox prefers no rounding for positioning and does not have blurriness on
23541   * high DPI screens.
23542   *
23543   * Only horizontal placement and left/right values need to be considered.
23544   */
23545  function getRoundedOffsets(data, shouldRound) {
23546    var _data$offsets = data.offsets,
23547        popper = _data$offsets.popper,
23548        reference = _data$offsets.reference;
23549  
23550  
23551    var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;
23552    var isVariation = data.placement.indexOf('-') !== -1;
23553    var sameWidthOddness = reference.width % 2 === popper.width % 2;
23554    var bothOddWidth = reference.width % 2 === 1 && popper.width % 2 === 1;
23555    var noRound = function noRound(v) {
23556      return v;
23557    };
23558  
23559    var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthOddness ? Math.round : Math.floor;
23560    var verticalToInteger = !shouldRound ? noRound : Math.round;
23561  
23562    return {
23563      left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),
23564      top: verticalToInteger(popper.top),
23565      bottom: verticalToInteger(popper.bottom),
23566      right: horizontalToInteger(popper.right)
23567    };
23568  }
23569  
23570  var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);
23571  
23572  /**
23573   * @function
23574   * @memberof Modifiers
23575   * @argument {Object} data - The data object generated by `update` method
23576   * @argument {Object} options - Modifiers configuration and options
23577   * @returns {Object} The data object, properly modified
23578   */
23579  function computeStyle(data, options) {
23580    var x = options.x,
23581        y = options.y;
23582    var popper = data.offsets.popper;
23583  
23584    // Remove this legacy support in Popper.js v2
23585  
23586    var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {
23587      return modifier.name === 'applyStyle';
23588    }).gpuAcceleration;
23589    if (legacyGpuAccelerationOption !== undefined) {
23590      console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');
23591    }
23592    var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;
23593  
23594    var offsetParent = getOffsetParent(data.instance.popper);
23595    var offsetParentRect = getBoundingClientRect(offsetParent);
23596  
23597    // Styles
23598    var styles = {
23599      position: popper.position
23600    };
23601  
23602    var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);
23603  
23604    var sideA = x === 'bottom' ? 'top' : 'bottom';
23605    var sideB = y === 'right' ? 'left' : 'right';
23606  
23607    // if gpuAcceleration is set to `true` and transform is supported,
23608    //  we use `translate3d` to apply the position to the popper we
23609    // automatically use the supported prefixed version if needed
23610    var prefixedProperty = getSupportedPropertyName('transform');
23611  
23612    // now, let's make a step back and look at this code closely (wtf?)
23613    // If the content of the popper grows once it's been positioned, it
23614    // may happen that the popper gets misplaced because of the new content
23615    // overflowing its reference element
23616    // To avoid this problem, we provide two options (x and y), which allow
23617    // the consumer to define the offset origin.
23618    // If we position a popper on top of a reference element, we can set
23619    // `x` to `top` to make the popper grow towards its top instead of
23620    // its bottom.
23621    var left = void 0,
23622        top = void 0;
23623    if (sideA === 'bottom') {
23624      // when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar)
23625      // and not the bottom of the html element
23626      if (offsetParent.nodeName === 'HTML') {
23627        top = -offsetParent.clientHeight + offsets.bottom;
23628      } else {
23629        top = -offsetParentRect.height + offsets.bottom;
23630      }
23631    } else {
23632      top = offsets.top;
23633    }
23634    if (sideB === 'right') {
23635      if (offsetParent.nodeName === 'HTML') {
23636        left = -offsetParent.clientWidth + offsets.right;
23637      } else {
23638        left = -offsetParentRect.width + offsets.right;
23639      }
23640    } else {
23641      left = offsets.left;
23642    }
23643    if (gpuAcceleration && prefixedProperty) {
23644      styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';
23645      styles[sideA] = 0;
23646      styles[sideB] = 0;
23647      styles.willChange = 'transform';
23648    } else {
23649      // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties
23650      var invertTop = sideA === 'bottom' ? -1 : 1;
23651      var invertLeft = sideB === 'right' ? -1 : 1;
23652      styles[sideA] = top * invertTop;
23653      styles[sideB] = left * invertLeft;
23654      styles.willChange = sideA + ', ' + sideB;
23655    }
23656  
23657    // Attributes
23658    var attributes = {
23659      'x-placement': data.placement
23660    };
23661  
23662    // Update `data` attributes, styles and arrowStyles
23663    data.attributes = _extends({}, attributes, data.attributes);
23664    data.styles = _extends({}, styles, data.styles);
23665    data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
23666  
23667    return data;
23668  }
23669  
23670  /**
23671   * Helper used to know if the given modifier depends from another one.<br />
23672   * It checks if the needed modifier is listed and enabled.
23673   * @method
23674   * @memberof Popper.Utils
23675   * @param {Array} modifiers - list of modifiers
23676   * @param {String} requestingName - name of requesting modifier
23677   * @param {String} requestedName - name of requested modifier
23678   * @returns {Boolean}
23679   */
23680  function isModifierRequired(modifiers, requestingName, requestedName) {
23681    var requesting = find(modifiers, function (_ref) {
23682      var name = _ref.name;
23683      return name === requestingName;
23684    });
23685  
23686    var isRequired = !!requesting && modifiers.some(function (modifier) {
23687      return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;
23688    });
23689  
23690    if (!isRequired) {
23691      var _requesting = '`' + requestingName + '`';
23692      var requested = '`' + requestedName + '`';
23693      console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');
23694    }
23695    return isRequired;
23696  }
23697  
23698  /**
23699   * @function
23700   * @memberof Modifiers
23701   * @argument {Object} data - The data object generated by update method
23702   * @argument {Object} options - Modifiers configuration and options
23703   * @returns {Object} The data object, properly modified
23704   */
23705  function arrow(data, options) {
23706    var _data$offsets$arrow;
23707  
23708    // arrow depends on keepTogether in order to work
23709    if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {
23710      return data;
23711    }
23712  
23713    var arrowElement = options.element;
23714  
23715    // if arrowElement is a string, suppose it's a CSS selector
23716    if (typeof arrowElement === 'string') {
23717      arrowElement = data.instance.popper.querySelector(arrowElement);
23718  
23719      // if arrowElement is not found, don't run the modifier
23720      if (!arrowElement) {
23721        return data;
23722      }
23723    } else {
23724      // if the arrowElement isn't a query selector we must check that the
23725      // provided DOM node is child of its popper node
23726      if (!data.instance.popper.contains(arrowElement)) {
23727        console.warn('WARNING: `arrow.element` must be child of its popper element!');
23728        return data;
23729      }
23730    }
23731  
23732    var placement = data.placement.split('-')[0];
23733    var _data$offsets = data.offsets,
23734        popper = _data$offsets.popper,
23735        reference = _data$offsets.reference;
23736  
23737    var isVertical = ['left', 'right'].indexOf(placement) !== -1;
23738  
23739    var len = isVertical ? 'height' : 'width';
23740    var sideCapitalized = isVertical ? 'Top' : 'Left';
23741    var side = sideCapitalized.toLowerCase();
23742    var altSide = isVertical ? 'left' : 'top';
23743    var opSide = isVertical ? 'bottom' : 'right';
23744    var arrowElementSize = getOuterSizes(arrowElement)[len];
23745  
23746    //
23747    // extends keepTogether behavior making sure the popper and its
23748    // reference have enough pixels in conjunction
23749    //
23750  
23751    // top/left side
23752    if (reference[opSide] - arrowElementSize < popper[side]) {
23753      data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);
23754    }
23755    // bottom/right side
23756    if (reference[side] + arrowElementSize > popper[opSide]) {
23757      data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];
23758    }
23759    data.offsets.popper = getClientRect(data.offsets.popper);
23760  
23761    // compute center of the popper
23762    var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;
23763  
23764    // Compute the sideValue using the updated popper offsets
23765    // take popper margin in account because we don't have this info available
23766    var css = getStyleComputedProperty(data.instance.popper);
23767    var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);
23768    var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);
23769    var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
23770  
23771    // prevent arrowElement from being placed not contiguously to its popper
23772    sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);
23773  
23774    data.arrowElement = arrowElement;
23775    data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);
23776  
23777    return data;
23778  }
23779  
23780  /**
23781   * Get the opposite placement variation of the given one
23782   * @method
23783   * @memberof Popper.Utils
23784   * @argument {String} placement variation
23785   * @returns {String} flipped placement variation
23786   */
23787  function getOppositeVariation(variation) {
23788    if (variation === 'end') {
23789      return 'start';
23790    } else if (variation === 'start') {
23791      return 'end';
23792    }
23793    return variation;
23794  }
23795  
23796  /**
23797   * List of accepted placements to use as values of the `placement` option.<br />
23798   * Valid placements are:
23799   * - `auto`
23800   * - `top`
23801   * - `right`
23802   * - `bottom`
23803   * - `left`
23804   *
23805   * Each placement can have a variation from this list:
23806   * - `-start`
23807   * - `-end`
23808   *
23809   * Variations are interpreted easily if you think of them as the left to right
23810   * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`
23811   * is right.<br />
23812   * Vertically (`left` and `right`), `start` is top and `end` is bottom.
23813   *
23814   * Some valid examples are:
23815   * - `top-end` (on top of reference, right aligned)
23816   * - `right-start` (on right of reference, top aligned)
23817   * - `bottom` (on bottom, centered)
23818   * - `auto-end` (on the side with more space available, alignment depends by placement)
23819   *
23820   * @static
23821   * @type {Array}
23822   * @enum {String}
23823   * @readonly
23824   * @method placements
23825   * @memberof Popper
23826   */
23827  var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];
23828  
23829  // Get rid of `auto` `auto-start` and `auto-end`
23830  var validPlacements = placements.slice(3);
23831  
23832  /**
23833   * Given an initial placement, returns all the subsequent placements
23834   * clockwise (or counter-clockwise).
23835   *
23836   * @method
23837   * @memberof Popper.Utils
23838   * @argument {String} placement - A valid placement (it accepts variations)
23839   * @argument {Boolean} counter - Set to true to walk the placements counterclockwise
23840   * @returns {Array} placements including their variations
23841   */
23842  function clockwise(placement) {
23843    var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
23844  
23845    var index = validPlacements.indexOf(placement);
23846    var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));
23847    return counter ? arr.reverse() : arr;
23848  }
23849  
23850  var BEHAVIORS = {
23851    FLIP: 'flip',
23852    CLOCKWISE: 'clockwise',
23853    COUNTERCLOCKWISE: 'counterclockwise'
23854  };
23855  
23856  /**
23857   * @function
23858   * @memberof Modifiers
23859   * @argument {Object} data - The data object generated by update method
23860   * @argument {Object} options - Modifiers configuration and options
23861   * @returns {Object} The data object, properly modified
23862   */
23863  function flip(data, options) {
23864    // if `inner` modifier is enabled, we can't use the `flip` modifier
23865    if (isModifierEnabled(data.instance.modifiers, 'inner')) {
23866      return data;
23867    }
23868  
23869    if (data.flipped && data.placement === data.originalPlacement) {
23870      // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides
23871      return data;
23872    }
23873  
23874    var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);
23875  
23876    var placement = data.placement.split('-')[0];
23877    var placementOpposite = getOppositePlacement(placement);
23878    var variation = data.placement.split('-')[1] || '';
23879  
23880    var flipOrder = [];
23881  
23882    switch (options.behavior) {
23883      case BEHAVIORS.FLIP:
23884        flipOrder = [placement, placementOpposite];
23885        break;
23886      case BEHAVIORS.CLOCKWISE:
23887        flipOrder = clockwise(placement);
23888        break;
23889      case BEHAVIORS.COUNTERCLOCKWISE:
23890        flipOrder = clockwise(placement, true);
23891        break;
23892      default:
23893        flipOrder = options.behavior;
23894    }
23895  
23896    flipOrder.forEach(function (step, index) {
23897      if (placement !== step || flipOrder.length === index + 1) {
23898        return data;
23899      }
23900  
23901      placement = data.placement.split('-')[0];
23902      placementOpposite = getOppositePlacement(placement);
23903  
23904      var popperOffsets = data.offsets.popper;
23905      var refOffsets = data.offsets.reference;
23906  
23907      // using floor because the reference offsets may contain decimals we are not going to consider here
23908      var floor = Math.floor;
23909      var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);
23910  
23911      var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);
23912      var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);
23913      var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);
23914      var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);
23915  
23916      var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;
23917  
23918      // flip the variation if required
23919      var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
23920      var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);
23921  
23922      if (overlapsRef || overflowsBoundaries || flippedVariation) {
23923        // this boolean to detect any flip loop
23924        data.flipped = true;
23925  
23926        if (overlapsRef || overflowsBoundaries) {
23927          placement = flipOrder[index + 1];
23928        }
23929  
23930        if (flippedVariation) {
23931          variation = getOppositeVariation(variation);
23932        }
23933  
23934        data.placement = placement + (variation ? '-' + variation : '');
23935  
23936        // this object contains `position`, we want to preserve it along with
23937        // any additional property we may add in the future
23938        data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
23939  
23940        data = runModifiers(data.instance.modifiers, data, 'flip');
23941      }
23942    });
23943    return data;
23944  }
23945  
23946  /**
23947   * @function
23948   * @memberof Modifiers
23949   * @argument {Object} data - The data object generated by update method
23950   * @argument {Object} options - Modifiers configuration and options
23951   * @returns {Object} The data object, properly modified
23952   */
23953  function keepTogether(data) {
23954    var _data$offsets = data.offsets,
23955        popper = _data$offsets.popper,
23956        reference = _data$offsets.reference;
23957  
23958    var placement = data.placement.split('-')[0];
23959    var floor = Math.floor;
23960    var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
23961    var side = isVertical ? 'right' : 'bottom';
23962    var opSide = isVertical ? 'left' : 'top';
23963    var measurement = isVertical ? 'width' : 'height';
23964  
23965    if (popper[side] < floor(reference[opSide])) {
23966      data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];
23967    }
23968    if (popper[opSide] > floor(reference[side])) {
23969      data.offsets.popper[opSide] = floor(reference[side]);
23970    }
23971  
23972    return data;
23973  }
23974  
23975  /**
23976   * Converts a string containing value + unit into a px value number
23977   * @function
23978   * @memberof {modifiers~offset}
23979   * @private
23980   * @argument {String} str - Value + unit string
23981   * @argument {String} measurement - `height` or `width`
23982   * @argument {Object} popperOffsets
23983   * @argument {Object} referenceOffsets
23984   * @returns {Number|String}
23985   * Value in pixels, or original string if no values were extracted
23986   */
23987  function toValue(str, measurement, popperOffsets, referenceOffsets) {
23988    // separate value from unit
23989    var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);
23990    var value = +split[1];
23991    var unit = split[2];
23992  
23993    // If it's not a number it's an operator, I guess
23994    if (!value) {
23995      return str;
23996    }
23997  
23998    if (unit.indexOf('%') === 0) {
23999      var element = void 0;
24000      switch (unit) {
24001        case '%p':
24002          element = popperOffsets;
24003          break;
24004        case '%':
24005        case '%r':
24006        default:
24007          element = referenceOffsets;
24008      }
24009  
24010      var rect = getClientRect(element);
24011      return rect[measurement] / 100 * value;
24012    } else if (unit === 'vh' || unit === 'vw') {
24013      // if is a vh or vw, we calculate the size based on the viewport
24014      var size = void 0;
24015      if (unit === 'vh') {
24016        size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
24017      } else {
24018        size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
24019      }
24020      return size / 100 * value;
24021    } else {
24022      // if is an explicit pixel unit, we get rid of the unit and keep the value
24023      // if is an implicit unit, it's px, and we return just the value
24024      return value;
24025    }
24026  }
24027  
24028  /**
24029   * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.
24030   * @function
24031   * @memberof {modifiers~offset}
24032   * @private
24033   * @argument {String} offset
24034   * @argument {Object} popperOffsets
24035   * @argument {Object} referenceOffsets
24036   * @argument {String} basePlacement
24037   * @returns {Array} a two cells array with x and y offsets in numbers
24038   */
24039  function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {
24040    var offsets = [0, 0];
24041  
24042    // Use height if placement is left or right and index is 0 otherwise use width
24043    // in this way the first offset will use an axis and the second one
24044    // will use the other one
24045    var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;
24046  
24047    // Split the offset string to obtain a list of values and operands
24048    // The regex addresses values with the plus or minus sign in front (+10, -20, etc)
24049    var fragments = offset.split(/(\+|\-)/).map(function (frag) {
24050      return frag.trim();
24051    });
24052  
24053    // Detect if the offset string contains a pair of values or a single one
24054    // they could be separated by comma or space
24055    var divider = fragments.indexOf(find(fragments, function (frag) {
24056      return frag.search(/,|\s/) !== -1;
24057    }));
24058  
24059    if (fragments[divider] && fragments[divider].indexOf(',') === -1) {
24060      console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');
24061    }
24062  
24063    // If divider is found, we divide the list of values and operands to divide
24064    // them by ofset X and Y.
24065    var splitRegex = /\s*,\s*|\s+/;
24066    var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];
24067  
24068    // Convert the values with units to absolute pixels to allow our computations
24069    ops = ops.map(function (op, index) {
24070      // Most of the units rely on the orientation of the popper
24071      var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';
24072      var mergeWithPrevious = false;
24073      return op
24074      // This aggregates any `+` or `-` sign that aren't considered operators
24075      // e.g.: 10 + +5 => [10, +, +5]
24076      .reduce(function (a, b) {
24077        if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {
24078          a[a.length - 1] = b;
24079          mergeWithPrevious = true;
24080          return a;
24081        } else if (mergeWithPrevious) {
24082          a[a.length - 1] += b;
24083          mergeWithPrevious = false;
24084          return a;
24085        } else {
24086          return a.concat(b);
24087        }
24088      }, [])
24089      // Here we convert the string values into number values (in px)
24090      .map(function (str) {
24091        return toValue(str, measurement, popperOffsets, referenceOffsets);
24092      });
24093    });
24094  
24095    // Loop trough the offsets arrays and execute the operations
24096    ops.forEach(function (op, index) {
24097      op.forEach(function (frag, index2) {
24098        if (isNumeric(frag)) {
24099          offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);
24100        }
24101      });
24102    });
24103    return offsets;
24104  }
24105  
24106  /**
24107   * @function
24108   * @memberof Modifiers
24109   * @argument {Object} data - The data object generated by update method
24110   * @argument {Object} options - Modifiers configuration and options
24111   * @argument {Number|String} options.offset=0
24112   * The offset value as described in the modifier description
24113   * @returns {Object} The data object, properly modified
24114   */
24115  function offset(data, _ref) {
24116    var offset = _ref.offset;
24117    var placement = data.placement,
24118        _data$offsets = data.offsets,
24119        popper = _data$offsets.popper,
24120        reference = _data$offsets.reference;
24121  
24122    var basePlacement = placement.split('-')[0];
24123  
24124    var offsets = void 0;
24125    if (isNumeric(+offset)) {
24126      offsets = [+offset, 0];
24127    } else {
24128      offsets = parseOffset(offset, popper, reference, basePlacement);
24129    }
24130  
24131    if (basePlacement === 'left') {
24132      popper.top += offsets[0];
24133      popper.left -= offsets[1];
24134    } else if (basePlacement === 'right') {
24135      popper.top += offsets[0];
24136      popper.left += offsets[1];
24137    } else if (basePlacement === 'top') {
24138      popper.left += offsets[0];
24139      popper.top -= offsets[1];
24140    } else if (basePlacement === 'bottom') {
24141      popper.left += offsets[0];
24142      popper.top += offsets[1];
24143    }
24144  
24145    data.popper = popper;
24146    return data;
24147  }
24148  
24149  /**
24150   * @function
24151   * @memberof Modifiers
24152   * @argument {Object} data - The data object generated by `update` method
24153   * @argument {Object} options - Modifiers configuration and options
24154   * @returns {Object} The data object, properly modified
24155   */
24156  function preventOverflow(data, options) {
24157    var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);
24158  
24159    // If offsetParent is the reference element, we really want to
24160    // go one step up and use the next offsetParent as reference to
24161    // avoid to make this modifier completely useless and look like broken
24162    if (data.instance.reference === boundariesElement) {
24163      boundariesElement = getOffsetParent(boundariesElement);
24164    }
24165  
24166    // NOTE: DOM access here
24167    // resets the popper's position so that the document size can be calculated excluding
24168    // the size of the popper element itself
24169    var transformProp = getSupportedPropertyName('transform');
24170    var popperStyles = data.instance.popper.style; // assignment to help minification
24171    var top = popperStyles.top,
24172        left = popperStyles.left,
24173        transform = popperStyles[transformProp];
24174  
24175    popperStyles.top = '';
24176    popperStyles.left = '';
24177    popperStyles[transformProp] = '';
24178  
24179    var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);
24180  
24181    // NOTE: DOM access here
24182    // restores the original style properties after the offsets have been computed
24183    popperStyles.top = top;
24184    popperStyles.left = left;
24185    popperStyles[transformProp] = transform;
24186  
24187    options.boundaries = boundaries;
24188  
24189    var order = options.priority;
24190    var popper = data.offsets.popper;
24191  
24192    var check = {
24193      primary: function primary(placement) {
24194        var value = popper[placement];
24195        if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {
24196          value = Math.max(popper[placement], boundaries[placement]);
24197        }
24198        return defineProperty({}, placement, value);
24199      },
24200      secondary: function secondary(placement) {
24201        var mainSide = placement === 'right' ? 'left' : 'top';
24202        var value = popper[mainSide];
24203        if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {
24204          value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));
24205        }
24206        return defineProperty({}, mainSide, value);
24207      }
24208    };
24209  
24210    order.forEach(function (placement) {
24211      var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';
24212      popper = _extends({}, popper, check[side](placement));
24213    });
24214  
24215    data.offsets.popper = popper;
24216  
24217    return data;
24218  }
24219  
24220  /**
24221   * @function
24222   * @memberof Modifiers
24223   * @argument {Object} data - The data object generated by `update` method
24224   * @argument {Object} options - Modifiers configuration and options
24225   * @returns {Object} The data object, properly modified
24226   */
24227  function shift(data) {
24228    var placement = data.placement;
24229    var basePlacement = placement.split('-')[0];
24230    var shiftvariation = placement.split('-')[1];
24231  
24232    // if shift shiftvariation is specified, run the modifier
24233    if (shiftvariation) {
24234      var _data$offsets = data.offsets,
24235          reference = _data$offsets.reference,
24236          popper = _data$offsets.popper;
24237  
24238      var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;
24239      var side = isVertical ? 'left' : 'top';
24240      var measurement = isVertical ? 'width' : 'height';
24241  
24242      var shiftOffsets = {
24243        start: defineProperty({}, side, reference[side]),
24244        end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
24245      };
24246  
24247      data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
24248    }
24249  
24250    return data;
24251  }
24252  
24253  /**
24254   * @function
24255   * @memberof Modifiers
24256   * @argument {Object} data - The data object generated by update method
24257   * @argument {Object} options - Modifiers configuration and options
24258   * @returns {Object} The data object, properly modified
24259   */
24260  function hide(data) {
24261    if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {
24262      return data;
24263    }
24264  
24265    var refRect = data.offsets.reference;
24266    var bound = find(data.instance.modifiers, function (modifier) {
24267      return modifier.name === 'preventOverflow';
24268    }).boundaries;
24269  
24270    if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {
24271      // Avoid unnecessary DOM access if visibility hasn't changed
24272      if (data.hide === true) {
24273        return data;
24274      }
24275  
24276      data.hide = true;
24277      data.attributes['x-out-of-boundaries'] = '';
24278    } else {
24279      // Avoid unnecessary DOM access if visibility hasn't changed
24280      if (data.hide === false) {
24281        return data;
24282      }
24283  
24284      data.hide = false;
24285      data.attributes['x-out-of-boundaries'] = false;
24286    }
24287  
24288    return data;
24289  }
24290  
24291  /**
24292   * @function
24293   * @memberof Modifiers
24294   * @argument {Object} data - The data object generated by `update` method
24295   * @argument {Object} options - Modifiers configuration and options
24296   * @returns {Object} The data object, properly modified
24297   */
24298  function inner(data) {
24299    var placement = data.placement;
24300    var basePlacement = placement.split('-')[0];
24301    var _data$offsets = data.offsets,
24302        popper = _data$offsets.popper,
24303        reference = _data$offsets.reference;
24304  
24305    var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;
24306  
24307    var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;
24308  
24309    popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);
24310  
24311    data.placement = getOppositePlacement(placement);
24312    data.offsets.popper = getClientRect(popper);
24313  
24314    return data;
24315  }
24316  
24317  /**
24318   * Modifier function, each modifier can have a function of this type assigned
24319   * to its `fn` property.<br />
24320   * These functions will be called on each update, this means that you must
24321   * make sure they are performant enough to avoid performance bottlenecks.
24322   *
24323   * @function ModifierFn
24324   * @argument {dataObject} data - The data object generated by `update` method
24325   * @argument {Object} options - Modifiers configuration and options
24326   * @returns {dataObject} The data object, properly modified
24327   */
24328  
24329  /**
24330   * Modifiers are plugins used to alter the behavior of your poppers.<br />
24331   * Popper.js uses a set of 9 modifiers to provide all the basic functionalities
24332   * needed by the library.
24333   *
24334   * Usually you don't want to override the `order`, `fn` and `onLoad` props.
24335   * All the other properties are configurations that could be tweaked.
24336   * @namespace modifiers
24337   */
24338  var modifiers = {
24339    /**
24340     * Modifier used to shift the popper on the start or end of its reference
24341     * element.<br />
24342     * It will read the variation of the `placement` property.<br />
24343     * It can be one either `-end` or `-start`.
24344     * @memberof modifiers
24345     * @inner
24346     */
24347    shift: {
24348      /** @prop {number} order=100 - Index used to define the order of execution */
24349      order: 100,
24350      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24351      enabled: true,
24352      /** @prop {ModifierFn} */
24353      fn: shift
24354    },
24355  
24356    /**
24357     * The `offset` modifier can shift your popper on both its axis.
24358     *
24359     * It accepts the following units:
24360     * - `px` or unit-less, interpreted as pixels
24361     * - `%` or `%r`, percentage relative to the length of the reference element
24362     * - `%p`, percentage relative to the length of the popper element
24363     * - `vw`, CSS viewport width unit
24364     * - `vh`, CSS viewport height unit
24365     *
24366     * For length is intended the main axis relative to the placement of the popper.<br />
24367     * This means that if the placement is `top` or `bottom`, the length will be the
24368     * `width`. In case of `left` or `right`, it will be the `height`.
24369     *
24370     * You can provide a single value (as `Number` or `String`), or a pair of values
24371     * as `String` divided by a comma or one (or more) white spaces.<br />
24372     * The latter is a deprecated method because it leads to confusion and will be
24373     * removed in v2.<br />
24374     * Additionally, it accepts additions and subtractions between different units.
24375     * Note that multiplications and divisions aren't supported.
24376     *
24377     * Valid examples are:
24378     * ```
24379     * 10
24380     * '10%'
24381     * '10, 10'
24382     * '10%, 10'
24383     * '10 + 10%'
24384     * '10 - 5vh + 3%'
24385     * '-10px + 5vh, 5px - 6%'
24386     * ```
24387     * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap
24388     * > with their reference element, unfortunately, you will have to disable the `flip` modifier.
24389     * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).
24390     *
24391     * @memberof modifiers
24392     * @inner
24393     */
24394    offset: {
24395      /** @prop {number} order=200 - Index used to define the order of execution */
24396      order: 200,
24397      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24398      enabled: true,
24399      /** @prop {ModifierFn} */
24400      fn: offset,
24401      /** @prop {Number|String} offset=0
24402       * The offset value as described in the modifier description
24403       */
24404      offset: 0
24405    },
24406  
24407    /**
24408     * Modifier used to prevent the popper from being positioned outside the boundary.
24409     *
24410     * A scenario exists where the reference itself is not within the boundaries.<br />
24411     * We can say it has "escaped the boundaries" — or just "escaped".<br />
24412     * In this case we need to decide whether the popper should either:
24413     *
24414     * - detach from the reference and remain "trapped" in the boundaries, or
24415     * - if it should ignore the boundary and "escape with its reference"
24416     *
24417     * When `escapeWithReference` is set to`true` and reference is completely
24418     * outside its boundaries, the popper will overflow (or completely leave)
24419     * the boundaries in order to remain attached to the edge of the reference.
24420     *
24421     * @memberof modifiers
24422     * @inner
24423     */
24424    preventOverflow: {
24425      /** @prop {number} order=300 - Index used to define the order of execution */
24426      order: 300,
24427      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24428      enabled: true,
24429      /** @prop {ModifierFn} */
24430      fn: preventOverflow,
24431      /**
24432       * @prop {Array} [priority=['left','right','top','bottom']]
24433       * Popper will try to prevent overflow following these priorities by default,
24434       * then, it could overflow on the left and on top of the `boundariesElement`
24435       */
24436      priority: ['left', 'right', 'top', 'bottom'],
24437      /**
24438       * @prop {number} padding=5
24439       * Amount of pixel used to define a minimum distance between the boundaries
24440       * and the popper. This makes sure the popper always has a little padding
24441       * between the edges of its container
24442       */
24443      padding: 5,
24444      /**
24445       * @prop {String|HTMLElement} boundariesElement='scrollParent'
24446       * Boundaries used by the modifier. Can be `scrollParent`, `window`,
24447       * `viewport` or any DOM element.
24448       */
24449      boundariesElement: 'scrollParent'
24450    },
24451  
24452    /**
24453     * Modifier used to make sure the reference and its popper stay near each other
24454     * without leaving any gap between the two. Especially useful when the arrow is
24455     * enabled and you want to ensure that it points to its reference element.
24456     * It cares only about the first axis. You can still have poppers with margin
24457     * between the popper and its reference element.
24458     * @memberof modifiers
24459     * @inner
24460     */
24461    keepTogether: {
24462      /** @prop {number} order=400 - Index used to define the order of execution */
24463      order: 400,
24464      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24465      enabled: true,
24466      /** @prop {ModifierFn} */
24467      fn: keepTogether
24468    },
24469  
24470    /**
24471     * This modifier is used to move the `arrowElement` of the popper to make
24472     * sure it is positioned between the reference element and its popper element.
24473     * It will read the outer size of the `arrowElement` node to detect how many
24474     * pixels of conjunction are needed.
24475     *
24476     * It has no effect if no `arrowElement` is provided.
24477     * @memberof modifiers
24478     * @inner
24479     */
24480    arrow: {
24481      /** @prop {number} order=500 - Index used to define the order of execution */
24482      order: 500,
24483      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24484      enabled: true,
24485      /** @prop {ModifierFn} */
24486      fn: arrow,
24487      /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */
24488      element: '[x-arrow]'
24489    },
24490  
24491    /**
24492     * Modifier used to flip the popper's placement when it starts to overlap its
24493     * reference element.
24494     *
24495     * Requires the `preventOverflow` modifier before it in order to work.
24496     *
24497     * **NOTE:** this modifier will interrupt the current update cycle and will
24498     * restart it if it detects the need to flip the placement.
24499     * @memberof modifiers
24500     * @inner
24501     */
24502    flip: {
24503      /** @prop {number} order=600 - Index used to define the order of execution */
24504      order: 600,
24505      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24506      enabled: true,
24507      /** @prop {ModifierFn} */
24508      fn: flip,
24509      /**
24510       * @prop {String|Array} behavior='flip'
24511       * The behavior used to change the popper's placement. It can be one of
24512       * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid
24513       * placements (with optional variations)
24514       */
24515      behavior: 'flip',
24516      /**
24517       * @prop {number} padding=5
24518       * The popper will flip if it hits the edges of the `boundariesElement`
24519       */
24520      padding: 5,
24521      /**
24522       * @prop {String|HTMLElement} boundariesElement='viewport'
24523       * The element which will define the boundaries of the popper position.
24524       * The popper will never be placed outside of the defined boundaries
24525       * (except if `keepTogether` is enabled)
24526       */
24527      boundariesElement: 'viewport'
24528    },
24529  
24530    /**
24531     * Modifier used to make the popper flow toward the inner of the reference element.
24532     * By default, when this modifier is disabled, the popper will be placed outside
24533     * the reference element.
24534     * @memberof modifiers
24535     * @inner
24536     */
24537    inner: {
24538      /** @prop {number} order=700 - Index used to define the order of execution */
24539      order: 700,
24540      /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */
24541      enabled: false,
24542      /** @prop {ModifierFn} */
24543      fn: inner
24544    },
24545  
24546    /**
24547     * Modifier used to hide the popper when its reference element is outside of the
24548     * popper boundaries. It will set a `x-out-of-boundaries` attribute which can
24549     * be used to hide with a CSS selector the popper when its reference is
24550     * out of boundaries.
24551     *
24552     * Requires the `preventOverflow` modifier before it in order to work.
24553     * @memberof modifiers
24554     * @inner
24555     */
24556    hide: {
24557      /** @prop {number} order=800 - Index used to define the order of execution */
24558      order: 800,
24559      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24560      enabled: true,
24561      /** @prop {ModifierFn} */
24562      fn: hide
24563    },
24564  
24565    /**
24566     * Computes the style that will be applied to the popper element to gets
24567     * properly positioned.
24568     *
24569     * Note that this modifier will not touch the DOM, it just prepares the styles
24570     * so that `applyStyle` modifier can apply it. This separation is useful
24571     * in case you need to replace `applyStyle` with a custom implementation.
24572     *
24573     * This modifier has `850` as `order` value to maintain backward compatibility
24574     * with previous versions of Popper.js. Expect the modifiers ordering method
24575     * to change in future major versions of the library.
24576     *
24577     * @memberof modifiers
24578     * @inner
24579     */
24580    computeStyle: {
24581      /** @prop {number} order=850 - Index used to define the order of execution */
24582      order: 850,
24583      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24584      enabled: true,
24585      /** @prop {ModifierFn} */
24586      fn: computeStyle,
24587      /**
24588       * @prop {Boolean} gpuAcceleration=true
24589       * If true, it uses the CSS 3D transformation to position the popper.
24590       * Otherwise, it will use the `top` and `left` properties
24591       */
24592      gpuAcceleration: true,
24593      /**
24594       * @prop {string} [x='bottom']
24595       * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.
24596       * Change this if your popper should grow in a direction different from `bottom`
24597       */
24598      x: 'bottom',
24599      /**
24600       * @prop {string} [x='left']
24601       * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.
24602       * Change this if your popper should grow in a direction different from `right`
24603       */
24604      y: 'right'
24605    },
24606  
24607    /**
24608     * Applies the computed styles to the popper element.
24609     *
24610     * All the DOM manipulations are limited to this modifier. This is useful in case
24611     * you want to integrate Popper.js inside a framework or view library and you
24612     * want to delegate all the DOM manipulations to it.
24613     *
24614     * Note that if you disable this modifier, you must make sure the popper element
24615     * has its position set to `absolute` before Popper.js can do its work!
24616     *
24617     * Just disable this modifier and define your own to achieve the desired effect.
24618     *
24619     * @memberof modifiers
24620     * @inner
24621     */
24622    applyStyle: {
24623      /** @prop {number} order=900 - Index used to define the order of execution */
24624      order: 900,
24625      /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */
24626      enabled: true,
24627      /** @prop {ModifierFn} */
24628      fn: applyStyle,
24629      /** @prop {Function} */
24630      onLoad: applyStyleOnLoad,
24631      /**
24632       * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier
24633       * @prop {Boolean} gpuAcceleration=true
24634       * If true, it uses the CSS 3D transformation to position the popper.
24635       * Otherwise, it will use the `top` and `left` properties
24636       */
24637      gpuAcceleration: undefined
24638    }
24639  };
24640  
24641  /**
24642   * The `dataObject` is an object containing all the information used by Popper.js.
24643   * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.
24644   * @name dataObject
24645   * @property {Object} data.instance The Popper.js instance
24646   * @property {String} data.placement Placement applied to popper
24647   * @property {String} data.originalPlacement Placement originally defined on init
24648   * @property {Boolean} data.flipped True if popper has been flipped by flip modifier
24649   * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper
24650   * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier
24651   * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)
24652   * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)
24653   * @property {Object} data.boundaries Offsets of the popper boundaries
24654   * @property {Object} data.offsets The measurements of popper, reference and arrow elements
24655   * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values
24656   * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values
24657   * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0
24658   */
24659  
24660  /**
24661   * Default options provided to Popper.js constructor.<br />
24662   * These can be overridden using the `options` argument of Popper.js.<br />
24663   * To override an option, simply pass an object with the same
24664   * structure of the `options` object, as the 3rd argument. For example:
24665   * ```
24666   * new Popper(ref, pop, {
24667   *   modifiers: {
24668   *     preventOverflow: { enabled: false }
24669   *   }
24670   * })
24671   * ```
24672   * @type {Object}
24673   * @static
24674   * @memberof Popper
24675   */
24676  var Defaults = {
24677    /**
24678     * Popper's placement.
24679     * @prop {Popper.placements} placement='bottom'
24680     */
24681    placement: 'bottom',
24682  
24683    /**
24684     * Set this to true if you want popper to position it self in 'fixed' mode
24685     * @prop {Boolean} positionFixed=false
24686     */
24687    positionFixed: false,
24688  
24689    /**
24690     * Whether events (resize, scroll) are initially enabled.
24691     * @prop {Boolean} eventsEnabled=true
24692     */
24693    eventsEnabled: true,
24694  
24695    /**
24696     * Set to true if you want to automatically remove the popper when
24697     * you call the `destroy` method.
24698     * @prop {Boolean} removeOnDestroy=false
24699     */
24700    removeOnDestroy: false,
24701  
24702    /**
24703     * Callback called when the popper is created.<br />
24704     * By default, it is set to no-op.<br />
24705     * Access Popper.js instance with `data.instance`.
24706     * @prop {onCreate}
24707     */
24708    onCreate: function onCreate() {},
24709  
24710    /**
24711     * Callback called when the popper is updated. This callback is not called
24712     * on the initialization/creation of the popper, but only on subsequent
24713     * updates.<br />
24714     * By default, it is set to no-op.<br />
24715     * Access Popper.js instance with `data.instance`.
24716     * @prop {onUpdate}
24717     */
24718    onUpdate: function onUpdate() {},
24719  
24720    /**
24721     * List of modifiers used to modify the offsets before they are applied to the popper.
24722     * They provide most of the functionalities of Popper.js.
24723     * @prop {modifiers}
24724     */
24725    modifiers: modifiers
24726  };
24727  
24728  /**
24729   * @callback onCreate
24730   * @param {dataObject} data
24731   */
24732  
24733  /**
24734   * @callback onUpdate
24735   * @param {dataObject} data
24736   */
24737  
24738  // Utils
24739  // Methods
24740  var Popper = function () {
24741    /**
24742     * Creates a new Popper.js instance.
24743     * @class Popper
24744     * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper
24745     * @param {HTMLElement} popper - The HTML element used as the popper
24746     * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)
24747     * @return {Object} instance - The generated Popper.js instance
24748     */
24749    function Popper(reference, popper) {
24750      var _this = this;
24751  
24752      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
24753      classCallCheck(this, Popper);
24754  
24755      this.scheduleUpdate = function () {
24756        return requestAnimationFrame(_this.update);
24757      };
24758  
24759      // make update() debounced, so that it only runs at most once-per-tick
24760      this.update = debounce(this.update.bind(this));
24761  
24762      // with {} we create a new object with the options inside it
24763      this.options = _extends({}, Popper.Defaults, options);
24764  
24765      // init state
24766      this.state = {
24767        isDestroyed: false,
24768        isCreated: false,
24769        scrollParents: []
24770      };
24771  
24772      // get reference and popper elements (allow jQuery wrappers)
24773      this.reference = reference && reference.jquery ? reference[0] : reference;
24774      this.popper = popper && popper.jquery ? popper[0] : popper;
24775  
24776      // Deep merge modifiers options
24777      this.options.modifiers = {};
24778      Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {
24779        _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
24780      });
24781  
24782      // Refactoring modifiers' list (Object => Array)
24783      this.modifiers = Object.keys(this.options.modifiers).map(function (name) {
24784        return _extends({
24785          name: name
24786        }, _this.options.modifiers[name]);
24787      })
24788      // sort the modifiers by order
24789      .sort(function (a, b) {
24790        return a.order - b.order;
24791      });
24792  
24793      // modifiers have the ability to execute arbitrary code when Popper.js get inited
24794      // such code is executed in the same order of its modifier
24795      // they could add new properties to their options configuration
24796      // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!
24797      this.modifiers.forEach(function (modifierOptions) {
24798        if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {
24799          modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);
24800        }
24801      });
24802  
24803      // fire the first update to position the popper in the right place
24804      this.update();
24805  
24806      var eventsEnabled = this.options.eventsEnabled;
24807      if (eventsEnabled) {
24808        // setup event listeners, they will take care of update the position in specific situations
24809        this.enableEventListeners();
24810      }
24811  
24812      this.state.eventsEnabled = eventsEnabled;
24813    }
24814  
24815    // We can't use class properties because they don't get listed in the
24816    // class prototype and break stuff like Sinon stubs
24817  
24818  
24819    createClass(Popper, [{
24820      key: 'update',
24821      value: function update$$1() {
24822        return update.call(this);
24823      }
24824    }, {
24825      key: 'destroy',
24826      value: function destroy$$1() {
24827        return destroy.call(this);
24828      }
24829    }, {
24830      key: 'enableEventListeners',
24831      value: function enableEventListeners$$1() {
24832        return enableEventListeners.call(this);
24833      }
24834    }, {
24835      key: 'disableEventListeners',
24836      value: function disableEventListeners$$1() {
24837        return disableEventListeners.call(this);
24838      }
24839  
24840      /**
24841       * Schedules an update. It will run on the next UI update available.
24842       * @method scheduleUpdate
24843       * @memberof Popper
24844       */
24845  
24846  
24847      /**
24848       * Collection of utilities useful when writing custom modifiers.
24849       * Starting from version 1.7, this method is available only if you
24850       * include `popper-utils.js` before `popper.js`.
24851       *
24852       * **DEPRECATION**: This way to access PopperUtils is deprecated
24853       * and will be removed in v2! Use the PopperUtils module directly instead.
24854       * Due to the high instability of the methods contained in Utils, we can't
24855       * guarantee them to follow semver. Use them at your own risk!
24856       * @static
24857       * @private
24858       * @type {Object}
24859       * @deprecated since version 1.8
24860       * @member Utils
24861       * @memberof Popper
24862       */
24863  
24864    }]);
24865    return Popper;
24866  }();
24867  
24868  /**
24869   * The `referenceObject` is an object that provides an interface compatible with Popper.js
24870   * and lets you use it as replacement of a real DOM node.<br />
24871   * You can use this method to position a popper relatively to a set of coordinates
24872   * in case you don't have a DOM node to use as reference.
24873   *
24874   * ```
24875   * new Popper(referenceObject, popperNode);
24876   * ```
24877   *
24878   * NB: This feature isn't supported in Internet Explorer 10.
24879   * @name referenceObject
24880   * @property {Function} data.getBoundingClientRect
24881   * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.
24882   * @property {number} data.clientWidth
24883   * An ES6 getter that will return the width of the virtual reference element.
24884   * @property {number} data.clientHeight
24885   * An ES6 getter that will return the height of the virtual reference element.
24886   */
24887  
24888  
24889  Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;
24890  Popper.placements = placements;
24891  Popper.Defaults = Defaults;
24892  
24893  /* harmony default export */ __webpack_exports__["default"] = (Popper);
24894  
24895  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")))
24896  
24897  /***/ }),
24898  
24899  /***/ "./node_modules/prop-types/checkPropTypes.js":
24900  /*!***************************************************!*\
24901    !*** ./node_modules/prop-types/checkPropTypes.js ***!
24902    \***************************************************/
24903  /*! no static exports found */
24904  /***/ (function(module, exports, __webpack_require__) {
24905  
24906  "use strict";
24907  /**
24908   * Copyright (c) 2013-present, Facebook, Inc.
24909   *
24910   * This source code is licensed under the MIT license found in the
24911   * LICENSE file in the root directory of this source tree.
24912   */
24913  
24914  
24915  
24916  var printWarning = function() {};
24917  
24918  if (true) {
24919    var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
24920    var loggedTypeFailures = {};
24921  
24922    printWarning = function(text) {
24923      var message = 'Warning: ' + text;
24924      if (typeof console !== 'undefined') {
24925        console.error(message);
24926      }
24927      try {
24928        // --- Welcome to debugging React ---
24929        // This error was thrown as a convenience so that you can use this stack
24930        // to find the callsite that caused this warning to fire.
24931        throw new Error(message);
24932      } catch (x) {}
24933    };
24934  }
24935  
24936  /**
24937   * Assert that the values match with the type specs.
24938   * Error messages are memorized and will only be shown once.
24939   *
24940   * @param {object} typeSpecs Map of name to a ReactPropType
24941   * @param {object} values Runtime values that need to be type-checked
24942   * @param {string} location e.g. "prop", "context", "child context"
24943   * @param {string} componentName Name of the component for error messages.
24944   * @param {?Function} getStack Returns the component stack.
24945   * @private
24946   */
24947  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
24948    if (true) {
24949      for (var typeSpecName in typeSpecs) {
24950        if (typeSpecs.hasOwnProperty(typeSpecName)) {
24951          var error;
24952          // Prop type validation may throw. In case they do, we don't want to
24953          // fail the render phase where it didn't fail before. So we log it.
24954          // After these have been cleaned up, we'll let them throw.
24955          try {
24956            // This is intentionally an invariant that gets caught. It's the same
24957            // behavior as without this statement except with a better message.
24958            if (typeof typeSpecs[typeSpecName] !== 'function') {
24959              var err = Error(
24960                (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
24961                'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
24962              );
24963              err.name = 'Invariant Violation';
24964              throw err;
24965            }
24966            error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
24967          } catch (ex) {
24968            error = ex;
24969          }
24970          if (error && !(error instanceof Error)) {
24971            printWarning(
24972              (componentName || 'React class') + ': type specification of ' +
24973              location + ' `' + typeSpecName + '` is invalid; the type checker ' +
24974              'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
24975              'You may have forgotten to pass an argument to the type checker ' +
24976              'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
24977              'shape all require an argument).'
24978            )
24979  
24980          }
24981          if (error instanceof Error && !(error.message in loggedTypeFailures)) {
24982            // Only monitor this failure once because there tends to be a lot of the
24983            // same error.
24984            loggedTypeFailures[error.message] = true;
24985  
24986            var stack = getStack ? getStack() : '';
24987  
24988            printWarning(
24989              'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
24990            );
24991          }
24992        }
24993      }
24994    }
24995  }
24996  
24997  module.exports = checkPropTypes;
24998  
24999  
25000  /***/ }),
25001  
25002  /***/ "./node_modules/prop-types/factoryWithTypeCheckers.js":
25003  /*!************************************************************!*\
25004    !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
25005    \************************************************************/
25006  /*! no static exports found */
25007  /***/ (function(module, exports, __webpack_require__) {
25008  
25009  "use strict";
25010  /**
25011   * Copyright (c) 2013-present, Facebook, Inc.
25012   *
25013   * This source code is licensed under the MIT license found in the
25014   * LICENSE file in the root directory of this source tree.
25015   */
25016  
25017  
25018  
25019  var assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js");
25020  
25021  var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
25022  var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js");
25023  
25024  var printWarning = function() {};
25025  
25026  if (true) {
25027    printWarning = function(text) {
25028      var message = 'Warning: ' + text;
25029      if (typeof console !== 'undefined') {
25030        console.error(message);
25031      }
25032      try {
25033        // --- Welcome to debugging React ---
25034        // This error was thrown as a convenience so that you can use this stack
25035        // to find the callsite that caused this warning to fire.
25036        throw new Error(message);
25037      } catch (x) {}
25038    };
25039  }
25040  
25041  function emptyFunctionThatReturnsNull() {
25042    return null;
25043  }
25044  
25045  module.exports = function(isValidElement, throwOnDirectAccess) {
25046    /* global Symbol */
25047    var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
25048    var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
25049  
25050    /**
25051     * Returns the iterator method function contained on the iterable object.
25052     *
25053     * Be sure to invoke the function with the iterable as context:
25054     *
25055     *     var iteratorFn = getIteratorFn(myIterable);
25056     *     if (iteratorFn) {
25057     *       var iterator = iteratorFn.call(myIterable);
25058     *       ...
25059     *     }
25060     *
25061     * @param {?object} maybeIterable
25062     * @return {?function}
25063     */
25064    function getIteratorFn(maybeIterable) {
25065      var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
25066      if (typeof iteratorFn === 'function') {
25067        return iteratorFn;
25068      }
25069    }
25070  
25071    /**
25072     * Collection of methods that allow declaration and validation of props that are
25073     * supplied to React components. Example usage:
25074     *
25075     *   var Props = require('ReactPropTypes');
25076     *   var MyArticle = React.createClass({
25077     *     propTypes: {
25078     *       // An optional string prop named "description".
25079     *       description: Props.string,
25080     *
25081     *       // A required enum prop named "category".
25082     *       category: Props.oneOf(['News','Photos']).isRequired,
25083     *
25084     *       // A prop named "dialog" that requires an instance of Dialog.
25085     *       dialog: Props.instanceOf(Dialog).isRequired
25086     *     },
25087     *     render: function() { ... }
25088     *   });
25089     *
25090     * A more formal specification of how these methods are used:
25091     *
25092     *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
25093     *   decl := ReactPropTypes.{type}(.isRequired)?
25094     *
25095     * Each and every declaration produces a function with the same signature. This
25096     * allows the creation of custom validation functions. For example:
25097     *
25098     *  var MyLink = React.createClass({
25099     *    propTypes: {
25100     *      // An optional string or URI prop named "href".
25101     *      href: function(props, propName, componentName) {
25102     *        var propValue = props[propName];
25103     *        if (propValue != null && typeof propValue !== 'string' &&
25104     *            !(propValue instanceof URI)) {
25105     *          return new Error(
25106     *            'Expected a string or an URI for ' + propName + ' in ' +
25107     *            componentName
25108     *          );
25109     *        }
25110     *      }
25111     *    },
25112     *    render: function() {...}
25113     *  });
25114     *
25115     * @internal
25116     */
25117  
25118    var ANONYMOUS = '<<anonymous>>';
25119  
25120    // Important!
25121    // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
25122    var ReactPropTypes = {
25123      array: createPrimitiveTypeChecker('array'),
25124      bool: createPrimitiveTypeChecker('boolean'),
25125      func: createPrimitiveTypeChecker('function'),
25126      number: createPrimitiveTypeChecker('number'),
25127      object: createPrimitiveTypeChecker('object'),
25128      string: createPrimitiveTypeChecker('string'),
25129      symbol: createPrimitiveTypeChecker('symbol'),
25130  
25131      any: createAnyTypeChecker(),
25132      arrayOf: createArrayOfTypeChecker,
25133      element: createElementTypeChecker(),
25134      instanceOf: createInstanceTypeChecker,
25135      node: createNodeChecker(),
25136      objectOf: createObjectOfTypeChecker,
25137      oneOf: createEnumTypeChecker,
25138      oneOfType: createUnionTypeChecker,
25139      shape: createShapeTypeChecker,
25140      exact: createStrictShapeTypeChecker,
25141    };
25142  
25143    /**
25144     * inlined Object.is polyfill to avoid requiring consumers ship their own
25145     * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
25146     */
25147    /*eslint-disable no-self-compare*/
25148    function is(x, y) {
25149      // SameValue algorithm
25150      if (x === y) {
25151        // Steps 1-5, 7-10
25152        // Steps 6.b-6.e: +0 != -0
25153        return x !== 0 || 1 / x === 1 / y;
25154      } else {
25155        // Step 6.a: NaN == NaN
25156        return x !== x && y !== y;
25157      }
25158    }
25159    /*eslint-enable no-self-compare*/
25160  
25161    /**
25162     * We use an Error-like object for backward compatibility as people may call
25163     * PropTypes directly and inspect their output. However, we don't use real
25164     * Errors anymore. We don't inspect their stack anyway, and creating them
25165     * is prohibitively expensive if they are created too often, such as what
25166     * happens in oneOfType() for any type before the one that matched.
25167     */
25168    function PropTypeError(message) {
25169      this.message = message;
25170      this.stack = '';
25171    }
25172    // Make `instanceof Error` still work for returned errors.
25173    PropTypeError.prototype = Error.prototype;
25174  
25175    function createChainableTypeChecker(validate) {
25176      if (true) {
25177        var manualPropTypeCallCache = {};
25178        var manualPropTypeWarningCount = 0;
25179      }
25180      function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
25181        componentName = componentName || ANONYMOUS;
25182        propFullName = propFullName || propName;
25183  
25184        if (secret !== ReactPropTypesSecret) {
25185          if (throwOnDirectAccess) {
25186            // New behavior only for users of `prop-types` package
25187            var err = new Error(
25188              'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
25189              'Use `PropTypes.checkPropTypes()` to call them. ' +
25190              'Read more at http://fb.me/use-check-prop-types'
25191            );
25192            err.name = 'Invariant Violation';
25193            throw err;
25194          } else if ( true && typeof console !== 'undefined') {
25195            // Old behavior for people using React.PropTypes
25196            var cacheKey = componentName + ':' + propName;
25197            if (
25198              !manualPropTypeCallCache[cacheKey] &&
25199              // Avoid spamming the console because they are often not actionable except for lib authors
25200              manualPropTypeWarningCount < 3
25201            ) {
25202              printWarning(
25203                'You are manually calling a React.PropTypes validation ' +
25204                'function for the `' + propFullName + '` prop on `' + componentName  + '`. This is deprecated ' +
25205                'and will throw in the standalone `prop-types` package. ' +
25206                'You may be seeing this warning due to a third-party PropTypes ' +
25207                'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
25208              );
25209              manualPropTypeCallCache[cacheKey] = true;
25210              manualPropTypeWarningCount++;
25211            }
25212          }
25213        }
25214        if (props[propName] == null) {
25215          if (isRequired) {
25216            if (props[propName] === null) {
25217              return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
25218            }
25219            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
25220          }
25221          return null;
25222        } else {
25223          return validate(props, propName, componentName, location, propFullName);
25224        }
25225      }
25226  
25227      var chainedCheckType = checkType.bind(null, false);
25228      chainedCheckType.isRequired = checkType.bind(null, true);
25229  
25230      return chainedCheckType;
25231    }
25232  
25233    function createPrimitiveTypeChecker(expectedType) {
25234      function validate(props, propName, componentName, location, propFullName, secret) {
25235        var propValue = props[propName];
25236        var propType = getPropType(propValue);
25237        if (propType !== expectedType) {
25238          // `propValue` being instance of, say, date/regexp, pass the 'object'
25239          // check, but we can offer a more precise error message here rather than
25240          // 'of type `object`'.
25241          var preciseType = getPreciseType(propValue);
25242  
25243          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
25244        }
25245        return null;
25246      }
25247      return createChainableTypeChecker(validate);
25248    }
25249  
25250    function createAnyTypeChecker() {
25251      return createChainableTypeChecker(emptyFunctionThatReturnsNull);
25252    }
25253  
25254    function createArrayOfTypeChecker(typeChecker) {
25255      function validate(props, propName, componentName, location, propFullName) {
25256        if (typeof typeChecker !== 'function') {
25257          return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
25258        }
25259        var propValue = props[propName];
25260        if (!Array.isArray(propValue)) {
25261          var propType = getPropType(propValue);
25262          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
25263        }
25264        for (var i = 0; i < propValue.length; i++) {
25265          var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
25266          if (error instanceof Error) {
25267            return error;
25268          }
25269        }
25270        return null;
25271      }
25272      return createChainableTypeChecker(validate);
25273    }
25274  
25275    function createElementTypeChecker() {
25276      function validate(props, propName, componentName, location, propFullName) {
25277        var propValue = props[propName];
25278        if (!isValidElement(propValue)) {
25279          var propType = getPropType(propValue);
25280          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
25281        }
25282        return null;
25283      }
25284      return createChainableTypeChecker(validate);
25285    }
25286  
25287    function createInstanceTypeChecker(expectedClass) {
25288      function validate(props, propName, componentName, location, propFullName) {
25289        if (!(props[propName] instanceof expectedClass)) {
25290          var expectedClassName = expectedClass.name || ANONYMOUS;
25291          var actualClassName = getClassName(props[propName]);
25292          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
25293        }
25294        return null;
25295      }
25296      return createChainableTypeChecker(validate);
25297    }
25298  
25299    function createEnumTypeChecker(expectedValues) {
25300      if (!Array.isArray(expectedValues)) {
25301         true ? printWarning('Invalid argument supplied to oneOf, expected an instance of array.') : undefined;
25302        return emptyFunctionThatReturnsNull;
25303      }
25304  
25305      function validate(props, propName, componentName, location, propFullName) {
25306        var propValue = props[propName];
25307        for (var i = 0; i < expectedValues.length; i++) {
25308          if (is(propValue, expectedValues[i])) {
25309            return null;
25310          }
25311        }
25312  
25313        var valuesString = JSON.stringify(expectedValues);
25314        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
25315      }
25316      return createChainableTypeChecker(validate);
25317    }
25318  
25319    function createObjectOfTypeChecker(typeChecker) {
25320      function validate(props, propName, componentName, location, propFullName) {
25321        if (typeof typeChecker !== 'function') {
25322          return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
25323        }
25324        var propValue = props[propName];
25325        var propType = getPropType(propValue);
25326        if (propType !== 'object') {
25327          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
25328        }
25329        for (var key in propValue) {
25330          if (propValue.hasOwnProperty(key)) {
25331            var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
25332            if (error instanceof Error) {
25333              return error;
25334            }
25335          }
25336        }
25337        return null;
25338      }
25339      return createChainableTypeChecker(validate);
25340    }
25341  
25342    function createUnionTypeChecker(arrayOfTypeCheckers) {
25343      if (!Array.isArray(arrayOfTypeCheckers)) {
25344         true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;
25345        return emptyFunctionThatReturnsNull;
25346      }
25347  
25348      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
25349        var checker = arrayOfTypeCheckers[i];
25350        if (typeof checker !== 'function') {
25351          printWarning(
25352            'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
25353            'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
25354          );
25355          return emptyFunctionThatReturnsNull;
25356        }
25357      }
25358  
25359      function validate(props, propName, componentName, location, propFullName) {
25360        for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
25361          var checker = arrayOfTypeCheckers[i];
25362          if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {
25363            return null;
25364          }
25365        }
25366  
25367        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
25368      }
25369      return createChainableTypeChecker(validate);
25370    }
25371  
25372    function createNodeChecker() {
25373      function validate(props, propName, componentName, location, propFullName) {
25374        if (!isNode(props[propName])) {
25375          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
25376        }
25377        return null;
25378      }
25379      return createChainableTypeChecker(validate);
25380    }
25381  
25382    function createShapeTypeChecker(shapeTypes) {
25383      function validate(props, propName, componentName, location, propFullName) {
25384        var propValue = props[propName];
25385        var propType = getPropType(propValue);
25386        if (propType !== 'object') {
25387          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
25388        }
25389        for (var key in shapeTypes) {
25390          var checker = shapeTypes[key];
25391          if (!checker) {
25392            continue;
25393          }
25394          var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
25395          if (error) {
25396            return error;
25397          }
25398        }
25399        return null;
25400      }
25401      return createChainableTypeChecker(validate);
25402    }
25403  
25404    function createStrictShapeTypeChecker(shapeTypes) {
25405      function validate(props, propName, componentName, location, propFullName) {
25406        var propValue = props[propName];
25407        var propType = getPropType(propValue);
25408        if (propType !== 'object') {
25409          return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
25410        }
25411        // We need to check all keys in case some are required but missing from
25412        // props.
25413        var allKeys = assign({}, props[propName], shapeTypes);
25414        for (var key in allKeys) {
25415          var checker = shapeTypes[key];
25416          if (!checker) {
25417            return new PropTypeError(
25418              'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
25419              '\nBad object: ' + JSON.stringify(props[propName], null, '  ') +
25420              '\nValid keys: ' +  JSON.stringify(Object.keys(shapeTypes), null, '  ')
25421            );
25422          }
25423          var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
25424          if (error) {
25425            return error;
25426          }
25427        }
25428        return null;
25429      }
25430  
25431      return createChainableTypeChecker(validate);
25432    }
25433  
25434    function isNode(propValue) {
25435      switch (typeof propValue) {
25436        case 'number':
25437        case 'string':
25438        case 'undefined':
25439          return true;
25440        case 'boolean':
25441          return !propValue;
25442        case 'object':
25443          if (Array.isArray(propValue)) {
25444            return propValue.every(isNode);
25445          }
25446          if (propValue === null || isValidElement(propValue)) {
25447            return true;
25448          }
25449  
25450          var iteratorFn = getIteratorFn(propValue);
25451          if (iteratorFn) {
25452            var iterator = iteratorFn.call(propValue);
25453            var step;
25454            if (iteratorFn !== propValue.entries) {
25455              while (!(step = iterator.next()).done) {
25456                if (!isNode(step.value)) {
25457                  return false;
25458                }
25459              }
25460            } else {
25461              // Iterator will provide entry [k,v] tuples rather than values.
25462              while (!(step = iterator.next()).done) {
25463                var entry = step.value;
25464                if (entry) {
25465                  if (!isNode(entry[1])) {
25466                    return false;
25467                  }
25468                }
25469              }
25470            }
25471          } else {
25472            return false;
25473          }
25474  
25475          return true;
25476        default:
25477          return false;
25478      }
25479    }
25480  
25481    function isSymbol(propType, propValue) {
25482      // Native Symbol.
25483      if (propType === 'symbol') {
25484        return true;
25485      }
25486  
25487      // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
25488      if (propValue['@@toStringTag'] === 'Symbol') {
25489        return true;
25490      }
25491  
25492      // Fallback for non-spec compliant Symbols which are polyfilled.
25493      if (typeof Symbol === 'function' && propValue instanceof Symbol) {
25494        return true;
25495      }
25496  
25497      return false;
25498    }
25499  
25500    // Equivalent of `typeof` but with special handling for array and regexp.
25501    function getPropType(propValue) {
25502      var propType = typeof propValue;
25503      if (Array.isArray(propValue)) {
25504        return 'array';
25505      }
25506      if (propValue instanceof RegExp) {
25507        // Old webkits (at least until Android 4.0) return 'function' rather than
25508        // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
25509        // passes PropTypes.object.
25510        return 'object';
25511      }
25512      if (isSymbol(propType, propValue)) {
25513        return 'symbol';
25514      }
25515      return propType;
25516    }
25517  
25518    // This handles more types than `getPropType`. Only used for error messages.
25519    // See `createPrimitiveTypeChecker`.
25520    function getPreciseType(propValue) {
25521      if (typeof propValue === 'undefined' || propValue === null) {
25522        return '' + propValue;
25523      }
25524      var propType = getPropType(propValue);
25525      if (propType === 'object') {
25526        if (propValue instanceof Date) {
25527          return 'date';
25528        } else if (propValue instanceof RegExp) {
25529          return 'regexp';
25530        }
25531      }
25532      return propType;
25533    }
25534  
25535    // Returns a string that is postfixed to a warning about an invalid type.
25536    // For example, "undefined" or "of type array"
25537    function getPostfixForTypeWarning(value) {
25538      var type = getPreciseType(value);
25539      switch (type) {
25540        case 'array':
25541        case 'object':
25542          return 'an ' + type;
25543        case 'boolean':
25544        case 'date':
25545        case 'regexp':
25546          return 'a ' + type;
25547        default:
25548          return type;
25549      }
25550    }
25551  
25552    // Returns class name of the object, if any.
25553    function getClassName(propValue) {
25554      if (!propValue.constructor || !propValue.constructor.name) {
25555        return ANONYMOUS;
25556      }
25557      return propValue.constructor.name;
25558    }
25559  
25560    ReactPropTypes.checkPropTypes = checkPropTypes;
25561    ReactPropTypes.PropTypes = ReactPropTypes;
25562  
25563    return ReactPropTypes;
25564  };
25565  
25566  
25567  /***/ }),
25568  
25569  /***/ "./node_modules/prop-types/index.js":
25570  /*!******************************************!*\
25571    !*** ./node_modules/prop-types/index.js ***!
25572    \******************************************/
25573  /*! no static exports found */
25574  /***/ (function(module, exports, __webpack_require__) {
25575  
25576  /**
25577   * Copyright (c) 2013-present, Facebook, Inc.
25578   *
25579   * This source code is licensed under the MIT license found in the
25580   * LICENSE file in the root directory of this source tree.
25581   */
25582  
25583  if (true) {
25584    var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
25585      Symbol.for &&
25586      Symbol.for('react.element')) ||
25587      0xeac7;
25588  
25589    var isValidElement = function(object) {
25590      return typeof object === 'object' &&
25591        object !== null &&
25592        object.$$typeof === REACT_ELEMENT_TYPE;
25593    };
25594  
25595    // By explicitly using `prop-types` you are opting into new development behavior.
25596    // http://fb.me/prop-types-in-prod
25597    var throwOnDirectAccess = true;
25598    module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js")(isValidElement, throwOnDirectAccess);
25599  } else {}
25600  
25601  
25602  /***/ }),
25603  
25604  /***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js":
25605  /*!*************************************************************!*\
25606    !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
25607    \*************************************************************/
25608  /*! no static exports found */
25609  /***/ (function(module, exports, __webpack_require__) {
25610  
25611  "use strict";
25612  /**
25613   * Copyright (c) 2013-present, Facebook, Inc.
25614   *
25615   * This source code is licensed under the MIT license found in the
25616   * LICENSE file in the root directory of this source tree.
25617   */
25618  
25619  
25620  
25621  var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
25622  
25623  module.exports = ReactPropTypesSecret;
25624  
25625  
25626  /***/ }),
25627  
25628  /***/ "./node_modules/re-resizable/lib/index.js":
25629  /*!************************************************!*\
25630    !*** ./node_modules/re-resizable/lib/index.js ***!
25631    \************************************************/
25632  /*! exports provided: default */
25633  /***/ (function(module, __webpack_exports__, __webpack_require__) {
25634  
25635  "use strict";
25636  __webpack_require__.r(__webpack_exports__);
25637  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
25638  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
25639  
25640  
25641  var classCallCheck = function (instance, Constructor) {
25642    if (!(instance instanceof Constructor)) {
25643      throw new TypeError("Cannot call a class as a function");
25644    }
25645  };
25646  
25647  var createClass = function () {
25648    function defineProperties(target, props) {
25649      for (var i = 0; i < props.length; i++) {
25650        var descriptor = props[i];
25651        descriptor.enumerable = descriptor.enumerable || false;
25652        descriptor.configurable = true;
25653        if ("value" in descriptor) descriptor.writable = true;
25654        Object.defineProperty(target, descriptor.key, descriptor);
25655      }
25656    }
25657  
25658    return function (Constructor, protoProps, staticProps) {
25659      if (protoProps) defineProperties(Constructor.prototype, protoProps);
25660      if (staticProps) defineProperties(Constructor, staticProps);
25661      return Constructor;
25662    };
25663  }();
25664  
25665  var _extends = Object.assign || function (target) {
25666    for (var i = 1; i < arguments.length; i++) {
25667      var source = arguments[i];
25668  
25669      for (var key in source) {
25670        if (Object.prototype.hasOwnProperty.call(source, key)) {
25671          target[key] = source[key];
25672        }
25673      }
25674    }
25675  
25676    return target;
25677  };
25678  
25679  var inherits = function (subClass, superClass) {
25680    if (typeof superClass !== "function" && superClass !== null) {
25681      throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
25682    }
25683  
25684    subClass.prototype = Object.create(superClass && superClass.prototype, {
25685      constructor: {
25686        value: subClass,
25687        enumerable: false,
25688        writable: true,
25689        configurable: true
25690      }
25691    });
25692    if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
25693  };
25694  
25695  var possibleConstructorReturn = function (self, call) {
25696    if (!self) {
25697      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
25698    }
25699  
25700    return call && (typeof call === "object" || typeof call === "function") ? call : self;
25701  };
25702  
25703  var styles = {
25704    base: {
25705      position: 'absolute',
25706      userSelect: 'none',
25707      MsUserSelect: 'none'
25708    },
25709    top: {
25710      width: '100%',
25711      height: '10px',
25712      top: '-5px',
25713      left: '0px',
25714      cursor: 'row-resize'
25715    },
25716    right: {
25717      width: '10px',
25718      height: '100%',
25719      top: '0px',
25720      right: '-5px',
25721      cursor: 'col-resize'
25722    },
25723    bottom: {
25724      width: '100%',
25725      height: '10px',
25726      bottom: '-5px',
25727      left: '0px',
25728      cursor: 'row-resize'
25729    },
25730    left: {
25731      width: '10px',
25732      height: '100%',
25733      top: '0px',
25734      left: '-5px',
25735      cursor: 'col-resize'
25736    },
25737    topRight: {
25738      width: '20px',
25739      height: '20px',
25740      position: 'absolute',
25741      right: '-10px',
25742      top: '-10px',
25743      cursor: 'ne-resize'
25744    },
25745    bottomRight: {
25746      width: '20px',
25747      height: '20px',
25748      position: 'absolute',
25749      right: '-10px',
25750      bottom: '-10px',
25751      cursor: 'se-resize'
25752    },
25753    bottomLeft: {
25754      width: '20px',
25755      height: '20px',
25756      position: 'absolute',
25757      left: '-10px',
25758      bottom: '-10px',
25759      cursor: 'sw-resize'
25760    },
25761    topLeft: {
25762      width: '20px',
25763      height: '20px',
25764      position: 'absolute',
25765      left: '-10px',
25766      top: '-10px',
25767      cursor: 'nw-resize'
25768    }
25769  };
25770  
25771  var Resizer = (function (props) {
25772    return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(
25773      'div',
25774      {
25775        className: props.className,
25776        style: _extends({}, styles.base, styles[props.direction], props.replaceStyles || {}),
25777        onMouseDown: function onMouseDown(e) {
25778          props.onResizeStart(e, props.direction);
25779        },
25780        onTouchStart: function onTouchStart(e) {
25781          props.onResizeStart(e, props.direction);
25782        }
25783      },
25784      props.children
25785    );
25786  });
25787  
25788  var userSelectNone = {
25789    userSelect: 'none',
25790    MozUserSelect: 'none',
25791    WebkitUserSelect: 'none',
25792    MsUserSelect: 'none'
25793  };
25794  
25795  var userSelectAuto = {
25796    userSelect: 'auto',
25797    MozUserSelect: 'auto',
25798    WebkitUserSelect: 'auto',
25799    MsUserSelect: 'auto'
25800  };
25801  
25802  var clamp = function clamp(n, min, max) {
25803    return Math.max(Math.min(n, max), min);
25804  };
25805  var snap = function snap(n, size) {
25806    return Math.round(n / size) * size;
25807  };
25808  
25809  var findClosestSnap = function findClosestSnap(n, snapArray) {
25810    return snapArray.reduce(function (prev, curr) {
25811      return Math.abs(curr - n) < Math.abs(prev - n) ? curr : prev;
25812    });
25813  };
25814  
25815  var endsWith = function endsWith(str, searchStr) {
25816    return str.substr(str.length - searchStr.length, searchStr.length) === searchStr;
25817  };
25818  
25819  var getStringSize = function getStringSize(n) {
25820    if (n.toString() === 'auto') return n.toString();
25821    if (endsWith(n.toString(), 'px')) return n.toString();
25822    if (endsWith(n.toString(), '%')) return n.toString();
25823    if (endsWith(n.toString(), 'vh')) return n.toString();
25824    if (endsWith(n.toString(), 'vw')) return n.toString();
25825    if (endsWith(n.toString(), 'vmax')) return n.toString();
25826    if (endsWith(n.toString(), 'vmin')) return n.toString();
25827    return n + 'px';
25828  };
25829  
25830  var definedProps = ['style', 'className', 'grid', 'snap', 'bounds', 'size', 'defaultSize', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'lockAspectRatio', 'lockAspectRatioExtraWidth', 'lockAspectRatioExtraHeight', 'enable', 'handleStyles', 'handleClasses', 'handleWrapperStyle', 'handleWrapperClass', 'children', 'onResizeStart', 'onResize', 'onResizeStop', 'handleComponent', 'scale'];
25831  
25832  var baseClassName = '__resizable_base__';
25833  
25834  var Resizable = function (_React$Component) {
25835    inherits(Resizable, _React$Component);
25836  
25837    function Resizable(props) {
25838      classCallCheck(this, Resizable);
25839  
25840      var _this = possibleConstructorReturn(this, (Resizable.__proto__ || Object.getPrototypeOf(Resizable)).call(this, props));
25841  
25842      _this.state = {
25843        isResizing: false,
25844        resizeCursor: 'auto',
25845        width: typeof (_this.propsSize && _this.propsSize.width) === 'undefined' ? 'auto' : _this.propsSize && _this.propsSize.width,
25846        height: typeof (_this.propsSize && _this.propsSize.height) === 'undefined' ? 'auto' : _this.propsSize && _this.propsSize.height,
25847        direction: 'right',
25848        original: {
25849          x: 0,
25850          y: 0,
25851          width: 0,
25852          height: 0
25853        }
25854      };
25855  
25856      _this.updateExtendsProps(props);
25857      _this.onResizeStart = _this.onResizeStart.bind(_this);
25858      _this.onMouseMove = _this.onMouseMove.bind(_this);
25859      _this.onMouseUp = _this.onMouseUp.bind(_this);
25860  
25861      if (typeof window !== 'undefined') {
25862        window.addEventListener('mouseup', _this.onMouseUp);
25863        window.addEventListener('mousemove', _this.onMouseMove);
25864        window.addEventListener('mouseleave', _this.onMouseUp);
25865        window.addEventListener('touchmove', _this.onMouseMove);
25866        window.addEventListener('touchend', _this.onMouseUp);
25867      }
25868      return _this;
25869    }
25870  
25871    createClass(Resizable, [{
25872      key: 'updateExtendsProps',
25873      value: function updateExtendsProps(props) {
25874        this.extendsProps = Object.keys(props).reduce(function (acc, key) {
25875          if (definedProps.indexOf(key) !== -1) return acc;
25876          acc[key] = props[key];
25877          return acc;
25878        }, {});
25879      }
25880    }, {
25881      key: 'getParentSize',
25882      value: function getParentSize() {
25883        var base = this.base;
25884  
25885        if (!base) return { width: window.innerWidth, height: window.innerHeight };
25886        // INFO: To calculate parent width with flex layout
25887        var wrapChanged = false;
25888        var wrap = this.parentNode.style.flexWrap;
25889        var minWidth = base.style.minWidth;
25890        if (wrap !== 'wrap') {
25891          wrapChanged = true;
25892          this.parentNode.style.flexWrap = 'wrap';
25893          // HACK: Use relative to get parent padding size
25894        }
25895        base.style.position = 'relative';
25896        base.style.minWidth = '100%';
25897        var size = {
25898          width: base.offsetWidth,
25899          height: base.offsetHeight
25900        };
25901        base.style.position = 'absolute';
25902        if (wrapChanged) this.parentNode.style.flexWrap = wrap;
25903        base.style.minWidth = minWidth;
25904        return size;
25905      }
25906    }, {
25907      key: 'componentDidMount',
25908      value: function componentDidMount() {
25909        var size = this.size;
25910  
25911        this.setState({
25912          width: this.state.width || size.width,
25913          height: this.state.height || size.height
25914        });
25915        var parent = this.parentNode;
25916        if (!(parent instanceof HTMLElement)) return;
25917        if (this.base) return;
25918        var element = document.createElement('div');
25919        element.style.width = '100%';
25920        element.style.height = '100%';
25921        element.style.position = 'absolute';
25922        element.style.transform = 'scale(0, 0)';
25923        element.style.left = '0';
25924        element.style.flex = '0';
25925        if (element.classList) {
25926          element.classList.add(baseClassName);
25927        } else {
25928          element.className += baseClassName;
25929        }
25930        parent.appendChild(element);
25931      }
25932    }, {
25933      key: 'componentWillReceiveProps',
25934      value: function componentWillReceiveProps(next) {
25935        this.updateExtendsProps(next);
25936      }
25937    }, {
25938      key: 'componentWillUnmount',
25939      value: function componentWillUnmount() {
25940        if (typeof window !== 'undefined') {
25941          window.removeEventListener('mouseup', this.onMouseUp);
25942          window.removeEventListener('mousemove', this.onMouseMove);
25943          window.removeEventListener('mouseleave', this.onMouseUp);
25944          window.removeEventListener('touchmove', this.onMouseMove);
25945          window.removeEventListener('touchend', this.onMouseUp);
25946          var parent = this.parentNode;
25947          var base = this.base;
25948  
25949          if (!base || !parent) return;
25950          if (!(parent instanceof HTMLElement) || !(base instanceof Node)) return;
25951          parent.removeChild(base);
25952        }
25953      }
25954    }, {
25955      key: 'calculateNewSize',
25956      value: function calculateNewSize(newSize, kind) {
25957        var propsSize = this.propsSize && this.propsSize[kind];
25958        return this.state[kind] === 'auto' && this.state.original[kind] === newSize && (typeof propsSize === 'undefined' || propsSize === 'auto') ? 'auto' : newSize;
25959      }
25960    }, {
25961      key: 'onResizeStart',
25962      value: function onResizeStart(event, direction) {
25963        var clientX = 0;
25964        var clientY = 0;
25965        if (event.nativeEvent instanceof MouseEvent) {
25966          clientX = event.nativeEvent.clientX;
25967          clientY = event.nativeEvent.clientY;
25968  
25969          // When user click with right button the resize is stuck in resizing mode
25970          // until users clicks again, dont continue if right click is used.
25971          // HACK: MouseEvent does not have `which` from flow-bin v0.68.
25972          if (event.nativeEvent.which === 3) {
25973            return;
25974          }
25975        } else if (event.nativeEvent instanceof TouchEvent) {
25976          clientX = event.nativeEvent.touches[0].clientX;
25977          clientY = event.nativeEvent.touches[0].clientY;
25978        }
25979        if (this.props.onResizeStart) {
25980          this.props.onResizeStart(event, direction, this.resizable);
25981        }
25982  
25983        // Fix #168
25984        if (this.props.size) {
25985          if (typeof this.props.size.height !== 'undefined' && this.props.size.height !== this.state.height) {
25986            this.setState({ height: this.props.size.height });
25987          }
25988          if (typeof this.props.size.width !== 'undefined' && this.props.size.width !== this.state.width) {
25989            this.setState({ width: this.props.size.width });
25990          }
25991        }
25992  
25993        this.setState({
25994          original: {
25995            x: clientX,
25996            y: clientY,
25997            width: this.size.width,
25998            height: this.size.height
25999          },
26000          isResizing: true,
26001          resizeCursor: window.getComputedStyle(event.target).cursor,
26002          direction: direction
26003        });
26004      }
26005    }, {
26006      key: 'onMouseMove',
26007      value: function onMouseMove(event) {
26008        if (!this.state.isResizing) return;
26009        var clientX = event instanceof MouseEvent ? event.clientX : event.touches[0].clientX;
26010        var clientY = event instanceof MouseEvent ? event.clientY : event.touches[0].clientY;
26011        var _state = this.state,
26012            direction = _state.direction,
26013            original = _state.original,
26014            width = _state.width,
26015            height = _state.height;
26016        var _props = this.props,
26017            lockAspectRatio = _props.lockAspectRatio,
26018            lockAspectRatioExtraHeight = _props.lockAspectRatioExtraHeight,
26019            lockAspectRatioExtraWidth = _props.lockAspectRatioExtraWidth;
26020  
26021        var scale = this.props.scale || 1;
26022        var _props2 = this.props,
26023            maxWidth = _props2.maxWidth,
26024            maxHeight = _props2.maxHeight,
26025            minWidth = _props2.minWidth,
26026            minHeight = _props2.minHeight;
26027  
26028        // TODO: refactor
26029  
26030        var parentSize = this.getParentSize();
26031        if (maxWidth && typeof maxWidth === 'string' && endsWith(maxWidth, '%')) {
26032          var _ratio = Number(maxWidth.replace('%', '')) / 100;
26033          maxWidth = parentSize.width * _ratio;
26034        }
26035        if (maxHeight && typeof maxHeight === 'string' && endsWith(maxHeight, '%')) {
26036          var _ratio2 = Number(maxHeight.replace('%', '')) / 100;
26037          maxHeight = parentSize.height * _ratio2;
26038        }
26039        if (minWidth && typeof minWidth === 'string' && endsWith(minWidth, '%')) {
26040          var _ratio3 = Number(minWidth.replace('%', '')) / 100;
26041          minWidth = parentSize.width * _ratio3;
26042        }
26043        if (minHeight && typeof minHeight === 'string' && endsWith(minHeight, '%')) {
26044          var _ratio4 = Number(minHeight.replace('%', '')) / 100;
26045          minHeight = parentSize.height * _ratio4;
26046        }
26047        maxWidth = typeof maxWidth === 'undefined' ? undefined : Number(maxWidth);
26048        maxHeight = typeof maxHeight === 'undefined' ? undefined : Number(maxHeight);
26049        minWidth = typeof minWidth === 'undefined' ? undefined : Number(minWidth);
26050        minHeight = typeof minHeight === 'undefined' ? undefined : Number(minHeight);
26051  
26052        var ratio = typeof lockAspectRatio === 'number' ? lockAspectRatio : original.width / original.height;
26053        var newWidth = original.width;
26054        var newHeight = original.height;
26055        if (/right/i.test(direction)) {
26056          newWidth = original.width + (clientX - original.x) / scale;
26057          if (lockAspectRatio) newHeight = (newWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
26058        }
26059        if (/left/i.test(direction)) {
26060          newWidth = original.width - (clientX - original.x) / scale;
26061          if (lockAspectRatio) newHeight = (newWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
26062        }
26063        if (/bottom/i.test(direction)) {
26064          newHeight = original.height + (clientY - original.y) / scale;
26065          if (lockAspectRatio) newWidth = (newHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
26066        }
26067        if (/top/i.test(direction)) {
26068          newHeight = original.height - (clientY - original.y) / scale;
26069          if (lockAspectRatio) newWidth = (newHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
26070        }
26071  
26072        if (this.props.bounds === 'parent') {
26073          var parent = this.parentNode;
26074          if (parent instanceof HTMLElement) {
26075            var parentRect = parent.getBoundingClientRect();
26076            var parentLeft = parentRect.left;
26077            var parentTop = parentRect.top;
26078  
26079            var _resizable$getBoundin = this.resizable.getBoundingClientRect(),
26080                _left = _resizable$getBoundin.left,
26081                _top = _resizable$getBoundin.top;
26082  
26083            var boundWidth = parent.offsetWidth + (parentLeft - _left);
26084            var boundHeight = parent.offsetHeight + (parentTop - _top);
26085            maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth;
26086            maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight;
26087          }
26088        } else if (this.props.bounds === 'window') {
26089          if (typeof window !== 'undefined') {
26090            var _resizable$getBoundin2 = this.resizable.getBoundingClientRect(),
26091                _left2 = _resizable$getBoundin2.left,
26092                _top2 = _resizable$getBoundin2.top;
26093  
26094            var _boundWidth = window.innerWidth - _left2;
26095            var _boundHeight = window.innerHeight - _top2;
26096            maxWidth = maxWidth && maxWidth < _boundWidth ? maxWidth : _boundWidth;
26097            maxHeight = maxHeight && maxHeight < _boundHeight ? maxHeight : _boundHeight;
26098          }
26099        } else if (this.props.bounds instanceof HTMLElement) {
26100          var targetRect = this.props.bounds.getBoundingClientRect();
26101          var targetLeft = targetRect.left;
26102          var targetTop = targetRect.top;
26103  
26104          var _resizable$getBoundin3 = this.resizable.getBoundingClientRect(),
26105              _left3 = _resizable$getBoundin3.left,
26106              _top3 = _resizable$getBoundin3.top;
26107  
26108          if (!(this.props.bounds instanceof HTMLElement)) return;
26109          var _boundWidth2 = this.props.bounds.offsetWidth + (targetLeft - _left3);
26110          var _boundHeight2 = this.props.bounds.offsetHeight + (targetTop - _top3);
26111          maxWidth = maxWidth && maxWidth < _boundWidth2 ? maxWidth : _boundWidth2;
26112          maxHeight = maxHeight && maxHeight < _boundHeight2 ? maxHeight : _boundHeight2;
26113        }
26114  
26115        var computedMinWidth = typeof minWidth === 'undefined' ? 10 : minWidth;
26116        var computedMaxWidth = typeof maxWidth === 'undefined' || maxWidth < 0 ? newWidth : maxWidth;
26117        var computedMinHeight = typeof minHeight === 'undefined' ? 10 : minHeight;
26118        var computedMaxHeight = typeof maxHeight === 'undefined' || maxHeight < 0 ? newHeight : maxHeight;
26119  
26120        if (lockAspectRatio) {
26121          var extraMinWidth = (computedMinHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
26122          var extraMaxWidth = (computedMaxHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
26123          var extraMinHeight = (computedMinWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
26124          var extraMaxHeight = (computedMaxWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
26125          var lockedMinWidth = Math.max(computedMinWidth, extraMinWidth);
26126          var lockedMaxWidth = Math.min(computedMaxWidth, extraMaxWidth);
26127          var lockedMinHeight = Math.max(computedMinHeight, extraMinHeight);
26128          var lockedMaxHeight = Math.min(computedMaxHeight, extraMaxHeight);
26129          newWidth = clamp(newWidth, lockedMinWidth, lockedMaxWidth);
26130          newHeight = clamp(newHeight, lockedMinHeight, lockedMaxHeight);
26131        } else {
26132          newWidth = clamp(newWidth, computedMinWidth, computedMaxWidth);
26133          newHeight = clamp(newHeight, computedMinHeight, computedMaxHeight);
26134        }
26135        if (this.props.grid) {
26136          newWidth = snap(newWidth, this.props.grid[0]);
26137        }
26138        if (this.props.grid) {
26139          newHeight = snap(newHeight, this.props.grid[1]);
26140        }
26141  
26142        if (this.props.snap && this.props.snap.x) {
26143          newWidth = findClosestSnap(newWidth, this.props.snap.x);
26144        }
26145        if (this.props.snap && this.props.snap.y) {
26146          newHeight = findClosestSnap(newHeight, this.props.snap.y);
26147        }
26148  
26149        var delta = {
26150          width: newWidth - original.width,
26151          height: newHeight - original.height
26152        };
26153  
26154        if (width && typeof width === 'string' && endsWith(width, '%')) {
26155          var percent = newWidth / parentSize.width * 100;
26156          newWidth = percent + '%';
26157        }
26158  
26159        if (height && typeof height === 'string' && endsWith(height, '%')) {
26160          var _percent = newHeight / parentSize.height * 100;
26161          newHeight = _percent + '%';
26162        }
26163  
26164        this.setState({
26165          width: this.calculateNewSize(newWidth, 'width'),
26166          height: this.calculateNewSize(newHeight, 'height')
26167        });
26168  
26169        if (this.props.onResize) {
26170          this.props.onResize(event, direction, this.resizable, delta);
26171        }
26172      }
26173    }, {
26174      key: 'onMouseUp',
26175      value: function onMouseUp(event) {
26176        var _state2 = this.state,
26177            isResizing = _state2.isResizing,
26178            direction = _state2.direction,
26179            original = _state2.original;
26180  
26181        if (!isResizing) return;
26182        var delta = {
26183          width: this.size.width - original.width,
26184          height: this.size.height - original.height
26185        };
26186        if (this.props.onResizeStop) {
26187          this.props.onResizeStop(event, direction, this.resizable, delta);
26188        }
26189        if (this.props.size) {
26190          this.setState(this.props.size);
26191        }
26192        this.setState({ isResizing: false, resizeCursor: 'auto' });
26193      }
26194    }, {
26195      key: 'updateSize',
26196      value: function updateSize(size) {
26197        this.setState({ width: size.width, height: size.height });
26198      }
26199    }, {
26200      key: 'renderResizer',
26201      value: function renderResizer() {
26202        var _this2 = this;
26203  
26204        var _props3 = this.props,
26205            enable = _props3.enable,
26206            handleStyles = _props3.handleStyles,
26207            handleClasses = _props3.handleClasses,
26208            handleWrapperStyle = _props3.handleWrapperStyle,
26209            handleWrapperClass = _props3.handleWrapperClass,
26210            handleComponent = _props3.handleComponent;
26211  
26212        if (!enable) return null;
26213        var resizers = Object.keys(enable).map(function (dir) {
26214          if (enable[dir] !== false) {
26215            return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(
26216              Resizer,
26217              {
26218                key: dir,
26219                direction: dir,
26220                onResizeStart: _this2.onResizeStart,
26221                replaceStyles: handleStyles && handleStyles[dir],
26222                className: handleClasses && handleClasses[dir]
26223              },
26224              handleComponent && handleComponent[dir] ? Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(handleComponent[dir]) : null
26225            );
26226          }
26227          return null;
26228        });
26229        // #93 Wrap the resize box in span (will not break 100% width/height)
26230        return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(
26231          'span',
26232          { className: handleWrapperClass, style: handleWrapperStyle },
26233          resizers
26234        );
26235      }
26236    }, {
26237      key: 'render',
26238      value: function render() {
26239        var _this3 = this;
26240  
26241        var userSelect = this.state.isResizing ? userSelectNone : userSelectAuto;
26242        return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(
26243          'div',
26244          _extends({
26245            ref: function ref(c) {
26246              if (c) {
26247                _this3.resizable = c;
26248              }
26249            },
26250            style: _extends({
26251              position: 'relative'
26252            }, userSelect, this.props.style, this.sizeStyle, {
26253              maxWidth: this.props.maxWidth,
26254              maxHeight: this.props.maxHeight,
26255              minWidth: this.props.minWidth,
26256              minHeight: this.props.minHeight,
26257              boxSizing: 'border-box'
26258            }),
26259            className: this.props.className
26260          }, this.extendsProps),
26261          this.state.isResizing && Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])('div', {
26262            style: {
26263              height: '100%',
26264              width: '100%',
26265              backgroundColor: 'rgba(0,0,0,0)',
26266              cursor: '' + (this.state.resizeCursor || 'auto'),
26267              opacity: '0',
26268              position: 'fixed',
26269              zIndex: '9999',
26270              top: '0',
26271              left: '0',
26272              bottom: '0',
26273              right: '0'
26274            }
26275          }),
26276          this.props.children,
26277          this.renderResizer()
26278        );
26279      }
26280    }, {
26281      key: 'parentNode',
26282      get: function get$$1() {
26283        return this.resizable.parentNode;
26284      }
26285    }, {
26286      key: 'propsSize',
26287      get: function get$$1() {
26288        return this.props.size || this.props.defaultSize;
26289      }
26290    }, {
26291      key: 'base',
26292      get: function get$$1() {
26293        var parent = this.parentNode;
26294        if (!parent) return undefined;
26295        var children = [].slice.call(parent.children);
26296        for (var i = 0; i < children.length; i += 1) {
26297          var n = children[i];
26298          if (n instanceof HTMLElement) {
26299            if (n.classList.contains(baseClassName)) {
26300              return n;
26301            }
26302          }
26303        }
26304        return undefined;
26305      }
26306    }, {
26307      key: 'size',
26308      get: function get$$1() {
26309        var width = 0;
26310        var height = 0;
26311        if (typeof window !== 'undefined') {
26312          var orgWidth = this.resizable.offsetWidth;
26313          var orgHeight = this.resizable.offsetHeight;
26314          // HACK: Set position `relative` to get parent size.
26315          //       This is because when re-resizable set `absolute`, I can not get base width correctly.
26316          var orgPosition = this.resizable.style.position;
26317          if (orgPosition !== 'relative') {
26318            this.resizable.style.position = 'relative';
26319          }
26320          // INFO: Use original width or height if set auto.
26321          width = this.resizable.style.width !== 'auto' ? this.resizable.offsetWidth : orgWidth;
26322          height = this.resizable.style.height !== 'auto' ? this.resizable.offsetHeight : orgHeight;
26323          // Restore original position
26324          this.resizable.style.position = orgPosition;
26325        }
26326        return { width: width, height: height };
26327      }
26328    }, {
26329      key: 'sizeStyle',
26330      get: function get$$1() {
26331        var _this4 = this;
26332  
26333        var size = this.props.size;
26334  
26335        var getSize = function getSize(key) {
26336          if (typeof _this4.state[key] === 'undefined' || _this4.state[key] === 'auto') return 'auto';
26337          if (_this4.propsSize && _this4.propsSize[key] && endsWith(_this4.propsSize[key].toString(), '%')) {
26338            if (endsWith(_this4.state[key].toString(), '%')) return _this4.state[key].toString();
26339            var parentSize = _this4.getParentSize();
26340            var value = Number(_this4.state[key].toString().replace('px', ''));
26341            var percent = value / parentSize[key] * 100;
26342            return percent + '%';
26343          }
26344          return getStringSize(_this4.state[key]);
26345        };
26346        var width = size && typeof size.width !== 'undefined' && !this.state.isResizing ? getStringSize(size.width) : getSize('width');
26347        var height = size && typeof size.height !== 'undefined' && !this.state.isResizing ? getStringSize(size.height) : getSize('height');
26348        return { width: width, height: height };
26349      }
26350    }]);
26351    return Resizable;
26352  }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
26353  
26354  Resizable.defaultProps = {
26355    onResizeStart: function onResizeStart() {},
26356    onResize: function onResize() {},
26357    onResizeStop: function onResizeStop() {},
26358    enable: {
26359      top: true,
26360      right: true,
26361      bottom: true,
26362      left: true,
26363      topRight: true,
26364      bottomRight: true,
26365      bottomLeft: true,
26366      topLeft: true
26367    },
26368    style: {},
26369    grid: [1, 1],
26370    lockAspectRatio: false,
26371    lockAspectRatioExtraWidth: 0,
26372    lockAspectRatioExtraHeight: 0,
26373    scale: 1
26374  };
26375  
26376  /* harmony default export */ __webpack_exports__["default"] = (Resizable);
26377  
26378  
26379  /***/ }),
26380  
26381  /***/ "./node_modules/react-click-outside/dist/index.js":
26382  /*!********************************************************!*\
26383    !*** ./node_modules/react-click-outside/dist/index.js ***!
26384    \********************************************************/
26385  /*! no static exports found */
26386  /***/ (function(module, exports, __webpack_require__) {
26387  
26388  "use strict";
26389  
26390  
26391  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; };
26392  
26393  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; }; }();
26394  
26395  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
26396  
26397  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; }
26398  
26399  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; }
26400  
26401  var hoistNonReactStatic = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/index.js");
26402  var React = __webpack_require__(/*! react */ "react");
26403  var ReactDOM = __webpack_require__(/*! react-dom */ "react-dom");
26404  
26405  module.exports = function enhanceWithClickOutside(WrappedComponent) {
26406    var componentName = WrappedComponent.displayName || WrappedComponent.name;
26407  
26408    var EnhancedComponent = function (_React$Component) {
26409      _inherits(EnhancedComponent, _React$Component);
26410  
26411      function EnhancedComponent(props) {
26412        _classCallCheck(this, EnhancedComponent);
26413  
26414        var _this = _possibleConstructorReturn(this, (EnhancedComponent.__proto__ || Object.getPrototypeOf(EnhancedComponent)).call(this, props));
26415  
26416        _this.handleClickOutside = _this.handleClickOutside.bind(_this);
26417        return _this;
26418      }
26419  
26420      _createClass(EnhancedComponent, [{
26421        key: 'componentDidMount',
26422        value: function componentDidMount() {
26423          document.addEventListener('click', this.handleClickOutside, true);
26424        }
26425      }, {
26426        key: 'componentWillUnmount',
26427        value: function componentWillUnmount() {
26428          document.removeEventListener('click', this.handleClickOutside, true);
26429        }
26430      }, {
26431        key: 'handleClickOutside',
26432        value: function handleClickOutside(e) {
26433          var domNode = this.__domNode;
26434          if ((!domNode || !domNode.contains(e.target)) && typeof this.__wrappedComponent.handleClickOutside === 'function') {
26435            this.__wrappedComponent.handleClickOutside(e);
26436          }
26437        }
26438      }, {
26439        key: 'render',
26440        value: function render() {
26441          var _this2 = this;
26442  
26443          return React.createElement(WrappedComponent, _extends({}, this.props, {
26444            ref: function ref(c) {
26445              _this2.__wrappedComponent = c;
26446              _this2.__domNode = ReactDOM.findDOMNode(c);
26447            }
26448          }));
26449        }
26450      }]);
26451  
26452      return EnhancedComponent;
26453    }(React.Component);
26454  
26455    EnhancedComponent.displayName = 'Wrapped' + componentName;
26456  
26457    return hoistNonReactStatic(EnhancedComponent, WrappedComponent);
26458  };
26459  
26460  /***/ }),
26461  
26462  /***/ "./node_modules/react-color/lib/components/alpha/Alpha.js":
26463  /*!****************************************************************!*\
26464    !*** ./node_modules/react-color/lib/components/alpha/Alpha.js ***!
26465    \****************************************************************/
26466  /*! no static exports found */
26467  /***/ (function(module, exports, __webpack_require__) {
26468  
26469  "use strict";
26470  
26471  
26472  Object.defineProperty(exports, "__esModule", {
26473    value: true
26474  });
26475  exports.AlphaPicker = undefined;
26476  
26477  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; };
26478  
26479  var _react = __webpack_require__(/*! react */ "react");
26480  
26481  var _react2 = _interopRequireDefault(_react);
26482  
26483  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
26484  
26485  var _reactcss2 = _interopRequireDefault(_reactcss);
26486  
26487  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
26488  
26489  var _AlphaPointer = __webpack_require__(/*! ./AlphaPointer */ "./node_modules/react-color/lib/components/alpha/AlphaPointer.js");
26490  
26491  var _AlphaPointer2 = _interopRequireDefault(_AlphaPointer);
26492  
26493  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26494  
26495  var AlphaPicker = exports.AlphaPicker = function AlphaPicker(_ref) {
26496    var rgb = _ref.rgb,
26497        hsl = _ref.hsl,
26498        width = _ref.width,
26499        height = _ref.height,
26500        onChange = _ref.onChange,
26501        direction = _ref.direction,
26502        style = _ref.style,
26503        renderers = _ref.renderers,
26504        pointer = _ref.pointer,
26505        _ref$className = _ref.className,
26506        className = _ref$className === undefined ? '' : _ref$className;
26507  
26508    var styles = (0, _reactcss2.default)({
26509      'default': {
26510        picker: {
26511          position: 'relative',
26512          width: width,
26513          height: height
26514        },
26515        alpha: {
26516          radius: '2px',
26517          style: style
26518        }
26519      }
26520    });
26521  
26522    return _react2.default.createElement(
26523      'div',
26524      { style: styles.picker, className: 'alpha-picker ' + className },
26525      _react2.default.createElement(_common.Alpha, _extends({}, styles.alpha, {
26526        rgb: rgb,
26527        hsl: hsl,
26528        pointer: pointer,
26529        renderers: renderers,
26530        onChange: onChange,
26531        direction: direction
26532      }))
26533    );
26534  };
26535  
26536  AlphaPicker.defaultProps = {
26537    width: '316px',
26538    height: '16px',
26539    direction: 'horizontal',
26540    pointer: _AlphaPointer2.default
26541  };
26542  
26543  exports.default = (0, _common.ColorWrap)(AlphaPicker);
26544  
26545  /***/ }),
26546  
26547  /***/ "./node_modules/react-color/lib/components/alpha/AlphaPointer.js":
26548  /*!***********************************************************************!*\
26549    !*** ./node_modules/react-color/lib/components/alpha/AlphaPointer.js ***!
26550    \***********************************************************************/
26551  /*! no static exports found */
26552  /***/ (function(module, exports, __webpack_require__) {
26553  
26554  "use strict";
26555  
26556  
26557  Object.defineProperty(exports, "__esModule", {
26558    value: true
26559  });
26560  exports.AlphaPointer = undefined;
26561  
26562  var _react = __webpack_require__(/*! react */ "react");
26563  
26564  var _react2 = _interopRequireDefault(_react);
26565  
26566  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
26567  
26568  var _reactcss2 = _interopRequireDefault(_reactcss);
26569  
26570  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26571  
26572  var AlphaPointer = exports.AlphaPointer = function AlphaPointer(_ref) {
26573    var direction = _ref.direction;
26574  
26575    var styles = (0, _reactcss2.default)({
26576      'default': {
26577        picker: {
26578          width: '18px',
26579          height: '18px',
26580          borderRadius: '50%',
26581          transform: 'translate(-9px, -1px)',
26582          backgroundColor: 'rgb(248, 248, 248)',
26583          boxShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.37)'
26584        }
26585      },
26586      'vertical': {
26587        picker: {
26588          transform: 'translate(-3px, -9px)'
26589        }
26590      }
26591    }, { vertical: direction === 'vertical' });
26592  
26593    return _react2.default.createElement('div', { style: styles.picker });
26594  };
26595  
26596  exports.default = AlphaPointer;
26597  
26598  /***/ }),
26599  
26600  /***/ "./node_modules/react-color/lib/components/block/Block.js":
26601  /*!****************************************************************!*\
26602    !*** ./node_modules/react-color/lib/components/block/Block.js ***!
26603    \****************************************************************/
26604  /*! no static exports found */
26605  /***/ (function(module, exports, __webpack_require__) {
26606  
26607  "use strict";
26608  
26609  
26610  Object.defineProperty(exports, "__esModule", {
26611    value: true
26612  });
26613  exports.Block = undefined;
26614  
26615  var _react = __webpack_require__(/*! react */ "react");
26616  
26617  var _react2 = _interopRequireDefault(_react);
26618  
26619  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
26620  
26621  var _propTypes2 = _interopRequireDefault(_propTypes);
26622  
26623  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
26624  
26625  var _reactcss2 = _interopRequireDefault(_reactcss);
26626  
26627  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
26628  
26629  var _color2 = _interopRequireDefault(_color);
26630  
26631  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
26632  
26633  var _BlockSwatches = __webpack_require__(/*! ./BlockSwatches */ "./node_modules/react-color/lib/components/block/BlockSwatches.js");
26634  
26635  var _BlockSwatches2 = _interopRequireDefault(_BlockSwatches);
26636  
26637  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26638  
26639  var Block = exports.Block = function Block(_ref) {
26640    var onChange = _ref.onChange,
26641        onSwatchHover = _ref.onSwatchHover,
26642        hex = _ref.hex,
26643        colors = _ref.colors,
26644        width = _ref.width,
26645        triangle = _ref.triangle,
26646        _ref$className = _ref.className,
26647        className = _ref$className === undefined ? '' : _ref$className;
26648  
26649    var transparent = hex === 'transparent';
26650    var handleChange = function handleChange(hexCode, e) {
26651      _color2.default.isValidHex(hexCode) && onChange({
26652        hex: hexCode,
26653        source: 'hex'
26654      }, e);
26655    };
26656  
26657    var styles = (0, _reactcss2.default)({
26658      'default': {
26659        card: {
26660          width: width,
26661          background: '#fff',
26662          boxShadow: '0 1px rgba(0,0,0,.1)',
26663          borderRadius: '6px',
26664          position: 'relative'
26665        },
26666        head: {
26667          height: '110px',
26668          background: hex,
26669          borderRadius: '6px 6px 0 0',
26670          display: 'flex',
26671          alignItems: 'center',
26672          justifyContent: 'center',
26673          position: 'relative'
26674        },
26675        body: {
26676          padding: '10px'
26677        },
26678        label: {
26679          fontSize: '18px',
26680          color: _color2.default.getContrastingColor(hex),
26681          position: 'relative'
26682        },
26683        triangle: {
26684          width: '0px',
26685          height: '0px',
26686          borderStyle: 'solid',
26687          borderWidth: '0 10px 10px 10px',
26688          borderColor: 'transparent transparent ' + hex + ' transparent',
26689          position: 'absolute',
26690          top: '-10px',
26691          left: '50%',
26692          marginLeft: '-10px'
26693        },
26694        input: {
26695          width: '100%',
26696          fontSize: '12px',
26697          color: '#666',
26698          border: '0px',
26699          outline: 'none',
26700          height: '22px',
26701          boxShadow: 'inset 0 0 0 1px #ddd',
26702          borderRadius: '4px',
26703          padding: '0 7px',
26704          boxSizing: 'border-box'
26705        }
26706      },
26707      'hide-triangle': {
26708        triangle: {
26709          display: 'none'
26710        }
26711      }
26712    }, { 'hide-triangle': triangle === 'hide' });
26713  
26714    return _react2.default.createElement(
26715      'div',
26716      { style: styles.card, className: 'block-picker ' + className },
26717      _react2.default.createElement('div', { style: styles.triangle }),
26718      _react2.default.createElement(
26719        'div',
26720        { style: styles.head },
26721        transparent && _react2.default.createElement(_common.Checkboard, { borderRadius: '6px 6px 0 0' }),
26722        _react2.default.createElement(
26723          'div',
26724          { style: styles.label },
26725          hex
26726        )
26727      ),
26728      _react2.default.createElement(
26729        'div',
26730        { style: styles.body },
26731        _react2.default.createElement(_BlockSwatches2.default, { colors: colors, onClick: handleChange, onSwatchHover: onSwatchHover }),
26732        _react2.default.createElement(_common.EditableInput, {
26733          style: { input: styles.input },
26734          value: hex,
26735          onChange: handleChange
26736        })
26737      )
26738    );
26739  };
26740  
26741  Block.propTypes = {
26742    width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
26743    colors: _propTypes2.default.arrayOf(_propTypes2.default.string),
26744    triangle: _propTypes2.default.oneOf(['top', 'hide'])
26745  };
26746  
26747  Block.defaultProps = {
26748    width: 170,
26749    colors: ['#D9E3F0', '#F47373', '#697689', '#37D67A', '#2CCCE4', '#555555', '#dce775', '#ff8a65', '#ba68c8'],
26750    triangle: 'top'
26751  };
26752  
26753  exports.default = (0, _common.ColorWrap)(Block);
26754  
26755  /***/ }),
26756  
26757  /***/ "./node_modules/react-color/lib/components/block/BlockSwatches.js":
26758  /*!************************************************************************!*\
26759    !*** ./node_modules/react-color/lib/components/block/BlockSwatches.js ***!
26760    \************************************************************************/
26761  /*! no static exports found */
26762  /***/ (function(module, exports, __webpack_require__) {
26763  
26764  "use strict";
26765  
26766  
26767  Object.defineProperty(exports, "__esModule", {
26768    value: true
26769  });
26770  exports.BlockSwatches = undefined;
26771  
26772  var _react = __webpack_require__(/*! react */ "react");
26773  
26774  var _react2 = _interopRequireDefault(_react);
26775  
26776  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
26777  
26778  var _reactcss2 = _interopRequireDefault(_reactcss);
26779  
26780  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
26781  
26782  var _map2 = _interopRequireDefault(_map);
26783  
26784  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
26785  
26786  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26787  
26788  var BlockSwatches = exports.BlockSwatches = function BlockSwatches(_ref) {
26789    var colors = _ref.colors,
26790        onClick = _ref.onClick,
26791        onSwatchHover = _ref.onSwatchHover;
26792  
26793    var styles = (0, _reactcss2.default)({
26794      'default': {
26795        swatches: {
26796          marginRight: '-10px'
26797        },
26798        swatch: {
26799          width: '22px',
26800          height: '22px',
26801          float: 'left',
26802          marginRight: '10px',
26803          marginBottom: '10px',
26804          borderRadius: '4px'
26805        },
26806        clear: {
26807          clear: 'both'
26808        }
26809      }
26810    });
26811  
26812    return _react2.default.createElement(
26813      'div',
26814      { style: styles.swatches },
26815      (0, _map2.default)(colors, function (c) {
26816        return _react2.default.createElement(_common.Swatch, {
26817          key: c,
26818          color: c,
26819          style: styles.swatch,
26820          onClick: onClick,
26821          onHover: onSwatchHover,
26822          focusStyle: {
26823            boxShadow: '0 0 4px ' + c
26824          }
26825        });
26826      }),
26827      _react2.default.createElement('div', { style: styles.clear })
26828    );
26829  };
26830  
26831  exports.default = BlockSwatches;
26832  
26833  /***/ }),
26834  
26835  /***/ "./node_modules/react-color/lib/components/chrome/Chrome.js":
26836  /*!******************************************************************!*\
26837    !*** ./node_modules/react-color/lib/components/chrome/Chrome.js ***!
26838    \******************************************************************/
26839  /*! no static exports found */
26840  /***/ (function(module, exports, __webpack_require__) {
26841  
26842  "use strict";
26843  
26844  
26845  Object.defineProperty(exports, "__esModule", {
26846    value: true
26847  });
26848  exports.Chrome = undefined;
26849  
26850  var _react = __webpack_require__(/*! react */ "react");
26851  
26852  var _react2 = _interopRequireDefault(_react);
26853  
26854  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
26855  
26856  var _propTypes2 = _interopRequireDefault(_propTypes);
26857  
26858  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
26859  
26860  var _reactcss2 = _interopRequireDefault(_reactcss);
26861  
26862  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
26863  
26864  var _ChromeFields = __webpack_require__(/*! ./ChromeFields */ "./node_modules/react-color/lib/components/chrome/ChromeFields.js");
26865  
26866  var _ChromeFields2 = _interopRequireDefault(_ChromeFields);
26867  
26868  var _ChromePointer = __webpack_require__(/*! ./ChromePointer */ "./node_modules/react-color/lib/components/chrome/ChromePointer.js");
26869  
26870  var _ChromePointer2 = _interopRequireDefault(_ChromePointer);
26871  
26872  var _ChromePointerCircle = __webpack_require__(/*! ./ChromePointerCircle */ "./node_modules/react-color/lib/components/chrome/ChromePointerCircle.js");
26873  
26874  var _ChromePointerCircle2 = _interopRequireDefault(_ChromePointerCircle);
26875  
26876  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26877  
26878  var Chrome = exports.Chrome = function Chrome(_ref) {
26879    var onChange = _ref.onChange,
26880        disableAlpha = _ref.disableAlpha,
26881        rgb = _ref.rgb,
26882        hsl = _ref.hsl,
26883        hsv = _ref.hsv,
26884        hex = _ref.hex,
26885        renderers = _ref.renderers,
26886        _ref$className = _ref.className,
26887        className = _ref$className === undefined ? '' : _ref$className;
26888  
26889    var styles = (0, _reactcss2.default)({
26890      'default': {
26891        picker: {
26892          background: '#fff',
26893          borderRadius: '2px',
26894          boxShadow: '0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)',
26895          boxSizing: 'initial',
26896          width: '225px',
26897          fontFamily: 'Menlo'
26898        },
26899        saturation: {
26900          width: '100%',
26901          paddingBottom: '55%',
26902          position: 'relative',
26903          borderRadius: '2px 2px 0 0',
26904          overflow: 'hidden'
26905        },
26906        Saturation: {
26907          radius: '2px 2px 0 0'
26908        },
26909        body: {
26910          padding: '16px 16px 12px'
26911        },
26912        controls: {
26913          display: 'flex'
26914        },
26915        color: {
26916          width: '32px'
26917        },
26918        swatch: {
26919          marginTop: '6px',
26920          width: '16px',
26921          height: '16px',
26922          borderRadius: '8px',
26923          position: 'relative',
26924          overflow: 'hidden'
26925        },
26926        active: {
26927          absolute: '0px 0px 0px 0px',
26928          borderRadius: '8px',
26929          boxShadow: 'inset 0 0 0 1px rgba(0,0,0,.1)',
26930          background: 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + rgb.a + ')',
26931          zIndex: '2'
26932        },
26933        toggles: {
26934          flex: '1'
26935        },
26936        hue: {
26937          height: '10px',
26938          position: 'relative',
26939          marginBottom: '8px'
26940        },
26941        Hue: {
26942          radius: '2px'
26943        },
26944        alpha: {
26945          height: '10px',
26946          position: 'relative'
26947        },
26948        Alpha: {
26949          radius: '2px'
26950        }
26951      },
26952      'disableAlpha': {
26953        color: {
26954          width: '22px'
26955        },
26956        alpha: {
26957          display: 'none'
26958        },
26959        hue: {
26960          marginBottom: '0px'
26961        },
26962        swatch: {
26963          width: '10px',
26964          height: '10px',
26965          marginTop: '0px'
26966        }
26967      }
26968    }, { disableAlpha: disableAlpha });
26969  
26970    return _react2.default.createElement(
26971      'div',
26972      { style: styles.picker, className: 'chrome-picker ' + className },
26973      _react2.default.createElement(
26974        'div',
26975        { style: styles.saturation },
26976        _react2.default.createElement(_common.Saturation, {
26977          style: styles.Saturation,
26978          hsl: hsl,
26979          hsv: hsv,
26980          pointer: _ChromePointerCircle2.default,
26981          onChange: onChange
26982        })
26983      ),
26984      _react2.default.createElement(
26985        'div',
26986        { style: styles.body },
26987        _react2.default.createElement(
26988          'div',
26989          { style: styles.controls, className: 'flexbox-fix' },
26990          _react2.default.createElement(
26991            'div',
26992            { style: styles.color },
26993            _react2.default.createElement(
26994              'div',
26995              { style: styles.swatch },
26996              _react2.default.createElement('div', { style: styles.active }),
26997              _react2.default.createElement(_common.Checkboard, { renderers: renderers })
26998            )
26999          ),
27000          _react2.default.createElement(
27001            'div',
27002            { style: styles.toggles },
27003            _react2.default.createElement(
27004              'div',
27005              { style: styles.hue },
27006              _react2.default.createElement(_common.Hue, {
27007                style: styles.Hue,
27008                hsl: hsl,
27009                pointer: _ChromePointer2.default,
27010                onChange: onChange
27011              })
27012            ),
27013            _react2.default.createElement(
27014              'div',
27015              { style: styles.alpha },
27016              _react2.default.createElement(_common.Alpha, {
27017                style: styles.Alpha,
27018                rgb: rgb,
27019                hsl: hsl,
27020                pointer: _ChromePointer2.default,
27021                renderers: renderers,
27022                onChange: onChange
27023              })
27024            )
27025          )
27026        ),
27027        _react2.default.createElement(_ChromeFields2.default, {
27028          rgb: rgb,
27029          hsl: hsl,
27030          hex: hex,
27031          onChange: onChange,
27032          disableAlpha: disableAlpha
27033        })
27034      )
27035    );
27036  };
27037  
27038  Chrome.propTypes = {
27039    disableAlpha: _propTypes2.default.bool
27040  };
27041  
27042  Chrome.defaultProps = {
27043    disableAlpha: false
27044  };
27045  
27046  exports.default = (0, _common.ColorWrap)(Chrome);
27047  
27048  /***/ }),
27049  
27050  /***/ "./node_modules/react-color/lib/components/chrome/ChromeFields.js":
27051  /*!************************************************************************!*\
27052    !*** ./node_modules/react-color/lib/components/chrome/ChromeFields.js ***!
27053    \************************************************************************/
27054  /*! no static exports found */
27055  /***/ (function(module, exports, __webpack_require__) {
27056  
27057  "use strict";
27058  
27059  
27060  Object.defineProperty(exports, "__esModule", {
27061    value: true
27062  });
27063  exports.ChromeFields = undefined;
27064  
27065  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; }; }();
27066  
27067  var _react = __webpack_require__(/*! react */ "react");
27068  
27069  var _react2 = _interopRequireDefault(_react);
27070  
27071  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27072  
27073  var _reactcss2 = _interopRequireDefault(_reactcss);
27074  
27075  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
27076  
27077  var _color2 = _interopRequireDefault(_color);
27078  
27079  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
27080  
27081  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27082  
27083  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27084  
27085  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; }
27086  
27087  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; } /* eslint-disable react/no-did-mount-set-state, no-param-reassign */
27088  
27089  var ChromeFields = exports.ChromeFields = function (_React$Component) {
27090    _inherits(ChromeFields, _React$Component);
27091  
27092    function ChromeFields() {
27093      var _ref;
27094  
27095      var _temp, _this, _ret;
27096  
27097      _classCallCheck(this, ChromeFields);
27098  
27099      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
27100        args[_key] = arguments[_key];
27101      }
27102  
27103      return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ChromeFields.__proto__ || Object.getPrototypeOf(ChromeFields)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
27104        view: ''
27105      }, _this.toggleViews = function () {
27106        if (_this.state.view === 'hex') {
27107          _this.setState({ view: 'rgb' });
27108        } else if (_this.state.view === 'rgb') {
27109          _this.setState({ view: 'hsl' });
27110        } else if (_this.state.view === 'hsl') {
27111          if (_this.props.hsl.a === 1) {
27112            _this.setState({ view: 'hex' });
27113          } else {
27114            _this.setState({ view: 'rgb' });
27115          }
27116        }
27117      }, _this.handleChange = function (data, e) {
27118        if (data.hex) {
27119          _color2.default.isValidHex(data.hex) && _this.props.onChange({
27120            hex: data.hex,
27121            source: 'hex'
27122          }, e);
27123        } else if (data.r || data.g || data.b) {
27124          _this.props.onChange({
27125            r: data.r || _this.props.rgb.r,
27126            g: data.g || _this.props.rgb.g,
27127            b: data.b || _this.props.rgb.b,
27128            source: 'rgb'
27129          }, e);
27130        } else if (data.a) {
27131          if (data.a < 0) {
27132            data.a = 0;
27133          } else if (data.a > 1) {
27134            data.a = 1;
27135          }
27136  
27137          _this.props.onChange({
27138            h: _this.props.hsl.h,
27139            s: _this.props.hsl.s,
27140            l: _this.props.hsl.l,
27141            a: Math.round(data.a * 100) / 100,
27142            source: 'rgb'
27143          }, e);
27144        } else if (data.h || data.s || data.l) {
27145          _this.props.onChange({
27146            h: data.h || _this.props.hsl.h,
27147            s: Number(data.s && data.s || _this.props.hsl.s),
27148            l: Number(data.l && data.l || _this.props.hsl.l),
27149            source: 'hsl'
27150          }, e);
27151        }
27152      }, _this.showHighlight = function (e) {
27153        e.target.style.background = '#eee';
27154      }, _this.hideHighlight = function (e) {
27155        e.target.style.background = 'transparent';
27156      }, _temp), _possibleConstructorReturn(_this, _ret);
27157    }
27158  
27159    _createClass(ChromeFields, [{
27160      key: 'componentDidMount',
27161      value: function componentDidMount() {
27162        if (this.props.hsl.a === 1 && this.state.view !== 'hex') {
27163          this.setState({ view: 'hex' });
27164        } else if (this.state.view !== 'rgb' && this.state.view !== 'hsl') {
27165          this.setState({ view: 'rgb' });
27166        }
27167      }
27168    }, {
27169      key: 'componentWillReceiveProps',
27170      value: function componentWillReceiveProps(nextProps) {
27171        if (nextProps.hsl.a !== 1 && this.state.view === 'hex') {
27172          this.setState({ view: 'rgb' });
27173        }
27174      }
27175    }, {
27176      key: 'render',
27177      value: function render() {
27178        var _this2 = this;
27179  
27180        var styles = (0, _reactcss2.default)({
27181          'default': {
27182            wrap: {
27183              paddingTop: '16px',
27184              display: 'flex'
27185            },
27186            fields: {
27187              flex: '1',
27188              display: 'flex',
27189              marginLeft: '-6px'
27190            },
27191            field: {
27192              paddingLeft: '6px',
27193              width: '100%'
27194            },
27195            alpha: {
27196              paddingLeft: '6px',
27197              width: '100%'
27198            },
27199            toggle: {
27200              width: '32px',
27201              textAlign: 'right',
27202              position: 'relative'
27203            },
27204            icon: {
27205              marginRight: '-4px',
27206              marginTop: '12px',
27207              cursor: 'pointer',
27208              position: 'relative'
27209            },
27210            iconHighlight: {
27211              position: 'absolute',
27212              width: '24px',
27213              height: '28px',
27214              background: '#eee',
27215              borderRadius: '4px',
27216              top: '10px',
27217              left: '12px',
27218              display: 'none'
27219            },
27220            input: {
27221              fontSize: '11px',
27222              color: '#333',
27223              width: '100%',
27224              borderRadius: '2px',
27225              border: 'none',
27226              boxShadow: 'inset 0 0 0 1px #dadada',
27227              height: '21px',
27228              textAlign: 'center'
27229            },
27230            label: {
27231              textTransform: 'uppercase',
27232              fontSize: '11px',
27233              lineHeight: '11px',
27234              color: '#969696',
27235              textAlign: 'center',
27236              display: 'block',
27237              marginTop: '12px'
27238            },
27239            svg: {
27240              width: '24px',
27241              height: '24px',
27242              border: '1px transparent solid',
27243              borderRadius: '5px'
27244            }
27245          },
27246          'disableAlpha': {
27247            alpha: {
27248              display: 'none'
27249            }
27250          }
27251        }, this.props, this.state);
27252  
27253        var fields = void 0;
27254        if (this.state.view === 'hex') {
27255          fields = _react2.default.createElement(
27256            'div',
27257            { style: styles.fields, className: 'flexbox-fix' },
27258            _react2.default.createElement(
27259              'div',
27260              { style: styles.field },
27261              _react2.default.createElement(_common.EditableInput, {
27262                style: { input: styles.input, label: styles.label },
27263                label: 'hex', value: this.props.hex,
27264                onChange: this.handleChange
27265              })
27266            )
27267          );
27268        } else if (this.state.view === 'rgb') {
27269          fields = _react2.default.createElement(
27270            'div',
27271            { style: styles.fields, className: 'flexbox-fix' },
27272            _react2.default.createElement(
27273              'div',
27274              { style: styles.field },
27275              _react2.default.createElement(_common.EditableInput, {
27276                style: { input: styles.input, label: styles.label },
27277                label: 'r',
27278                value: this.props.rgb.r,
27279                onChange: this.handleChange
27280              })
27281            ),
27282            _react2.default.createElement(
27283              'div',
27284              { style: styles.field },
27285              _react2.default.createElement(_common.EditableInput, {
27286                style: { input: styles.input, label: styles.label },
27287                label: 'g',
27288                value: this.props.rgb.g,
27289                onChange: this.handleChange
27290              })
27291            ),
27292            _react2.default.createElement(
27293              'div',
27294              { style: styles.field },
27295              _react2.default.createElement(_common.EditableInput, {
27296                style: { input: styles.input, label: styles.label },
27297                label: 'b',
27298                value: this.props.rgb.b,
27299                onChange: this.handleChange
27300              })
27301            ),
27302            _react2.default.createElement(
27303              'div',
27304              { style: styles.alpha },
27305              _react2.default.createElement(_common.EditableInput, {
27306                style: { input: styles.input, label: styles.label },
27307                label: 'a',
27308                value: this.props.rgb.a,
27309                arrowOffset: 0.01,
27310                onChange: this.handleChange
27311              })
27312            )
27313          );
27314        } else if (this.state.view === 'hsl') {
27315          fields = _react2.default.createElement(
27316            'div',
27317            { style: styles.fields, className: 'flexbox-fix' },
27318            _react2.default.createElement(
27319              'div',
27320              { style: styles.field },
27321              _react2.default.createElement(_common.EditableInput, {
27322                style: { input: styles.input, label: styles.label },
27323                label: 'h',
27324                value: Math.round(this.props.hsl.h),
27325                onChange: this.handleChange
27326              })
27327            ),
27328            _react2.default.createElement(
27329              'div',
27330              { style: styles.field },
27331              _react2.default.createElement(_common.EditableInput, {
27332                style: { input: styles.input, label: styles.label },
27333                label: 's',
27334                value: Math.round(this.props.hsl.s * 100) + '%',
27335                onChange: this.handleChange
27336              })
27337            ),
27338            _react2.default.createElement(
27339              'div',
27340              { style: styles.field },
27341              _react2.default.createElement(_common.EditableInput, {
27342                style: { input: styles.input, label: styles.label },
27343                label: 'l',
27344                value: Math.round(this.props.hsl.l * 100) + '%',
27345                onChange: this.handleChange
27346              })
27347            ),
27348            _react2.default.createElement(
27349              'div',
27350              { style: styles.alpha },
27351              _react2.default.createElement(_common.EditableInput, {
27352                style: { input: styles.input, label: styles.label },
27353                label: 'a',
27354                value: this.props.hsl.a,
27355                arrowOffset: 0.01,
27356                onChange: this.handleChange
27357              })
27358            )
27359          );
27360        }
27361  
27362        return _react2.default.createElement(
27363          'div',
27364          { style: styles.wrap, className: 'flexbox-fix' },
27365          fields,
27366          _react2.default.createElement(
27367            'div',
27368            { style: styles.toggle },
27369            _react2.default.createElement(
27370              'div',
27371              { style: styles.icon, onClick: this.toggleViews, ref: function ref(icon) {
27372                  return _this2.icon = icon;
27373                } },
27374              _react2.default.createElement(
27375                'svg',
27376                {
27377                  style: styles.svg,
27378                  viewBox: '0 0 24 24',
27379                  onMouseOver: this.showHighlight,
27380                  onMouseEnter: this.showHighlight,
27381                  onMouseOut: this.hideHighlight
27382                },
27383                _react2.default.createElement('path', {
27384                  ref: function ref(iconUp) {
27385                    return _this2.iconUp = iconUp;
27386                  },
27387                  fill: '#333',
27388                  d: 'M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z'
27389                }),
27390                _react2.default.createElement('path', {
27391                  ref: function ref(iconDown) {
27392                    return _this2.iconDown = iconDown;
27393                  },
27394                  fill: '#333',
27395                  d: 'M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z'
27396                })
27397              )
27398            )
27399          )
27400        );
27401      }
27402    }]);
27403  
27404    return ChromeFields;
27405  }(_react2.default.Component);
27406  
27407  exports.default = ChromeFields;
27408  
27409  /***/ }),
27410  
27411  /***/ "./node_modules/react-color/lib/components/chrome/ChromePointer.js":
27412  /*!*************************************************************************!*\
27413    !*** ./node_modules/react-color/lib/components/chrome/ChromePointer.js ***!
27414    \*************************************************************************/
27415  /*! no static exports found */
27416  /***/ (function(module, exports, __webpack_require__) {
27417  
27418  "use strict";
27419  
27420  
27421  Object.defineProperty(exports, "__esModule", {
27422    value: true
27423  });
27424  exports.ChromePointer = undefined;
27425  
27426  var _react = __webpack_require__(/*! react */ "react");
27427  
27428  var _react2 = _interopRequireDefault(_react);
27429  
27430  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27431  
27432  var _reactcss2 = _interopRequireDefault(_reactcss);
27433  
27434  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27435  
27436  var ChromePointer = exports.ChromePointer = function ChromePointer() {
27437    var styles = (0, _reactcss2.default)({
27438      'default': {
27439        picker: {
27440          width: '12px',
27441          height: '12px',
27442          borderRadius: '6px',
27443          transform: 'translate(-6px, -1px)',
27444          backgroundColor: 'rgb(248, 248, 248)',
27445          boxShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.37)'
27446        }
27447      }
27448    });
27449  
27450    return _react2.default.createElement('div', { style: styles.picker });
27451  };
27452  
27453  exports.default = ChromePointer;
27454  
27455  /***/ }),
27456  
27457  /***/ "./node_modules/react-color/lib/components/chrome/ChromePointerCircle.js":
27458  /*!*******************************************************************************!*\
27459    !*** ./node_modules/react-color/lib/components/chrome/ChromePointerCircle.js ***!
27460    \*******************************************************************************/
27461  /*! no static exports found */
27462  /***/ (function(module, exports, __webpack_require__) {
27463  
27464  "use strict";
27465  
27466  
27467  Object.defineProperty(exports, "__esModule", {
27468    value: true
27469  });
27470  exports.ChromePointerCircle = undefined;
27471  
27472  var _react = __webpack_require__(/*! react */ "react");
27473  
27474  var _react2 = _interopRequireDefault(_react);
27475  
27476  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27477  
27478  var _reactcss2 = _interopRequireDefault(_reactcss);
27479  
27480  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27481  
27482  var ChromePointerCircle = exports.ChromePointerCircle = function ChromePointerCircle() {
27483    var styles = (0, _reactcss2.default)({
27484      'default': {
27485        picker: {
27486          width: '12px',
27487          height: '12px',
27488          borderRadius: '6px',
27489          boxShadow: 'inset 0 0 0 1px #fff',
27490          transform: 'translate(-6px, -6px)'
27491        }
27492      }
27493    });
27494  
27495    return _react2.default.createElement('div', { style: styles.picker });
27496  };
27497  
27498  exports.default = ChromePointerCircle;
27499  
27500  /***/ }),
27501  
27502  /***/ "./node_modules/react-color/lib/components/circle/Circle.js":
27503  /*!******************************************************************!*\
27504    !*** ./node_modules/react-color/lib/components/circle/Circle.js ***!
27505    \******************************************************************/
27506  /*! no static exports found */
27507  /***/ (function(module, exports, __webpack_require__) {
27508  
27509  "use strict";
27510  
27511  
27512  Object.defineProperty(exports, "__esModule", {
27513    value: true
27514  });
27515  exports.Circle = undefined;
27516  
27517  var _react = __webpack_require__(/*! react */ "react");
27518  
27519  var _react2 = _interopRequireDefault(_react);
27520  
27521  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
27522  
27523  var _propTypes2 = _interopRequireDefault(_propTypes);
27524  
27525  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27526  
27527  var _reactcss2 = _interopRequireDefault(_reactcss);
27528  
27529  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
27530  
27531  var _map2 = _interopRequireDefault(_map);
27532  
27533  var _materialColors = __webpack_require__(/*! material-colors */ "./node_modules/material-colors/dist/colors.es2015.js");
27534  
27535  var material = _interopRequireWildcard(_materialColors);
27536  
27537  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
27538  
27539  var _CircleSwatch = __webpack_require__(/*! ./CircleSwatch */ "./node_modules/react-color/lib/components/circle/CircleSwatch.js");
27540  
27541  var _CircleSwatch2 = _interopRequireDefault(_CircleSwatch);
27542  
27543  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
27544  
27545  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27546  
27547  var Circle = exports.Circle = function Circle(_ref) {
27548    var width = _ref.width,
27549        onChange = _ref.onChange,
27550        onSwatchHover = _ref.onSwatchHover,
27551        colors = _ref.colors,
27552        hex = _ref.hex,
27553        circleSize = _ref.circleSize,
27554        circleSpacing = _ref.circleSpacing,
27555        _ref$className = _ref.className,
27556        className = _ref$className === undefined ? '' : _ref$className;
27557  
27558    var styles = (0, _reactcss2.default)({
27559      'default': {
27560        card: {
27561          width: width,
27562          display: 'flex',
27563          flexWrap: 'wrap',
27564          marginRight: -circleSpacing,
27565          marginBottom: -circleSpacing
27566        }
27567      }
27568    });
27569  
27570    var handleChange = function handleChange(hexCode, e) {
27571      return onChange({ hex: hexCode, source: 'hex' }, e);
27572    };
27573  
27574    return _react2.default.createElement(
27575      'div',
27576      { style: styles.card, className: 'circle-picker ' + className },
27577      (0, _map2.default)(colors, function (c) {
27578        return _react2.default.createElement(_CircleSwatch2.default, {
27579          key: c,
27580          color: c,
27581          onClick: handleChange,
27582          onSwatchHover: onSwatchHover,
27583          active: hex === c.toLowerCase(),
27584          circleSize: circleSize,
27585          circleSpacing: circleSpacing
27586        });
27587      })
27588    );
27589  };
27590  
27591  Circle.propTypes = {
27592    width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
27593    circleSize: _propTypes2.default.number,
27594    circleSpacing: _propTypes2.default.number
27595  };
27596  
27597  Circle.defaultProps = {
27598    width: 252,
27599    circleSize: 28,
27600    circleSpacing: 14,
27601    colors: [material.red['500'], material.pink['500'], material.purple['500'], material.deepPurple['500'], material.indigo['500'], material.blue['500'], material.lightBlue['500'], material.cyan['500'], material.teal['500'], material.green['500'], material.lightGreen['500'], material.lime['500'], material.yellow['500'], material.amber['500'], material.orange['500'], material.deepOrange['500'], material.brown['500'], material.blueGrey['500']]
27602  };
27603  
27604  exports.default = (0, _common.ColorWrap)(Circle);
27605  
27606  /***/ }),
27607  
27608  /***/ "./node_modules/react-color/lib/components/circle/CircleSwatch.js":
27609  /*!************************************************************************!*\
27610    !*** ./node_modules/react-color/lib/components/circle/CircleSwatch.js ***!
27611    \************************************************************************/
27612  /*! no static exports found */
27613  /***/ (function(module, exports, __webpack_require__) {
27614  
27615  "use strict";
27616  
27617  
27618  Object.defineProperty(exports, "__esModule", {
27619    value: true
27620  });
27621  exports.CircleSwatch = undefined;
27622  
27623  var _react = __webpack_require__(/*! react */ "react");
27624  
27625  var _react2 = _interopRequireDefault(_react);
27626  
27627  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27628  
27629  var _reactcss2 = _interopRequireDefault(_reactcss);
27630  
27631  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
27632  
27633  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27634  
27635  var CircleSwatch = exports.CircleSwatch = function CircleSwatch(_ref) {
27636    var color = _ref.color,
27637        onClick = _ref.onClick,
27638        onSwatchHover = _ref.onSwatchHover,
27639        hover = _ref.hover,
27640        active = _ref.active,
27641        circleSize = _ref.circleSize,
27642        circleSpacing = _ref.circleSpacing;
27643  
27644    var styles = (0, _reactcss2.default)({
27645      'default': {
27646        swatch: {
27647          width: circleSize,
27648          height: circleSize,
27649          marginRight: circleSpacing,
27650          marginBottom: circleSpacing,
27651          transform: 'scale(1)',
27652          transition: '100ms transform ease'
27653        },
27654        Swatch: {
27655          borderRadius: '50%',
27656          background: 'transparent',
27657          boxShadow: 'inset 0 0 0 ' + circleSize / 2 + 'px ' + color,
27658          transition: '100ms box-shadow ease'
27659        }
27660      },
27661      'hover': {
27662        swatch: {
27663          transform: 'scale(1.2)'
27664        }
27665      },
27666      'active': {
27667        Swatch: {
27668          boxShadow: 'inset 0 0 0 3px ' + color
27669        }
27670      }
27671    }, { hover: hover, active: active });
27672  
27673    return _react2.default.createElement(
27674      'div',
27675      { style: styles.swatch },
27676      _react2.default.createElement(_common.Swatch, {
27677        style: styles.Swatch,
27678        color: color,
27679        onClick: onClick,
27680        onHover: onSwatchHover,
27681        focusStyle: { boxShadow: styles.Swatch.boxShadow + ', 0 0 5px ' + color }
27682      })
27683    );
27684  };
27685  
27686  CircleSwatch.defaultProps = {
27687    circleSize: 28,
27688    circleSpacing: 14
27689  };
27690  
27691  exports.default = (0, _reactcss.handleHover)(CircleSwatch);
27692  
27693  /***/ }),
27694  
27695  /***/ "./node_modules/react-color/lib/components/common/Alpha.js":
27696  /*!*****************************************************************!*\
27697    !*** ./node_modules/react-color/lib/components/common/Alpha.js ***!
27698    \*****************************************************************/
27699  /*! no static exports found */
27700  /***/ (function(module, exports, __webpack_require__) {
27701  
27702  "use strict";
27703  
27704  
27705  Object.defineProperty(exports, "__esModule", {
27706    value: true
27707  });
27708  exports.Alpha = undefined;
27709  
27710  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; };
27711  
27712  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; }; }();
27713  
27714  var _react = __webpack_require__(/*! react */ "react");
27715  
27716  var _react2 = _interopRequireDefault(_react);
27717  
27718  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27719  
27720  var _reactcss2 = _interopRequireDefault(_reactcss);
27721  
27722  var _alpha = __webpack_require__(/*! ../../helpers/alpha */ "./node_modules/react-color/lib/helpers/alpha.js");
27723  
27724  var alpha = _interopRequireWildcard(_alpha);
27725  
27726  var _Checkboard = __webpack_require__(/*! ./Checkboard */ "./node_modules/react-color/lib/components/common/Checkboard.js");
27727  
27728  var _Checkboard2 = _interopRequireDefault(_Checkboard);
27729  
27730  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
27731  
27732  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27733  
27734  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27735  
27736  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; }
27737  
27738  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; }
27739  
27740  var Alpha = exports.Alpha = function (_ref) {
27741    _inherits(Alpha, _ref);
27742  
27743    function Alpha() {
27744      var _ref2;
27745  
27746      var _temp, _this, _ret;
27747  
27748      _classCallCheck(this, Alpha);
27749  
27750      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
27751        args[_key] = arguments[_key];
27752      }
27753  
27754      return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref2 = Alpha.__proto__ || Object.getPrototypeOf(Alpha)).call.apply(_ref2, [this].concat(args))), _this), _this.handleChange = function (e, skip) {
27755        var change = alpha.calculateChange(e, skip, _this.props, _this.container);
27756        change && _this.props.onChange && _this.props.onChange(change, e);
27757      }, _this.handleMouseDown = function (e) {
27758        _this.handleChange(e, true);
27759        window.addEventListener('mousemove', _this.handleChange);
27760        window.addEventListener('mouseup', _this.handleMouseUp);
27761      }, _this.handleMouseUp = function () {
27762        _this.unbindEventListeners();
27763      }, _this.unbindEventListeners = function () {
27764        window.removeEventListener('mousemove', _this.handleChange);
27765        window.removeEventListener('mouseup', _this.handleMouseUp);
27766      }, _temp), _possibleConstructorReturn(_this, _ret);
27767    }
27768  
27769    _createClass(Alpha, [{
27770      key: 'componentWillUnmount',
27771      value: function componentWillUnmount() {
27772        this.unbindEventListeners();
27773      }
27774    }, {
27775      key: 'render',
27776      value: function render() {
27777        var _this2 = this;
27778  
27779        var rgb = this.props.rgb;
27780        var styles = (0, _reactcss2.default)({
27781          'default': {
27782            alpha: {
27783              absolute: '0px 0px 0px 0px',
27784              borderRadius: this.props.radius
27785            },
27786            checkboard: {
27787              absolute: '0px 0px 0px 0px',
27788              overflow: 'hidden',
27789              borderRadius: this.props.radius
27790            },
27791            gradient: {
27792              absolute: '0px 0px 0px 0px',
27793              background: 'linear-gradient(to right, rgba(' + rgb.r + ',' + rgb.g + ',' + rgb.b + ', 0) 0%,\n           rgba(' + rgb.r + ',' + rgb.g + ',' + rgb.b + ', 1) 100%)',
27794              boxShadow: this.props.shadow,
27795              borderRadius: this.props.radius
27796            },
27797            container: {
27798              position: 'relative',
27799              height: '100%',
27800              margin: '0 3px'
27801            },
27802            pointer: {
27803              position: 'absolute',
27804              left: rgb.a * 100 + '%'
27805            },
27806            slider: {
27807              width: '4px',
27808              borderRadius: '1px',
27809              height: '8px',
27810              boxShadow: '0 0 2px rgba(0, 0, 0, .6)',
27811              background: '#fff',
27812              marginTop: '1px',
27813              transform: 'translateX(-2px)'
27814            }
27815          },
27816          'vertical': {
27817            gradient: {
27818              background: 'linear-gradient(to bottom, rgba(' + rgb.r + ',' + rgb.g + ',' + rgb.b + ', 0) 0%,\n           rgba(' + rgb.r + ',' + rgb.g + ',' + rgb.b + ', 1) 100%)'
27819            },
27820            pointer: {
27821              left: 0,
27822              top: rgb.a * 100 + '%'
27823            }
27824          },
27825          'overwrite': _extends({}, this.props.style)
27826        }, {
27827          vertical: this.props.direction === 'vertical',
27828          overwrite: true
27829        });
27830  
27831        return _react2.default.createElement(
27832          'div',
27833          { style: styles.alpha },
27834          _react2.default.createElement(
27835            'div',
27836            { style: styles.checkboard },
27837            _react2.default.createElement(_Checkboard2.default, { renderers: this.props.renderers })
27838          ),
27839          _react2.default.createElement('div', { style: styles.gradient }),
27840          _react2.default.createElement(
27841            'div',
27842            {
27843              style: styles.container,
27844              ref: function ref(container) {
27845                return _this2.container = container;
27846              },
27847              onMouseDown: this.handleMouseDown,
27848              onTouchMove: this.handleChange,
27849              onTouchStart: this.handleChange
27850            },
27851            _react2.default.createElement(
27852              'div',
27853              { style: styles.pointer },
27854              this.props.pointer ? _react2.default.createElement(this.props.pointer, this.props) : _react2.default.createElement('div', { style: styles.slider })
27855            )
27856          )
27857        );
27858      }
27859    }]);
27860  
27861    return Alpha;
27862  }(_react.PureComponent || _react.Component);
27863  
27864  exports.default = Alpha;
27865  
27866  /***/ }),
27867  
27868  /***/ "./node_modules/react-color/lib/components/common/Checkboard.js":
27869  /*!**********************************************************************!*\
27870    !*** ./node_modules/react-color/lib/components/common/Checkboard.js ***!
27871    \**********************************************************************/
27872  /*! no static exports found */
27873  /***/ (function(module, exports, __webpack_require__) {
27874  
27875  "use strict";
27876  
27877  
27878  Object.defineProperty(exports, "__esModule", {
27879    value: true
27880  });
27881  exports.Checkboard = undefined;
27882  
27883  var _react = __webpack_require__(/*! react */ "react");
27884  
27885  var _react2 = _interopRequireDefault(_react);
27886  
27887  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
27888  
27889  var _reactcss2 = _interopRequireDefault(_reactcss);
27890  
27891  var _checkboard = __webpack_require__(/*! ../../helpers/checkboard */ "./node_modules/react-color/lib/helpers/checkboard.js");
27892  
27893  var checkboard = _interopRequireWildcard(_checkboard);
27894  
27895  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
27896  
27897  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27898  
27899  var Checkboard = exports.Checkboard = function Checkboard(_ref) {
27900    var white = _ref.white,
27901        grey = _ref.grey,
27902        size = _ref.size,
27903        renderers = _ref.renderers,
27904        borderRadius = _ref.borderRadius,
27905        boxShadow = _ref.boxShadow;
27906  
27907    var styles = (0, _reactcss2.default)({
27908      'default': {
27909        grid: {
27910          borderRadius: borderRadius,
27911          boxShadow: boxShadow,
27912          absolute: '0px 0px 0px 0px',
27913          background: 'url(' + checkboard.get(white, grey, size, renderers.canvas) + ') center left'
27914        }
27915      }
27916    });
27917  
27918    return _react2.default.createElement('div', { style: styles.grid });
27919  };
27920  
27921  Checkboard.defaultProps = {
27922    size: 8,
27923    white: 'transparent',
27924    grey: 'rgba(0,0,0,.08)',
27925    renderers: {}
27926  };
27927  
27928  exports.default = Checkboard;
27929  
27930  /***/ }),
27931  
27932  /***/ "./node_modules/react-color/lib/components/common/ColorWrap.js":
27933  /*!*********************************************************************!*\
27934    !*** ./node_modules/react-color/lib/components/common/ColorWrap.js ***!
27935    \*********************************************************************/
27936  /*! no static exports found */
27937  /***/ (function(module, exports, __webpack_require__) {
27938  
27939  "use strict";
27940  
27941  
27942  Object.defineProperty(exports, "__esModule", {
27943    value: true
27944  });
27945  exports.ColorWrap = undefined;
27946  
27947  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; };
27948  
27949  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; }; }();
27950  
27951  var _react = __webpack_require__(/*! react */ "react");
27952  
27953  var _react2 = _interopRequireDefault(_react);
27954  
27955  var _debounce = __webpack_require__(/*! lodash/debounce */ "./node_modules/lodash/debounce.js");
27956  
27957  var _debounce2 = _interopRequireDefault(_debounce);
27958  
27959  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
27960  
27961  var _color2 = _interopRequireDefault(_color);
27962  
27963  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27964  
27965  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
27966  
27967  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; }
27968  
27969  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; }
27970  
27971  var ColorWrap = exports.ColorWrap = function ColorWrap(Picker) {
27972    var ColorPicker = function (_ref) {
27973      _inherits(ColorPicker, _ref);
27974  
27975      function ColorPicker(props) {
27976        _classCallCheck(this, ColorPicker);
27977  
27978        var _this = _possibleConstructorReturn(this, (ColorPicker.__proto__ || Object.getPrototypeOf(ColorPicker)).call(this));
27979  
27980        _this.handleChange = function (data, event) {
27981          var isValidColor = _color2.default.simpleCheckForValidColor(data);
27982          if (isValidColor) {
27983            var colors = _color2.default.toState(data, data.h || _this.state.oldHue);
27984            _this.setState(colors);
27985            _this.props.onChangeComplete && _this.debounce(_this.props.onChangeComplete, colors, event);
27986            _this.props.onChange && _this.props.onChange(colors, event);
27987          }
27988        };
27989  
27990        _this.handleSwatchHover = function (data, event) {
27991          var isValidColor = _color2.default.simpleCheckForValidColor(data);
27992          if (isValidColor) {
27993            var colors = _color2.default.toState(data, data.h || _this.state.oldHue);
27994            _this.setState(colors);
27995            _this.props.onSwatchHover && _this.props.onSwatchHover(colors, event);
27996          }
27997        };
27998  
27999        _this.state = _extends({}, _color2.default.toState(props.color, 0));
28000  
28001        _this.debounce = (0, _debounce2.default)(function (fn, data, event) {
28002          fn(data, event);
28003        }, 100);
28004        return _this;
28005      }
28006  
28007      _createClass(ColorPicker, [{
28008        key: 'componentWillReceiveProps',
28009        value: function componentWillReceiveProps(nextProps) {
28010          this.setState(_extends({}, _color2.default.toState(nextProps.color, this.state.oldHue)));
28011        }
28012      }, {
28013        key: 'render',
28014        value: function render() {
28015          var optionalEvents = {};
28016          if (this.props.onSwatchHover) {
28017            optionalEvents.onSwatchHover = this.handleSwatchHover;
28018          }
28019  
28020          return _react2.default.createElement(Picker, _extends({}, this.props, this.state, {
28021            onChange: this.handleChange
28022          }, optionalEvents));
28023        }
28024      }]);
28025  
28026      return ColorPicker;
28027    }(_react.PureComponent || _react.Component);
28028  
28029    ColorPicker.propTypes = _extends({}, Picker.propTypes);
28030  
28031    ColorPicker.defaultProps = _extends({}, Picker.defaultProps, {
28032      color: {
28033        h: 250,
28034        s: 0.50,
28035        l: 0.20,
28036        a: 1
28037      }
28038    });
28039  
28040    return ColorPicker;
28041  };
28042  
28043  exports.default = ColorWrap;
28044  
28045  /***/ }),
28046  
28047  /***/ "./node_modules/react-color/lib/components/common/EditableInput.js":
28048  /*!*************************************************************************!*\
28049    !*** ./node_modules/react-color/lib/components/common/EditableInput.js ***!
28050    \*************************************************************************/
28051  /*! no static exports found */
28052  /***/ (function(module, exports, __webpack_require__) {
28053  
28054  "use strict";
28055  
28056  
28057  Object.defineProperty(exports, "__esModule", {
28058    value: true
28059  });
28060  exports.EditableInput = undefined;
28061  
28062  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; }; }();
28063  
28064  var _react = __webpack_require__(/*! react */ "react");
28065  
28066  var _react2 = _interopRequireDefault(_react);
28067  
28068  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
28069  
28070  var _reactcss2 = _interopRequireDefault(_reactcss);
28071  
28072  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28073  
28074  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; }
28075  
28076  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
28077  
28078  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; }
28079  
28080  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; }
28081  
28082  var EditableInput = exports.EditableInput = function (_ref) {
28083    _inherits(EditableInput, _ref);
28084  
28085    function EditableInput(props) {
28086      _classCallCheck(this, EditableInput);
28087  
28088      var _this = _possibleConstructorReturn(this, (EditableInput.__proto__ || Object.getPrototypeOf(EditableInput)).call(this));
28089  
28090      _this.handleBlur = function () {
28091        if (_this.state.blurValue) {
28092          _this.setState({ value: _this.state.blurValue, blurValue: null });
28093        }
28094      };
28095  
28096      _this.handleChange = function (e) {
28097        if (_this.props.label) {
28098          _this.props.onChange && _this.props.onChange(_defineProperty({}, _this.props.label, e.target.value), e);
28099        } else {
28100          _this.props.onChange && _this.props.onChange(e.target.value, e);
28101        }
28102  
28103        _this.setState({ value: e.target.value });
28104      };
28105  
28106      _this.handleKeyDown = function (e) {
28107        // In case `e.target.value` is a percentage remove the `%` character
28108        // and update accordingly with a percentage
28109        // https://github.com/casesandberg/react-color/issues/383
28110        var stringValue = String(e.target.value);
28111        var isPercentage = stringValue.indexOf('%') > -1;
28112        var number = Number(stringValue.replace(/%/g, ''));
28113        if (!isNaN(number)) {
28114          var amount = _this.props.arrowOffset || 1;
28115  
28116          // Up
28117          if (e.keyCode === 38) {
28118            if (_this.props.label !== null) {
28119              _this.props.onChange && _this.props.onChange(_defineProperty({}, _this.props.label, number + amount), e);
28120            } else {
28121              _this.props.onChange && _this.props.onChange(number + amount, e);
28122            }
28123  
28124            if (isPercentage) {
28125              _this.setState({ value: number + amount + '%' });
28126            } else {
28127              _this.setState({ value: number + amount });
28128            }
28129          }
28130  
28131          // Down
28132          if (e.keyCode === 40) {
28133            if (_this.props.label !== null) {
28134              _this.props.onChange && _this.props.onChange(_defineProperty({}, _this.props.label, number - amount), e);
28135            } else {
28136              _this.props.onChange && _this.props.onChange(number - amount, e);
28137            }
28138  
28139            if (isPercentage) {
28140              _this.setState({ value: number - amount + '%' });
28141            } else {
28142              _this.setState({ value: number - amount });
28143            }
28144          }
28145        }
28146      };
28147  
28148      _this.handleDrag = function (e) {
28149        if (_this.props.dragLabel) {
28150          var newValue = Math.round(_this.props.value + e.movementX);
28151          if (newValue >= 0 && newValue <= _this.props.dragMax) {
28152            _this.props.onChange && _this.props.onChange(_defineProperty({}, _this.props.label, newValue), e);
28153          }
28154        }
28155      };
28156  
28157      _this.handleMouseDown = function (e) {
28158        if (_this.props.dragLabel) {
28159          e.preventDefault();
28160          _this.handleDrag(e);
28161          window.addEventListener('mousemove', _this.handleDrag);
28162          window.addEventListener('mouseup', _this.handleMouseUp);
28163        }
28164      };
28165  
28166      _this.handleMouseUp = function () {
28167        _this.unbindEventListeners();
28168      };
28169  
28170      _this.unbindEventListeners = function () {
28171        window.removeEventListener('mousemove', _this.handleDrag);
28172        window.removeEventListener('mouseup', _this.handleMouseUp);
28173      };
28174  
28175      _this.state = {
28176        value: String(props.value).toUpperCase(),
28177        blurValue: String(props.value).toUpperCase()
28178      };
28179      return _this;
28180    }
28181  
28182    _createClass(EditableInput, [{
28183      key: 'componentWillReceiveProps',
28184      value: function componentWillReceiveProps(nextProps) {
28185        var input = this.input;
28186        if (nextProps.value !== this.state.value) {
28187          if (input === document.activeElement) {
28188            this.setState({ blurValue: String(nextProps.value).toUpperCase() });
28189          } else {
28190            this.setState({ value: String(nextProps.value).toUpperCase(), blurValue: !this.state.blurValue && String(nextProps.value).toUpperCase() });
28191          }
28192        }
28193      }
28194    }, {
28195      key: 'componentWillUnmount',
28196      value: function componentWillUnmount() {
28197        this.unbindEventListeners();
28198      }
28199    }, {
28200      key: 'render',
28201      value: function render() {
28202        var _this2 = this;
28203  
28204        var styles = (0, _reactcss2.default)({
28205          'default': {
28206            wrap: {
28207              position: 'relative'
28208            }
28209          },
28210          'user-override': {
28211            wrap: this.props.style && this.props.style.wrap ? this.props.style.wrap : {},
28212            input: this.props.style && this.props.style.input ? this.props.style.input : {},
28213            label: this.props.style && this.props.style.label ? this.props.style.label : {}
28214          },
28215          'dragLabel-true': {
28216            label: {
28217              cursor: 'ew-resize'
28218            }
28219          }
28220        }, {
28221          'user-override': true
28222        }, this.props);
28223  
28224        return _react2.default.createElement(
28225          'div',
28226          { style: styles.wrap },
28227          _react2.default.createElement('input', {
28228            style: styles.input,
28229            ref: function ref(input) {
28230              return _this2.input = input;
28231            },
28232            value: this.state.value,
28233            onKeyDown: this.handleKeyDown,
28234            onChange: this.handleChange,
28235            onBlur: this.handleBlur,
28236            placeholder: this.props.placeholder,
28237            spellCheck: 'false'
28238          }),
28239          this.props.label && !this.props.hideLabel ? _react2.default.createElement(
28240            'span',
28241            { style: styles.label, onMouseDown: this.handleMouseDown },
28242            this.props.label
28243          ) : null
28244        );
28245      }
28246    }]);
28247  
28248    return EditableInput;
28249  }(_react.PureComponent || _react.Component);
28250  
28251  exports.default = EditableInput;
28252  
28253  /***/ }),
28254  
28255  /***/ "./node_modules/react-color/lib/components/common/Hue.js":
28256  /*!***************************************************************!*\
28257    !*** ./node_modules/react-color/lib/components/common/Hue.js ***!
28258    \***************************************************************/
28259  /*! no static exports found */
28260  /***/ (function(module, exports, __webpack_require__) {
28261  
28262  "use strict";
28263  
28264  
28265  Object.defineProperty(exports, "__esModule", {
28266    value: true
28267  });
28268  exports.Hue = undefined;
28269  
28270  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; }; }();
28271  
28272  var _react = __webpack_require__(/*! react */ "react");
28273  
28274  var _react2 = _interopRequireDefault(_react);
28275  
28276  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
28277  
28278  var _reactcss2 = _interopRequireDefault(_reactcss);
28279  
28280  var _hue = __webpack_require__(/*! ../../helpers/hue */ "./node_modules/react-color/lib/helpers/hue.js");
28281  
28282  var hue = _interopRequireWildcard(_hue);
28283  
28284  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
28285  
28286  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28287  
28288  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
28289  
28290  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; }
28291  
28292  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; }
28293  
28294  var Hue = exports.Hue = function (_ref) {
28295    _inherits(Hue, _ref);
28296  
28297    function Hue() {
28298      var _ref2;
28299  
28300      var _temp, _this, _ret;
28301  
28302      _classCallCheck(this, Hue);
28303  
28304      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
28305        args[_key] = arguments[_key];
28306      }
28307  
28308      return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref2 = Hue.__proto__ || Object.getPrototypeOf(Hue)).call.apply(_ref2, [this].concat(args))), _this), _this.handleChange = function (e, skip) {
28309        var change = hue.calculateChange(e, skip, _this.props, _this.container);
28310        change && _this.props.onChange && _this.props.onChange(change, e);
28311      }, _this.handleMouseDown = function (e) {
28312        _this.handleChange(e, true);
28313        window.addEventListener('mousemove', _this.handleChange);
28314        window.addEventListener('mouseup', _this.handleMouseUp);
28315      }, _this.handleMouseUp = function () {
28316        _this.unbindEventListeners();
28317      }, _temp), _possibleConstructorReturn(_this, _ret);
28318    }
28319  
28320    _createClass(Hue, [{
28321      key: 'componentWillUnmount',
28322      value: function componentWillUnmount() {
28323        this.unbindEventListeners();
28324      }
28325    }, {
28326      key: 'unbindEventListeners',
28327      value: function unbindEventListeners() {
28328        window.removeEventListener('mousemove', this.handleChange);
28329        window.removeEventListener('mouseup', this.handleMouseUp);
28330      }
28331    }, {
28332      key: 'render',
28333      value: function render() {
28334        var _this2 = this;
28335  
28336        var _props$direction = this.props.direction,
28337            direction = _props$direction === undefined ? 'horizontal' : _props$direction;
28338  
28339  
28340        var styles = (0, _reactcss2.default)({
28341          'default': {
28342            hue: {
28343              absolute: '0px 0px 0px 0px',
28344              borderRadius: this.props.radius,
28345              boxShadow: this.props.shadow
28346            },
28347            container: {
28348              padding: '0 2px',
28349              position: 'relative',
28350              height: '100%',
28351              borderRadius: this.props.radius
28352            },
28353            pointer: {
28354              position: 'absolute',
28355              left: this.props.hsl.h * 100 / 360 + '%'
28356            },
28357            slider: {
28358              marginTop: '1px',
28359              width: '4px',
28360              borderRadius: '1px',
28361              height: '8px',
28362              boxShadow: '0 0 2px rgba(0, 0, 0, .6)',
28363              background: '#fff',
28364              transform: 'translateX(-2px)'
28365            }
28366          },
28367          'vertical': {
28368            pointer: {
28369              left: '0px',
28370              top: -(this.props.hsl.h * 100 / 360) + 100 + '%'
28371            }
28372          }
28373        }, { vertical: direction === 'vertical' });
28374  
28375        return _react2.default.createElement(
28376          'div',
28377          { style: styles.hue },
28378          _react2.default.createElement(
28379            'div',
28380            {
28381              className: 'hue-' + direction,
28382              style: styles.container,
28383              ref: function ref(container) {
28384                return _this2.container = container;
28385              },
28386              onMouseDown: this.handleMouseDown,
28387              onTouchMove: this.handleChange,
28388              onTouchStart: this.handleChange
28389            },
28390            _react2.default.createElement(
28391              'style',
28392              null,
28393              '\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          '
28394            ),
28395            _react2.default.createElement(
28396              'div',
28397              { style: styles.pointer },
28398              this.props.pointer ? _react2.default.createElement(this.props.pointer, this.props) : _react2.default.createElement('div', { style: styles.slider })
28399            )
28400          )
28401        );
28402      }
28403    }]);
28404  
28405    return Hue;
28406  }(_react.PureComponent || _react.Component);
28407  
28408  exports.default = Hue;
28409  
28410  /***/ }),
28411  
28412  /***/ "./node_modules/react-color/lib/components/common/Raised.js":
28413  /*!******************************************************************!*\
28414    !*** ./node_modules/react-color/lib/components/common/Raised.js ***!
28415    \******************************************************************/
28416  /*! no static exports found */
28417  /***/ (function(module, exports, __webpack_require__) {
28418  
28419  "use strict";
28420  
28421  
28422  Object.defineProperty(exports, "__esModule", {
28423    value: true
28424  });
28425  exports.Raised = undefined;
28426  
28427  var _react = __webpack_require__(/*! react */ "react");
28428  
28429  var _react2 = _interopRequireDefault(_react);
28430  
28431  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
28432  
28433  var _propTypes2 = _interopRequireDefault(_propTypes);
28434  
28435  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
28436  
28437  var _reactcss2 = _interopRequireDefault(_reactcss);
28438  
28439  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28440  
28441  var Raised = exports.Raised = function Raised(_ref) {
28442    var zDepth = _ref.zDepth,
28443        radius = _ref.radius,
28444        background = _ref.background,
28445        children = _ref.children;
28446  
28447    var styles = (0, _reactcss2.default)({
28448      'default': {
28449        wrap: {
28450          position: 'relative',
28451          display: 'inline-block'
28452        },
28453        content: {
28454          position: 'relative'
28455        },
28456        bg: {
28457          absolute: '0px 0px 0px 0px',
28458          boxShadow: '0 ' + zDepth + 'px ' + zDepth * 4 + 'px rgba(0,0,0,.24)',
28459          borderRadius: radius,
28460          background: background
28461        }
28462      },
28463      'zDepth-0': {
28464        bg: {
28465          boxShadow: 'none'
28466        }
28467      },
28468  
28469      'zDepth-1': {
28470        bg: {
28471          boxShadow: '0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)'
28472        }
28473      },
28474      'zDepth-2': {
28475        bg: {
28476          boxShadow: '0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)'
28477        }
28478      },
28479      'zDepth-3': {
28480        bg: {
28481          boxShadow: '0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)'
28482        }
28483      },
28484      'zDepth-4': {
28485        bg: {
28486          boxShadow: '0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)'
28487        }
28488      },
28489      'zDepth-5': {
28490        bg: {
28491          boxShadow: '0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)'
28492        }
28493      },
28494      'square': {
28495        bg: {
28496          borderRadius: '0'
28497        }
28498      },
28499      'circle': {
28500        bg: {
28501          borderRadius: '50%'
28502        }
28503      }
28504    }, { 'zDepth-1': zDepth === 1 });
28505  
28506    return _react2.default.createElement(
28507      'div',
28508      { style: styles.wrap },
28509      _react2.default.createElement('div', { style: styles.bg }),
28510      _react2.default.createElement(
28511        'div',
28512        { style: styles.content },
28513        children
28514      )
28515    );
28516  };
28517  
28518  Raised.propTypes = {
28519    background: _propTypes2.default.string,
28520    zDepth: _propTypes2.default.oneOf([0, 1, 2, 3, 4, 5]),
28521    radius: _propTypes2.default.number
28522  };
28523  
28524  Raised.defaultProps = {
28525    background: '#fff',
28526    zDepth: 1,
28527    radius: 2
28528  };
28529  
28530  exports.default = Raised;
28531  
28532  /***/ }),
28533  
28534  /***/ "./node_modules/react-color/lib/components/common/Saturation.js":
28535  /*!**********************************************************************!*\
28536    !*** ./node_modules/react-color/lib/components/common/Saturation.js ***!
28537    \**********************************************************************/
28538  /*! no static exports found */
28539  /***/ (function(module, exports, __webpack_require__) {
28540  
28541  "use strict";
28542  
28543  
28544  Object.defineProperty(exports, "__esModule", {
28545    value: true
28546  });
28547  exports.Saturation = undefined;
28548  
28549  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; }; }();
28550  
28551  var _react = __webpack_require__(/*! react */ "react");
28552  
28553  var _react2 = _interopRequireDefault(_react);
28554  
28555  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
28556  
28557  var _reactcss2 = _interopRequireDefault(_reactcss);
28558  
28559  var _throttle = __webpack_require__(/*! lodash/throttle */ "./node_modules/lodash/throttle.js");
28560  
28561  var _throttle2 = _interopRequireDefault(_throttle);
28562  
28563  var _saturation = __webpack_require__(/*! ../../helpers/saturation */ "./node_modules/react-color/lib/helpers/saturation.js");
28564  
28565  var saturation = _interopRequireWildcard(_saturation);
28566  
28567  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
28568  
28569  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28570  
28571  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
28572  
28573  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; }
28574  
28575  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; }
28576  
28577  var Saturation = exports.Saturation = function (_ref) {
28578    _inherits(Saturation, _ref);
28579  
28580    function Saturation(props) {
28581      _classCallCheck(this, Saturation);
28582  
28583      var _this = _possibleConstructorReturn(this, (Saturation.__proto__ || Object.getPrototypeOf(Saturation)).call(this, props));
28584  
28585      _this.handleChange = function (e, skip) {
28586        _this.props.onChange && _this.throttle(_this.props.onChange, saturation.calculateChange(e, skip, _this.props, _this.container), e);
28587      };
28588  
28589      _this.handleMouseDown = function (e) {
28590        _this.handleChange(e, true);
28591        window.addEventListener('mousemove', _this.handleChange);
28592        window.addEventListener('mouseup', _this.handleMouseUp);
28593      };
28594  
28595      _this.handleMouseUp = function () {
28596        _this.unbindEventListeners();
28597      };
28598  
28599      _this.throttle = (0, _throttle2.default)(function (fn, data, e) {
28600        fn(data, e);
28601      }, 50);
28602      return _this;
28603    }
28604  
28605    _createClass(Saturation, [{
28606      key: 'componentWillUnmount',
28607      value: function componentWillUnmount() {
28608        this.unbindEventListeners();
28609      }
28610    }, {
28611      key: 'unbindEventListeners',
28612      value: function unbindEventListeners() {
28613        window.removeEventListener('mousemove', this.handleChange);
28614        window.removeEventListener('mouseup', this.handleMouseUp);
28615      }
28616    }, {
28617      key: 'render',
28618      value: function render() {
28619        var _this2 = this;
28620  
28621        var _ref2 = this.props.style || {},
28622            color = _ref2.color,
28623            white = _ref2.white,
28624            black = _ref2.black,
28625            pointer = _ref2.pointer,
28626            circle = _ref2.circle;
28627  
28628        var styles = (0, _reactcss2.default)({
28629          'default': {
28630            color: {
28631              absolute: '0px 0px 0px 0px',
28632              background: 'hsl(' + this.props.hsl.h + ',100%, 50%)',
28633              borderRadius: this.props.radius
28634            },
28635            white: {
28636              absolute: '0px 0px 0px 0px',
28637              borderRadius: this.props.radius
28638            },
28639            black: {
28640              absolute: '0px 0px 0px 0px',
28641              boxShadow: this.props.shadow,
28642              borderRadius: this.props.radius
28643            },
28644            pointer: {
28645              position: 'absolute',
28646              top: -(this.props.hsv.v * 100) + 100 + '%',
28647              left: this.props.hsv.s * 100 + '%',
28648              cursor: 'default'
28649            },
28650            circle: {
28651              width: '4px',
28652              height: '4px',
28653              boxShadow: '0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)',
28654              borderRadius: '50%',
28655              cursor: 'hand',
28656              transform: 'translate(-2px, -2px)'
28657            }
28658          },
28659          'custom': {
28660            color: color,
28661            white: white,
28662            black: black,
28663            pointer: pointer,
28664            circle: circle
28665          }
28666        }, { 'custom': !!this.props.style });
28667  
28668        return _react2.default.createElement(
28669          'div',
28670          {
28671            style: styles.color,
28672            ref: function ref(container) {
28673              return _this2.container = container;
28674            },
28675            onMouseDown: this.handleMouseDown,
28676            onTouchMove: this.handleChange,
28677            onTouchStart: this.handleChange
28678          },
28679          _react2.default.createElement(
28680            'style',
28681            null,
28682            '\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        '
28683          ),
28684          _react2.default.createElement(
28685            'div',
28686            { style: styles.white, className: 'saturation-white' },
28687            _react2.default.createElement('div', { style: styles.black, className: 'saturation-black' }),
28688            _react2.default.createElement(
28689              'div',
28690              { style: styles.pointer },
28691              this.props.pointer ? _react2.default.createElement(this.props.pointer, this.props) : _react2.default.createElement('div', { style: styles.circle })
28692            )
28693          )
28694        );
28695      }
28696    }]);
28697  
28698    return Saturation;
28699  }(_react.PureComponent || _react.Component);
28700  
28701  exports.default = Saturation;
28702  
28703  /***/ }),
28704  
28705  /***/ "./node_modules/react-color/lib/components/common/Swatch.js":
28706  /*!******************************************************************!*\
28707    !*** ./node_modules/react-color/lib/components/common/Swatch.js ***!
28708    \******************************************************************/
28709  /*! no static exports found */
28710  /***/ (function(module, exports, __webpack_require__) {
28711  
28712  "use strict";
28713  
28714  
28715  Object.defineProperty(exports, "__esModule", {
28716    value: true
28717  });
28718  exports.Swatch = undefined;
28719  
28720  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; };
28721  
28722  var _react = __webpack_require__(/*! react */ "react");
28723  
28724  var _react2 = _interopRequireDefault(_react);
28725  
28726  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
28727  
28728  var _reactcss2 = _interopRequireDefault(_reactcss);
28729  
28730  var _interaction = __webpack_require__(/*! ../../helpers/interaction */ "./node_modules/react-color/lib/helpers/interaction.js");
28731  
28732  var _ = __webpack_require__(/*! ./ */ "./node_modules/react-color/lib/components/common/index.js");
28733  
28734  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28735  
28736  var ENTER = 13;
28737  
28738  var Swatch = exports.Swatch = function Swatch(_ref) {
28739    var color = _ref.color,
28740        style = _ref.style,
28741        _ref$onClick = _ref.onClick,
28742        onClick = _ref$onClick === undefined ? function () {} : _ref$onClick,
28743        onHover = _ref.onHover,
28744        _ref$title = _ref.title,
28745        title = _ref$title === undefined ? color : _ref$title,
28746        children = _ref.children,
28747        focus = _ref.focus,
28748        _ref$focusStyle = _ref.focusStyle,
28749        focusStyle = _ref$focusStyle === undefined ? {} : _ref$focusStyle;
28750  
28751    var transparent = color === 'transparent';
28752    var styles = (0, _reactcss2.default)({
28753      default: {
28754        swatch: _extends({
28755          background: color,
28756          height: '100%',
28757          width: '100%',
28758          cursor: 'pointer',
28759          position: 'relative',
28760          outline: 'none'
28761        }, style, focus ? focusStyle : {})
28762      }
28763    });
28764  
28765    var handleClick = function handleClick(e) {
28766      return onClick(color, e);
28767    };
28768    var handleKeyDown = function handleKeyDown(e) {
28769      return e.keyCode === ENTER && onClick(color, e);
28770    };
28771    var handleHover = function handleHover(e) {
28772      return onHover(color, e);
28773    };
28774  
28775    var optionalEvents = {};
28776    if (onHover) {
28777      optionalEvents.onMouseOver = handleHover;
28778    }
28779  
28780    return _react2.default.createElement(
28781      'div',
28782      _extends({
28783        style: styles.swatch,
28784        onClick: handleClick,
28785        title: title,
28786        tabIndex: 0,
28787        onKeyDown: handleKeyDown
28788      }, optionalEvents),
28789      children,
28790      transparent && _react2.default.createElement(_.Checkboard, {
28791        borderRadius: styles.swatch.borderRadius,
28792        boxShadow: 'inset 0 0 0 1px rgba(0,0,0,0.1)'
28793      })
28794    );
28795  };
28796  
28797  exports.default = (0, _interaction.handleFocus)(Swatch);
28798  
28799  /***/ }),
28800  
28801  /***/ "./node_modules/react-color/lib/components/common/index.js":
28802  /*!*****************************************************************!*\
28803    !*** ./node_modules/react-color/lib/components/common/index.js ***!
28804    \*****************************************************************/
28805  /*! no static exports found */
28806  /***/ (function(module, exports, __webpack_require__) {
28807  
28808  "use strict";
28809  
28810  
28811  Object.defineProperty(exports, "__esModule", {
28812    value: true
28813  });
28814  
28815  var _Alpha = __webpack_require__(/*! ./Alpha */ "./node_modules/react-color/lib/components/common/Alpha.js");
28816  
28817  Object.defineProperty(exports, 'Alpha', {
28818    enumerable: true,
28819    get: function get() {
28820      return _interopRequireDefault(_Alpha).default;
28821    }
28822  });
28823  
28824  var _Checkboard = __webpack_require__(/*! ./Checkboard */ "./node_modules/react-color/lib/components/common/Checkboard.js");
28825  
28826  Object.defineProperty(exports, 'Checkboard', {
28827    enumerable: true,
28828    get: function get() {
28829      return _interopRequireDefault(_Checkboard).default;
28830    }
28831  });
28832  
28833  var _EditableInput = __webpack_require__(/*! ./EditableInput */ "./node_modules/react-color/lib/components/common/EditableInput.js");
28834  
28835  Object.defineProperty(exports, 'EditableInput', {
28836    enumerable: true,
28837    get: function get() {
28838      return _interopRequireDefault(_EditableInput).default;
28839    }
28840  });
28841  
28842  var _Hue = __webpack_require__(/*! ./Hue */ "./node_modules/react-color/lib/components/common/Hue.js");
28843  
28844  Object.defineProperty(exports, 'Hue', {
28845    enumerable: true,
28846    get: function get() {
28847      return _interopRequireDefault(_Hue).default;
28848    }
28849  });
28850  
28851  var _Raised = __webpack_require__(/*! ./Raised */ "./node_modules/react-color/lib/components/common/Raised.js");
28852  
28853  Object.defineProperty(exports, 'Raised', {
28854    enumerable: true,
28855    get: function get() {
28856      return _interopRequireDefault(_Raised).default;
28857    }
28858  });
28859  
28860  var _Saturation = __webpack_require__(/*! ./Saturation */ "./node_modules/react-color/lib/components/common/Saturation.js");
28861  
28862  Object.defineProperty(exports, 'Saturation', {
28863    enumerable: true,
28864    get: function get() {
28865      return _interopRequireDefault(_Saturation).default;
28866    }
28867  });
28868  
28869  var _ColorWrap = __webpack_require__(/*! ./ColorWrap */ "./node_modules/react-color/lib/components/common/ColorWrap.js");
28870  
28871  Object.defineProperty(exports, 'ColorWrap', {
28872    enumerable: true,
28873    get: function get() {
28874      return _interopRequireDefault(_ColorWrap).default;
28875    }
28876  });
28877  
28878  var _Swatch = __webpack_require__(/*! ./Swatch */ "./node_modules/react-color/lib/components/common/Swatch.js");
28879  
28880  Object.defineProperty(exports, 'Swatch', {
28881    enumerable: true,
28882    get: function get() {
28883      return _interopRequireDefault(_Swatch).default;
28884    }
28885  });
28886  
28887  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28888  
28889  /***/ }),
28890  
28891  /***/ "./node_modules/react-color/lib/components/compact/Compact.js":
28892  /*!********************************************************************!*\
28893    !*** ./node_modules/react-color/lib/components/compact/Compact.js ***!
28894    \********************************************************************/
28895  /*! no static exports found */
28896  /***/ (function(module, exports, __webpack_require__) {
28897  
28898  "use strict";
28899  
28900  
28901  Object.defineProperty(exports, "__esModule", {
28902    value: true
28903  });
28904  exports.Compact = undefined;
28905  
28906  var _react = __webpack_require__(/*! react */ "react");
28907  
28908  var _react2 = _interopRequireDefault(_react);
28909  
28910  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
28911  
28912  var _propTypes2 = _interopRequireDefault(_propTypes);
28913  
28914  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
28915  
28916  var _reactcss2 = _interopRequireDefault(_reactcss);
28917  
28918  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
28919  
28920  var _map2 = _interopRequireDefault(_map);
28921  
28922  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
28923  
28924  var _color2 = _interopRequireDefault(_color);
28925  
28926  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
28927  
28928  var _CompactColor = __webpack_require__(/*! ./CompactColor */ "./node_modules/react-color/lib/components/compact/CompactColor.js");
28929  
28930  var _CompactColor2 = _interopRequireDefault(_CompactColor);
28931  
28932  var _CompactFields = __webpack_require__(/*! ./CompactFields */ "./node_modules/react-color/lib/components/compact/CompactFields.js");
28933  
28934  var _CompactFields2 = _interopRequireDefault(_CompactFields);
28935  
28936  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28937  
28938  var Compact = exports.Compact = function Compact(_ref) {
28939    var onChange = _ref.onChange,
28940        onSwatchHover = _ref.onSwatchHover,
28941        colors = _ref.colors,
28942        hex = _ref.hex,
28943        rgb = _ref.rgb,
28944        _ref$className = _ref.className,
28945        className = _ref$className === undefined ? '' : _ref$className;
28946  
28947    var styles = (0, _reactcss2.default)({
28948      'default': {
28949        Compact: {
28950          background: '#f6f6f6',
28951          radius: '4px'
28952        },
28953        compact: {
28954          paddingTop: '5px',
28955          paddingLeft: '5px',
28956          boxSizing: 'initial',
28957          width: '240px'
28958        },
28959        clear: {
28960          clear: 'both'
28961        }
28962      }
28963    });
28964  
28965    var handleChange = function handleChange(data, e) {
28966      if (data.hex) {
28967        _color2.default.isValidHex(data.hex) && onChange({
28968          hex: data.hex,
28969          source: 'hex'
28970        }, e);
28971      } else {
28972        onChange(data, e);
28973      }
28974    };
28975  
28976    return _react2.default.createElement(
28977      _common.Raised,
28978      { style: styles.Compact },
28979      _react2.default.createElement(
28980        'div',
28981        { style: styles.compact, className: 'compact-picker ' + className },
28982        _react2.default.createElement(
28983          'div',
28984          null,
28985          (0, _map2.default)(colors, function (c) {
28986            return _react2.default.createElement(_CompactColor2.default, {
28987              key: c,
28988              color: c,
28989              active: c.toLowerCase() === hex,
28990              onClick: handleChange,
28991              onSwatchHover: onSwatchHover
28992            });
28993          }),
28994          _react2.default.createElement('div', { style: styles.clear })
28995        ),
28996        _react2.default.createElement(_CompactFields2.default, { hex: hex, rgb: rgb, onChange: handleChange })
28997      )
28998    );
28999  };
29000  
29001  Compact.propTypes = {
29002    colors: _propTypes2.default.arrayOf(_propTypes2.default.string)
29003  };
29004  
29005  Compact.defaultProps = {
29006    colors: ['#4D4D4D', '#999999', '#FFFFFF', '#F44E3B', '#FE9200', '#FCDC00', '#DBDF00', '#A4DD00', '#68CCCA', '#73D8FF', '#AEA1FF', '#FDA1FF', '#333333', '#808080', '#cccccc', '#D33115', '#E27300', '#FCC400', '#B0BC00', '#68BC00', '#16A5A5', '#009CE0', '#7B64FF', '#FA28FF', '#000000', '#666666', '#B3B3B3', '#9F0500', '#C45100', '#FB9E00', '#808900', '#194D33', '#0C797D', '#0062B1', '#653294', '#AB149E']
29007  };
29008  
29009  exports.default = (0, _common.ColorWrap)(Compact);
29010  
29011  /***/ }),
29012  
29013  /***/ "./node_modules/react-color/lib/components/compact/CompactColor.js":
29014  /*!*************************************************************************!*\
29015    !*** ./node_modules/react-color/lib/components/compact/CompactColor.js ***!
29016    \*************************************************************************/
29017  /*! no static exports found */
29018  /***/ (function(module, exports, __webpack_require__) {
29019  
29020  "use strict";
29021  
29022  
29023  Object.defineProperty(exports, "__esModule", {
29024    value: true
29025  });
29026  exports.CompactColor = undefined;
29027  
29028  var _react = __webpack_require__(/*! react */ "react");
29029  
29030  var _react2 = _interopRequireDefault(_react);
29031  
29032  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29033  
29034  var _reactcss2 = _interopRequireDefault(_reactcss);
29035  
29036  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
29037  
29038  var _color2 = _interopRequireDefault(_color);
29039  
29040  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29041  
29042  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29043  
29044  var CompactColor = exports.CompactColor = function CompactColor(_ref) {
29045    var color = _ref.color,
29046        _ref$onClick = _ref.onClick,
29047        onClick = _ref$onClick === undefined ? function () {} : _ref$onClick,
29048        onSwatchHover = _ref.onSwatchHover,
29049        active = _ref.active;
29050  
29051    var styles = (0, _reactcss2.default)({
29052      'default': {
29053        color: {
29054          background: color,
29055          width: '15px',
29056          height: '15px',
29057          float: 'left',
29058          marginRight: '5px',
29059          marginBottom: '5px',
29060          position: 'relative',
29061          cursor: 'pointer'
29062        },
29063        dot: {
29064          absolute: '5px 5px 5px 5px',
29065          background: _color2.default.getContrastingColor(color),
29066          borderRadius: '50%',
29067          opacity: '0'
29068        }
29069      },
29070      'active': {
29071        dot: {
29072          opacity: '1'
29073        }
29074      },
29075      'color-#FFFFFF': {
29076        color: {
29077          boxShadow: 'inset 0 0 0 1px #ddd'
29078        },
29079        dot: {
29080          background: '#000'
29081        }
29082      },
29083      'transparent': {
29084        dot: {
29085          background: '#000'
29086        }
29087      }
29088    }, { active: active, 'color-#FFFFFF': color === '#FFFFFF', 'transparent': color === 'transparent' });
29089  
29090    return _react2.default.createElement(
29091      _common.Swatch,
29092      {
29093        style: styles.color,
29094        color: color,
29095        onClick: onClick,
29096        onHover: onSwatchHover,
29097        focusStyle: { boxShadow: '0 0 4px ' + color }
29098      },
29099      _react2.default.createElement('div', { style: styles.dot })
29100    );
29101  };
29102  
29103  exports.default = CompactColor;
29104  
29105  /***/ }),
29106  
29107  /***/ "./node_modules/react-color/lib/components/compact/CompactFields.js":
29108  /*!**************************************************************************!*\
29109    !*** ./node_modules/react-color/lib/components/compact/CompactFields.js ***!
29110    \**************************************************************************/
29111  /*! no static exports found */
29112  /***/ (function(module, exports, __webpack_require__) {
29113  
29114  "use strict";
29115  
29116  
29117  Object.defineProperty(exports, "__esModule", {
29118    value: true
29119  });
29120  exports.CompactFields = undefined;
29121  
29122  var _react = __webpack_require__(/*! react */ "react");
29123  
29124  var _react2 = _interopRequireDefault(_react);
29125  
29126  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29127  
29128  var _reactcss2 = _interopRequireDefault(_reactcss);
29129  
29130  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29131  
29132  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29133  
29134  var CompactFields = exports.CompactFields = function CompactFields(_ref) {
29135    var hex = _ref.hex,
29136        rgb = _ref.rgb,
29137        onChange = _ref.onChange;
29138  
29139    var styles = (0, _reactcss2.default)({
29140      'default': {
29141        fields: {
29142          display: 'flex',
29143          paddingBottom: '6px',
29144          paddingRight: '5px',
29145          position: 'relative'
29146        },
29147        active: {
29148          position: 'absolute',
29149          top: '6px',
29150          left: '5px',
29151          height: '9px',
29152          width: '9px',
29153          background: hex
29154        },
29155        HEXwrap: {
29156          flex: '6',
29157          position: 'relative'
29158        },
29159        HEXinput: {
29160          width: '80%',
29161          padding: '0px',
29162          paddingLeft: '20%',
29163          border: 'none',
29164          outline: 'none',
29165          background: 'none',
29166          fontSize: '12px',
29167          color: '#333',
29168          height: '16px'
29169        },
29170        HEXlabel: {
29171          display: 'none'
29172        },
29173        RGBwrap: {
29174          flex: '3',
29175          position: 'relative'
29176        },
29177        RGBinput: {
29178          width: '70%',
29179          padding: '0px',
29180          paddingLeft: '30%',
29181          border: 'none',
29182          outline: 'none',
29183          background: 'none',
29184          fontSize: '12px',
29185          color: '#333',
29186          height: '16px'
29187        },
29188        RGBlabel: {
29189          position: 'absolute',
29190          top: '3px',
29191          left: '0px',
29192          lineHeight: '16px',
29193          textTransform: 'uppercase',
29194          fontSize: '12px',
29195          color: '#999'
29196        }
29197      }
29198    });
29199  
29200    var handleChange = function handleChange(data, e) {
29201      if (data.r || data.g || data.b) {
29202        onChange({
29203          r: data.r || rgb.r,
29204          g: data.g || rgb.g,
29205          b: data.b || rgb.b,
29206          source: 'rgb'
29207        }, e);
29208      } else {
29209        onChange({
29210          hex: data.hex,
29211          source: 'hex'
29212        }, e);
29213      }
29214    };
29215  
29216    return _react2.default.createElement(
29217      'div',
29218      { style: styles.fields, className: 'flexbox-fix' },
29219      _react2.default.createElement('div', { style: styles.active }),
29220      _react2.default.createElement(_common.EditableInput, {
29221        style: { wrap: styles.HEXwrap, input: styles.HEXinput, label: styles.HEXlabel },
29222        label: 'hex',
29223        value: hex,
29224        onChange: handleChange
29225      }),
29226      _react2.default.createElement(_common.EditableInput, {
29227        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
29228        label: 'r',
29229        value: rgb.r,
29230        onChange: handleChange
29231      }),
29232      _react2.default.createElement(_common.EditableInput, {
29233        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
29234        label: 'g',
29235        value: rgb.g,
29236        onChange: handleChange
29237      }),
29238      _react2.default.createElement(_common.EditableInput, {
29239        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
29240        label: 'b',
29241        value: rgb.b,
29242        onChange: handleChange
29243      })
29244    );
29245  };
29246  
29247  exports.default = CompactFields;
29248  
29249  /***/ }),
29250  
29251  /***/ "./node_modules/react-color/lib/components/github/Github.js":
29252  /*!******************************************************************!*\
29253    !*** ./node_modules/react-color/lib/components/github/Github.js ***!
29254    \******************************************************************/
29255  /*! no static exports found */
29256  /***/ (function(module, exports, __webpack_require__) {
29257  
29258  "use strict";
29259  
29260  
29261  Object.defineProperty(exports, "__esModule", {
29262    value: true
29263  });
29264  exports.Github = undefined;
29265  
29266  var _react = __webpack_require__(/*! react */ "react");
29267  
29268  var _react2 = _interopRequireDefault(_react);
29269  
29270  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
29271  
29272  var _propTypes2 = _interopRequireDefault(_propTypes);
29273  
29274  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29275  
29276  var _reactcss2 = _interopRequireDefault(_reactcss);
29277  
29278  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
29279  
29280  var _map2 = _interopRequireDefault(_map);
29281  
29282  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29283  
29284  var _GithubSwatch = __webpack_require__(/*! ./GithubSwatch */ "./node_modules/react-color/lib/components/github/GithubSwatch.js");
29285  
29286  var _GithubSwatch2 = _interopRequireDefault(_GithubSwatch);
29287  
29288  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29289  
29290  var Github = exports.Github = function Github(_ref) {
29291    var width = _ref.width,
29292        colors = _ref.colors,
29293        onChange = _ref.onChange,
29294        onSwatchHover = _ref.onSwatchHover,
29295        triangle = _ref.triangle,
29296        _ref$className = _ref.className,
29297        className = _ref$className === undefined ? '' : _ref$className;
29298  
29299    var styles = (0, _reactcss2.default)({
29300      'default': {
29301        card: {
29302          width: width,
29303          background: '#fff',
29304          border: '1px solid rgba(0,0,0,0.2)',
29305          boxShadow: '0 3px 12px rgba(0,0,0,0.15)',
29306          borderRadius: '4px',
29307          position: 'relative',
29308          padding: '5px',
29309          display: 'flex',
29310          flexWrap: 'wrap'
29311        },
29312        triangle: {
29313          position: 'absolute',
29314          border: '7px solid transparent',
29315          borderBottomColor: '#fff'
29316        },
29317        triangleShadow: {
29318          position: 'absolute',
29319          border: '8px solid transparent',
29320          borderBottomColor: 'rgba(0,0,0,0.15)'
29321        }
29322      },
29323      'hide-triangle': {
29324        triangle: {
29325          display: 'none'
29326        },
29327        triangleShadow: {
29328          display: 'none'
29329        }
29330      },
29331      'top-left-triangle': {
29332        triangle: {
29333          top: '-14px',
29334          left: '10px'
29335        },
29336        triangleShadow: {
29337          top: '-16px',
29338          left: '9px'
29339        }
29340      },
29341      'top-right-triangle': {
29342        triangle: {
29343          top: '-14px',
29344          right: '10px'
29345        },
29346        triangleShadow: {
29347          top: '-16px',
29348          right: '9px'
29349        }
29350      },
29351      'bottom-left-triangle': {
29352        triangle: {
29353          top: '35px',
29354          left: '10px',
29355          transform: 'rotate(180deg)'
29356        },
29357        triangleShadow: {
29358          top: '37px',
29359          left: '9px',
29360          transform: 'rotate(180deg)'
29361        }
29362      },
29363      'bottom-right-triangle': {
29364        triangle: {
29365          top: '35px',
29366          right: '10px',
29367          transform: 'rotate(180deg)'
29368        },
29369        triangleShadow: {
29370          top: '37px',
29371          right: '9px',
29372          transform: 'rotate(180deg)'
29373        }
29374      }
29375    }, {
29376      'hide-triangle': triangle === 'hide',
29377      'top-left-triangle': triangle === 'top-left',
29378      'top-right-triangle': triangle === 'top-right',
29379      'bottom-left-triangle': triangle == 'bottom-left',
29380      'bottom-right-triangle': triangle === 'bottom-right'
29381    });
29382  
29383    var handleChange = function handleChange(hex, e) {
29384      return onChange({ hex: hex, source: 'hex' }, e);
29385    };
29386  
29387    return _react2.default.createElement(
29388      'div',
29389      { style: styles.card, className: 'github-picker ' + className },
29390      _react2.default.createElement('div', { style: styles.triangleShadow }),
29391      _react2.default.createElement('div', { style: styles.triangle }),
29392      (0, _map2.default)(colors, function (c) {
29393        return _react2.default.createElement(_GithubSwatch2.default, {
29394          color: c,
29395          key: c,
29396          onClick: handleChange,
29397          onSwatchHover: onSwatchHover
29398        });
29399      })
29400    );
29401  };
29402  
29403  Github.propTypes = {
29404    width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
29405    colors: _propTypes2.default.arrayOf(_propTypes2.default.string),
29406    triangle: _propTypes2.default.oneOf(['hide', 'top-left', 'top-right', 'bottom-left', 'bottom-right'])
29407  };
29408  
29409  Github.defaultProps = {
29410    width: 200,
29411    colors: ['#B80000', '#DB3E00', '#FCCB00', '#008B02', '#006B76', '#1273DE', '#004DCF', '#5300EB', '#EB9694', '#FAD0C3', '#FEF3BD', '#C1E1C5', '#BEDADC', '#C4DEF6', '#BED3F3', '#D4C4FB'],
29412    triangle: 'top-left'
29413  };
29414  
29415  exports.default = (0, _common.ColorWrap)(Github);
29416  
29417  /***/ }),
29418  
29419  /***/ "./node_modules/react-color/lib/components/github/GithubSwatch.js":
29420  /*!************************************************************************!*\
29421    !*** ./node_modules/react-color/lib/components/github/GithubSwatch.js ***!
29422    \************************************************************************/
29423  /*! no static exports found */
29424  /***/ (function(module, exports, __webpack_require__) {
29425  
29426  "use strict";
29427  
29428  
29429  Object.defineProperty(exports, "__esModule", {
29430    value: true
29431  });
29432  exports.GithubSwatch = undefined;
29433  
29434  var _react = __webpack_require__(/*! react */ "react");
29435  
29436  var _react2 = _interopRequireDefault(_react);
29437  
29438  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29439  
29440  var _reactcss2 = _interopRequireDefault(_reactcss);
29441  
29442  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29443  
29444  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29445  
29446  var GithubSwatch = exports.GithubSwatch = function GithubSwatch(_ref) {
29447    var hover = _ref.hover,
29448        color = _ref.color,
29449        onClick = _ref.onClick,
29450        onSwatchHover = _ref.onSwatchHover;
29451  
29452    var hoverSwatch = {
29453      position: 'relative',
29454      zIndex: '2',
29455      outline: '2px solid #fff',
29456      boxShadow: '0 0 5px 2px rgba(0,0,0,0.25)'
29457    };
29458  
29459    var styles = (0, _reactcss2.default)({
29460      'default': {
29461        swatch: {
29462          width: '25px',
29463          height: '25px',
29464          fontSize: '0'
29465        }
29466      },
29467      'hover': {
29468        swatch: hoverSwatch
29469      }
29470    }, { hover: hover });
29471  
29472    return _react2.default.createElement(
29473      'div',
29474      { style: styles.swatch },
29475      _react2.default.createElement(_common.Swatch, {
29476        color: color,
29477        onClick: onClick,
29478        onHover: onSwatchHover,
29479        focusStyle: hoverSwatch
29480      })
29481    );
29482  };
29483  
29484  exports.default = (0, _reactcss.handleHover)(GithubSwatch);
29485  
29486  /***/ }),
29487  
29488  /***/ "./node_modules/react-color/lib/components/hue/Hue.js":
29489  /*!************************************************************!*\
29490    !*** ./node_modules/react-color/lib/components/hue/Hue.js ***!
29491    \************************************************************/
29492  /*! no static exports found */
29493  /***/ (function(module, exports, __webpack_require__) {
29494  
29495  "use strict";
29496  
29497  
29498  Object.defineProperty(exports, "__esModule", {
29499    value: true
29500  });
29501  exports.HuePicker = undefined;
29502  
29503  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; };
29504  
29505  var _react = __webpack_require__(/*! react */ "react");
29506  
29507  var _react2 = _interopRequireDefault(_react);
29508  
29509  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29510  
29511  var _reactcss2 = _interopRequireDefault(_reactcss);
29512  
29513  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29514  
29515  var _HuePointer = __webpack_require__(/*! ./HuePointer */ "./node_modules/react-color/lib/components/hue/HuePointer.js");
29516  
29517  var _HuePointer2 = _interopRequireDefault(_HuePointer);
29518  
29519  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29520  
29521  var HuePicker = exports.HuePicker = function HuePicker(_ref) {
29522    var width = _ref.width,
29523        height = _ref.height,
29524        onChange = _ref.onChange,
29525        hsl = _ref.hsl,
29526        direction = _ref.direction,
29527        pointer = _ref.pointer,
29528        _ref$className = _ref.className,
29529        className = _ref$className === undefined ? '' : _ref$className;
29530  
29531    var styles = (0, _reactcss2.default)({
29532      'default': {
29533        picker: {
29534          position: 'relative',
29535          width: width,
29536          height: height
29537        },
29538        hue: {
29539          radius: '2px'
29540        }
29541      }
29542    });
29543  
29544    // Overwrite to provide pure hue color
29545    var handleChange = function handleChange(data) {
29546      return onChange({ a: 1, h: data.h, l: 0.5, s: 1 });
29547    };
29548  
29549    return _react2.default.createElement(
29550      'div',
29551      { style: styles.picker, className: 'hue-picker ' + className },
29552      _react2.default.createElement(_common.Hue, _extends({}, styles.hue, {
29553        hsl: hsl,
29554        pointer: pointer,
29555        onChange: handleChange,
29556        direction: direction
29557      }))
29558    );
29559  };
29560  
29561  HuePicker.defaultProps = {
29562    width: '316px',
29563    height: '16px',
29564    direction: 'horizontal',
29565    pointer: _HuePointer2.default
29566  };
29567  
29568  exports.default = (0, _common.ColorWrap)(HuePicker);
29569  
29570  /***/ }),
29571  
29572  /***/ "./node_modules/react-color/lib/components/hue/HuePointer.js":
29573  /*!*******************************************************************!*\
29574    !*** ./node_modules/react-color/lib/components/hue/HuePointer.js ***!
29575    \*******************************************************************/
29576  /*! no static exports found */
29577  /***/ (function(module, exports, __webpack_require__) {
29578  
29579  "use strict";
29580  
29581  
29582  Object.defineProperty(exports, "__esModule", {
29583    value: true
29584  });
29585  exports.SliderPointer = undefined;
29586  
29587  var _react = __webpack_require__(/*! react */ "react");
29588  
29589  var _react2 = _interopRequireDefault(_react);
29590  
29591  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29592  
29593  var _reactcss2 = _interopRequireDefault(_reactcss);
29594  
29595  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29596  
29597  var SliderPointer = exports.SliderPointer = function SliderPointer(_ref) {
29598    var direction = _ref.direction;
29599  
29600    var styles = (0, _reactcss2.default)({
29601      'default': {
29602        picker: {
29603          width: '18px',
29604          height: '18px',
29605          borderRadius: '50%',
29606          transform: 'translate(-9px, -1px)',
29607          backgroundColor: 'rgb(248, 248, 248)',
29608          boxShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.37)'
29609        }
29610      },
29611      'vertical': {
29612        picker: {
29613          transform: 'translate(-3px, -9px)'
29614        }
29615      }
29616    }, { vertical: direction === 'vertical' });
29617  
29618    return _react2.default.createElement('div', { style: styles.picker });
29619  };
29620  
29621  exports.default = SliderPointer;
29622  
29623  /***/ }),
29624  
29625  /***/ "./node_modules/react-color/lib/components/material/Material.js":
29626  /*!**********************************************************************!*\
29627    !*** ./node_modules/react-color/lib/components/material/Material.js ***!
29628    \**********************************************************************/
29629  /*! no static exports found */
29630  /***/ (function(module, exports, __webpack_require__) {
29631  
29632  "use strict";
29633  
29634  
29635  Object.defineProperty(exports, "__esModule", {
29636    value: true
29637  });
29638  exports.Material = undefined;
29639  
29640  var _react = __webpack_require__(/*! react */ "react");
29641  
29642  var _react2 = _interopRequireDefault(_react);
29643  
29644  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29645  
29646  var _reactcss2 = _interopRequireDefault(_reactcss);
29647  
29648  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
29649  
29650  var _color2 = _interopRequireDefault(_color);
29651  
29652  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29653  
29654  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29655  
29656  var Material = exports.Material = function Material(_ref) {
29657    var onChange = _ref.onChange,
29658        hex = _ref.hex,
29659        rgb = _ref.rgb,
29660        _ref$className = _ref.className,
29661        className = _ref$className === undefined ? '' : _ref$className;
29662  
29663    var styles = (0, _reactcss2.default)({
29664      'default': {
29665        material: {
29666          width: '98px',
29667          height: '98px',
29668          padding: '16px',
29669          fontFamily: 'Roboto'
29670        },
29671        HEXwrap: {
29672          position: 'relative'
29673        },
29674        HEXinput: {
29675          width: '100%',
29676          marginTop: '12px',
29677          fontSize: '15px',
29678          color: '#333',
29679          padding: '0px',
29680          border: '0px',
29681          borderBottom: '2px solid ' + hex,
29682          outline: 'none',
29683          height: '30px'
29684        },
29685        HEXlabel: {
29686          position: 'absolute',
29687          top: '0px',
29688          left: '0px',
29689          fontSize: '11px',
29690          color: '#999999',
29691          textTransform: 'capitalize'
29692        },
29693        Hex: {
29694          style: {}
29695        },
29696        RGBwrap: {
29697          position: 'relative'
29698        },
29699        RGBinput: {
29700          width: '100%',
29701          marginTop: '12px',
29702          fontSize: '15px',
29703          color: '#333',
29704          padding: '0px',
29705          border: '0px',
29706          borderBottom: '1px solid #eee',
29707          outline: 'none',
29708          height: '30px'
29709        },
29710        RGBlabel: {
29711          position: 'absolute',
29712          top: '0px',
29713          left: '0px',
29714          fontSize: '11px',
29715          color: '#999999',
29716          textTransform: 'capitalize'
29717        },
29718        split: {
29719          display: 'flex',
29720          marginRight: '-10px',
29721          paddingTop: '11px'
29722        },
29723        third: {
29724          flex: '1',
29725          paddingRight: '10px'
29726        }
29727      }
29728    });
29729  
29730    var handleChange = function handleChange(data, e) {
29731      if (data.hex) {
29732        _color2.default.isValidHex(data.hex) && onChange({
29733          hex: data.hex,
29734          source: 'hex'
29735        }, e);
29736      } else if (data.r || data.g || data.b) {
29737        onChange({
29738          r: data.r || rgb.r,
29739          g: data.g || rgb.g,
29740          b: data.b || rgb.b,
29741          source: 'rgb'
29742        }, e);
29743      }
29744    };
29745  
29746    return _react2.default.createElement(
29747      _common.Raised,
29748      null,
29749      _react2.default.createElement(
29750        'div',
29751        { style: styles.material, className: 'material-picker ' + className },
29752        _react2.default.createElement(_common.EditableInput, {
29753          style: { wrap: styles.HEXwrap, input: styles.HEXinput, label: styles.HEXlabel },
29754          label: 'hex',
29755          value: hex,
29756          onChange: handleChange
29757        }),
29758        _react2.default.createElement(
29759          'div',
29760          { style: styles.split, className: 'flexbox-fix' },
29761          _react2.default.createElement(
29762            'div',
29763            { style: styles.third },
29764            _react2.default.createElement(_common.EditableInput, {
29765              style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
29766              label: 'r', value: rgb.r,
29767              onChange: handleChange
29768            })
29769          ),
29770          _react2.default.createElement(
29771            'div',
29772            { style: styles.third },
29773            _react2.default.createElement(_common.EditableInput, {
29774              style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
29775              label: 'g',
29776              value: rgb.g,
29777              onChange: handleChange
29778            })
29779          ),
29780          _react2.default.createElement(
29781            'div',
29782            { style: styles.third },
29783            _react2.default.createElement(_common.EditableInput, {
29784              style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
29785              label: 'b',
29786              value: rgb.b,
29787              onChange: handleChange
29788            })
29789          )
29790        )
29791      )
29792    );
29793  };
29794  
29795  exports.default = (0, _common.ColorWrap)(Material);
29796  
29797  /***/ }),
29798  
29799  /***/ "./node_modules/react-color/lib/components/photoshop/Photoshop.js":
29800  /*!************************************************************************!*\
29801    !*** ./node_modules/react-color/lib/components/photoshop/Photoshop.js ***!
29802    \************************************************************************/
29803  /*! no static exports found */
29804  /***/ (function(module, exports, __webpack_require__) {
29805  
29806  "use strict";
29807  
29808  
29809  Object.defineProperty(exports, "__esModule", {
29810    value: true
29811  });
29812  exports.Photoshop = undefined;
29813  
29814  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; }; }();
29815  
29816  var _react = __webpack_require__(/*! react */ "react");
29817  
29818  var _react2 = _interopRequireDefault(_react);
29819  
29820  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
29821  
29822  var _propTypes2 = _interopRequireDefault(_propTypes);
29823  
29824  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
29825  
29826  var _reactcss2 = _interopRequireDefault(_reactcss);
29827  
29828  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
29829  
29830  var _PhotoshopFields = __webpack_require__(/*! ./PhotoshopFields */ "./node_modules/react-color/lib/components/photoshop/PhotoshopFields.js");
29831  
29832  var _PhotoshopFields2 = _interopRequireDefault(_PhotoshopFields);
29833  
29834  var _PhotoshopPointerCircle = __webpack_require__(/*! ./PhotoshopPointerCircle */ "./node_modules/react-color/lib/components/photoshop/PhotoshopPointerCircle.js");
29835  
29836  var _PhotoshopPointerCircle2 = _interopRequireDefault(_PhotoshopPointerCircle);
29837  
29838  var _PhotoshopPointer = __webpack_require__(/*! ./PhotoshopPointer */ "./node_modules/react-color/lib/components/photoshop/PhotoshopPointer.js");
29839  
29840  var _PhotoshopPointer2 = _interopRequireDefault(_PhotoshopPointer);
29841  
29842  var _PhotoshopButton = __webpack_require__(/*! ./PhotoshopButton */ "./node_modules/react-color/lib/components/photoshop/PhotoshopButton.js");
29843  
29844  var _PhotoshopButton2 = _interopRequireDefault(_PhotoshopButton);
29845  
29846  var _PhotoshopPreviews = __webpack_require__(/*! ./PhotoshopPreviews */ "./node_modules/react-color/lib/components/photoshop/PhotoshopPreviews.js");
29847  
29848  var _PhotoshopPreviews2 = _interopRequireDefault(_PhotoshopPreviews);
29849  
29850  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29851  
29852  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
29853  
29854  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; }
29855  
29856  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; }
29857  
29858  var Photoshop = exports.Photoshop = function (_React$Component) {
29859    _inherits(Photoshop, _React$Component);
29860  
29861    function Photoshop(props) {
29862      _classCallCheck(this, Photoshop);
29863  
29864      var _this = _possibleConstructorReturn(this, (Photoshop.__proto__ || Object.getPrototypeOf(Photoshop)).call(this));
29865  
29866      _this.state = {
29867        currentColor: props.hex
29868      };
29869      return _this;
29870    }
29871  
29872    _createClass(Photoshop, [{
29873      key: 'render',
29874      value: function render() {
29875        var _props$className = this.props.className,
29876            className = _props$className === undefined ? '' : _props$className;
29877  
29878        var styles = (0, _reactcss2.default)({
29879          'default': {
29880            picker: {
29881              background: '#DCDCDC',
29882              borderRadius: '4px',
29883              boxShadow: '0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)',
29884              boxSizing: 'initial',
29885              width: '513px'
29886            },
29887            head: {
29888              backgroundImage: 'linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)',
29889              borderBottom: '1px solid #B1B1B1',
29890              boxShadow: 'inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)',
29891              height: '23px',
29892              lineHeight: '24px',
29893              borderRadius: '4px 4px 0 0',
29894              fontSize: '13px',
29895              color: '#4D4D4D',
29896              textAlign: 'center'
29897            },
29898            body: {
29899              padding: '15px 15px 0',
29900              display: 'flex'
29901            },
29902            saturation: {
29903              width: '256px',
29904              height: '256px',
29905              position: 'relative',
29906              border: '2px solid #B3B3B3',
29907              borderBottom: '2px solid #F0F0F0',
29908              overflow: 'hidden'
29909            },
29910            hue: {
29911              position: 'relative',
29912              height: '256px',
29913              width: '19px',
29914              marginLeft: '10px',
29915              border: '2px solid #B3B3B3',
29916              borderBottom: '2px solid #F0F0F0'
29917            },
29918            controls: {
29919              width: '180px',
29920              marginLeft: '10px'
29921            },
29922            top: {
29923              display: 'flex'
29924            },
29925            previews: {
29926              width: '60px'
29927            },
29928            actions: {
29929              flex: '1',
29930              marginLeft: '20px'
29931            }
29932          }
29933        });
29934  
29935        return _react2.default.createElement(
29936          'div',
29937          { style: styles.picker, className: 'photoshop-picker ' + className },
29938          _react2.default.createElement(
29939            'div',
29940            { style: styles.head },
29941            this.props.header
29942          ),
29943          _react2.default.createElement(
29944            'div',
29945            { style: styles.body, className: 'flexbox-fix' },
29946            _react2.default.createElement(
29947              'div',
29948              { style: styles.saturation },
29949              _react2.default.createElement(_common.Saturation, {
29950                hsl: this.props.hsl,
29951                hsv: this.props.hsv,
29952                pointer: _PhotoshopPointerCircle2.default,
29953                onChange: this.props.onChange
29954              })
29955            ),
29956            _react2.default.createElement(
29957              'div',
29958              { style: styles.hue },
29959              _react2.default.createElement(_common.Hue, {
29960                direction: 'vertical',
29961                hsl: this.props.hsl,
29962                pointer: _PhotoshopPointer2.default,
29963                onChange: this.props.onChange
29964              })
29965            ),
29966            _react2.default.createElement(
29967              'div',
29968              { style: styles.controls },
29969              _react2.default.createElement(
29970                'div',
29971                { style: styles.top, className: 'flexbox-fix' },
29972                _react2.default.createElement(
29973                  'div',
29974                  { style: styles.previews },
29975                  _react2.default.createElement(_PhotoshopPreviews2.default, {
29976                    rgb: this.props.rgb,
29977                    currentColor: this.state.currentColor
29978                  })
29979                ),
29980                _react2.default.createElement(
29981                  'div',
29982                  { style: styles.actions },
29983                  _react2.default.createElement(_PhotoshopButton2.default, { label: 'OK', onClick: this.props.onAccept, active: true }),
29984                  _react2.default.createElement(_PhotoshopButton2.default, { label: 'Cancel', onClick: this.props.onCancel }),
29985                  _react2.default.createElement(_PhotoshopFields2.default, {
29986                    onChange: this.props.onChange,
29987                    rgb: this.props.rgb,
29988                    hsv: this.props.hsv,
29989                    hex: this.props.hex
29990                  })
29991                )
29992              )
29993            )
29994          )
29995        );
29996      }
29997    }]);
29998  
29999    return Photoshop;
30000  }(_react2.default.Component);
30001  
30002  Photoshop.propTypes = {
30003    header: _propTypes2.default.string
30004  };
30005  
30006  Photoshop.defaultProps = {
30007    header: 'Color Picker'
30008  };
30009  
30010  exports.default = (0, _common.ColorWrap)(Photoshop);
30011  
30012  /***/ }),
30013  
30014  /***/ "./node_modules/react-color/lib/components/photoshop/PhotoshopButton.js":
30015  /*!******************************************************************************!*\
30016    !*** ./node_modules/react-color/lib/components/photoshop/PhotoshopButton.js ***!
30017    \******************************************************************************/
30018  /*! no static exports found */
30019  /***/ (function(module, exports, __webpack_require__) {
30020  
30021  "use strict";
30022  
30023  
30024  Object.defineProperty(exports, "__esModule", {
30025    value: true
30026  });
30027  exports.PhotoshopBotton = undefined;
30028  
30029  var _react = __webpack_require__(/*! react */ "react");
30030  
30031  var _react2 = _interopRequireDefault(_react);
30032  
30033  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30034  
30035  var _reactcss2 = _interopRequireDefault(_reactcss);
30036  
30037  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30038  
30039  var PhotoshopBotton = exports.PhotoshopBotton = function PhotoshopBotton(_ref) {
30040    var onClick = _ref.onClick,
30041        label = _ref.label,
30042        children = _ref.children,
30043        active = _ref.active;
30044  
30045    var styles = (0, _reactcss2.default)({
30046      'default': {
30047        button: {
30048          backgroundImage: 'linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)',
30049          border: '1px solid #878787',
30050          borderRadius: '2px',
30051          height: '20px',
30052          boxShadow: '0 1px 0 0 #EAEAEA',
30053          fontSize: '14px',
30054          color: '#000',
30055          lineHeight: '20px',
30056          textAlign: 'center',
30057          marginBottom: '10px',
30058          cursor: 'pointer'
30059        }
30060      },
30061      'active': {
30062        button: {
30063          boxShadow: '0 0 0 1px #878787'
30064        }
30065      }
30066    }, { active: active });
30067  
30068    return _react2.default.createElement(
30069      'div',
30070      { style: styles.button, onClick: onClick },
30071      label || children
30072    );
30073  };
30074  
30075  exports.default = PhotoshopBotton;
30076  
30077  /***/ }),
30078  
30079  /***/ "./node_modules/react-color/lib/components/photoshop/PhotoshopFields.js":
30080  /*!******************************************************************************!*\
30081    !*** ./node_modules/react-color/lib/components/photoshop/PhotoshopFields.js ***!
30082    \******************************************************************************/
30083  /*! no static exports found */
30084  /***/ (function(module, exports, __webpack_require__) {
30085  
30086  "use strict";
30087  
30088  
30089  Object.defineProperty(exports, "__esModule", {
30090    value: true
30091  });
30092  exports.PhotoshopPicker = undefined;
30093  
30094  var _react = __webpack_require__(/*! react */ "react");
30095  
30096  var _react2 = _interopRequireDefault(_react);
30097  
30098  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30099  
30100  var _reactcss2 = _interopRequireDefault(_reactcss);
30101  
30102  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
30103  
30104  var _color2 = _interopRequireDefault(_color);
30105  
30106  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
30107  
30108  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30109  
30110  var PhotoshopPicker = exports.PhotoshopPicker = function PhotoshopPicker(_ref) {
30111    var onChange = _ref.onChange,
30112        rgb = _ref.rgb,
30113        hsv = _ref.hsv,
30114        hex = _ref.hex;
30115  
30116    var styles = (0, _reactcss2.default)({
30117      'default': {
30118        fields: {
30119          paddingTop: '5px',
30120          paddingBottom: '9px',
30121          width: '80px',
30122          position: 'relative'
30123        },
30124        divider: {
30125          height: '5px'
30126        },
30127        RGBwrap: {
30128          position: 'relative'
30129        },
30130        RGBinput: {
30131          marginLeft: '40%',
30132          width: '40%',
30133          height: '18px',
30134          border: '1px solid #888888',
30135          boxShadow: 'inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC',
30136          marginBottom: '5px',
30137          fontSize: '13px',
30138          paddingLeft: '3px',
30139          marginRight: '10px'
30140        },
30141        RGBlabel: {
30142          left: '0px',
30143          width: '34px',
30144          textTransform: 'uppercase',
30145          fontSize: '13px',
30146          height: '18px',
30147          lineHeight: '22px',
30148          position: 'absolute'
30149        },
30150        HEXwrap: {
30151          position: 'relative'
30152        },
30153        HEXinput: {
30154          marginLeft: '20%',
30155          width: '80%',
30156          height: '18px',
30157          border: '1px solid #888888',
30158          boxShadow: 'inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC',
30159          marginBottom: '6px',
30160          fontSize: '13px',
30161          paddingLeft: '3px'
30162        },
30163        HEXlabel: {
30164          position: 'absolute',
30165          top: '0px',
30166          left: '0px',
30167          width: '14px',
30168          textTransform: 'uppercase',
30169          fontSize: '13px',
30170          height: '18px',
30171          lineHeight: '22px'
30172        },
30173        fieldSymbols: {
30174          position: 'absolute',
30175          top: '5px',
30176          right: '-7px',
30177          fontSize: '13px'
30178        },
30179        symbol: {
30180          height: '20px',
30181          lineHeight: '22px',
30182          paddingBottom: '7px'
30183        }
30184      }
30185    });
30186  
30187    var handleChange = function handleChange(data, e) {
30188      if (data['#']) {
30189        _color2.default.isValidHex(data['#']) && onChange({
30190          hex: data['#'],
30191          source: 'hex'
30192        }, e);
30193      } else if (data.r || data.g || data.b) {
30194        onChange({
30195          r: data.r || rgb.r,
30196          g: data.g || rgb.g,
30197          b: data.b || rgb.b,
30198          source: 'rgb'
30199        }, e);
30200      } else if (data.h || data.s || data.v) {
30201        onChange({
30202          h: data.h || hsv.h,
30203          s: data.s || hsv.s,
30204          v: data.v || hsv.v,
30205          source: 'hsv'
30206        }, e);
30207      }
30208    };
30209  
30210    return _react2.default.createElement(
30211      'div',
30212      { style: styles.fields },
30213      _react2.default.createElement(_common.EditableInput, {
30214        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
30215        label: 'h',
30216        value: Math.round(hsv.h),
30217        onChange: handleChange
30218      }),
30219      _react2.default.createElement(_common.EditableInput, {
30220        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
30221        label: 's',
30222        value: Math.round(hsv.s * 100),
30223        onChange: handleChange
30224      }),
30225      _react2.default.createElement(_common.EditableInput, {
30226        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
30227        label: 'v',
30228        value: Math.round(hsv.v * 100),
30229        onChange: handleChange
30230      }),
30231      _react2.default.createElement('div', { style: styles.divider }),
30232      _react2.default.createElement(_common.EditableInput, {
30233        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
30234        label: 'r',
30235        value: rgb.r,
30236        onChange: handleChange
30237      }),
30238      _react2.default.createElement(_common.EditableInput, {
30239        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
30240        label: 'g',
30241        value: rgb.g,
30242        onChange: handleChange
30243      }),
30244      _react2.default.createElement(_common.EditableInput, {
30245        style: { wrap: styles.RGBwrap, input: styles.RGBinput, label: styles.RGBlabel },
30246        label: 'b',
30247        value: rgb.b,
30248        onChange: handleChange
30249      }),
30250      _react2.default.createElement('div', { style: styles.divider }),
30251      _react2.default.createElement(_common.EditableInput, {
30252        style: { wrap: styles.HEXwrap, input: styles.HEXinput, label: styles.HEXlabel },
30253        label: '#',
30254        value: hex.replace('#', ''),
30255        onChange: handleChange
30256      }),
30257      _react2.default.createElement(
30258        'div',
30259        { style: styles.fieldSymbols },
30260        _react2.default.createElement(
30261          'div',
30262          { style: styles.symbol },
30263          '\xB0'
30264        ),
30265        _react2.default.createElement(
30266          'div',
30267          { style: styles.symbol },
30268          '%'
30269        ),
30270        _react2.default.createElement(
30271          'div',
30272          { style: styles.symbol },
30273          '%'
30274        )
30275      )
30276    );
30277  };
30278  
30279  exports.default = PhotoshopPicker;
30280  
30281  /***/ }),
30282  
30283  /***/ "./node_modules/react-color/lib/components/photoshop/PhotoshopPointer.js":
30284  /*!*******************************************************************************!*\
30285    !*** ./node_modules/react-color/lib/components/photoshop/PhotoshopPointer.js ***!
30286    \*******************************************************************************/
30287  /*! no static exports found */
30288  /***/ (function(module, exports, __webpack_require__) {
30289  
30290  "use strict";
30291  
30292  
30293  Object.defineProperty(exports, "__esModule", {
30294    value: true
30295  });
30296  exports.PhotoshopPointerCircle = undefined;
30297  
30298  var _react = __webpack_require__(/*! react */ "react");
30299  
30300  var _react2 = _interopRequireDefault(_react);
30301  
30302  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30303  
30304  var _reactcss2 = _interopRequireDefault(_reactcss);
30305  
30306  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30307  
30308  var PhotoshopPointerCircle = exports.PhotoshopPointerCircle = function PhotoshopPointerCircle() {
30309    var styles = (0, _reactcss2.default)({
30310      'default': {
30311        triangle: {
30312          width: 0,
30313          height: 0,
30314          borderStyle: 'solid',
30315          borderWidth: '4px 0 4px 6px',
30316          borderColor: 'transparent transparent transparent #fff',
30317          position: 'absolute',
30318          top: '1px',
30319          left: '1px'
30320        },
30321        triangleBorder: {
30322          width: 0,
30323          height: 0,
30324          borderStyle: 'solid',
30325          borderWidth: '5px 0 5px 8px',
30326          borderColor: 'transparent transparent transparent #555'
30327        },
30328  
30329        left: {
30330          Extend: 'triangleBorder',
30331          transform: 'translate(-13px, -4px)'
30332        },
30333        leftInside: {
30334          Extend: 'triangle',
30335          transform: 'translate(-8px, -5px)'
30336        },
30337  
30338        right: {
30339          Extend: 'triangleBorder',
30340          transform: 'translate(20px, -14px) rotate(180deg)'
30341        },
30342        rightInside: {
30343          Extend: 'triangle',
30344          transform: 'translate(-8px, -5px)'
30345        }
30346      }
30347    });
30348  
30349    return _react2.default.createElement(
30350      'div',
30351      { style: styles.pointer },
30352      _react2.default.createElement(
30353        'div',
30354        { style: styles.left },
30355        _react2.default.createElement('div', { style: styles.leftInside })
30356      ),
30357      _react2.default.createElement(
30358        'div',
30359        { style: styles.right },
30360        _react2.default.createElement('div', { style: styles.rightInside })
30361      )
30362    );
30363  };
30364  
30365  exports.default = PhotoshopPointerCircle;
30366  
30367  /***/ }),
30368  
30369  /***/ "./node_modules/react-color/lib/components/photoshop/PhotoshopPointerCircle.js":
30370  /*!*************************************************************************************!*\
30371    !*** ./node_modules/react-color/lib/components/photoshop/PhotoshopPointerCircle.js ***!
30372    \*************************************************************************************/
30373  /*! no static exports found */
30374  /***/ (function(module, exports, __webpack_require__) {
30375  
30376  "use strict";
30377  
30378  
30379  Object.defineProperty(exports, "__esModule", {
30380    value: true
30381  });
30382  exports.PhotoshopPointerCircle = undefined;
30383  
30384  var _react = __webpack_require__(/*! react */ "react");
30385  
30386  var _react2 = _interopRequireDefault(_react);
30387  
30388  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30389  
30390  var _reactcss2 = _interopRequireDefault(_reactcss);
30391  
30392  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30393  
30394  var PhotoshopPointerCircle = exports.PhotoshopPointerCircle = function PhotoshopPointerCircle(_ref) {
30395    var hsl = _ref.hsl;
30396  
30397    var styles = (0, _reactcss2.default)({
30398      'default': {
30399        picker: {
30400          width: '12px',
30401          height: '12px',
30402          borderRadius: '6px',
30403          boxShadow: 'inset 0 0 0 1px #fff',
30404          transform: 'translate(-6px, -6px)'
30405        }
30406      },
30407      'black-outline': {
30408        picker: {
30409          boxShadow: 'inset 0 0 0 1px #000'
30410        }
30411      }
30412    }, { 'black-outline': hsl.l > 0.5 });
30413  
30414    return _react2.default.createElement('div', { style: styles.picker });
30415  };
30416  
30417  exports.default = PhotoshopPointerCircle;
30418  
30419  /***/ }),
30420  
30421  /***/ "./node_modules/react-color/lib/components/photoshop/PhotoshopPreviews.js":
30422  /*!********************************************************************************!*\
30423    !*** ./node_modules/react-color/lib/components/photoshop/PhotoshopPreviews.js ***!
30424    \********************************************************************************/
30425  /*! no static exports found */
30426  /***/ (function(module, exports, __webpack_require__) {
30427  
30428  "use strict";
30429  
30430  
30431  Object.defineProperty(exports, "__esModule", {
30432    value: true
30433  });
30434  exports.PhotoshopPreviews = undefined;
30435  
30436  var _react = __webpack_require__(/*! react */ "react");
30437  
30438  var _react2 = _interopRequireDefault(_react);
30439  
30440  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30441  
30442  var _reactcss2 = _interopRequireDefault(_reactcss);
30443  
30444  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30445  
30446  var PhotoshopPreviews = exports.PhotoshopPreviews = function PhotoshopPreviews(_ref) {
30447    var rgb = _ref.rgb,
30448        currentColor = _ref.currentColor;
30449  
30450    var styles = (0, _reactcss2.default)({
30451      'default': {
30452        swatches: {
30453          border: '1px solid #B3B3B3',
30454          borderBottom: '1px solid #F0F0F0',
30455          marginBottom: '2px',
30456          marginTop: '1px'
30457        },
30458        new: {
30459          height: '34px',
30460          background: 'rgb(' + rgb.r + ',' + rgb.g + ', ' + rgb.b + ')',
30461          boxShadow: 'inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000'
30462        },
30463        current: {
30464          height: '34px',
30465          background: currentColor,
30466          boxShadow: 'inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000'
30467        },
30468        label: {
30469          fontSize: '14px',
30470          color: '#000',
30471          textAlign: 'center'
30472        }
30473      }
30474    });
30475  
30476    return _react2.default.createElement(
30477      'div',
30478      null,
30479      _react2.default.createElement(
30480        'div',
30481        { style: styles.label },
30482        'new'
30483      ),
30484      _react2.default.createElement(
30485        'div',
30486        { style: styles.swatches },
30487        _react2.default.createElement('div', { style: styles.new }),
30488        _react2.default.createElement('div', { style: styles.current })
30489      ),
30490      _react2.default.createElement(
30491        'div',
30492        { style: styles.label },
30493        'current'
30494      )
30495    );
30496  };
30497  
30498  exports.default = PhotoshopPreviews;
30499  
30500  /***/ }),
30501  
30502  /***/ "./node_modules/react-color/lib/components/sketch/Sketch.js":
30503  /*!******************************************************************!*\
30504    !*** ./node_modules/react-color/lib/components/sketch/Sketch.js ***!
30505    \******************************************************************/
30506  /*! no static exports found */
30507  /***/ (function(module, exports, __webpack_require__) {
30508  
30509  "use strict";
30510  
30511  
30512  Object.defineProperty(exports, "__esModule", {
30513    value: true
30514  });
30515  exports.Sketch = undefined;
30516  
30517  var _react = __webpack_require__(/*! react */ "react");
30518  
30519  var _react2 = _interopRequireDefault(_react);
30520  
30521  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
30522  
30523  var _propTypes2 = _interopRequireDefault(_propTypes);
30524  
30525  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30526  
30527  var _reactcss2 = _interopRequireDefault(_reactcss);
30528  
30529  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
30530  
30531  var _SketchFields = __webpack_require__(/*! ./SketchFields */ "./node_modules/react-color/lib/components/sketch/SketchFields.js");
30532  
30533  var _SketchFields2 = _interopRequireDefault(_SketchFields);
30534  
30535  var _SketchPresetColors = __webpack_require__(/*! ./SketchPresetColors */ "./node_modules/react-color/lib/components/sketch/SketchPresetColors.js");
30536  
30537  var _SketchPresetColors2 = _interopRequireDefault(_SketchPresetColors);
30538  
30539  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30540  
30541  var Sketch = exports.Sketch = function Sketch(_ref) {
30542    var width = _ref.width,
30543        rgb = _ref.rgb,
30544        hex = _ref.hex,
30545        hsv = _ref.hsv,
30546        hsl = _ref.hsl,
30547        onChange = _ref.onChange,
30548        onSwatchHover = _ref.onSwatchHover,
30549        disableAlpha = _ref.disableAlpha,
30550        presetColors = _ref.presetColors,
30551        renderers = _ref.renderers,
30552        _ref$className = _ref.className,
30553        className = _ref$className === undefined ? '' : _ref$className;
30554  
30555    var styles = (0, _reactcss2.default)({
30556      'default': {
30557        picker: {
30558          width: width,
30559          padding: '10px 10px 0',
30560          boxSizing: 'initial',
30561          background: '#fff',
30562          borderRadius: '4px',
30563          boxShadow: '0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)'
30564        },
30565        saturation: {
30566          width: '100%',
30567          paddingBottom: '75%',
30568          position: 'relative',
30569          overflow: 'hidden'
30570        },
30571        Saturation: {
30572          radius: '3px',
30573          shadow: 'inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)'
30574        },
30575        controls: {
30576          display: 'flex'
30577        },
30578        sliders: {
30579          padding: '4px 0',
30580          flex: '1'
30581        },
30582        color: {
30583          width: '24px',
30584          height: '24px',
30585          position: 'relative',
30586          marginTop: '4px',
30587          marginLeft: '4px',
30588          borderRadius: '3px'
30589        },
30590        activeColor: {
30591          absolute: '0px 0px 0px 0px',
30592          borderRadius: '2px',
30593          background: 'rgba(' + rgb.r + ',' + rgb.g + ',' + rgb.b + ',' + rgb.a + ')',
30594          boxShadow: 'inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)'
30595        },
30596        hue: {
30597          position: 'relative',
30598          height: '10px',
30599          overflow: 'hidden'
30600        },
30601        Hue: {
30602          radius: '2px',
30603          shadow: 'inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)'
30604        },
30605  
30606        alpha: {
30607          position: 'relative',
30608          height: '10px',
30609          marginTop: '4px',
30610          overflow: 'hidden'
30611        },
30612        Alpha: {
30613          radius: '2px',
30614          shadow: 'inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)'
30615        }
30616      },
30617      'disableAlpha': {
30618        color: {
30619          height: '10px'
30620        },
30621        hue: {
30622          height: '10px'
30623        },
30624        alpha: {
30625          display: 'none'
30626        }
30627      }
30628    }, { disableAlpha: disableAlpha });
30629  
30630    return _react2.default.createElement(
30631      'div',
30632      { style: styles.picker, className: 'sketch-picker ' + className },
30633      _react2.default.createElement(
30634        'div',
30635        { style: styles.saturation },
30636        _react2.default.createElement(_common.Saturation, {
30637          style: styles.Saturation,
30638          hsl: hsl,
30639          hsv: hsv,
30640          onChange: onChange
30641        })
30642      ),
30643      _react2.default.createElement(
30644        'div',
30645        { style: styles.controls, className: 'flexbox-fix' },
30646        _react2.default.createElement(
30647          'div',
30648          { style: styles.sliders },
30649          _react2.default.createElement(
30650            'div',
30651            { style: styles.hue },
30652            _react2.default.createElement(_common.Hue, {
30653              style: styles.Hue,
30654              hsl: hsl,
30655              onChange: onChange
30656            })
30657          ),
30658          _react2.default.createElement(
30659            'div',
30660            { style: styles.alpha },
30661            _react2.default.createElement(_common.Alpha, {
30662              style: styles.Alpha,
30663              rgb: rgb,
30664              hsl: hsl,
30665              renderers: renderers,
30666              onChange: onChange
30667            })
30668          )
30669        ),
30670        _react2.default.createElement(
30671          'div',
30672          { style: styles.color },
30673          _react2.default.createElement(_common.Checkboard, null),
30674          _react2.default.createElement('div', { style: styles.activeColor })
30675        )
30676      ),
30677      _react2.default.createElement(_SketchFields2.default, {
30678        rgb: rgb,
30679        hsl: hsl,
30680        hex: hex,
30681        onChange: onChange,
30682        disableAlpha: disableAlpha
30683      }),
30684      _react2.default.createElement(_SketchPresetColors2.default, {
30685        colors: presetColors,
30686        onClick: onChange,
30687        onSwatchHover: onSwatchHover
30688      })
30689    );
30690  };
30691  
30692  Sketch.propTypes = {
30693    disableAlpha: _propTypes2.default.bool,
30694    width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number])
30695  };
30696  
30697  Sketch.defaultProps = {
30698    disableAlpha: false,
30699    width: 200,
30700    presetColors: ['#D0021B', '#F5A623', '#F8E71C', '#8B572A', '#7ED321', '#417505', '#BD10E0', '#9013FE', '#4A90E2', '#50E3C2', '#B8E986', '#000000', '#4A4A4A', '#9B9B9B', '#FFFFFF']
30701  };
30702  
30703  exports.default = (0, _common.ColorWrap)(Sketch);
30704  
30705  /***/ }),
30706  
30707  /***/ "./node_modules/react-color/lib/components/sketch/SketchFields.js":
30708  /*!************************************************************************!*\
30709    !*** ./node_modules/react-color/lib/components/sketch/SketchFields.js ***!
30710    \************************************************************************/
30711  /*! no static exports found */
30712  /***/ (function(module, exports, __webpack_require__) {
30713  
30714  "use strict";
30715  
30716  
30717  Object.defineProperty(exports, "__esModule", {
30718    value: true
30719  });
30720  exports.SketchFields = undefined;
30721  
30722  var _react = __webpack_require__(/*! react */ "react");
30723  
30724  var _react2 = _interopRequireDefault(_react);
30725  
30726  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30727  
30728  var _reactcss2 = _interopRequireDefault(_reactcss);
30729  
30730  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
30731  
30732  var _color2 = _interopRequireDefault(_color);
30733  
30734  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
30735  
30736  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30737  
30738  /* eslint-disable no-param-reassign */
30739  
30740  var SketchFields = exports.SketchFields = function SketchFields(_ref) {
30741    var onChange = _ref.onChange,
30742        rgb = _ref.rgb,
30743        hsl = _ref.hsl,
30744        hex = _ref.hex,
30745        disableAlpha = _ref.disableAlpha;
30746  
30747    var styles = (0, _reactcss2.default)({
30748      'default': {
30749        fields: {
30750          display: 'flex',
30751          paddingTop: '4px'
30752        },
30753        single: {
30754          flex: '1',
30755          paddingLeft: '6px'
30756        },
30757        alpha: {
30758          flex: '1',
30759          paddingLeft: '6px'
30760        },
30761        double: {
30762          flex: '2'
30763        },
30764        input: {
30765          width: '80%',
30766          padding: '4px 10% 3px',
30767          border: 'none',
30768          boxShadow: 'inset 0 0 0 1px #ccc',
30769          fontSize: '11px'
30770        },
30771        label: {
30772          display: 'block',
30773          textAlign: 'center',
30774          fontSize: '11px',
30775          color: '#222',
30776          paddingTop: '3px',
30777          paddingBottom: '4px',
30778          textTransform: 'capitalize'
30779        }
30780      },
30781      'disableAlpha': {
30782        alpha: {
30783          display: 'none'
30784        }
30785      }
30786    }, { disableAlpha: disableAlpha });
30787  
30788    var handleChange = function handleChange(data, e) {
30789      if (data.hex) {
30790        _color2.default.isValidHex(data.hex) && onChange({
30791          hex: data.hex,
30792          source: 'hex'
30793        }, e);
30794      } else if (data.r || data.g || data.b) {
30795        onChange({
30796          r: data.r || rgb.r,
30797          g: data.g || rgb.g,
30798          b: data.b || rgb.b,
30799          a: rgb.a,
30800          source: 'rgb'
30801        }, e);
30802      } else if (data.a) {
30803        if (data.a < 0) {
30804          data.a = 0;
30805        } else if (data.a > 100) {
30806          data.a = 100;
30807        }
30808  
30809        data.a /= 100;
30810        onChange({
30811          h: hsl.h,
30812          s: hsl.s,
30813          l: hsl.l,
30814          a: data.a,
30815          source: 'rgb'
30816        }, e);
30817      }
30818    };
30819  
30820    return _react2.default.createElement(
30821      'div',
30822      { style: styles.fields, className: 'flexbox-fix' },
30823      _react2.default.createElement(
30824        'div',
30825        { style: styles.double },
30826        _react2.default.createElement(_common.EditableInput, {
30827          style: { input: styles.input, label: styles.label },
30828          label: 'hex',
30829          value: hex.replace('#', ''),
30830          onChange: handleChange
30831        })
30832      ),
30833      _react2.default.createElement(
30834        'div',
30835        { style: styles.single },
30836        _react2.default.createElement(_common.EditableInput, {
30837          style: { input: styles.input, label: styles.label },
30838          label: 'r',
30839          value: rgb.r,
30840          onChange: handleChange,
30841          dragLabel: 'true',
30842          dragMax: '255'
30843        })
30844      ),
30845      _react2.default.createElement(
30846        'div',
30847        { style: styles.single },
30848        _react2.default.createElement(_common.EditableInput, {
30849          style: { input: styles.input, label: styles.label },
30850          label: 'g',
30851          value: rgb.g,
30852          onChange: handleChange,
30853          dragLabel: 'true',
30854          dragMax: '255'
30855        })
30856      ),
30857      _react2.default.createElement(
30858        'div',
30859        { style: styles.single },
30860        _react2.default.createElement(_common.EditableInput, {
30861          style: { input: styles.input, label: styles.label },
30862          label: 'b',
30863          value: rgb.b,
30864          onChange: handleChange,
30865          dragLabel: 'true',
30866          dragMax: '255'
30867        })
30868      ),
30869      _react2.default.createElement(
30870        'div',
30871        { style: styles.alpha },
30872        _react2.default.createElement(_common.EditableInput, {
30873          style: { input: styles.input, label: styles.label },
30874          label: 'a',
30875          value: Math.round(rgb.a * 100),
30876          onChange: handleChange,
30877          dragLabel: 'true',
30878          dragMax: '100'
30879        })
30880      )
30881    );
30882  };
30883  
30884  exports.default = SketchFields;
30885  
30886  /***/ }),
30887  
30888  /***/ "./node_modules/react-color/lib/components/sketch/SketchPresetColors.js":
30889  /*!******************************************************************************!*\
30890    !*** ./node_modules/react-color/lib/components/sketch/SketchPresetColors.js ***!
30891    \******************************************************************************/
30892  /*! no static exports found */
30893  /***/ (function(module, exports, __webpack_require__) {
30894  
30895  "use strict";
30896  
30897  
30898  Object.defineProperty(exports, "__esModule", {
30899    value: true
30900  });
30901  exports.SketchPresetColors = undefined;
30902  
30903  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; };
30904  
30905  var _react = __webpack_require__(/*! react */ "react");
30906  
30907  var _react2 = _interopRequireDefault(_react);
30908  
30909  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
30910  
30911  var _propTypes2 = _interopRequireDefault(_propTypes);
30912  
30913  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
30914  
30915  var _reactcss2 = _interopRequireDefault(_reactcss);
30916  
30917  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
30918  
30919  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30920  
30921  var SketchPresetColors = exports.SketchPresetColors = function SketchPresetColors(_ref) {
30922    var colors = _ref.colors,
30923        _ref$onClick = _ref.onClick,
30924        onClick = _ref$onClick === undefined ? function () {} : _ref$onClick,
30925        onSwatchHover = _ref.onSwatchHover;
30926  
30927    var styles = (0, _reactcss2.default)({
30928      'default': {
30929        colors: {
30930          margin: '0 -10px',
30931          padding: '10px 0 0 10px',
30932          borderTop: '1px solid #eee',
30933          display: 'flex',
30934          flexWrap: 'wrap',
30935          position: 'relative'
30936        },
30937        swatchWrap: {
30938          width: '16px',
30939          height: '16px',
30940          margin: '0 10px 10px 0'
30941        },
30942        swatch: {
30943          borderRadius: '3px',
30944          boxShadow: 'inset 0 0 0 1px rgba(0,0,0,.15)'
30945        }
30946      },
30947      'no-presets': {
30948        colors: {
30949          display: 'none'
30950        }
30951      }
30952    }, {
30953      'no-presets': !colors || !colors.length
30954    });
30955  
30956    var handleClick = function handleClick(hex, e) {
30957      onClick({
30958        hex: hex,
30959        source: 'hex'
30960      }, e);
30961    };
30962  
30963    return _react2.default.createElement(
30964      'div',
30965      { style: styles.colors, className: 'flexbox-fix' },
30966      colors.map(function (colorObjOrString) {
30967        var c = typeof colorObjOrString === 'string' ? { color: colorObjOrString } : colorObjOrString;
30968        var key = '' + c.color + (c.title || '');
30969        return _react2.default.createElement(
30970          'div',
30971          { key: key, style: styles.swatchWrap },
30972          _react2.default.createElement(_common.Swatch, _extends({}, c, {
30973            style: styles.swatch,
30974            onClick: handleClick,
30975            onHover: onSwatchHover,
30976            focusStyle: {
30977              boxShadow: 'inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px ' + c.color
30978            }
30979          }))
30980        );
30981      })
30982    );
30983  };
30984  
30985  SketchPresetColors.propTypes = {
30986    colors: _propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({
30987      color: _propTypes2.default.string,
30988      title: _propTypes2.default.string
30989    })])).isRequired
30990  };
30991  
30992  exports.default = SketchPresetColors;
30993  
30994  /***/ }),
30995  
30996  /***/ "./node_modules/react-color/lib/components/slider/Slider.js":
30997  /*!******************************************************************!*\
30998    !*** ./node_modules/react-color/lib/components/slider/Slider.js ***!
30999    \******************************************************************/
31000  /*! no static exports found */
31001  /***/ (function(module, exports, __webpack_require__) {
31002  
31003  "use strict";
31004  
31005  
31006  Object.defineProperty(exports, "__esModule", {
31007    value: true
31008  });
31009  exports.Slider = undefined;
31010  
31011  var _react = __webpack_require__(/*! react */ "react");
31012  
31013  var _react2 = _interopRequireDefault(_react);
31014  
31015  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31016  
31017  var _reactcss2 = _interopRequireDefault(_reactcss);
31018  
31019  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
31020  
31021  var _SliderSwatches = __webpack_require__(/*! ./SliderSwatches */ "./node_modules/react-color/lib/components/slider/SliderSwatches.js");
31022  
31023  var _SliderSwatches2 = _interopRequireDefault(_SliderSwatches);
31024  
31025  var _SliderPointer = __webpack_require__(/*! ./SliderPointer */ "./node_modules/react-color/lib/components/slider/SliderPointer.js");
31026  
31027  var _SliderPointer2 = _interopRequireDefault(_SliderPointer);
31028  
31029  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31030  
31031  var Slider = exports.Slider = function Slider(_ref) {
31032    var hsl = _ref.hsl,
31033        onChange = _ref.onChange,
31034        pointer = _ref.pointer,
31035        _ref$className = _ref.className,
31036        className = _ref$className === undefined ? '' : _ref$className;
31037  
31038    var styles = (0, _reactcss2.default)({
31039      'default': {
31040        hue: {
31041          height: '12px',
31042          position: 'relative'
31043        },
31044        Hue: {
31045          radius: '2px'
31046        }
31047      }
31048    });
31049  
31050    return _react2.default.createElement(
31051      'div',
31052      { className: 'slider-picker ' + className },
31053      _react2.default.createElement(
31054        'div',
31055        { style: styles.hue },
31056        _react2.default.createElement(_common.Hue, {
31057          style: styles.Hue,
31058          hsl: hsl,
31059          pointer: pointer,
31060          onChange: onChange
31061        })
31062      ),
31063      _react2.default.createElement(
31064        'div',
31065        { style: styles.swatches },
31066        _react2.default.createElement(_SliderSwatches2.default, { hsl: hsl, onClick: onChange })
31067      )
31068    );
31069  };
31070  
31071  Slider.defaultProps = {
31072    pointer: _SliderPointer2.default
31073  };
31074  
31075  exports.default = (0, _common.ColorWrap)(Slider);
31076  
31077  /***/ }),
31078  
31079  /***/ "./node_modules/react-color/lib/components/slider/SliderPointer.js":
31080  /*!*************************************************************************!*\
31081    !*** ./node_modules/react-color/lib/components/slider/SliderPointer.js ***!
31082    \*************************************************************************/
31083  /*! no static exports found */
31084  /***/ (function(module, exports, __webpack_require__) {
31085  
31086  "use strict";
31087  
31088  
31089  Object.defineProperty(exports, "__esModule", {
31090    value: true
31091  });
31092  exports.SliderPointer = undefined;
31093  
31094  var _react = __webpack_require__(/*! react */ "react");
31095  
31096  var _react2 = _interopRequireDefault(_react);
31097  
31098  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31099  
31100  var _reactcss2 = _interopRequireDefault(_reactcss);
31101  
31102  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31103  
31104  var SliderPointer = exports.SliderPointer = function SliderPointer() {
31105    var styles = (0, _reactcss2.default)({
31106      'default': {
31107        picker: {
31108          width: '14px',
31109          height: '14px',
31110          borderRadius: '6px',
31111          transform: 'translate(-7px, -1px)',
31112          backgroundColor: 'rgb(248, 248, 248)',
31113          boxShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.37)'
31114        }
31115      }
31116    });
31117  
31118    return _react2.default.createElement('div', { style: styles.picker });
31119  };
31120  
31121  exports.default = SliderPointer;
31122  
31123  /***/ }),
31124  
31125  /***/ "./node_modules/react-color/lib/components/slider/SliderSwatch.js":
31126  /*!************************************************************************!*\
31127    !*** ./node_modules/react-color/lib/components/slider/SliderSwatch.js ***!
31128    \************************************************************************/
31129  /*! no static exports found */
31130  /***/ (function(module, exports, __webpack_require__) {
31131  
31132  "use strict";
31133  
31134  
31135  Object.defineProperty(exports, "__esModule", {
31136    value: true
31137  });
31138  exports.SliderSwatch = undefined;
31139  
31140  var _react = __webpack_require__(/*! react */ "react");
31141  
31142  var _react2 = _interopRequireDefault(_react);
31143  
31144  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31145  
31146  var _reactcss2 = _interopRequireDefault(_reactcss);
31147  
31148  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31149  
31150  var SliderSwatch = exports.SliderSwatch = function SliderSwatch(_ref) {
31151    var hsl = _ref.hsl,
31152        offset = _ref.offset,
31153        _ref$onClick = _ref.onClick,
31154        onClick = _ref$onClick === undefined ? function () {} : _ref$onClick,
31155        active = _ref.active,
31156        first = _ref.first,
31157        last = _ref.last;
31158  
31159    var styles = (0, _reactcss2.default)({
31160      'default': {
31161        swatch: {
31162          height: '12px',
31163          background: 'hsl(' + hsl.h + ', 50%, ' + offset * 100 + '%)',
31164          cursor: 'pointer'
31165        }
31166      },
31167      'first': {
31168        swatch: {
31169          borderRadius: '2px 0 0 2px'
31170        }
31171      },
31172      'last': {
31173        swatch: {
31174          borderRadius: '0 2px 2px 0'
31175        }
31176      },
31177      'active': {
31178        swatch: {
31179          transform: 'scaleY(1.8)',
31180          borderRadius: '3.6px/2px'
31181        }
31182      }
31183    }, { active: active, first: first, last: last });
31184  
31185    var handleClick = function handleClick(e) {
31186      return onClick({
31187        h: hsl.h,
31188        s: 0.5,
31189        l: offset,
31190        source: 'hsl'
31191      }, e);
31192    };
31193  
31194    return _react2.default.createElement('div', { style: styles.swatch, onClick: handleClick });
31195  };
31196  
31197  exports.default = SliderSwatch;
31198  
31199  /***/ }),
31200  
31201  /***/ "./node_modules/react-color/lib/components/slider/SliderSwatches.js":
31202  /*!**************************************************************************!*\
31203    !*** ./node_modules/react-color/lib/components/slider/SliderSwatches.js ***!
31204    \**************************************************************************/
31205  /*! no static exports found */
31206  /***/ (function(module, exports, __webpack_require__) {
31207  
31208  "use strict";
31209  
31210  
31211  Object.defineProperty(exports, "__esModule", {
31212    value: true
31213  });
31214  exports.SliderSwatches = undefined;
31215  
31216  var _react = __webpack_require__(/*! react */ "react");
31217  
31218  var _react2 = _interopRequireDefault(_react);
31219  
31220  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31221  
31222  var _reactcss2 = _interopRequireDefault(_reactcss);
31223  
31224  var _SliderSwatch = __webpack_require__(/*! ./SliderSwatch */ "./node_modules/react-color/lib/components/slider/SliderSwatch.js");
31225  
31226  var _SliderSwatch2 = _interopRequireDefault(_SliderSwatch);
31227  
31228  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31229  
31230  var SliderSwatches = exports.SliderSwatches = function SliderSwatches(_ref) {
31231    var onClick = _ref.onClick,
31232        hsl = _ref.hsl;
31233  
31234    var styles = (0, _reactcss2.default)({
31235      'default': {
31236        swatches: {
31237          marginTop: '20px'
31238        },
31239        swatch: {
31240          boxSizing: 'border-box',
31241          width: '20%',
31242          paddingRight: '1px',
31243          float: 'left'
31244        },
31245        clear: {
31246          clear: 'both'
31247        }
31248      }
31249    });
31250  
31251    return _react2.default.createElement(
31252      'div',
31253      { style: styles.swatches },
31254      _react2.default.createElement(
31255        'div',
31256        { style: styles.swatch },
31257        _react2.default.createElement(_SliderSwatch2.default, {
31258          hsl: hsl,
31259          offset: '.80',
31260          active: Math.round(hsl.l * 100) / 100 === 0.80 && Math.round(hsl.s * 100) / 100 === 0.50,
31261          onClick: onClick,
31262          first: true
31263        })
31264      ),
31265      _react2.default.createElement(
31266        'div',
31267        { style: styles.swatch },
31268        _react2.default.createElement(_SliderSwatch2.default, {
31269          hsl: hsl,
31270          offset: '.65',
31271          active: Math.round(hsl.l * 100) / 100 === 0.65 && Math.round(hsl.s * 100) / 100 === 0.50,
31272          onClick: onClick
31273        })
31274      ),
31275      _react2.default.createElement(
31276        'div',
31277        { style: styles.swatch },
31278        _react2.default.createElement(_SliderSwatch2.default, {
31279          hsl: hsl,
31280          offset: '.50',
31281          active: Math.round(hsl.l * 100) / 100 === 0.50 && Math.round(hsl.s * 100) / 100 === 0.50,
31282          onClick: onClick
31283        })
31284      ),
31285      _react2.default.createElement(
31286        'div',
31287        { style: styles.swatch },
31288        _react2.default.createElement(_SliderSwatch2.default, {
31289          hsl: hsl,
31290          offset: '.35',
31291          active: Math.round(hsl.l * 100) / 100 === 0.35 && Math.round(hsl.s * 100) / 100 === 0.50,
31292          onClick: onClick
31293        })
31294      ),
31295      _react2.default.createElement(
31296        'div',
31297        { style: styles.swatch },
31298        _react2.default.createElement(_SliderSwatch2.default, {
31299          hsl: hsl,
31300          offset: '.20',
31301          active: Math.round(hsl.l * 100) / 100 === 0.20 && Math.round(hsl.s * 100) / 100 === 0.50,
31302          onClick: onClick,
31303          last: true
31304        })
31305      ),
31306      _react2.default.createElement('div', { style: styles.clear })
31307    );
31308  };
31309  
31310  exports.default = SliderSwatches;
31311  
31312  /***/ }),
31313  
31314  /***/ "./node_modules/react-color/lib/components/swatches/Swatches.js":
31315  /*!**********************************************************************!*\
31316    !*** ./node_modules/react-color/lib/components/swatches/Swatches.js ***!
31317    \**********************************************************************/
31318  /*! no static exports found */
31319  /***/ (function(module, exports, __webpack_require__) {
31320  
31321  "use strict";
31322  
31323  
31324  Object.defineProperty(exports, "__esModule", {
31325    value: true
31326  });
31327  exports.Swatches = undefined;
31328  
31329  var _react = __webpack_require__(/*! react */ "react");
31330  
31331  var _react2 = _interopRequireDefault(_react);
31332  
31333  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
31334  
31335  var _propTypes2 = _interopRequireDefault(_propTypes);
31336  
31337  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31338  
31339  var _reactcss2 = _interopRequireDefault(_reactcss);
31340  
31341  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
31342  
31343  var _map2 = _interopRequireDefault(_map);
31344  
31345  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
31346  
31347  var _color2 = _interopRequireDefault(_color);
31348  
31349  var _materialColors = __webpack_require__(/*! material-colors */ "./node_modules/material-colors/dist/colors.es2015.js");
31350  
31351  var material = _interopRequireWildcard(_materialColors);
31352  
31353  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
31354  
31355  var _SwatchesGroup = __webpack_require__(/*! ./SwatchesGroup */ "./node_modules/react-color/lib/components/swatches/SwatchesGroup.js");
31356  
31357  var _SwatchesGroup2 = _interopRequireDefault(_SwatchesGroup);
31358  
31359  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
31360  
31361  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31362  
31363  var Swatches = exports.Swatches = function Swatches(_ref) {
31364    var width = _ref.width,
31365        height = _ref.height,
31366        onChange = _ref.onChange,
31367        onSwatchHover = _ref.onSwatchHover,
31368        colors = _ref.colors,
31369        hex = _ref.hex,
31370        _ref$className = _ref.className,
31371        className = _ref$className === undefined ? '' : _ref$className;
31372  
31373    var styles = (0, _reactcss2.default)({
31374      'default': {
31375        picker: {
31376          width: width,
31377          height: height
31378        },
31379        overflow: {
31380          height: height,
31381          overflowY: 'scroll'
31382        },
31383        body: {
31384          padding: '16px 0 6px 16px'
31385        },
31386        clear: {
31387          clear: 'both'
31388        }
31389      }
31390    });
31391  
31392    var handleChange = function handleChange(data, e) {
31393      _color2.default.isValidHex(data) && onChange({
31394        hex: data,
31395        source: 'hex'
31396      }, e);
31397    };
31398  
31399    return _react2.default.createElement(
31400      'div',
31401      { style: styles.picker, className: 'swatches-picker ' + className },
31402      _react2.default.createElement(
31403        _common.Raised,
31404        null,
31405        _react2.default.createElement(
31406          'div',
31407          { style: styles.overflow },
31408          _react2.default.createElement(
31409            'div',
31410            { style: styles.body },
31411            (0, _map2.default)(colors, function (group) {
31412              return _react2.default.createElement(_SwatchesGroup2.default, {
31413                key: group.toString(),
31414                group: group,
31415                active: hex,
31416                onClick: handleChange,
31417                onSwatchHover: onSwatchHover
31418              });
31419            }),
31420            _react2.default.createElement('div', { style: styles.clear })
31421          )
31422        )
31423      )
31424    );
31425  };
31426  
31427  Swatches.propTypes = {
31428    width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
31429    height: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
31430    colors: _propTypes2.default.arrayOf(_propTypes2.default.arrayOf(_propTypes2.default.string))
31431  
31432    /* eslint-disable max-len */
31433  };Swatches.defaultProps = {
31434    width: 320,
31435    height: 240,
31436    colors: [[material.red['900'], material.red['700'], material.red['500'], material.red['300'], material.red['100']], [material.pink['900'], material.pink['700'], material.pink['500'], material.pink['300'], material.pink['100']], [material.purple['900'], material.purple['700'], material.purple['500'], material.purple['300'], material.purple['100']], [material.deepPurple['900'], material.deepPurple['700'], material.deepPurple['500'], material.deepPurple['300'], material.deepPurple['100']], [material.indigo['900'], material.indigo['700'], material.indigo['500'], material.indigo['300'], material.indigo['100']], [material.blue['900'], material.blue['700'], material.blue['500'], material.blue['300'], material.blue['100']], [material.lightBlue['900'], material.lightBlue['700'], material.lightBlue['500'], material.lightBlue['300'], material.lightBlue['100']], [material.cyan['900'], material.cyan['700'], material.cyan['500'], material.cyan['300'], material.cyan['100']], [material.teal['900'], material.teal['700'], material.teal['500'], material.teal['300'], material.teal['100']], ['#194D33', material.green['700'], material.green['500'], material.green['300'], material.green['100']], [material.lightGreen['900'], material.lightGreen['700'], material.lightGreen['500'], material.lightGreen['300'], material.lightGreen['100']], [material.lime['900'], material.lime['700'], material.lime['500'], material.lime['300'], material.lime['100']], [material.yellow['900'], material.yellow['700'], material.yellow['500'], material.yellow['300'], material.yellow['100']], [material.amber['900'], material.amber['700'], material.amber['500'], material.amber['300'], material.amber['100']], [material.orange['900'], material.orange['700'], material.orange['500'], material.orange['300'], material.orange['100']], [material.deepOrange['900'], material.deepOrange['700'], material.deepOrange['500'], material.deepOrange['300'], material.deepOrange['100']], [material.brown['900'], material.brown['700'], material.brown['500'], material.brown['300'], material.brown['100']], [material.blueGrey['900'], material.blueGrey['700'], material.blueGrey['500'], material.blueGrey['300'], material.blueGrey['100']], ['#000000', '#525252', '#969696', '#D9D9D9', '#FFFFFF']]
31437  };
31438  
31439  exports.default = (0, _common.ColorWrap)(Swatches);
31440  
31441  /***/ }),
31442  
31443  /***/ "./node_modules/react-color/lib/components/swatches/SwatchesColor.js":
31444  /*!***************************************************************************!*\
31445    !*** ./node_modules/react-color/lib/components/swatches/SwatchesColor.js ***!
31446    \***************************************************************************/
31447  /*! no static exports found */
31448  /***/ (function(module, exports, __webpack_require__) {
31449  
31450  "use strict";
31451  
31452  
31453  Object.defineProperty(exports, "__esModule", {
31454    value: true
31455  });
31456  exports.SwatchesColor = undefined;
31457  
31458  var _react = __webpack_require__(/*! react */ "react");
31459  
31460  var _react2 = _interopRequireDefault(_react);
31461  
31462  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31463  
31464  var _reactcss2 = _interopRequireDefault(_reactcss);
31465  
31466  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
31467  
31468  var _color2 = _interopRequireDefault(_color);
31469  
31470  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
31471  
31472  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31473  
31474  var SwatchesColor = exports.SwatchesColor = function SwatchesColor(_ref) {
31475    var color = _ref.color,
31476        _ref$onClick = _ref.onClick,
31477        onClick = _ref$onClick === undefined ? function () {} : _ref$onClick,
31478        onSwatchHover = _ref.onSwatchHover,
31479        first = _ref.first,
31480        last = _ref.last,
31481        active = _ref.active;
31482  
31483    var styles = (0, _reactcss2.default)({
31484      'default': {
31485        color: {
31486          width: '40px',
31487          height: '24px',
31488          cursor: 'pointer',
31489          background: color,
31490          marginBottom: '1px'
31491        },
31492        check: {
31493          fill: _color2.default.getContrastingColor(color),
31494          marginLeft: '8px',
31495          display: 'none'
31496        }
31497      },
31498      'first': {
31499        color: {
31500          overflow: 'hidden',
31501          borderRadius: '2px 2px 0 0'
31502        }
31503      },
31504      'last': {
31505        color: {
31506          overflow: 'hidden',
31507          borderRadius: '0 0 2px 2px'
31508        }
31509      },
31510      'active': {
31511        check: {
31512          display: 'block'
31513        }
31514      },
31515      'color-#FFFFFF': {
31516        color: {
31517          boxShadow: 'inset 0 0 0 1px #ddd'
31518        },
31519        check: {
31520          fill: '#333'
31521        }
31522      },
31523      'transparent': {
31524        check: {
31525          fill: '#333'
31526        }
31527      }
31528    }, {
31529      first: first,
31530      last: last,
31531      active: active,
31532      'color-#FFFFFF': color === '#FFFFFF',
31533      'transparent': color === 'transparent'
31534    });
31535  
31536    return _react2.default.createElement(
31537      _common.Swatch,
31538      {
31539        color: color,
31540        style: styles.color,
31541        onClick: onClick,
31542        onHover: onSwatchHover,
31543        focusStyle: { boxShadow: '0 0 4px ' + color }
31544      },
31545      _react2.default.createElement(
31546        'div',
31547        { style: styles.check },
31548        _react2.default.createElement(
31549          'svg',
31550          { style: { width: '24px', height: '24px' }, viewBox: '0 0 24 24' },
31551          _react2.default.createElement('path', { d: 'M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z' })
31552        )
31553      )
31554    );
31555  };
31556  
31557  exports.default = SwatchesColor;
31558  
31559  /***/ }),
31560  
31561  /***/ "./node_modules/react-color/lib/components/swatches/SwatchesGroup.js":
31562  /*!***************************************************************************!*\
31563    !*** ./node_modules/react-color/lib/components/swatches/SwatchesGroup.js ***!
31564    \***************************************************************************/
31565  /*! no static exports found */
31566  /***/ (function(module, exports, __webpack_require__) {
31567  
31568  "use strict";
31569  
31570  
31571  Object.defineProperty(exports, "__esModule", {
31572    value: true
31573  });
31574  exports.SwatchesGroup = undefined;
31575  
31576  var _react = __webpack_require__(/*! react */ "react");
31577  
31578  var _react2 = _interopRequireDefault(_react);
31579  
31580  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31581  
31582  var _reactcss2 = _interopRequireDefault(_reactcss);
31583  
31584  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
31585  
31586  var _map2 = _interopRequireDefault(_map);
31587  
31588  var _SwatchesColor = __webpack_require__(/*! ./SwatchesColor */ "./node_modules/react-color/lib/components/swatches/SwatchesColor.js");
31589  
31590  var _SwatchesColor2 = _interopRequireDefault(_SwatchesColor);
31591  
31592  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31593  
31594  var SwatchesGroup = exports.SwatchesGroup = function SwatchesGroup(_ref) {
31595    var onClick = _ref.onClick,
31596        onSwatchHover = _ref.onSwatchHover,
31597        group = _ref.group,
31598        active = _ref.active;
31599  
31600    var styles = (0, _reactcss2.default)({
31601      'default': {
31602        group: {
31603          paddingBottom: '10px',
31604          width: '40px',
31605          float: 'left',
31606          marginRight: '10px'
31607        }
31608      }
31609    });
31610  
31611    return _react2.default.createElement(
31612      'div',
31613      { style: styles.group },
31614      (0, _map2.default)(group, function (color, i) {
31615        return _react2.default.createElement(_SwatchesColor2.default, {
31616          key: color,
31617          color: color,
31618          active: color.toLowerCase() === active,
31619          first: i === 0,
31620          last: i === group.length - 1,
31621          onClick: onClick,
31622          onSwatchHover: onSwatchHover
31623        });
31624      })
31625    );
31626  };
31627  
31628  exports.default = SwatchesGroup;
31629  
31630  /***/ }),
31631  
31632  /***/ "./node_modules/react-color/lib/components/twitter/Twitter.js":
31633  /*!********************************************************************!*\
31634    !*** ./node_modules/react-color/lib/components/twitter/Twitter.js ***!
31635    \********************************************************************/
31636  /*! no static exports found */
31637  /***/ (function(module, exports, __webpack_require__) {
31638  
31639  "use strict";
31640  
31641  
31642  Object.defineProperty(exports, "__esModule", {
31643    value: true
31644  });
31645  exports.Twitter = undefined;
31646  
31647  var _react = __webpack_require__(/*! react */ "react");
31648  
31649  var _react2 = _interopRequireDefault(_react);
31650  
31651  var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
31652  
31653  var _propTypes2 = _interopRequireDefault(_propTypes);
31654  
31655  var _reactcss = __webpack_require__(/*! reactcss */ "./node_modules/reactcss/lib/index.js");
31656  
31657  var _reactcss2 = _interopRequireDefault(_reactcss);
31658  
31659  var _map = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
31660  
31661  var _map2 = _interopRequireDefault(_map);
31662  
31663  var _color = __webpack_require__(/*! ../../helpers/color */ "./node_modules/react-color/lib/helpers/color.js");
31664  
31665  var _color2 = _interopRequireDefault(_color);
31666  
31667  var _common = __webpack_require__(/*! ../common */ "./node_modules/react-color/lib/components/common/index.js");
31668  
31669  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31670  
31671  var Twitter = exports.Twitter = function Twitter(_ref) {
31672    var onChange = _ref.onChange,
31673        onSwatchHover = _ref.onSwatchHover,
31674        hex = _ref.hex,
31675        colors = _ref.colors,
31676        width = _ref.width,
31677        triangle = _ref.triangle,
31678        _ref$className = _ref.className,
31679        className = _ref$className === undefined ? '' : _ref$className;
31680  
31681    var styles = (0, _reactcss2.default)({
31682      'default': {
31683        card: {
31684          width: width,
31685          background: '#fff',
31686          border: '0 solid rgba(0,0,0,0.25)',
31687          boxShadow: '0 1px 4px rgba(0,0,0,0.25)',
31688          borderRadius: '4px',
31689          position: 'relative'
31690        },
31691        body: {
31692          padding: '15px 9px 9px 15px'
31693        },
31694        label: {
31695          fontSize: '18px',
31696          color: '#fff'
31697        },
31698        triangle: {
31699          width: '0px',
31700          height: '0px',
31701          borderStyle: 'solid',
31702          borderWidth: '0 9px 10px 9px',
31703          borderColor: 'transparent transparent #fff transparent',
31704          position: 'absolute'
31705        },
31706        triangleShadow: {
31707          width: '0px',
31708          height: '0px',
31709          borderStyle: 'solid',
31710          borderWidth: '0 9px 10px 9px',
31711          borderColor: 'transparent transparent rgba(0,0,0,.1) transparent',
31712          position: 'absolute'
31713        },
31714        hash: {
31715          background: '#F0F0F0',
31716          height: '30px',
31717          width: '30px',
31718          borderRadius: '4px 0 0 4px',
31719          float: 'left',
31720          color: '#98A1A4',
31721          display: 'flex',
31722          alignItems: 'center',
31723          justifyContent: 'center'
31724        },
31725        input: {
31726          width: '100px',
31727          fontSize: '14px',
31728          color: '#666',
31729          border: '0px',
31730          outline: 'none',
31731          height: '28px',
31732          boxShadow: 'inset 0 0 0 1px #F0F0F0',
31733          boxSizing: 'content-box',
31734          borderRadius: '0 4px 4px 0',
31735          float: 'left',
31736          paddingLeft: '8px'
31737        },
31738        swatch: {
31739          width: '30px',
31740          height: '30px',
31741          float: 'left',
31742          borderRadius: '4px',
31743          margin: '0 6px 6px 0'
31744        },
31745        clear: {
31746          clear: 'both'
31747        }
31748      },
31749      'hide-triangle': {
31750        triangle: {
31751          display: 'none'
31752        },
31753        triangleShadow: {
31754          display: 'none'
31755        }
31756      },
31757      'top-left-triangle': {
31758        triangle: {
31759          top: '-10px',
31760          left: '12px'
31761        },
31762        triangleShadow: {
31763          top: '-11px',
31764          left: '12px'
31765        }
31766      },
31767      'top-right-triangle': {
31768        triangle: {
31769          top: '-10px',
31770          right: '12px'
31771        },
31772        triangleShadow: {
31773          top: '-11px',
31774          right: '12px'
31775        }
31776      }
31777    }, {
31778      'hide-triangle': triangle === 'hide',
31779      'top-left-triangle': triangle === 'top-left',
31780      'top-right-triangle': triangle === 'top-right'
31781    });
31782  
31783    var handleChange = function handleChange(hexcode, e) {
31784      _color2.default.isValidHex(hexcode) && onChange({
31785        hex: hexcode,
31786        source: 'hex'
31787      }, e);
31788    };
31789  
31790    return _react2.default.createElement(
31791      'div',
31792      { style: styles.card, className: 'twitter-picker ' + className },
31793      _react2.default.createElement('div', { style: styles.triangleShadow }),
31794      _react2.default.createElement('div', { style: styles.triangle }),
31795      _react2.default.createElement(
31796        'div',
31797        { style: styles.body },
31798        (0, _map2.default)(colors, function (c, i) {
31799          return _react2.default.createElement(_common.Swatch, {
31800            key: i,
31801            color: c,
31802            hex: c,
31803            style: styles.swatch,
31804            onClick: handleChange,
31805            onHover: onSwatchHover,
31806            focusStyle: {
31807              boxShadow: '0 0 4px ' + c
31808            }
31809          });
31810        }),
31811        _react2.default.createElement(
31812          'div',
31813          { style: styles.hash },
31814          '#'
31815        ),
31816        _react2.default.createElement(_common.EditableInput, {
31817          style: { input: styles.input },
31818          value: hex.replace('#', ''),
31819          onChange: handleChange
31820        }),
31821        _react2.default.createElement('div', { style: styles.clear })
31822      )
31823    );
31824  };
31825  
31826  Twitter.propTypes = {
31827    width: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),
31828    triangle: _propTypes2.default.oneOf(['hide', 'top-left', 'top-right']),
31829    colors: _propTypes2.default.arrayOf(_propTypes2.default.string)
31830  };
31831  
31832  Twitter.defaultProps = {
31833    width: 276,
31834    colors: ['#FF6900', '#FCB900', '#7BDCB5', '#00D084', '#8ED1FC', '#0693E3', '#ABB8C3', '#EB144C', '#F78DA7', '#9900EF'],
31835    triangle: 'top-left'
31836  };
31837  
31838  exports.default = (0, _common.ColorWrap)(Twitter);
31839  
31840  /***/ }),
31841  
31842  /***/ "./node_modules/react-color/lib/helpers/alpha.js":
31843  /*!*******************************************************!*\
31844    !*** ./node_modules/react-color/lib/helpers/alpha.js ***!
31845    \*******************************************************/
31846  /*! no static exports found */
31847  /***/ (function(module, exports, __webpack_require__) {
31848  
31849  "use strict";
31850  
31851  
31852  Object.defineProperty(exports, "__esModule", {
31853    value: true
31854  });
31855  var calculateChange = exports.calculateChange = function calculateChange(e, skip, props, container) {
31856    e.preventDefault();
31857    var containerWidth = container.clientWidth;
31858    var containerHeight = container.clientHeight;
31859    var x = typeof e.pageX === 'number' ? e.pageX : e.touches[0].pageX;
31860    var y = typeof e.pageY === 'number' ? e.pageY : e.touches[0].pageY;
31861    var left = x - (container.getBoundingClientRect().left + window.pageXOffset);
31862    var top = y - (container.getBoundingClientRect().top + window.pageYOffset);
31863  
31864    if (props.direction === 'vertical') {
31865      var a = void 0;
31866      if (top < 0) {
31867        a = 0;
31868      } else if (top > containerHeight) {
31869        a = 1;
31870      } else {
31871        a = Math.round(top * 100 / containerHeight) / 100;
31872      }
31873  
31874      if (props.hsl.a !== a) {
31875        return {
31876          h: props.hsl.h,
31877          s: props.hsl.s,
31878          l: props.hsl.l,
31879          a: a,
31880          source: 'rgb'
31881        };
31882      }
31883    } else {
31884      var _a = void 0;
31885      if (left < 0) {
31886        _a = 0;
31887      } else if (left > containerWidth) {
31888        _a = 1;
31889      } else {
31890        _a = Math.round(left * 100 / containerWidth) / 100;
31891      }
31892  
31893      if (props.a !== _a) {
31894        return {
31895          h: props.hsl.h,
31896          s: props.hsl.s,
31897          l: props.hsl.l,
31898          a: _a,
31899          source: 'rgb'
31900        };
31901      }
31902    }
31903    return null;
31904  };
31905  
31906  /***/ }),
31907  
31908  /***/ "./node_modules/react-color/lib/helpers/checkboard.js":
31909  /*!************************************************************!*\
31910    !*** ./node_modules/react-color/lib/helpers/checkboard.js ***!
31911    \************************************************************/
31912  /*! no static exports found */
31913  /***/ (function(module, exports, __webpack_require__) {
31914  
31915  "use strict";
31916  
31917  
31918  Object.defineProperty(exports, "__esModule", {
31919    value: true
31920  });
31921  var checkboardCache = {};
31922  
31923  var render = exports.render = function render(c1, c2, size, serverCanvas) {
31924    if (typeof document === 'undefined' && !serverCanvas) {
31925      return null;
31926    }
31927    var canvas = serverCanvas ? new serverCanvas() : document.createElement('canvas');
31928    canvas.width = size * 2;
31929    canvas.height = size * 2;
31930    var ctx = canvas.getContext('2d');
31931    if (!ctx) {
31932      return null;
31933    } // If no context can be found, return early.
31934    ctx.fillStyle = c1;
31935    ctx.fillRect(0, 0, canvas.width, canvas.height);
31936    ctx.fillStyle = c2;
31937    ctx.fillRect(0, 0, size, size);
31938    ctx.translate(size, size);
31939    ctx.fillRect(0, 0, size, size);
31940    return canvas.toDataURL();
31941  };
31942  
31943  var get = exports.get = function get(c1, c2, size, serverCanvas) {
31944    var key = c1 + '-' + c2 + '-' + size + (serverCanvas ? '-server' : '');
31945    var checkboard = render(c1, c2, size, serverCanvas);
31946  
31947    if (checkboardCache[key]) {
31948      return checkboardCache[key];
31949    }
31950    checkboardCache[key] = checkboard;
31951    return checkboard;
31952  };
31953  
31954  /***/ }),
31955  
31956  /***/ "./node_modules/react-color/lib/helpers/color.js":
31957  /*!*******************************************************!*\
31958    !*** ./node_modules/react-color/lib/helpers/color.js ***!
31959    \*******************************************************/
31960  /*! no static exports found */
31961  /***/ (function(module, exports, __webpack_require__) {
31962  
31963  "use strict";
31964  
31965  
31966  Object.defineProperty(exports, "__esModule", {
31967    value: true
31968  });
31969  exports.red = undefined;
31970  
31971  var _each = __webpack_require__(/*! lodash/each */ "./node_modules/lodash/each.js");
31972  
31973  var _each2 = _interopRequireDefault(_each);
31974  
31975  var _tinycolor = __webpack_require__(/*! tinycolor2 */ "./node_modules/tinycolor2/tinycolor.js");
31976  
31977  var _tinycolor2 = _interopRequireDefault(_tinycolor);
31978  
31979  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31980  
31981  exports.default = {
31982    simpleCheckForValidColor: function simpleCheckForValidColor(data) {
31983      var keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v'];
31984      var checked = 0;
31985      var passed = 0;
31986      (0, _each2.default)(keysToCheck, function (letter) {
31987        if (data[letter]) {
31988          checked += 1;
31989          if (!isNaN(data[letter])) {
31990            passed += 1;
31991          }
31992          if (letter === 's' || letter === 'l') {
31993            var percentPatt = /^\d+%$/;
31994            if (percentPatt.test(data[letter])) {
31995              passed += 1;
31996            }
31997          }
31998        }
31999      });
32000      return checked === passed ? data : false;
32001    },
32002    toState: function toState(data, oldHue) {
32003      var color = data.hex ? (0, _tinycolor2.default)(data.hex) : (0, _tinycolor2.default)(data);
32004      var hsl = color.toHsl();
32005      var hsv = color.toHsv();
32006      var rgb = color.toRgb();
32007      var hex = color.toHex();
32008      if (hsl.s === 0) {
32009        hsl.h = oldHue || 0;
32010        hsv.h = oldHue || 0;
32011      }
32012      var transparent = hex === '000000' && rgb.a === 0;
32013  
32014      return {
32015        hsl: hsl,
32016        hex: transparent ? 'transparent' : '#' + hex,
32017        rgb: rgb,
32018        hsv: hsv,
32019        oldHue: data.h || oldHue || hsl.h,
32020        source: data.source
32021      };
32022    },
32023    isValidHex: function isValidHex(hex) {
32024      // disable hex4 and hex8
32025      var lh = String(hex).charAt(0) === '#' ? 1 : 0;
32026      return hex.length !== 4 + lh && hex.length < 7 + lh && (0, _tinycolor2.default)(hex).isValid();
32027    },
32028    getContrastingColor: function getContrastingColor(data) {
32029      if (!data) {
32030        return '#fff';
32031      }
32032      var col = this.toState(data);
32033      if (col.hex === 'transparent') {
32034        return 'rgba(0,0,0,0.4)';
32035      }
32036      var yiq = (col.rgb.r * 299 + col.rgb.g * 587 + col.rgb.b * 114) / 1000;
32037      return yiq >= 128 ? '#000' : '#fff';
32038    }
32039  };
32040  var red = exports.red = {
32041    hsl: { a: 1, h: 0, l: 0.5, s: 1 },
32042    hex: '#ff0000',
32043    rgb: { r: 255, g: 0, b: 0, a: 1 },
32044    hsv: { h: 0, s: 1, v: 1, a: 1 }
32045  };
32046  
32047  /***/ }),
32048  
32049  /***/ "./node_modules/react-color/lib/helpers/hue.js":
32050  /*!*****************************************************!*\
32051    !*** ./node_modules/react-color/lib/helpers/hue.js ***!
32052    \*****************************************************/
32053  /*! no static exports found */
32054  /***/ (function(module, exports, __webpack_require__) {
32055  
32056  "use strict";
32057  
32058  
32059  Object.defineProperty(exports, "__esModule", {
32060    value: true
32061  });
32062  var calculateChange = exports.calculateChange = function calculateChange(e, skip, props, container) {
32063    e.preventDefault();
32064    var containerWidth = container.clientWidth;
32065    var containerHeight = container.clientHeight;
32066    var x = typeof e.pageX === 'number' ? e.pageX : e.touches[0].pageX;
32067    var y = typeof e.pageY === 'number' ? e.pageY : e.touches[0].pageY;
32068    var left = x - (container.getBoundingClientRect().left + window.pageXOffset);
32069    var top = y - (container.getBoundingClientRect().top + window.pageYOffset);
32070  
32071    if (props.direction === 'vertical') {
32072      var h = void 0;
32073      if (top < 0) {
32074        h = 359;
32075      } else if (top > containerHeight) {
32076        h = 0;
32077      } else {
32078        var percent = -(top * 100 / containerHeight) + 100;
32079        h = 360 * percent / 100;
32080      }
32081  
32082      if (props.hsl.h !== h) {
32083        return {
32084          h: h,
32085          s: props.hsl.s,
32086          l: props.hsl.l,
32087          a: props.hsl.a,
32088          source: 'rgb'
32089        };
32090      }
32091    } else {
32092      var _h = void 0;
32093      if (left < 0) {
32094        _h = 0;
32095      } else if (left > containerWidth) {
32096        _h = 359;
32097      } else {
32098        var _percent = left * 100 / containerWidth;
32099        _h = 360 * _percent / 100;
32100      }
32101  
32102      if (props.hsl.h !== _h) {
32103        return {
32104          h: _h,
32105          s: props.hsl.s,
32106          l: props.hsl.l,
32107          a: props.hsl.a,
32108          source: 'rgb'
32109        };
32110      }
32111    }
32112    return null;
32113  };
32114  
32115  /***/ }),
32116  
32117  /***/ "./node_modules/react-color/lib/helpers/interaction.js":
32118  /*!*************************************************************!*\
32119    !*** ./node_modules/react-color/lib/helpers/interaction.js ***!
32120    \*************************************************************/
32121  /*! no static exports found */
32122  /***/ (function(module, exports, __webpack_require__) {
32123  
32124  "use strict";
32125  
32126  
32127  Object.defineProperty(exports, "__esModule", {
32128    value: true
32129  });
32130  exports.handleFocus = undefined;
32131  
32132  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; };
32133  
32134  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; }; }();
32135  
32136  var _react = __webpack_require__(/*! react */ "react");
32137  
32138  var _react2 = _interopRequireDefault(_react);
32139  
32140  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
32141  
32142  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
32143  
32144  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; }
32145  
32146  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; } /* eslint-disable no-invalid-this */
32147  
32148  
32149  var handleFocus = exports.handleFocus = function handleFocus(Component) {
32150    var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
32151    return function (_React$Component) {
32152      _inherits(Focus, _React$Component);
32153  
32154      function Focus() {
32155        var _ref;
32156  
32157        var _temp, _this, _ret;
32158  
32159        _classCallCheck(this, Focus);
32160  
32161        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
32162          args[_key] = arguments[_key];
32163        }
32164  
32165        return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Focus.__proto__ || Object.getPrototypeOf(Focus)).call.apply(_ref, [this].concat(args))), _this), _this.state = { focus: false }, _this.handleFocus = function () {
32166          return _this.setState({ focus: true });
32167        }, _this.handleBlur = function () {
32168          return _this.setState({ focus: false });
32169        }, _temp), _possibleConstructorReturn(_this, _ret);
32170      }
32171  
32172      _createClass(Focus, [{
32173        key: 'render',
32174        value: function render() {
32175          return _react2.default.createElement(
32176            Span,
32177            { onFocus: this.handleFocus, onBlur: this.handleBlur },
32178            _react2.default.createElement(Component, _extends({}, this.props, this.state))
32179          );
32180        }
32181      }]);
32182  
32183      return Focus;
32184    }(_react2.default.Component);
32185  };
32186  
32187  /***/ }),
32188  
32189  /***/ "./node_modules/react-color/lib/helpers/saturation.js":
32190  /*!************************************************************!*\
32191    !*** ./node_modules/react-color/lib/helpers/saturation.js ***!
32192    \************************************************************/
32193  /*! no static exports found */
32194  /***/ (function(module, exports, __webpack_require__) {
32195  
32196  "use strict";
32197  
32198  
32199  Object.defineProperty(exports, "__esModule", {
32200    value: true
32201  });
32202  var calculateChange = exports.calculateChange = function calculateChange(e, skip, props, container) {
32203    e.preventDefault();
32204  
32205    var _container$getBoundin = container.getBoundingClientRect(),
32206        containerWidth = _container$getBoundin.width,
32207        containerHeight = _container$getBoundin.height;
32208  
32209    var x = typeof e.pageX === 'number' ? e.pageX : e.touches[0].pageX;
32210    var y = typeof e.pageY === 'number' ? e.pageY : e.touches[0].pageY;
32211    var left = x - (container.getBoundingClientRect().left + window.pageXOffset);
32212    var top = y - (container.getBoundingClientRect().top + window.pageYOffset);
32213  
32214    if (left < 0) {
32215      left = 0;
32216    } else if (left > containerWidth) {
32217      left = containerWidth;
32218    } else if (top < 0) {
32219      top = 0;
32220    } else if (top > containerHeight) {
32221      top = containerHeight;
32222    }
32223  
32224    var saturation = left * 100 / containerWidth;
32225    var bright = -(top * 100 / containerHeight) + 100;
32226  
32227    return {
32228      h: props.hsl.h,
32229      s: saturation,
32230      v: bright,
32231      a: props.hsl.a,
32232      source: 'rgb'
32233    };
32234  };
32235  
32236  /***/ }),
32237  
32238  /***/ "./node_modules/react-color/lib/index.js":
32239  /*!***********************************************!*\
32240    !*** ./node_modules/react-color/lib/index.js ***!
32241    \***********************************************/
32242  /*! no static exports found */
32243  /***/ (function(module, exports, __webpack_require__) {
32244  
32245  "use strict";
32246  
32247  
32248  Object.defineProperty(exports, "__esModule", {
32249    value: true
32250  });
32251  exports.CustomPicker = exports.TwitterPicker = exports.SwatchesPicker = exports.SliderPicker = exports.SketchPicker = exports.PhotoshopPicker = exports.MaterialPicker = exports.HuePicker = exports.GithubPicker = exports.CompactPicker = exports.ChromePicker = exports.default = exports.CirclePicker = exports.BlockPicker = exports.AlphaPicker = undefined;
32252  
32253  var _Alpha = __webpack_require__(/*! ./components/alpha/Alpha */ "./node_modules/react-color/lib/components/alpha/Alpha.js");
32254  
32255  Object.defineProperty(exports, 'AlphaPicker', {
32256    enumerable: true,
32257    get: function get() {
32258      return _interopRequireDefault(_Alpha).default;
32259    }
32260  });
32261  
32262  var _Block = __webpack_require__(/*! ./components/block/Block */ "./node_modules/react-color/lib/components/block/Block.js");
32263  
32264  Object.defineProperty(exports, 'BlockPicker', {
32265    enumerable: true,
32266    get: function get() {
32267      return _interopRequireDefault(_Block).default;
32268    }
32269  });
32270  
32271  var _Circle = __webpack_require__(/*! ./components/circle/Circle */ "./node_modules/react-color/lib/components/circle/Circle.js");
32272  
32273  Object.defineProperty(exports, 'CirclePicker', {
32274    enumerable: true,
32275    get: function get() {
32276      return _interopRequireDefault(_Circle).default;
32277    }
32278  });
32279  
32280  var _Chrome = __webpack_require__(/*! ./components/chrome/Chrome */ "./node_modules/react-color/lib/components/chrome/Chrome.js");
32281  
32282  Object.defineProperty(exports, 'ChromePicker', {
32283    enumerable: true,
32284    get: function get() {
32285      return _interopRequireDefault(_Chrome).default;
32286    }
32287  });
32288  
32289  var _Compact = __webpack_require__(/*! ./components/compact/Compact */ "./node_modules/react-color/lib/components/compact/Compact.js");
32290  
32291  Object.defineProperty(exports, 'CompactPicker', {
32292    enumerable: true,
32293    get: function get() {
32294      return _interopRequireDefault(_Compact).default;
32295    }
32296  });
32297  
32298  var _Github = __webpack_require__(/*! ./components/github/Github */ "./node_modules/react-color/lib/components/github/Github.js");
32299  
32300  Object.defineProperty(exports, 'GithubPicker', {
32301    enumerable: true,
32302    get: function get() {
32303      return _interopRequireDefault(_Github).default;
32304    }
32305  });
32306  
32307  var _Hue = __webpack_require__(/*! ./components/hue/Hue */ "./node_modules/react-color/lib/components/hue/Hue.js");
32308  
32309  Object.defineProperty(exports, 'HuePicker', {
32310    enumerable: true,
32311    get: function get() {
32312      return _interopRequireDefault(_Hue).default;
32313    }
32314  });
32315  
32316  var _Material = __webpack_require__(/*! ./components/material/Material */ "./node_modules/react-color/lib/components/material/Material.js");
32317  
32318  Object.defineProperty(exports, 'MaterialPicker', {
32319    enumerable: true,
32320    get: function get() {
32321      return _interopRequireDefault(_Material).default;
32322    }
32323  });
32324  
32325  var _Photoshop = __webpack_require__(/*! ./components/photoshop/Photoshop */ "./node_modules/react-color/lib/components/photoshop/Photoshop.js");
32326  
32327  Object.defineProperty(exports, 'PhotoshopPicker', {
32328    enumerable: true,
32329    get: function get() {
32330      return _interopRequireDefault(_Photoshop).default;
32331    }
32332  });
32333  
32334  var _Sketch = __webpack_require__(/*! ./components/sketch/Sketch */ "./node_modules/react-color/lib/components/sketch/Sketch.js");
32335  
32336  Object.defineProperty(exports, 'SketchPicker', {
32337    enumerable: true,
32338    get: function get() {
32339      return _interopRequireDefault(_Sketch).default;
32340    }
32341  });
32342  
32343  var _Slider = __webpack_require__(/*! ./components/slider/Slider */ "./node_modules/react-color/lib/components/slider/Slider.js");
32344  
32345  Object.defineProperty(exports, 'SliderPicker', {
32346    enumerable: true,
32347    get: function get() {
32348      return _interopRequireDefault(_Slider).default;
32349    }
32350  });
32351  
32352  var _Swatches = __webpack_require__(/*! ./components/swatches/Swatches */ "./node_modules/react-color/lib/components/swatches/Swatches.js");
32353  
32354  Object.defineProperty(exports, 'SwatchesPicker', {
32355    enumerable: true,
32356    get: function get() {
32357      return _interopRequireDefault(_Swatches).default;
32358    }
32359  });
32360  
32361  var _Twitter = __webpack_require__(/*! ./components/twitter/Twitter */ "./node_modules/react-color/lib/components/twitter/Twitter.js");
32362  
32363  Object.defineProperty(exports, 'TwitterPicker', {
32364    enumerable: true,
32365    get: function get() {
32366      return _interopRequireDefault(_Twitter).default;
32367    }
32368  });
32369  
32370  var _ColorWrap = __webpack_require__(/*! ./components/common/ColorWrap */ "./node_modules/react-color/lib/components/common/ColorWrap.js");
32371  
32372  Object.defineProperty(exports, 'CustomPicker', {
32373    enumerable: true,
32374    get: function get() {
32375      return _interopRequireDefault(_ColorWrap).default;
32376    }
32377  });
32378  
32379  var _Chrome2 = _interopRequireDefault(_Chrome);
32380  
32381  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
32382  
32383  exports.default = _Chrome2.default;
32384  
32385  /***/ }),
32386  
32387  /***/ "./node_modules/react-datepicker/es/index.js":
32388  /*!***************************************************!*\
32389    !*** ./node_modules/react-datepicker/es/index.js ***!
32390    \***************************************************/
32391  /*! exports provided: CalendarContainer, default */
32392  /***/ (function(module, __webpack_exports__, __webpack_require__) {
32393  
32394  "use strict";
32395  __webpack_require__.r(__webpack_exports__);
32396  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalendarContainer", function() { return CalendarContainer; });
32397  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
32398  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
32399  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
32400  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
32401  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
32402  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
32403  /* harmony import */ var react_onclickoutside__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-onclickoutside */ "./node_modules/react-onclickoutside/dist/react-onclickoutside.es.js");
32404  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! moment */ "moment");
32405  /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_4__);
32406  /* harmony import */ var react_popper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-popper */ "./node_modules/react-popper/lib/esm/index.js");
32407  
32408  
32409  
32410  
32411  
32412  
32413  
32414  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
32415    return typeof obj;
32416  } : function (obj) {
32417    return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
32418  };
32419  
32420  
32421  
32422  
32423  
32424  
32425  
32426  
32427  
32428  var classCallCheck = function (instance, Constructor) {
32429    if (!(instance instanceof Constructor)) {
32430      throw new TypeError("Cannot call a class as a function");
32431    }
32432  };
32433  
32434  var createClass = function () {
32435    function defineProperties(target, props) {
32436      for (var i = 0; i < props.length; i++) {
32437        var descriptor = props[i];
32438        descriptor.enumerable = descriptor.enumerable || false;
32439        descriptor.configurable = true;
32440        if ("value" in descriptor) descriptor.writable = true;
32441        Object.defineProperty(target, descriptor.key, descriptor);
32442      }
32443    }
32444  
32445    return function (Constructor, protoProps, staticProps) {
32446      if (protoProps) defineProperties(Constructor.prototype, protoProps);
32447      if (staticProps) defineProperties(Constructor, staticProps);
32448      return Constructor;
32449    };
32450  }();
32451  
32452  
32453  
32454  
32455  
32456  
32457  
32458  var _extends = Object.assign || function (target) {
32459    for (var i = 1; i < arguments.length; i++) {
32460      var source = arguments[i];
32461  
32462      for (var key in source) {
32463        if (Object.prototype.hasOwnProperty.call(source, key)) {
32464          target[key] = source[key];
32465        }
32466      }
32467    }
32468  
32469    return target;
32470  };
32471  
32472  
32473  
32474  var inherits = function (subClass, superClass) {
32475    if (typeof superClass !== "function" && superClass !== null) {
32476      throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
32477    }
32478  
32479    subClass.prototype = Object.create(superClass && superClass.prototype, {
32480      constructor: {
32481        value: subClass,
32482        enumerable: false,
32483        writable: true,
32484        configurable: true
32485      }
32486    });
32487    if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
32488  };
32489  
32490  
32491  
32492  
32493  
32494  
32495  
32496  
32497  
32498  
32499  
32500  var possibleConstructorReturn = function (self, call) {
32501    if (!self) {
32502      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
32503    }
32504  
32505    return call && (typeof call === "object" || typeof call === "function") ? call : self;
32506  };
32507  
32508  function generateYears(year, noOfYear, minDate, maxDate) {
32509    var list = [];
32510    for (var i = 0; i < 2 * noOfYear + 1; i++) {
32511      var newYear = year + noOfYear - i;
32512      var isInRange = true;
32513  
32514      if (minDate) {
32515        isInRange = minDate.year() <= newYear;
32516      }
32517  
32518      if (maxDate && isInRange) {
32519        isInRange = maxDate.year() >= newYear;
32520      }
32521  
32522      if (isInRange) {
32523        list.push(newYear);
32524      }
32525    }
32526  
32527    return list;
32528  }
32529  
32530  var YearDropdownOptions = function (_React$Component) {
32531    inherits(YearDropdownOptions, _React$Component);
32532  
32533    function YearDropdownOptions(props) {
32534      classCallCheck(this, YearDropdownOptions);
32535  
32536      var _this = possibleConstructorReturn(this, _React$Component.call(this, props));
32537  
32538      _this.renderOptions = function () {
32539        var selectedYear = _this.props.year;
32540        var options = _this.state.yearsList.map(function (year) {
32541          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
32542            "div",
32543            {
32544              className: selectedYear === year ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option",
32545              key: year,
32546              ref: year,
32547              onClick: _this.onChange.bind(_this, year)
32548            },
32549            selectedYear === year ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
32550              "span",
32551              { className: "react-datepicker__year-option--selected" },
32552              "\u2713"
32553            ) : "",
32554            year
32555          );
32556        });
32557  
32558        var minYear = _this.props.minDate ? _this.props.minDate.year() : null;
32559        var maxYear = _this.props.maxDate ? _this.props.maxDate.year() : null;
32560  
32561        if (!maxYear || !_this.state.yearsList.find(function (year) {
32562          return year === maxYear;
32563        })) {
32564          options.unshift(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
32565            "div",
32566            {
32567              className: "react-datepicker__year-option",
32568              ref: "upcoming",
32569              key: "upcoming",
32570              onClick: _this.incrementYears
32571            },
32572            react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" })
32573          ));
32574        }
32575  
32576        if (!minYear || !_this.state.yearsList.find(function (year) {
32577          return year === minYear;
32578        })) {
32579          options.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
32580            "div",
32581            {
32582              className: "react-datepicker__year-option",
32583              ref: "previous",
32584              key: "previous",
32585              onClick: _this.decrementYears
32586            },
32587            react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" })
32588          ));
32589        }
32590  
32591        return options;
32592      };
32593  
32594      _this.onChange = function (year) {
32595        _this.props.onChange(year);
32596      };
32597  
32598      _this.handleClickOutside = function () {
32599        _this.props.onCancel();
32600      };
32601  
32602      _this.shiftYears = function (amount) {
32603        var years = _this.state.yearsList.map(function (year) {
32604          return year + amount;
32605        });
32606  
32607        _this.setState({
32608          yearsList: years
32609        });
32610      };
32611  
32612      _this.incrementYears = function () {
32613        return _this.shiftYears(1);
32614      };
32615  
32616      _this.decrementYears = function () {
32617        return _this.shiftYears(-1);
32618      };
32619  
32620      var yearDropdownItemNumber = props.yearDropdownItemNumber,
32621          scrollableYearDropdown = props.scrollableYearDropdown;
32622  
32623      var noOfYear = yearDropdownItemNumber || (scrollableYearDropdown ? 10 : 5);
32624  
32625      _this.state = {
32626        yearsList: generateYears(_this.props.year, noOfYear, _this.props.minDate, _this.props.maxDate)
32627      };
32628      return _this;
32629    }
32630  
32631    YearDropdownOptions.prototype.render = function render() {
32632      var dropdownClass = classnames__WEBPACK_IMPORTED_MODULE_2___default()({
32633        "react-datepicker__year-dropdown": true,
32634        "react-datepicker__year-dropdown--scrollable": this.props.scrollableYearDropdown
32635      });
32636  
32637      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
32638        "div",
32639        { className: dropdownClass },
32640        this.renderOptions()
32641      );
32642    };
32643  
32644    return YearDropdownOptions;
32645  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
32646  
32647  YearDropdownOptions.propTypes = {
32648    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
32649    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
32650    onCancel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
32651    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
32652    scrollableYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
32653    year: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,
32654    yearDropdownItemNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number
32655  };
32656  
32657  var dayOfWeekCodes = {
32658    1: "mon",
32659    2: "tue",
32660    3: "wed",
32661    4: "thu",
32662    5: "fri",
32663    6: "sat",
32664    7: "sun"
32665  };
32666  
32667  // These functions are not exported so
32668  // that we avoid magic strings like 'days'
32669  function set$1(date, unit, to) {
32670    return date.set(unit, to);
32671  }
32672  
32673  function add(date, amount, unit) {
32674    return date.add(amount, unit);
32675  }
32676  
32677  function subtract(date, amount, unit) {
32678    return date.subtract(amount, unit);
32679  }
32680  
32681  function get$1(date, unit) {
32682    return date.get(unit);
32683  }
32684  
32685  function getStartOf(date, unit) {
32686    return date.startOf(unit);
32687  }
32688  
32689  // ** Date Constructors **
32690  
32691  function newDate(point) {
32692    return moment__WEBPACK_IMPORTED_MODULE_4___default()(point);
32693  }
32694  
32695  function newDateWithOffset(utcOffset) {
32696    return moment__WEBPACK_IMPORTED_MODULE_4___default()().utc().utcOffset(utcOffset);
32697  }
32698  
32699  function now(maybeFixedUtcOffset) {
32700    if (maybeFixedUtcOffset == null) {
32701      return newDate();
32702    }
32703    return newDateWithOffset(maybeFixedUtcOffset);
32704  }
32705  
32706  function cloneDate(date) {
32707    return date.clone();
32708  }
32709  
32710  function parseDate(value, _ref) {
32711    var dateFormat = _ref.dateFormat,
32712        locale = _ref.locale;
32713  
32714    var m = moment__WEBPACK_IMPORTED_MODULE_4___default()(value, dateFormat, locale || moment__WEBPACK_IMPORTED_MODULE_4___default.a.locale(), true);
32715    return m.isValid() ? m : null;
32716  }
32717  
32718  // ** Date "Reflection" **
32719  
32720  function isMoment(date) {
32721    return moment__WEBPACK_IMPORTED_MODULE_4___default.a.isMoment(date);
32722  }
32723  
32724  function isDate(date) {
32725    return moment__WEBPACK_IMPORTED_MODULE_4___default.a.isDate(date);
32726  }
32727  
32728  // ** Date Formatting **
32729  
32730  function formatDate(date, format) {
32731    return date.format(format);
32732  }
32733  
32734  function safeDateFormat(date, _ref2) {
32735    var dateFormat = _ref2.dateFormat,
32736        locale = _ref2.locale;
32737  
32738    return date && date.clone().locale(locale || moment__WEBPACK_IMPORTED_MODULE_4___default.a.locale()).format(Array.isArray(dateFormat) ? dateFormat[0] : dateFormat) || "";
32739  }
32740  
32741  // ** Date Setters **
32742  
32743  function setTime(date, _ref3) {
32744    var hour = _ref3.hour,
32745        minute = _ref3.minute,
32746        second = _ref3.second;
32747  
32748    date.set({ hour: hour, minute: minute, second: second });
32749    return date;
32750  }
32751  
32752  function setMonth(date, month) {
32753    return set$1(date, "month", month);
32754  }
32755  
32756  function setYear(date, year) {
32757    return set$1(date, "year", year);
32758  }
32759  
32760  
32761  
32762  // ** Date Getters **
32763  
32764  function getSecond(date) {
32765    return get$1(date, "second");
32766  }
32767  
32768  function getMinute(date) {
32769    return get$1(date, "minute");
32770  }
32771  
32772  function getHour(date) {
32773    return get$1(date, "hour");
32774  }
32775  
32776  // Returns day of week
32777  function getDay(date) {
32778    return get$1(date, "day");
32779  }
32780  
32781  function getWeek(date) {
32782    return get$1(date, "week");
32783  }
32784  
32785  function getMonth(date) {
32786    return get$1(date, "month");
32787  }
32788  
32789  function getYear(date) {
32790    return get$1(date, "year");
32791  }
32792  
32793  // Returns day of month
32794  function getDate(date) {
32795    return get$1(date, "date");
32796  }
32797  
32798  
32799  
32800  function getDayOfWeekCode(day) {
32801    return dayOfWeekCodes[day.isoWeekday()];
32802  }
32803  
32804  // *** Start of ***
32805  
32806  function getStartOfDay(date) {
32807    return getStartOf(date, "day");
32808  }
32809  
32810  function getStartOfWeek(date) {
32811    return getStartOf(date, "week");
32812  }
32813  function getStartOfMonth(date) {
32814    return getStartOf(date, "month");
32815  }
32816  
32817  function getStartOfDate(date) {
32818    return getStartOf(date, "date");
32819  }
32820  
32821  // *** End of ***
32822  
32823  
32824  
32825  
32826  
32827  // ** Date Math **
32828  
32829  // *** Addition ***
32830  
32831  function addMinutes(date, amount) {
32832    return add(date, amount, "minutes");
32833  }
32834  
32835  function addHours(date, amount) {
32836    return add(date, amount, "hours");
32837  }
32838  
32839  function addDays(date, amount) {
32840    return add(date, amount, "days");
32841  }
32842  
32843  function addWeeks(date, amount) {
32844    return add(date, amount, "weeks");
32845  }
32846  
32847  function addMonths(date, amount) {
32848    return add(date, amount, "months");
32849  }
32850  
32851  function addYears(date, amount) {
32852    return add(date, amount, "years");
32853  }
32854  
32855  // *** Subtraction ***
32856  function subtractDays(date, amount) {
32857    return subtract(date, amount, "days");
32858  }
32859  
32860  function subtractWeeks(date, amount) {
32861    return subtract(date, amount, "weeks");
32862  }
32863  
32864  function subtractMonths(date, amount) {
32865    return subtract(date, amount, "months");
32866  }
32867  
32868  function subtractYears(date, amount) {
32869    return subtract(date, amount, "years");
32870  }
32871  
32872  // ** Date Comparison **
32873  
32874  function isBefore(date1, date2) {
32875    return date1.isBefore(date2);
32876  }
32877  
32878  function isAfter(date1, date2) {
32879    return date1.isAfter(date2);
32880  }
32881  
32882  function equals(date1, date2) {
32883    return date1.isSame(date2);
32884  }
32885  
32886  function isSameYear(date1, date2) {
32887    if (date1 && date2) {
32888      return date1.isSame(date2, "year");
32889    } else {
32890      return !date1 && !date2;
32891    }
32892  }
32893  
32894  function isSameMonth(date1, date2) {
32895    if (date1 && date2) {
32896      return date1.isSame(date2, "month");
32897    } else {
32898      return !date1 && !date2;
32899    }
32900  }
32901  
32902  function isSameDay(moment1, moment2) {
32903    if (moment1 && moment2) {
32904      return moment1.isSame(moment2, "day");
32905    } else {
32906      return !moment1 && !moment2;
32907    }
32908  }
32909  
32910  
32911  
32912  function isDayInRange(day, startDate, endDate) {
32913    var before = startDate.clone().startOf("day").subtract(1, "seconds");
32914    var after = endDate.clone().startOf("day").add(1, "seconds");
32915    return day.clone().startOf("day").isBetween(before, after);
32916  }
32917  
32918  // *** Diffing ***
32919  
32920  
32921  
32922  // ** Date Localization **
32923  
32924  function localizeDate(date, locale) {
32925    return date.clone().locale(locale || moment__WEBPACK_IMPORTED_MODULE_4___default.a.locale());
32926  }
32927  
32928  
32929  
32930  
32931  
32932  
32933  
32934  function getLocaleData(date) {
32935    return date.localeData();
32936  }
32937  
32938  function getLocaleDataForLocale(locale) {
32939    return moment__WEBPACK_IMPORTED_MODULE_4___default.a.localeData(locale);
32940  }
32941  
32942  function getFormattedWeekdayInLocale(locale, date, formatFunc) {
32943    return formatFunc(locale.weekdays(date));
32944  }
32945  
32946  function getWeekdayMinInLocale(locale, date) {
32947    return locale.weekdaysMin(date);
32948  }
32949  
32950  function getWeekdayShortInLocale(locale, date) {
32951    return locale.weekdaysShort(date);
32952  }
32953  
32954  // TODO what is this format exactly?
32955  function getMonthInLocale(locale, date, format) {
32956    return locale.months(date, format);
32957  }
32958  
32959  function getMonthShortInLocale(locale, date) {
32960    return locale.monthsShort(date);
32961  }
32962  
32963  // ** Utils for some components **
32964  
32965  function isDayDisabled(day) {
32966    var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
32967        minDate = _ref4.minDate,
32968        maxDate = _ref4.maxDate,
32969        excludeDates = _ref4.excludeDates,
32970        includeDates = _ref4.includeDates,
32971        filterDate = _ref4.filterDate;
32972  
32973    return minDate && day.isBefore(minDate, "day") || maxDate && day.isAfter(maxDate, "day") || excludeDates && excludeDates.some(function (excludeDate) {
32974      return isSameDay(day, excludeDate);
32975    }) || includeDates && !includeDates.some(function (includeDate) {
32976      return isSameDay(day, includeDate);
32977    }) || filterDate && !filterDate(day.clone()) || false;
32978  }
32979  
32980  function isOutOfBounds(day) {
32981    var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
32982        minDate = _ref5.minDate,
32983        maxDate = _ref5.maxDate;
32984  
32985    return minDate && day.isBefore(minDate, "day") || maxDate && day.isAfter(maxDate, "day");
32986  }
32987  
32988  function isTimeDisabled(time, disabledTimes) {
32989    var l = disabledTimes.length;
32990    for (var i = 0; i < l; i++) {
32991      if (disabledTimes[i].get("hours") === time.get("hours") && disabledTimes[i].get("minutes") === time.get("minutes")) {
32992        return true;
32993      }
32994    }
32995  
32996    return false;
32997  }
32998  
32999  function isTimeInDisabledRange(time, _ref6) {
33000    var minTime = _ref6.minTime,
33001        maxTime = _ref6.maxTime;
33002  
33003    if (!minTime || !maxTime) {
33004      throw new Error("Both minTime and maxTime props required");
33005    }
33006  
33007    var base = moment__WEBPACK_IMPORTED_MODULE_4___default()().hours(0).minutes(0).seconds(0);
33008    var baseTime = base.clone().hours(time.get("hours")).minutes(time.get("minutes"));
33009    var min = base.clone().hours(minTime.get("hours")).minutes(minTime.get("minutes"));
33010    var max = base.clone().hours(maxTime.get("hours")).minutes(maxTime.get("minutes"));
33011  
33012    return !(baseTime.isSameOrAfter(min) && baseTime.isSameOrBefore(max));
33013  }
33014  
33015  function allDaysDisabledBefore(day, unit) {
33016    var _ref7 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
33017        minDate = _ref7.minDate,
33018        includeDates = _ref7.includeDates;
33019  
33020    var dateBefore = day.clone().subtract(1, unit);
33021    return minDate && dateBefore.isBefore(minDate, unit) || includeDates && includeDates.every(function (includeDate) {
33022      return dateBefore.isBefore(includeDate, unit);
33023    }) || false;
33024  }
33025  
33026  function allDaysDisabledAfter(day, unit) {
33027    var _ref8 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
33028        maxDate = _ref8.maxDate,
33029        includeDates = _ref8.includeDates;
33030  
33031    var dateAfter = day.clone().add(1, unit);
33032    return maxDate && dateAfter.isAfter(maxDate, unit) || includeDates && includeDates.every(function (includeDate) {
33033      return dateAfter.isAfter(includeDate, unit);
33034    }) || false;
33035  }
33036  
33037  function getEffectiveMinDate(_ref9) {
33038    var minDate = _ref9.minDate,
33039        includeDates = _ref9.includeDates;
33040  
33041    if (includeDates && minDate) {
33042      return moment__WEBPACK_IMPORTED_MODULE_4___default.a.min(includeDates.filter(function (includeDate) {
33043        return minDate.isSameOrBefore(includeDate, "day");
33044      }));
33045    } else if (includeDates) {
33046      return moment__WEBPACK_IMPORTED_MODULE_4___default.a.min(includeDates);
33047    } else {
33048      return minDate;
33049    }
33050  }
33051  
33052  function getEffectiveMaxDate(_ref10) {
33053    var maxDate = _ref10.maxDate,
33054        includeDates = _ref10.includeDates;
33055  
33056    if (includeDates && maxDate) {
33057      return moment__WEBPACK_IMPORTED_MODULE_4___default.a.max(includeDates.filter(function (includeDate) {
33058        return maxDate.isSameOrAfter(includeDate, "day");
33059      }));
33060    } else if (includeDates) {
33061      return moment__WEBPACK_IMPORTED_MODULE_4___default.a.max(includeDates);
33062    } else {
33063      return maxDate;
33064    }
33065  }
33066  
33067  function getHightLightDaysMap() {
33068    var highlightDates = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
33069    var defaultClassName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "react-datepicker__day--highlighted";
33070  
33071    var dateClasses = new Map();
33072    for (var i = 0, len = highlightDates.length; i < len; i++) {
33073      var obj = highlightDates[i];
33074      if (isMoment(obj)) {
33075        var key = obj.format("MM.DD.YYYY");
33076        var classNamesArr = dateClasses.get(key) || [];
33077        if (!classNamesArr.includes(defaultClassName)) {
33078          classNamesArr.push(defaultClassName);
33079          dateClasses.set(key, classNamesArr);
33080        }
33081      } else if ((typeof obj === "undefined" ? "undefined" : _typeof(obj)) === "object") {
33082        var keys = Object.keys(obj);
33083        var className = keys[0];
33084        var arrOfMoments = obj[keys[0]];
33085        if (typeof className === "string" && arrOfMoments.constructor === Array) {
33086          for (var k = 0, _len = arrOfMoments.length; k < _len; k++) {
33087            var _key = arrOfMoments[k].format("MM.DD.YYYY");
33088            var _classNamesArr = dateClasses.get(_key) || [];
33089            if (!_classNamesArr.includes(className)) {
33090              _classNamesArr.push(className);
33091              dateClasses.set(_key, _classNamesArr);
33092            }
33093          }
33094        }
33095      }
33096    }
33097  
33098    return dateClasses;
33099  }
33100  
33101  function timesToInjectAfter(startOfDay, currentTime, currentMultiplier, intervals, injectedTimes) {
33102    var l = injectedTimes.length;
33103    var times = [];
33104    for (var i = 0; i < l; i++) {
33105      var injectedTime = addMinutes(addHours(cloneDate(startOfDay), getHour(injectedTimes[i])), getMinute(injectedTimes[i]));
33106      var nextTime = addMinutes(cloneDate(startOfDay), (currentMultiplier + 1) * intervals);
33107  
33108      if (injectedTime.isBetween(currentTime, nextTime)) {
33109        times.push(injectedTimes[i]);
33110      }
33111    }
33112  
33113    return times;
33114  }
33115  
33116  var WrappedYearDropdownOptions = Object(react_onclickoutside__WEBPACK_IMPORTED_MODULE_3__["default"])(YearDropdownOptions);
33117  
33118  var YearDropdown = function (_React$Component) {
33119    inherits(YearDropdown, _React$Component);
33120  
33121    function YearDropdown() {
33122      var _temp, _this, _ret;
33123  
33124      classCallCheck(this, YearDropdown);
33125  
33126      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33127        args[_key] = arguments[_key];
33128      }
33129  
33130      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
33131        dropdownVisible: false
33132      }, _this.renderSelectOptions = function () {
33133        var minYear = _this.props.minDate ? getYear(_this.props.minDate) : 1900;
33134        var maxYear = _this.props.maxDate ? getYear(_this.props.maxDate) : 2100;
33135  
33136        var options = [];
33137        for (var i = minYear; i <= maxYear; i++) {
33138          options.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33139            "option",
33140            { key: i, value: i },
33141            i
33142          ));
33143        }
33144        return options;
33145      }, _this.onSelectChange = function (e) {
33146        _this.onChange(e.target.value);
33147      }, _this.renderSelectMode = function () {
33148        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33149          "select",
33150          {
33151            value: _this.props.year,
33152            className: "react-datepicker__year-select",
33153            onChange: _this.onSelectChange
33154          },
33155          _this.renderSelectOptions()
33156        );
33157      }, _this.renderReadView = function (visible) {
33158        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33159          "div",
33160          {
33161            key: "read",
33162            style: { visibility: visible ? "visible" : "hidden" },
33163            className: "react-datepicker__year-read-view",
33164            onClick: function onClick(event) {
33165              return _this.toggleDropdown(event);
33166            }
33167          },
33168          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: "react-datepicker__year-read-view--down-arrow" }),
33169          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33170            "span",
33171            { className: "react-datepicker__year-read-view--selected-year" },
33172            _this.props.year
33173          )
33174        );
33175      }, _this.renderDropdown = function () {
33176        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(WrappedYearDropdownOptions, {
33177          key: "dropdown",
33178          ref: "options",
33179          year: _this.props.year,
33180          onChange: _this.onChange,
33181          onCancel: _this.toggleDropdown,
33182          minDate: _this.props.minDate,
33183          maxDate: _this.props.maxDate,
33184          scrollableYearDropdown: _this.props.scrollableYearDropdown,
33185          yearDropdownItemNumber: _this.props.yearDropdownItemNumber
33186        });
33187      }, _this.renderScrollMode = function () {
33188        var dropdownVisible = _this.state.dropdownVisible;
33189  
33190        var result = [_this.renderReadView(!dropdownVisible)];
33191        if (dropdownVisible) {
33192          result.unshift(_this.renderDropdown());
33193        }
33194        return result;
33195      }, _this.onChange = function (year) {
33196        _this.toggleDropdown();
33197        if (year === _this.props.year) return;
33198        _this.props.onChange(year);
33199      }, _this.toggleDropdown = function (event) {
33200        _this.setState({
33201          dropdownVisible: !_this.state.dropdownVisible
33202        }, function () {
33203          if (_this.props.adjustDateOnChange) {
33204            _this.handleYearChange(_this.props.date, event);
33205          }
33206        });
33207      }, _this.handleYearChange = function (date, event) {
33208        _this.onSelect(date, event);
33209        _this.setOpen();
33210      }, _this.onSelect = function (date, event) {
33211        if (_this.props.onSelect) {
33212          _this.props.onSelect(date, event);
33213        }
33214      }, _this.setOpen = function () {
33215        if (_this.props.setOpen) {
33216          _this.props.setOpen(true);
33217        }
33218      }, _temp), possibleConstructorReturn(_this, _ret);
33219    }
33220  
33221    YearDropdown.prototype.render = function render() {
33222      var renderedDropdown = void 0;
33223      switch (this.props.dropdownMode) {
33224        case "scroll":
33225          renderedDropdown = this.renderScrollMode();
33226          break;
33227        case "select":
33228          renderedDropdown = this.renderSelectMode();
33229          break;
33230      }
33231  
33232      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33233        "div",
33234        {
33235          className: "react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--" + this.props.dropdownMode
33236        },
33237        renderedDropdown
33238      );
33239    };
33240  
33241    return YearDropdown;
33242  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33243  
33244  YearDropdown.propTypes = {
33245    adjustDateOnChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33246    dropdownMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["scroll", "select"]).isRequired,
33247    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33248    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33249    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33250    scrollableYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33251    year: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,
33252    yearDropdownItemNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
33253    date: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33254    onSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33255    setOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
33256  };
33257  
33258  var MonthDropdownOptions = function (_React$Component) {
33259    inherits(MonthDropdownOptions, _React$Component);
33260  
33261    function MonthDropdownOptions() {
33262      var _temp, _this, _ret;
33263  
33264      classCallCheck(this, MonthDropdownOptions);
33265  
33266      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33267        args[_key] = arguments[_key];
33268      }
33269  
33270      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.renderOptions = function () {
33271        return _this.props.monthNames.map(function (month, i) {
33272          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33273            "div",
33274            {
33275              className: _this.props.month === i ? "react-datepicker__month-option --selected_month" : "react-datepicker__month-option",
33276              key: month,
33277              ref: month,
33278              onClick: _this.onChange.bind(_this, i)
33279            },
33280            _this.props.month === i ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33281              "span",
33282              { className: "react-datepicker__month-option--selected" },
33283              "\u2713"
33284            ) : "",
33285            month
33286          );
33287        });
33288      }, _this.onChange = function (month) {
33289        return _this.props.onChange(month);
33290      }, _this.handleClickOutside = function () {
33291        return _this.props.onCancel();
33292      }, _temp), possibleConstructorReturn(_this, _ret);
33293    }
33294  
33295    MonthDropdownOptions.prototype.render = function render() {
33296      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33297        "div",
33298        { className: "react-datepicker__month-dropdown" },
33299        this.renderOptions()
33300      );
33301    };
33302  
33303    return MonthDropdownOptions;
33304  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33305  
33306  MonthDropdownOptions.propTypes = {
33307    onCancel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33308    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33309    month: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,
33310    monthNames: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired).isRequired
33311  };
33312  
33313  var WrappedMonthDropdownOptions = Object(react_onclickoutside__WEBPACK_IMPORTED_MODULE_3__["default"])(MonthDropdownOptions);
33314  
33315  var MonthDropdown = function (_React$Component) {
33316    inherits(MonthDropdown, _React$Component);
33317  
33318    function MonthDropdown() {
33319      var _temp, _this, _ret;
33320  
33321      classCallCheck(this, MonthDropdown);
33322  
33323      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33324        args[_key] = arguments[_key];
33325      }
33326  
33327      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
33328        dropdownVisible: false
33329      }, _this.renderSelectOptions = function (monthNames) {
33330        return monthNames.map(function (M, i) {
33331          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33332            "option",
33333            { key: i, value: i },
33334            M
33335          );
33336        });
33337      }, _this.renderSelectMode = function (monthNames) {
33338        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33339          "select",
33340          {
33341            value: _this.props.month,
33342            className: "react-datepicker__month-select",
33343            onChange: function onChange(e) {
33344              return _this.onChange(e.target.value);
33345            }
33346          },
33347          _this.renderSelectOptions(monthNames)
33348        );
33349      }, _this.renderReadView = function (visible, monthNames) {
33350        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33351          "div",
33352          {
33353            key: "read",
33354            style: { visibility: visible ? "visible" : "hidden" },
33355            className: "react-datepicker__month-read-view",
33356            onClick: _this.toggleDropdown
33357          },
33358          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: "react-datepicker__month-read-view--down-arrow" }),
33359          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33360            "span",
33361            { className: "react-datepicker__month-read-view--selected-month" },
33362            monthNames[_this.props.month]
33363          )
33364        );
33365      }, _this.renderDropdown = function (monthNames) {
33366        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(WrappedMonthDropdownOptions, {
33367          key: "dropdown",
33368          ref: "options",
33369          month: _this.props.month,
33370          monthNames: monthNames,
33371          onChange: _this.onChange,
33372          onCancel: _this.toggleDropdown
33373        });
33374      }, _this.renderScrollMode = function (monthNames) {
33375        var dropdownVisible = _this.state.dropdownVisible;
33376  
33377        var result = [_this.renderReadView(!dropdownVisible, monthNames)];
33378        if (dropdownVisible) {
33379          result.unshift(_this.renderDropdown(monthNames));
33380        }
33381        return result;
33382      }, _this.onChange = function (month) {
33383        _this.toggleDropdown();
33384        if (month !== _this.props.month) {
33385          _this.props.onChange(month);
33386        }
33387      }, _this.toggleDropdown = function () {
33388        return _this.setState({
33389          dropdownVisible: !_this.state.dropdownVisible
33390        });
33391      }, _temp), possibleConstructorReturn(_this, _ret);
33392    }
33393  
33394    MonthDropdown.prototype.render = function render() {
33395      var _this2 = this;
33396  
33397      var localeData = getLocaleDataForLocale(this.props.locale);
33398      var monthNames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map(this.props.useShortMonthInDropdown ? function (M) {
33399        return getMonthShortInLocale(localeData, newDate({ M: M }));
33400      } : function (M) {
33401        return getMonthInLocale(localeData, newDate({ M: M }), _this2.props.dateFormat);
33402      });
33403  
33404      var renderedDropdown = void 0;
33405      switch (this.props.dropdownMode) {
33406        case "scroll":
33407          renderedDropdown = this.renderScrollMode(monthNames);
33408          break;
33409        case "select":
33410          renderedDropdown = this.renderSelectMode(monthNames);
33411          break;
33412      }
33413  
33414      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33415        "div",
33416        {
33417          className: "react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--" + this.props.dropdownMode
33418        },
33419        renderedDropdown
33420      );
33421    };
33422  
33423    return MonthDropdown;
33424  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33425  
33426  MonthDropdown.propTypes = {
33427    dropdownMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["scroll", "select"]).isRequired,
33428    locale: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
33429    dateFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,
33430    month: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,
33431    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33432    useShortMonthInDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool
33433  };
33434  
33435  function generateMonthYears(minDate, maxDate) {
33436    var list = [];
33437  
33438    var currDate = getStartOfMonth(cloneDate(minDate));
33439    var lastDate = getStartOfMonth(cloneDate(maxDate));
33440  
33441    while (!isAfter(currDate, lastDate)) {
33442      list.push(cloneDate(currDate));
33443  
33444      addMonths(currDate, 1);
33445    }
33446  
33447    return list;
33448  }
33449  
33450  var MonthYearDropdownOptions = function (_React$Component) {
33451    inherits(MonthYearDropdownOptions, _React$Component);
33452  
33453    function MonthYearDropdownOptions(props) {
33454      classCallCheck(this, MonthYearDropdownOptions);
33455  
33456      var _this = possibleConstructorReturn(this, _React$Component.call(this, props));
33457  
33458      _this.renderOptions = function () {
33459        return _this.state.monthYearsList.map(function (monthYear) {
33460          var monthYearPoint = monthYear.valueOf();
33461  
33462          var isSameMonthYear = isSameYear(_this.props.date, monthYear) && isSameMonth(_this.props.date, monthYear);
33463  
33464          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33465            "div",
33466            {
33467              className: isSameMonthYear ? "react-datepicker__month-year-option --selected_month-year" : "react-datepicker__month-year-option",
33468              key: monthYearPoint,
33469              ref: monthYearPoint,
33470              onClick: _this.onChange.bind(_this, monthYearPoint)
33471            },
33472            isSameMonthYear ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33473              "span",
33474              { className: "react-datepicker__month-year-option--selected" },
33475              "\u2713"
33476            ) : "",
33477            formatDate(monthYear, _this.props.dateFormat)
33478          );
33479        });
33480      };
33481  
33482      _this.onChange = function (monthYear) {
33483        return _this.props.onChange(monthYear);
33484      };
33485  
33486      _this.handleClickOutside = function () {
33487        _this.props.onCancel();
33488      };
33489  
33490      _this.state = {
33491        monthYearsList: generateMonthYears(_this.props.minDate, _this.props.maxDate)
33492      };
33493      return _this;
33494    }
33495  
33496    MonthYearDropdownOptions.prototype.render = function render() {
33497      var dropdownClass = classnames__WEBPACK_IMPORTED_MODULE_2___default()({
33498        "react-datepicker__month-year-dropdown": true,
33499        "react-datepicker__month-year-dropdown--scrollable": this.props.scrollableMonthYearDropdown
33500      });
33501  
33502      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33503        "div",
33504        { className: dropdownClass },
33505        this.renderOptions()
33506      );
33507    };
33508  
33509    return MonthYearDropdownOptions;
33510  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33511  
33512  MonthYearDropdownOptions.propTypes = {
33513    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33514    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33515    onCancel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33516    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33517    scrollableMonthYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33518    date: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33519    dateFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired
33520  };
33521  
33522  var WrappedMonthYearDropdownOptions = Object(react_onclickoutside__WEBPACK_IMPORTED_MODULE_3__["default"])(MonthYearDropdownOptions);
33523  
33524  var MonthYearDropdown = function (_React$Component) {
33525    inherits(MonthYearDropdown, _React$Component);
33526  
33527    function MonthYearDropdown() {
33528      var _temp, _this, _ret;
33529  
33530      classCallCheck(this, MonthYearDropdown);
33531  
33532      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33533        args[_key] = arguments[_key];
33534      }
33535  
33536      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
33537        dropdownVisible: false
33538      }, _this.renderSelectOptions = function () {
33539        var currDate = getStartOfMonth(localizeDate(_this.props.minDate, _this.props.locale));
33540        var lastDate = getStartOfMonth(localizeDate(_this.props.maxDate, _this.props.locale));
33541  
33542        var options = [];
33543  
33544        while (!isAfter(currDate, lastDate)) {
33545          var timepoint = currDate.valueOf();
33546          options.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33547            "option",
33548            { key: timepoint, value: timepoint },
33549            formatDate(currDate, _this.props.dateFormat)
33550          ));
33551  
33552          addMonths(currDate, 1);
33553        }
33554  
33555        return options;
33556      }, _this.onSelectChange = function (e) {
33557        _this.onChange(e.target.value);
33558      }, _this.renderSelectMode = function () {
33559        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33560          "select",
33561          {
33562            value: getStartOfMonth(_this.props.date).valueOf(),
33563            className: "react-datepicker__month-year-select",
33564            onChange: _this.onSelectChange
33565          },
33566          _this.renderSelectOptions()
33567        );
33568      }, _this.renderReadView = function (visible) {
33569        var yearMonth = formatDate(localizeDate(newDate(_this.props.date), _this.props.locale), _this.props.dateFormat);
33570  
33571        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33572          "div",
33573          {
33574            key: "read",
33575            style: { visibility: visible ? "visible" : "hidden" },
33576            className: "react-datepicker__month-year-read-view",
33577            onClick: function onClick(event) {
33578              return _this.toggleDropdown(event);
33579            }
33580          },
33581          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: "react-datepicker__month-year-read-view--down-arrow" }),
33582          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33583            "span",
33584            { className: "react-datepicker__month-year-read-view--selected-month-year" },
33585            yearMonth
33586          )
33587        );
33588      }, _this.renderDropdown = function () {
33589        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(WrappedMonthYearDropdownOptions, {
33590          key: "dropdown",
33591          ref: "options",
33592          date: _this.props.date,
33593          dateFormat: _this.props.dateFormat,
33594          onChange: _this.onChange,
33595          onCancel: _this.toggleDropdown,
33596          minDate: localizeDate(_this.props.minDate, _this.props.locale),
33597          maxDate: localizeDate(_this.props.maxDate, _this.props.locale),
33598          scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown
33599        });
33600      }, _this.renderScrollMode = function () {
33601        var dropdownVisible = _this.state.dropdownVisible;
33602  
33603        var result = [_this.renderReadView(!dropdownVisible)];
33604        if (dropdownVisible) {
33605          result.unshift(_this.renderDropdown());
33606        }
33607        return result;
33608      }, _this.onChange = function (monthYearPoint) {
33609        _this.toggleDropdown();
33610  
33611        var changedDate = newDate(parseInt(monthYearPoint));
33612  
33613        if (isSameYear(_this.props.date, changedDate) && isSameMonth(_this.props.date, changedDate)) {
33614          return;
33615        }
33616  
33617        _this.props.onChange(changedDate);
33618      }, _this.toggleDropdown = function () {
33619        return _this.setState({
33620          dropdownVisible: !_this.state.dropdownVisible
33621        });
33622      }, _temp), possibleConstructorReturn(_this, _ret);
33623    }
33624  
33625    MonthYearDropdown.prototype.render = function render() {
33626      var renderedDropdown = void 0;
33627      switch (this.props.dropdownMode) {
33628        case "scroll":
33629          renderedDropdown = this.renderScrollMode();
33630          break;
33631        case "select":
33632          renderedDropdown = this.renderSelectMode();
33633          break;
33634      }
33635  
33636      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33637        "div",
33638        {
33639          className: "react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--" + this.props.dropdownMode
33640        },
33641        renderedDropdown
33642      );
33643    };
33644  
33645    return MonthYearDropdown;
33646  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33647  
33648  MonthYearDropdown.propTypes = {
33649    dropdownMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["scroll", "select"]).isRequired,
33650    dateFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,
33651    locale: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
33652    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33653    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33654    date: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33655    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
33656    scrollableMonthYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool
33657  };
33658  
33659  var Day = function (_React$Component) {
33660    inherits(Day, _React$Component);
33661  
33662    function Day() {
33663      var _temp, _this, _ret;
33664  
33665      classCallCheck(this, Day);
33666  
33667      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33668        args[_key] = arguments[_key];
33669      }
33670  
33671      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
33672        if (!_this.isDisabled() && _this.props.onClick) {
33673          _this.props.onClick(event);
33674        }
33675      }, _this.handleMouseEnter = function (event) {
33676        if (!_this.isDisabled() && _this.props.onMouseEnter) {
33677          _this.props.onMouseEnter(event);
33678        }
33679      }, _this.isSameDay = function (other) {
33680        return isSameDay(_this.props.day, other);
33681      }, _this.isKeyboardSelected = function () {
33682        return !_this.props.disabledKeyboardNavigation && !_this.props.inline && !_this.isSameDay(_this.props.selected) && _this.isSameDay(_this.props.preSelection);
33683      }, _this.isDisabled = function () {
33684        return isDayDisabled(_this.props.day, _this.props);
33685      }, _this.getHighLightedClass = function (defaultClassName) {
33686        var _this$props = _this.props,
33687            day = _this$props.day,
33688            highlightDates = _this$props.highlightDates;
33689  
33690  
33691        if (!highlightDates) {
33692          return false;
33693        }
33694  
33695        // Looking for className in the Map of {'day string, 'className'}
33696        var dayStr = day.format("MM.DD.YYYY");
33697        return highlightDates.get(dayStr);
33698      }, _this.isInRange = function () {
33699        var _this$props2 = _this.props,
33700            day = _this$props2.day,
33701            startDate = _this$props2.startDate,
33702            endDate = _this$props2.endDate;
33703  
33704        if (!startDate || !endDate) {
33705          return false;
33706        }
33707        return isDayInRange(day, startDate, endDate);
33708      }, _this.isInSelectingRange = function () {
33709        var _this$props3 = _this.props,
33710            day = _this$props3.day,
33711            selectsStart = _this$props3.selectsStart,
33712            selectsEnd = _this$props3.selectsEnd,
33713            selectingDate = _this$props3.selectingDate,
33714            startDate = _this$props3.startDate,
33715            endDate = _this$props3.endDate;
33716  
33717  
33718        if (!(selectsStart || selectsEnd) || !selectingDate || _this.isDisabled()) {
33719          return false;
33720        }
33721  
33722        if (selectsStart && endDate && selectingDate.isSameOrBefore(endDate)) {
33723          return isDayInRange(day, selectingDate, endDate);
33724        }
33725  
33726        if (selectsEnd && startDate && selectingDate.isSameOrAfter(startDate)) {
33727          return isDayInRange(day, startDate, selectingDate);
33728        }
33729  
33730        return false;
33731      }, _this.isSelectingRangeStart = function () {
33732        if (!_this.isInSelectingRange()) {
33733          return false;
33734        }
33735  
33736        var _this$props4 = _this.props,
33737            day = _this$props4.day,
33738            selectingDate = _this$props4.selectingDate,
33739            startDate = _this$props4.startDate,
33740            selectsStart = _this$props4.selectsStart;
33741  
33742  
33743        if (selectsStart) {
33744          return isSameDay(day, selectingDate);
33745        } else {
33746          return isSameDay(day, startDate);
33747        }
33748      }, _this.isSelectingRangeEnd = function () {
33749        if (!_this.isInSelectingRange()) {
33750          return false;
33751        }
33752  
33753        var _this$props5 = _this.props,
33754            day = _this$props5.day,
33755            selectingDate = _this$props5.selectingDate,
33756            endDate = _this$props5.endDate,
33757            selectsEnd = _this$props5.selectsEnd;
33758  
33759  
33760        if (selectsEnd) {
33761          return isSameDay(day, selectingDate);
33762        } else {
33763          return isSameDay(day, endDate);
33764        }
33765      }, _this.isRangeStart = function () {
33766        var _this$props6 = _this.props,
33767            day = _this$props6.day,
33768            startDate = _this$props6.startDate,
33769            endDate = _this$props6.endDate;
33770  
33771        if (!startDate || !endDate) {
33772          return false;
33773        }
33774        return isSameDay(startDate, day);
33775      }, _this.isRangeEnd = function () {
33776        var _this$props7 = _this.props,
33777            day = _this$props7.day,
33778            startDate = _this$props7.startDate,
33779            endDate = _this$props7.endDate;
33780  
33781        if (!startDate || !endDate) {
33782          return false;
33783        }
33784        return isSameDay(endDate, day);
33785      }, _this.isWeekend = function () {
33786        var weekday = getDay(_this.props.day);
33787        return weekday === 0 || weekday === 6;
33788      }, _this.isOutsideMonth = function () {
33789        return _this.props.month !== undefined && _this.props.month !== getMonth(_this.props.day);
33790      }, _this.getClassNames = function (date) {
33791        var dayClassName = _this.props.dayClassName ? _this.props.dayClassName(date) : undefined;
33792        return classnames__WEBPACK_IMPORTED_MODULE_2___default()("react-datepicker__day", dayClassName, "react-datepicker__day--" + getDayOfWeekCode(_this.props.day), {
33793          "react-datepicker__day--disabled": _this.isDisabled(),
33794          "react-datepicker__day--selected": _this.isSameDay(_this.props.selected),
33795          "react-datepicker__day--keyboard-selected": _this.isKeyboardSelected(),
33796          "react-datepicker__day--range-start": _this.isRangeStart(),
33797          "react-datepicker__day--range-end": _this.isRangeEnd(),
33798          "react-datepicker__day--in-range": _this.isInRange(),
33799          "react-datepicker__day--in-selecting-range": _this.isInSelectingRange(),
33800          "react-datepicker__day--selecting-range-start": _this.isSelectingRangeStart(),
33801          "react-datepicker__day--selecting-range-end": _this.isSelectingRangeEnd(),
33802          "react-datepicker__day--today": _this.isSameDay(now(_this.props.utcOffset)),
33803          "react-datepicker__day--weekend": _this.isWeekend(),
33804          "react-datepicker__day--outside-month": _this.isOutsideMonth()
33805        }, _this.getHighLightedClass("react-datepicker__day--highlighted"));
33806      }, _temp), possibleConstructorReturn(_this, _ret);
33807    }
33808  
33809    Day.prototype.render = function render() {
33810      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33811        "div",
33812        {
33813          className: this.getClassNames(this.props.day),
33814          onClick: this.handleClick,
33815          onMouseEnter: this.handleMouseEnter,
33816          "aria-label": "day-" + getDate(this.props.day),
33817          role: "option"
33818        },
33819        this.props.renderDayContents ? this.props.renderDayContents(getDate(this.props.day)) : getDate(this.props.day)
33820      );
33821    };
33822  
33823    return Day;
33824  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33825  
33826  Day.propTypes = {
33827    disabledKeyboardNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33828    day: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33829    dayClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33830    endDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33831    highlightDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.instanceOf(Map),
33832    inline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33833    month: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
33834    onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33835    onMouseEnter: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33836    preSelection: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33837    selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33838    selectingDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33839    selectsEnd: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33840    selectsStart: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33841    startDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33842    utcOffset: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
33843    renderDayContents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
33844  };
33845  
33846  var WeekNumber = function (_React$Component) {
33847    inherits(WeekNumber, _React$Component);
33848  
33849    function WeekNumber() {
33850      var _temp, _this, _ret;
33851  
33852      classCallCheck(this, WeekNumber);
33853  
33854      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33855        args[_key] = arguments[_key];
33856      }
33857  
33858      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
33859        if (_this.props.onClick) {
33860          _this.props.onClick(event);
33861        }
33862      }, _temp), possibleConstructorReturn(_this, _ret);
33863    }
33864  
33865    WeekNumber.prototype.render = function render() {
33866      var weekNumberClasses = {
33867        "react-datepicker__week-number": true,
33868        "react-datepicker__week-number--clickable": !!this.props.onClick
33869      };
33870      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33871        "div",
33872        {
33873          className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(weekNumberClasses),
33874          "aria-label": "week-" + this.props.weekNumber,
33875          onClick: this.handleClick
33876        },
33877        this.props.weekNumber
33878      );
33879    };
33880  
33881    return WeekNumber;
33882  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33883  
33884  WeekNumber.propTypes = {
33885    weekNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number.isRequired,
33886    onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
33887  };
33888  
33889  var Week = function (_React$Component) {
33890    inherits(Week, _React$Component);
33891  
33892    function Week() {
33893      var _temp, _this, _ret;
33894  
33895      classCallCheck(this, Week);
33896  
33897      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
33898        args[_key] = arguments[_key];
33899      }
33900  
33901      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleDayClick = function (day, event) {
33902        if (_this.props.onDayClick) {
33903          _this.props.onDayClick(day, event);
33904        }
33905      }, _this.handleDayMouseEnter = function (day) {
33906        if (_this.props.onDayMouseEnter) {
33907          _this.props.onDayMouseEnter(day);
33908        }
33909      }, _this.handleWeekClick = function (day, weekNumber, event) {
33910        if (typeof _this.props.onWeekSelect === "function") {
33911          _this.props.onWeekSelect(day, weekNumber, event);
33912        }
33913      }, _this.formatWeekNumber = function (startOfWeek) {
33914        if (_this.props.formatWeekNumber) {
33915          return _this.props.formatWeekNumber(startOfWeek);
33916        }
33917        return getWeek(startOfWeek);
33918      }, _this.renderDays = function () {
33919        var startOfWeek = getStartOfWeek(cloneDate(_this.props.day));
33920        var days = [];
33921        var weekNumber = _this.formatWeekNumber(startOfWeek);
33922        if (_this.props.showWeekNumber) {
33923          var onClickAction = _this.props.onWeekSelect ? _this.handleWeekClick.bind(_this, startOfWeek, weekNumber) : undefined;
33924          days.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(WeekNumber, { key: "W", weekNumber: weekNumber, onClick: onClickAction }));
33925        }
33926        return days.concat([0, 1, 2, 3, 4, 5, 6].map(function (offset) {
33927          var day = addDays(cloneDate(startOfWeek), offset);
33928          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Day, {
33929            key: offset,
33930            day: day,
33931            month: _this.props.month,
33932            onClick: _this.handleDayClick.bind(_this, day),
33933            onMouseEnter: _this.handleDayMouseEnter.bind(_this, day),
33934            minDate: _this.props.minDate,
33935            maxDate: _this.props.maxDate,
33936            excludeDates: _this.props.excludeDates,
33937            includeDates: _this.props.includeDates,
33938            inline: _this.props.inline,
33939            highlightDates: _this.props.highlightDates,
33940            selectingDate: _this.props.selectingDate,
33941            filterDate: _this.props.filterDate,
33942            preSelection: _this.props.preSelection,
33943            selected: _this.props.selected,
33944            selectsStart: _this.props.selectsStart,
33945            selectsEnd: _this.props.selectsEnd,
33946            startDate: _this.props.startDate,
33947            endDate: _this.props.endDate,
33948            dayClassName: _this.props.dayClassName,
33949            utcOffset: _this.props.utcOffset,
33950            renderDayContents: _this.props.renderDayContents,
33951            disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation
33952          });
33953        }));
33954      }, _temp), possibleConstructorReturn(_this, _ret);
33955    }
33956  
33957    Week.prototype.render = function render() {
33958      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
33959        "div",
33960        { className: "react-datepicker__week" },
33961        this.renderDays()
33962      );
33963    };
33964  
33965    return Week;
33966  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
33967  
33968  Week.propTypes = {
33969    disabledKeyboardNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33970    day: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
33971    dayClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33972    endDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33973    excludeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
33974    filterDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33975    formatWeekNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33976    highlightDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.instanceOf(Map),
33977    includeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
33978    inline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33979    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33980    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33981    month: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
33982    onDayClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33983    onDayMouseEnter: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33984    onWeekSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
33985    preSelection: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33986    selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33987    selectingDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33988    selectsEnd: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33989    selectsStart: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33990    showWeekNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
33991    startDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
33992    utcOffset: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
33993    renderDayContents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
33994  };
33995  
33996  var FIXED_HEIGHT_STANDARD_WEEK_COUNT = 6;
33997  
33998  var Month = function (_React$Component) {
33999    inherits(Month, _React$Component);
34000  
34001    function Month() {
34002      var _temp, _this, _ret;
34003  
34004      classCallCheck(this, Month);
34005  
34006      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
34007        args[_key] = arguments[_key];
34008      }
34009  
34010      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleDayClick = function (day, event) {
34011        if (_this.props.onDayClick) {
34012          _this.props.onDayClick(day, event);
34013        }
34014      }, _this.handleDayMouseEnter = function (day) {
34015        if (_this.props.onDayMouseEnter) {
34016          _this.props.onDayMouseEnter(day);
34017        }
34018      }, _this.handleMouseLeave = function () {
34019        if (_this.props.onMouseLeave) {
34020          _this.props.onMouseLeave();
34021        }
34022      }, _this.isWeekInMonth = function (startOfWeek) {
34023        var day = _this.props.day;
34024        var endOfWeek = addDays(cloneDate(startOfWeek), 6);
34025        return isSameMonth(startOfWeek, day) || isSameMonth(endOfWeek, day);
34026      }, _this.renderWeeks = function () {
34027        var weeks = [];
34028        var isFixedHeight = _this.props.fixedHeight;
34029        var currentWeekStart = getStartOfWeek(getStartOfMonth(cloneDate(_this.props.day)));
34030        var i = 0;
34031        var breakAfterNextPush = false;
34032  
34033        while (true) {
34034          weeks.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Week, {
34035            key: i,
34036            day: currentWeekStart,
34037            month: getMonth(_this.props.day),
34038            onDayClick: _this.handleDayClick,
34039            onDayMouseEnter: _this.handleDayMouseEnter,
34040            onWeekSelect: _this.props.onWeekSelect,
34041            formatWeekNumber: _this.props.formatWeekNumber,
34042            minDate: _this.props.minDate,
34043            maxDate: _this.props.maxDate,
34044            excludeDates: _this.props.excludeDates,
34045            includeDates: _this.props.includeDates,
34046            inline: _this.props.inline,
34047            highlightDates: _this.props.highlightDates,
34048            selectingDate: _this.props.selectingDate,
34049            filterDate: _this.props.filterDate,
34050            preSelection: _this.props.preSelection,
34051            selected: _this.props.selected,
34052            selectsStart: _this.props.selectsStart,
34053            selectsEnd: _this.props.selectsEnd,
34054            showWeekNumber: _this.props.showWeekNumbers,
34055            startDate: _this.props.startDate,
34056            endDate: _this.props.endDate,
34057            dayClassName: _this.props.dayClassName,
34058            utcOffset: _this.props.utcOffset,
34059            disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation,
34060            renderDayContents: _this.props.renderDayContents
34061          }));
34062  
34063          if (breakAfterNextPush) break;
34064  
34065          i++;
34066          currentWeekStart = addWeeks(cloneDate(currentWeekStart), 1);
34067  
34068          // If one of these conditions is true, we will either break on this week
34069          // or break on the next week
34070          var isFixedAndFinalWeek = isFixedHeight && i >= FIXED_HEIGHT_STANDARD_WEEK_COUNT;
34071          var isNonFixedAndOutOfMonth = !isFixedHeight && !_this.isWeekInMonth(currentWeekStart);
34072  
34073          if (isFixedAndFinalWeek || isNonFixedAndOutOfMonth) {
34074            if (_this.props.peekNextMonth) {
34075              breakAfterNextPush = true;
34076            } else {
34077              break;
34078            }
34079          }
34080        }
34081  
34082        return weeks;
34083      }, _this.getClassNames = function () {
34084        var _this$props = _this.props,
34085            selectingDate = _this$props.selectingDate,
34086            selectsStart = _this$props.selectsStart,
34087            selectsEnd = _this$props.selectsEnd;
34088  
34089        return classnames__WEBPACK_IMPORTED_MODULE_2___default()("react-datepicker__month", {
34090          "react-datepicker__month--selecting-range": selectingDate && (selectsStart || selectsEnd)
34091        });
34092      }, _temp), possibleConstructorReturn(_this, _ret);
34093    }
34094  
34095    Month.prototype.render = function render() {
34096      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34097        "div",
34098        {
34099          className: this.getClassNames(),
34100          onMouseLeave: this.handleMouseLeave,
34101          role: "listbox",
34102          "aria-label": "month-" + this.props.day.format("YYYY-MM")
34103        },
34104        this.renderWeeks()
34105      );
34106    };
34107  
34108    return Month;
34109  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
34110  
34111  Month.propTypes = {
34112    disabledKeyboardNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34113    day: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object.isRequired,
34114    dayClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34115    endDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34116    excludeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34117    filterDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34118    fixedHeight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34119    formatWeekNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34120    highlightDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.instanceOf(Map),
34121    includeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34122    inline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34123    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34124    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34125    onDayClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34126    onDayMouseEnter: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34127    onMouseLeave: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34128    onWeekSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34129    peekNextMonth: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34130    preSelection: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34131    selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34132    selectingDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34133    selectsEnd: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34134    selectsStart: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34135    showWeekNumbers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34136    startDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34137    utcOffset: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
34138    renderDayContents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
34139  };
34140  
34141  var Time = function (_React$Component) {
34142    inherits(Time, _React$Component);
34143  
34144    function Time() {
34145      var _temp, _this, _ret;
34146  
34147      classCallCheck(this, Time);
34148  
34149      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
34150        args[_key] = arguments[_key];
34151      }
34152  
34153      return _ret = (_temp = (_this = possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (time) {
34154        if ((_this.props.minTime || _this.props.maxTime) && isTimeInDisabledRange(time, _this.props) || _this.props.excludeTimes && isTimeDisabled(time, _this.props.excludeTimes) || _this.props.includeTimes && !isTimeDisabled(time, _this.props.includeTimes)) {
34155          return;
34156        }
34157  
34158        _this.props.onChange(time);
34159      }, _this.liClasses = function (time, currH, currM) {
34160        var classes = ["react-datepicker__time-list-item"];
34161  
34162        if (currH === getHour(time) && currM === getMinute(time)) {
34163          classes.push("react-datepicker__time-list-item--selected");
34164        }
34165        if ((_this.props.minTime || _this.props.maxTime) && isTimeInDisabledRange(time, _this.props) || _this.props.excludeTimes && isTimeDisabled(time, _this.props.excludeTimes) || _this.props.includeTimes && !isTimeDisabled(time, _this.props.includeTimes)) {
34166          classes.push("react-datepicker__time-list-item--disabled");
34167        }
34168        if (_this.props.injectTimes && (getHour(time) * 60 + getMinute(time)) % _this.props.intervals !== 0) {
34169          classes.push("react-datepicker__time-list-item--injected");
34170        }
34171  
34172        return classes.join(" ");
34173      }, _this.renderTimes = function () {
34174        var times = [];
34175        var format = _this.props.format ? _this.props.format : "hh:mm A";
34176        var intervals = _this.props.intervals;
34177        var activeTime = _this.props.selected ? _this.props.selected : newDate();
34178        var currH = getHour(activeTime);
34179        var currM = getMinute(activeTime);
34180        var base = getStartOfDay(newDate());
34181        var multiplier = 1440 / intervals;
34182        var sortedInjectTimes = _this.props.injectTimes && _this.props.injectTimes.sort(function (a, b) {
34183          return a - b;
34184        });
34185        for (var i = 0; i < multiplier; i++) {
34186          var currentTime = addMinutes(cloneDate(base), i * intervals);
34187          times.push(currentTime);
34188  
34189          if (sortedInjectTimes) {
34190            var timesToInject = timesToInjectAfter(base, currentTime, i, intervals, sortedInjectTimes);
34191            times = times.concat(timesToInject);
34192          }
34193        }
34194  
34195        return times.map(function (time, i) {
34196          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34197            "li",
34198            {
34199              key: i,
34200              onClick: _this.handleClick.bind(_this, time),
34201              className: _this.liClasses(time, currH, currM),
34202              ref: function ref(li) {
34203                if (currH === getHour(time) && currM === getMinute(time) || currH === getHour(time) && !_this.centerLi) {
34204                  _this.centerLi = li;
34205                }
34206              }
34207            },
34208            formatDate(time, format)
34209          );
34210        });
34211      }, _temp), possibleConstructorReturn(_this, _ret);
34212    }
34213  
34214    Time.prototype.componentDidMount = function componentDidMount() {
34215      // code to ensure selected time will always be in focus within time window when it first appears
34216      this.list.scrollTop = Time.calcCenterPosition(this.props.monthRef ? this.props.monthRef.clientHeight - this.header.clientHeight : this.list.clientHeight, this.centerLi);
34217    };
34218  
34219    Time.prototype.render = function render() {
34220      var _this2 = this;
34221  
34222      var height = null;
34223      if (this.props.monthRef && this.header) {
34224        height = this.props.monthRef.clientHeight - this.header.clientHeight;
34225      }
34226  
34227      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34228        "div",
34229        {
34230          className: "react-datepicker__time-container " + (this.props.todayButton ? "react-datepicker__time-container--with-today-button" : "")
34231        },
34232        react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34233          "div",
34234          {
34235            className: "react-datepicker__header react-datepicker__header--time",
34236            ref: function ref(header) {
34237              _this2.header = header;
34238            }
34239          },
34240          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34241            "div",
34242            { className: "react-datepicker-time__header" },
34243            this.props.timeCaption
34244          )
34245        ),
34246        react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34247          "div",
34248          { className: "react-datepicker__time" },
34249          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34250            "div",
34251            { className: "react-datepicker__time-box" },
34252            react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34253              "ul",
34254              {
34255                className: "react-datepicker__time-list",
34256                ref: function ref(list) {
34257                  _this2.list = list;
34258                },
34259                style: height ? { height: height } : {}
34260              },
34261              this.renderTimes.bind(this)()
34262            )
34263          )
34264        )
34265      );
34266    };
34267  
34268    createClass(Time, null, [{
34269      key: "defaultProps",
34270      get: function get$$1() {
34271        return {
34272          intervals: 30,
34273          onTimeChange: function onTimeChange() {},
34274          todayButton: null,
34275          timeCaption: "Time"
34276        };
34277      }
34278    }]);
34279    return Time;
34280  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
34281  
34282  Time.propTypes = {
34283    format: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34284    includeTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34285    intervals: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
34286    selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34287    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34288    todayButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
34289    minTime: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34290    maxTime: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34291    excludeTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34292    monthRef: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34293    timeCaption: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34294    injectTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array
34295  };
34296  
34297  Time.calcCenterPosition = function (listHeight, centerLiRef) {
34298    return centerLiRef.offsetTop - (listHeight / 2 - centerLiRef.clientHeight / 2);
34299  };
34300  
34301  function CalendarContainer(_ref) {
34302    var className = _ref.className,
34303        children = _ref.children,
34304        _ref$arrowProps = _ref.arrowProps,
34305        arrowProps = _ref$arrowProps === undefined ? {} : _ref$arrowProps;
34306  
34307    return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34308      "div",
34309      { className: className },
34310      react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", _extends({ className: "react-datepicker__triangle" }, arrowProps)),
34311      children
34312    );
34313  }
34314  
34315  CalendarContainer.propTypes = {
34316    className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34317    children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
34318    arrowProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object // react-popper arrow props
34319  };
34320  
34321  var DROPDOWN_FOCUS_CLASSNAMES = ["react-datepicker__year-select", "react-datepicker__month-select", "react-datepicker__month-year-select"];
34322  
34323  var isDropdownSelect = function isDropdownSelect() {
34324    var element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
34325  
34326    var classNames = (element.className || "").split(/\s+/);
34327    return DROPDOWN_FOCUS_CLASSNAMES.some(function (testClassname) {
34328      return classNames.indexOf(testClassname) >= 0;
34329    });
34330  };
34331  
34332  var Calendar = function (_React$Component) {
34333    inherits(Calendar, _React$Component);
34334    createClass(Calendar, null, [{
34335      key: "defaultProps",
34336      get: function get$$1() {
34337        return {
34338          onDropdownFocus: function onDropdownFocus() {},
34339          monthsShown: 1,
34340          forceShowMonthNavigation: false,
34341          timeCaption: "Time",
34342          previousMonthButtonLabel: "Previous Month",
34343          nextMonthButtonLabel: "Next Month"
34344        };
34345      }
34346    }]);
34347  
34348    function Calendar(props) {
34349      classCallCheck(this, Calendar);
34350  
34351      var _this = possibleConstructorReturn(this, _React$Component.call(this, props));
34352  
34353      _this.handleClickOutside = function (event) {
34354        _this.props.onClickOutside(event);
34355      };
34356  
34357      _this.handleDropdownFocus = function (event) {
34358        if (isDropdownSelect(event.target)) {
34359          _this.props.onDropdownFocus();
34360        }
34361      };
34362  
34363      _this.getDateInView = function () {
34364        var _this$props = _this.props,
34365            preSelection = _this$props.preSelection,
34366            selected = _this$props.selected,
34367            openToDate = _this$props.openToDate,
34368            utcOffset = _this$props.utcOffset;
34369  
34370        var minDate = getEffectiveMinDate(_this.props);
34371        var maxDate = getEffectiveMaxDate(_this.props);
34372        var current = now(utcOffset);
34373        var initialDate = openToDate || selected || preSelection;
34374        if (initialDate) {
34375          return initialDate;
34376        } else {
34377          if (minDate && isBefore(current, minDate)) {
34378            return minDate;
34379          } else if (maxDate && isAfter(current, maxDate)) {
34380            return maxDate;
34381          }
34382        }
34383        return current;
34384      };
34385  
34386      _this.localizeDate = function (date) {
34387        return localizeDate(date, _this.props.locale);
34388      };
34389  
34390      _this.increaseMonth = function () {
34391        _this.setState({
34392          date: addMonths(cloneDate(_this.state.date), 1)
34393        }, function () {
34394          return _this.handleMonthChange(_this.state.date);
34395        });
34396      };
34397  
34398      _this.decreaseMonth = function () {
34399        _this.setState({
34400          date: subtractMonths(cloneDate(_this.state.date), 1)
34401        }, function () {
34402          return _this.handleMonthChange(_this.state.date);
34403        });
34404      };
34405  
34406      _this.handleDayClick = function (day, event) {
34407        return _this.props.onSelect(day, event);
34408      };
34409  
34410      _this.handleDayMouseEnter = function (day) {
34411        return _this.setState({ selectingDate: day });
34412      };
34413  
34414      _this.handleMonthMouseLeave = function () {
34415        return _this.setState({ selectingDate: null });
34416      };
34417  
34418      _this.handleYearChange = function (date) {
34419        if (_this.props.onYearChange) {
34420          _this.props.onYearChange(date);
34421        }
34422      };
34423  
34424      _this.handleMonthChange = function (date) {
34425        if (_this.props.onMonthChange) {
34426          _this.props.onMonthChange(date);
34427        }
34428        if (_this.props.adjustDateOnChange) {
34429          if (_this.props.onSelect) {
34430            _this.props.onSelect(date);
34431          }
34432          if (_this.props.setOpen) {
34433            _this.props.setOpen(true);
34434          }
34435        }
34436      };
34437  
34438      _this.handleMonthYearChange = function (date) {
34439        _this.handleYearChange(date);
34440        _this.handleMonthChange(date);
34441      };
34442  
34443      _this.changeYear = function (year) {
34444        _this.setState({
34445          date: setYear(cloneDate(_this.state.date), year)
34446        }, function () {
34447          return _this.handleYearChange(_this.state.date);
34448        });
34449      };
34450  
34451      _this.changeMonth = function (month) {
34452        _this.setState({
34453          date: setMonth(cloneDate(_this.state.date), month)
34454        }, function () {
34455          return _this.handleMonthChange(_this.state.date);
34456        });
34457      };
34458  
34459      _this.changeMonthYear = function (monthYear) {
34460        _this.setState({
34461          date: setYear(setMonth(cloneDate(_this.state.date), getMonth(monthYear)), getYear(monthYear))
34462        }, function () {
34463          return _this.handleMonthYearChange(_this.state.date);
34464        });
34465      };
34466  
34467      _this.header = function () {
34468        var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.state.date;
34469  
34470        var startOfWeek = getStartOfWeek(cloneDate(date));
34471        var dayNames = [];
34472        if (_this.props.showWeekNumbers) {
34473          dayNames.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34474            "div",
34475            { key: "W", className: "react-datepicker__day-name" },
34476            _this.props.weekLabel || "#"
34477          ));
34478        }
34479        return dayNames.concat([0, 1, 2, 3, 4, 5, 6].map(function (offset) {
34480          var day = addDays(cloneDate(startOfWeek), offset);
34481          var localeData = getLocaleData(day);
34482          var weekDayName = _this.formatWeekday(localeData, day);
34483  
34484          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34485            "div",
34486            { key: offset, className: "react-datepicker__day-name" },
34487            weekDayName
34488          );
34489        }));
34490      };
34491  
34492      _this.formatWeekday = function (localeData, day) {
34493        if (_this.props.formatWeekDay) {
34494          return getFormattedWeekdayInLocale(localeData, day, _this.props.formatWeekDay);
34495        }
34496        return _this.props.useWeekdaysShort ? getWeekdayShortInLocale(localeData, day) : getWeekdayMinInLocale(localeData, day);
34497      };
34498  
34499      _this.renderPreviousMonthButton = function () {
34500        if (_this.props.renderCustomHeader) {
34501          return;
34502        }
34503  
34504        var allPrevDaysDisabled = allDaysDisabledBefore(_this.state.date, "month", _this.props);
34505  
34506        if (!_this.props.forceShowMonthNavigation && !_this.props.showDisabledMonthNavigation && allPrevDaysDisabled || _this.props.showTimeSelectOnly) {
34507          return;
34508        }
34509  
34510        var classes = ["react-datepicker__navigation", "react-datepicker__navigation--previous"];
34511  
34512        var clickHandler = _this.decreaseMonth;
34513  
34514        if (allPrevDaysDisabled && _this.props.showDisabledMonthNavigation) {
34515          classes.push("react-datepicker__navigation--previous--disabled");
34516          clickHandler = null;
34517        }
34518  
34519        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34520          "button",
34521          {
34522            type: "button",
34523            className: classes.join(" "),
34524            onClick: clickHandler
34525          },
34526          _this.props.previousMonthButtonLabel
34527        );
34528      };
34529  
34530      _this.renderNextMonthButton = function () {
34531        if (_this.props.renderCustomHeader) {
34532          return;
34533        }
34534  
34535        var allNextDaysDisabled = allDaysDisabledAfter(_this.state.date, "month", _this.props);
34536  
34537        if (!_this.props.forceShowMonthNavigation && !_this.props.showDisabledMonthNavigation && allNextDaysDisabled || _this.props.showTimeSelectOnly) {
34538          return;
34539        }
34540  
34541        var classes = ["react-datepicker__navigation", "react-datepicker__navigation--next"];
34542        if (_this.props.showTimeSelect) {
34543          classes.push("react-datepicker__navigation--next--with-time");
34544        }
34545        if (_this.props.todayButton) {
34546          classes.push("react-datepicker__navigation--next--with-today-button");
34547        }
34548  
34549        var clickHandler = _this.increaseMonth;
34550  
34551        if (allNextDaysDisabled && _this.props.showDisabledMonthNavigation) {
34552          classes.push("react-datepicker__navigation--next--disabled");
34553          clickHandler = null;
34554        }
34555  
34556        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34557          "button",
34558          {
34559            type: "button",
34560            className: classes.join(" "),
34561            onClick: clickHandler
34562          },
34563          _this.props.nextMonthButtonLabel
34564        );
34565      };
34566  
34567      _this.renderCurrentMonth = function () {
34568        var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.state.date;
34569  
34570        var classes = ["react-datepicker__current-month"];
34571  
34572        if (_this.props.showYearDropdown) {
34573          classes.push("react-datepicker__current-month--hasYearDropdown");
34574        }
34575        if (_this.props.showMonthDropdown) {
34576          classes.push("react-datepicker__current-month--hasMonthDropdown");
34577        }
34578        if (_this.props.showMonthYearDropdown) {
34579          classes.push("react-datepicker__current-month--hasMonthYearDropdown");
34580        }
34581        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34582          "div",
34583          { className: classes.join(" ") },
34584          formatDate(date, _this.props.dateFormat)
34585        );
34586      };
34587  
34588      _this.renderYearDropdown = function () {
34589        var overrideHide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
34590  
34591        if (!_this.props.showYearDropdown || overrideHide) {
34592          return;
34593        }
34594        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(YearDropdown, {
34595          adjustDateOnChange: _this.props.adjustDateOnChange,
34596          date: _this.state.date,
34597          onSelect: _this.props.onSelect,
34598          setOpen: _this.props.setOpen,
34599          dropdownMode: _this.props.dropdownMode,
34600          onChange: _this.changeYear,
34601          minDate: _this.props.minDate,
34602          maxDate: _this.props.maxDate,
34603          year: getYear(_this.state.date),
34604          scrollableYearDropdown: _this.props.scrollableYearDropdown,
34605          yearDropdownItemNumber: _this.props.yearDropdownItemNumber
34606        });
34607      };
34608  
34609      _this.renderMonthDropdown = function () {
34610        var overrideHide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
34611  
34612        if (!_this.props.showMonthDropdown || overrideHide) {
34613          return;
34614        }
34615        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(MonthDropdown, {
34616          dropdownMode: _this.props.dropdownMode,
34617          locale: _this.props.locale,
34618          dateFormat: _this.props.dateFormat,
34619          onChange: _this.changeMonth,
34620          month: getMonth(_this.state.date),
34621          useShortMonthInDropdown: _this.props.useShortMonthInDropdown
34622        });
34623      };
34624  
34625      _this.renderMonthYearDropdown = function () {
34626        var overrideHide = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
34627  
34628        if (!_this.props.showMonthYearDropdown || overrideHide) {
34629          return;
34630        }
34631        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(MonthYearDropdown, {
34632          dropdownMode: _this.props.dropdownMode,
34633          locale: _this.props.locale,
34634          dateFormat: _this.props.dateFormat,
34635          onChange: _this.changeMonthYear,
34636          minDate: _this.props.minDate,
34637          maxDate: _this.props.maxDate,
34638          date: _this.state.date,
34639          scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown
34640        });
34641      };
34642  
34643      _this.renderTodayButton = function () {
34644        if (!_this.props.todayButton || _this.props.showTimeSelectOnly) {
34645          return;
34646        }
34647        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34648          "div",
34649          {
34650            className: "react-datepicker__today-button",
34651            onClick: function onClick(e) {
34652              return _this.props.onSelect(getStartOfDate(now(_this.props.utcOffset)), e);
34653            }
34654          },
34655          _this.props.todayButton
34656        );
34657      };
34658  
34659      _this.renderDefaultHeader = function (_ref) {
34660        var monthDate = _ref.monthDate,
34661            i = _ref.i;
34662        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34663          "div",
34664          { className: "react-datepicker__header" },
34665          _this.renderCurrentMonth(monthDate),
34666          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34667            "div",
34668            {
34669              className: "react-datepicker__header__dropdown react-datepicker__header__dropdown--" + _this.props.dropdownMode,
34670              onFocus: _this.handleDropdownFocus
34671            },
34672            _this.renderMonthDropdown(i !== 0),
34673            _this.renderMonthYearDropdown(i !== 0),
34674            _this.renderYearDropdown(i !== 0)
34675          ),
34676          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34677            "div",
34678            { className: "react-datepicker__day-names" },
34679            _this.header(monthDate)
34680          )
34681        );
34682      };
34683  
34684      _this.renderCustomHeader = function (_ref2) {
34685        var monthDate = _ref2.monthDate,
34686            i = _ref2.i;
34687  
34688        if (i !== 0) {
34689          return null;
34690        }
34691  
34692        var prevMonthButtonDisabled = allDaysDisabledBefore(_this.state.date, "month", _this.props);
34693  
34694        var nextMonthButtonDisabled = allDaysDisabledAfter(_this.state.date, "month", _this.props);
34695  
34696        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34697          "div",
34698          {
34699            className: "react-datepicker__header react-datepicker__header--custom",
34700            onFocus: _this.props.onDropdownFocus
34701          },
34702          _this.props.renderCustomHeader(_extends({}, _this.state, {
34703            changeMonth: _this.changeMonth,
34704            changeYear: _this.changeYear,
34705            decreaseMonth: _this.decreaseMonth,
34706            increaseMonth: _this.increaseMonth,
34707            prevMonthButtonDisabled: prevMonthButtonDisabled,
34708            nextMonthButtonDisabled: nextMonthButtonDisabled
34709          })),
34710          react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34711            "div",
34712            { className: "react-datepicker__day-names" },
34713            _this.header(monthDate)
34714          )
34715        );
34716      };
34717  
34718      _this.renderMonths = function () {
34719        if (_this.props.showTimeSelectOnly) {
34720          return;
34721        }
34722  
34723        var monthList = [];
34724        for (var i = 0; i < _this.props.monthsShown; ++i) {
34725          var monthDate = addMonths(cloneDate(_this.state.date), i);
34726          var monthKey = "month-" + i;
34727          monthList.push(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34728            "div",
34729            {
34730              key: monthKey,
34731              ref: function ref(div) {
34732                _this.monthContainer = div;
34733              },
34734              className: "react-datepicker__month-container"
34735            },
34736            _this.props.renderCustomHeader ? _this.renderCustomHeader({ monthDate: monthDate, i: i }) : _this.renderDefaultHeader({ monthDate: monthDate, i: i }),
34737            react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Month, {
34738              day: monthDate,
34739              dayClassName: _this.props.dayClassName,
34740              onDayClick: _this.handleDayClick,
34741              onDayMouseEnter: _this.handleDayMouseEnter,
34742              onMouseLeave: _this.handleMonthMouseLeave,
34743              onWeekSelect: _this.props.onWeekSelect,
34744              formatWeekNumber: _this.props.formatWeekNumber,
34745              minDate: _this.props.minDate,
34746              maxDate: _this.props.maxDate,
34747              excludeDates: _this.props.excludeDates,
34748              highlightDates: _this.props.highlightDates,
34749              selectingDate: _this.state.selectingDate,
34750              includeDates: _this.props.includeDates,
34751              inline: _this.props.inline,
34752              fixedHeight: _this.props.fixedHeight,
34753              filterDate: _this.props.filterDate,
34754              preSelection: _this.props.preSelection,
34755              selected: _this.props.selected,
34756              selectsStart: _this.props.selectsStart,
34757              selectsEnd: _this.props.selectsEnd,
34758              showWeekNumbers: _this.props.showWeekNumbers,
34759              startDate: _this.props.startDate,
34760              endDate: _this.props.endDate,
34761              peekNextMonth: _this.props.peekNextMonth,
34762              utcOffset: _this.props.utcOffset,
34763              renderDayContents: _this.props.renderDayContents,
34764              disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation
34765            })
34766          ));
34767        }
34768        return monthList;
34769      };
34770  
34771      _this.renderTimeSection = function () {
34772        if (_this.props.showTimeSelect && (_this.state.monthContainer || _this.props.showTimeSelectOnly)) {
34773          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Time, {
34774            selected: _this.props.selected,
34775            onChange: _this.props.onTimeChange,
34776            format: _this.props.timeFormat,
34777            includeTimes: _this.props.includeTimes,
34778            intervals: _this.props.timeIntervals,
34779            minTime: _this.props.minTime,
34780            maxTime: _this.props.maxTime,
34781            excludeTimes: _this.props.excludeTimes,
34782            timeCaption: _this.props.timeCaption,
34783            todayButton: _this.props.todayButton,
34784            showMonthDropdown: _this.props.showMonthDropdown,
34785            showMonthYearDropdown: _this.props.showMonthYearDropdown,
34786            showYearDropdown: _this.props.showYearDropdown,
34787            withPortal: _this.props.withPortal,
34788            monthRef: _this.state.monthContainer,
34789            injectTimes: _this.props.injectTimes
34790          });
34791        }
34792      };
34793  
34794      _this.state = {
34795        date: _this.localizeDate(_this.getDateInView()),
34796        selectingDate: null,
34797        monthContainer: null
34798      };
34799      return _this;
34800    }
34801  
34802    Calendar.prototype.componentDidMount = function componentDidMount() {
34803      var _this2 = this;
34804  
34805      // monthContainer height is needed in time component
34806      // to determine the height for the ul in the time component
34807      // setState here so height is given after final component
34808      // layout is rendered
34809      if (this.props.showTimeSelect) {
34810        this.assignMonthContainer = function () {
34811          _this2.setState({ monthContainer: _this2.monthContainer });
34812        }();
34813      }
34814    };
34815  
34816    Calendar.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
34817      if (this.props.preSelection && !isSameDay(this.props.preSelection, prevProps.preSelection)) {
34818        this.setState({
34819          date: this.localizeDate(this.props.preSelection)
34820        });
34821      } else if (this.props.openToDate && !isSameDay(this.props.openToDate, prevProps.openToDate)) {
34822        this.setState({
34823          date: this.localizeDate(this.props.openToDate)
34824        });
34825      }
34826    };
34827  
34828    Calendar.prototype.render = function render() {
34829      var Container = this.props.container || CalendarContainer;
34830  
34831      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34832        Container,
34833        {
34834          className: classnames__WEBPACK_IMPORTED_MODULE_2___default()("react-datepicker", this.props.className, {
34835            "react-datepicker--time-only": this.props.showTimeSelectOnly
34836          })
34837        },
34838        this.renderPreviousMonthButton(),
34839        this.renderNextMonthButton(),
34840        this.renderMonths(),
34841        this.renderTodayButton(),
34842        this.renderTimeSection(),
34843        this.props.children
34844      );
34845    };
34846  
34847    return Calendar;
34848  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
34849  
34850  Calendar.propTypes = {
34851    adjustDateOnChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34852    className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34853    children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
34854    container: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34855    dateFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array]).isRequired,
34856    dayClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34857    disabledKeyboardNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34858    dropdownMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["scroll", "select"]),
34859    endDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34860    excludeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34861    filterDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34862    fixedHeight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34863    formatWeekNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34864    highlightDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.instanceOf(Map),
34865    includeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34866    includeTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34867    injectTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34868    inline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34869    locale: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34870    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34871    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34872    monthsShown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
34873    onClickOutside: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
34874    onMonthChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34875    onYearChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34876    forceShowMonthNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34877    onDropdownFocus: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34878    onSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
34879    onWeekSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34880    showTimeSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34881    showTimeSelectOnly: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34882    timeFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34883    timeIntervals: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
34884    onTimeChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34885    minTime: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34886    maxTime: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34887    excludeTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
34888    timeCaption: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34889    openToDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34890    peekNextMonth: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34891    scrollableYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34892    scrollableMonthYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34893    preSelection: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34894    selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34895    selectsEnd: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34896    selectsStart: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34897    showMonthDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34898    showMonthYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34899    showWeekNumbers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34900    showYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34901    startDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
34902    todayButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
34903    useWeekdaysShort: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34904    formatWeekDay: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34905    withPortal: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34906    utcOffset: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
34907    weekLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34908    yearDropdownItemNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
34909    setOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34910    useShortMonthInDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34911    showDisabledMonthNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
34912    previousMonthButtonLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34913    nextMonthButtonLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
34914    renderCustomHeader: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
34915    renderDayContents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
34916  };
34917  
34918  var popperPlacementPositions = ["bottom", "bottom-end", "bottom-start", "left", "left-end", "left-start", "right", "right-end", "right-start", "top", "top-end", "top-start"];
34919  
34920  var PopperComponent = function (_React$Component) {
34921    inherits(PopperComponent, _React$Component);
34922  
34923    function PopperComponent() {
34924      classCallCheck(this, PopperComponent);
34925      return possibleConstructorReturn(this, _React$Component.apply(this, arguments));
34926    }
34927  
34928    PopperComponent.prototype.render = function render() {
34929      var _props = this.props,
34930          className = _props.className,
34931          hidePopper = _props.hidePopper,
34932          popperComponent = _props.popperComponent,
34933          popperModifiers = _props.popperModifiers,
34934          popperPlacement = _props.popperPlacement,
34935          popperProps = _props.popperProps,
34936          targetComponent = _props.targetComponent;
34937  
34938  
34939      var popper = void 0;
34940  
34941      if (!hidePopper) {
34942        var classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()("react-datepicker-popper", className);
34943        popper = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34944          react_popper__WEBPACK_IMPORTED_MODULE_5__["Popper"],
34945          _extends({
34946            modifiers: popperModifiers,
34947            placement: popperPlacement
34948          }, popperProps),
34949          function (_ref) {
34950            var ref = _ref.ref,
34951                style = _ref.style,
34952                placement = _ref.placement,
34953                arrowProps = _ref.arrowProps;
34954            return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34955              "div",
34956              _extends({ ref: ref, style: style }, {
34957                className: classes,
34958                "data-placement": placement
34959              }),
34960              react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(popperComponent, { arrowProps: arrowProps })
34961            );
34962          }
34963        );
34964      }
34965  
34966      if (this.props.popperContainer) {
34967        popper = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(this.props.popperContainer, {}, popper);
34968      }
34969  
34970      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34971        react_popper__WEBPACK_IMPORTED_MODULE_5__["Manager"],
34972        null,
34973        react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34974          react_popper__WEBPACK_IMPORTED_MODULE_5__["Reference"],
34975          null,
34976          function (_ref2) {
34977            var ref = _ref2.ref;
34978            return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
34979              "div",
34980              { ref: ref, className: "react-datepicker-wrapper" },
34981              targetComponent
34982            );
34983          }
34984        ),
34985        popper
34986      );
34987    };
34988  
34989    createClass(PopperComponent, null, [{
34990      key: "defaultProps",
34991      get: function get$$1() {
34992        return {
34993          hidePopper: true,
34994          popperModifiers: {
34995            preventOverflow: {
34996              enabled: true,
34997              escapeWithReference: true,
34998              boundariesElement: "viewport"
34999            }
35000          },
35001          popperProps: {},
35002          popperPlacement: "bottom-start"
35003        };
35004      }
35005    }]);
35006    return PopperComponent;
35007  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
35008  
35009  PopperComponent.propTypes = {
35010    className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35011    hidePopper: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35012    popperComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element,
35013    popperModifiers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, // <datepicker/> props
35014    popperPlacement: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(popperPlacementPositions), // <datepicker/> props
35015    popperContainer: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35016    popperProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35017    targetComponent: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element
35018  };
35019  
35020  var outsideClickIgnoreClass = "react-datepicker-ignore-onclickoutside";
35021  var WrappedCalendar = Object(react_onclickoutside__WEBPACK_IMPORTED_MODULE_3__["default"])(Calendar);
35022  
35023  // Compares dates year+month combinations
35024  function hasPreSelectionChanged(date1, date2) {
35025    if (date1 && date2) {
35026      return getMonth(date1) !== getMonth(date2) || getYear(date1) !== getYear(date2);
35027    }
35028  
35029    return date1 !== date2;
35030  }
35031  
35032  function hasSelectionChanged(date1, date2) {
35033    if (date1 && date2) {
35034      return !equals(date1, date2);
35035    }
35036  
35037    return false;
35038  }
35039  
35040  /**
35041   * General datepicker component.
35042   */
35043  var INPUT_ERR_1 = "Date input not valid.";
35044  
35045  var DatePicker = function (_React$Component) {
35046    inherits(DatePicker, _React$Component);
35047    createClass(DatePicker, null, [{
35048      key: "defaultProps",
35049      get: function get$$1() {
35050        return {
35051          allowSameDay: false,
35052          dateFormat: "L",
35053          dateFormatCalendar: "MMMM YYYY",
35054          onChange: function onChange() {},
35055  
35056          disabled: false,
35057          disabledKeyboardNavigation: false,
35058          dropdownMode: "scroll",
35059          onFocus: function onFocus() {},
35060          onBlur: function onBlur() {},
35061          onKeyDown: function onKeyDown() {},
35062          onInputClick: function onInputClick() {},
35063          onSelect: function onSelect() {},
35064          onClickOutside: function onClickOutside$$1() {},
35065          onMonthChange: function onMonthChange() {},
35066  
35067          preventOpenOnFocus: false,
35068          onYearChange: function onYearChange() {},
35069          onInputError: function onInputError() {},
35070  
35071          monthsShown: 1,
35072          readOnly: false,
35073          withPortal: false,
35074          shouldCloseOnSelect: true,
35075          showTimeSelect: false,
35076          timeIntervals: 30,
35077          timeCaption: "Time",
35078          previousMonthButtonLabel: "Previous Month",
35079          nextMonthButtonLabel: "Next month",
35080          renderDayContents: function renderDayContents(date) {
35081            return date;
35082          }
35083        };
35084      }
35085    }]);
35086  
35087    function DatePicker(props) {
35088      classCallCheck(this, DatePicker);
35089  
35090      var _this = possibleConstructorReturn(this, _React$Component.call(this, props));
35091  
35092      _this.getPreSelection = function () {
35093        return _this.props.openToDate ? newDate(_this.props.openToDate) : _this.props.selectsEnd && _this.props.startDate ? newDate(_this.props.startDate) : _this.props.selectsStart && _this.props.endDate ? newDate(_this.props.endDate) : now(_this.props.utcOffset);
35094      };
35095  
35096      _this.calcInitialState = function () {
35097        var defaultPreSelection = _this.getPreSelection();
35098        var minDate = getEffectiveMinDate(_this.props);
35099        var maxDate = getEffectiveMaxDate(_this.props);
35100        var boundedPreSelection = minDate && isBefore(defaultPreSelection, minDate) ? minDate : maxDate && isAfter(defaultPreSelection, maxDate) ? maxDate : defaultPreSelection;
35101        return {
35102          open: _this.props.startOpen || false,
35103          preventFocus: false,
35104          preSelection: _this.props.selected ? newDate(_this.props.selected) : boundedPreSelection,
35105          // transforming highlighted days (perhaps nested array)
35106          // to flat Map for faster access in day.jsx
35107          highlightDates: getHightLightDaysMap(_this.props.highlightDates),
35108          focused: false
35109        };
35110      };
35111  
35112      _this.clearPreventFocusTimeout = function () {
35113        if (_this.preventFocusTimeout) {
35114          clearTimeout(_this.preventFocusTimeout);
35115        }
35116      };
35117  
35118      _this.setFocus = function () {
35119        if (_this.input && _this.input.focus) {
35120          _this.input.focus();
35121        }
35122      };
35123  
35124      _this.setBlur = function () {
35125        if (_this.input && _this.input.blur) {
35126          _this.input.blur();
35127        }
35128  
35129        if (_this.props.onBlur) {
35130          _this.props.onBlur();
35131        }
35132  
35133        _this.cancelFocusInput();
35134      };
35135  
35136      _this.setOpen = function (open) {
35137        var skipSetBlur = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
35138  
35139        _this.setState({
35140          open: open,
35141          preSelection: open && _this.state.open ? _this.state.preSelection : _this.calcInitialState().preSelection,
35142          lastPreSelectChange: PRESELECT_CHANGE_VIA_NAVIGATE
35143        }, function () {
35144          if (!open) {
35145            _this.setState(function (prev) {
35146              return {
35147                focused: skipSetBlur ? prev.focused : false
35148              };
35149            }, function () {
35150              !skipSetBlur && _this.setBlur();
35151  
35152              _this.setState({ inputValue: null });
35153            });
35154          }
35155        });
35156      };
35157  
35158      _this.inputOk = function () {
35159        return isMoment(_this.state.preSelection) || isDate(_this.state.preSelection);
35160      };
35161  
35162      _this.isCalendarOpen = function () {
35163        return _this.props.open === undefined ? _this.state.open && !_this.props.disabled && !_this.props.readOnly : _this.props.open;
35164      };
35165  
35166      _this.handleFocus = function (event) {
35167        if (!_this.state.preventFocus) {
35168          _this.props.onFocus(event);
35169          if (!_this.props.preventOpenOnFocus && !_this.props.readOnly) {
35170            _this.setOpen(true);
35171          }
35172        }
35173        _this.setState({ focused: true });
35174      };
35175  
35176      _this.cancelFocusInput = function () {
35177        clearTimeout(_this.inputFocusTimeout);
35178        _this.inputFocusTimeout = null;
35179      };
35180  
35181      _this.deferFocusInput = function () {
35182        _this.cancelFocusInput();
35183        _this.inputFocusTimeout = setTimeout(function () {
35184          return _this.setFocus();
35185        }, 1);
35186      };
35187  
35188      _this.handleDropdownFocus = function () {
35189        _this.cancelFocusInput();
35190      };
35191  
35192      _this.handleBlur = function (event) {
35193        if (_this.state.open && !_this.props.withPortal) {
35194          _this.deferFocusInput();
35195        } else {
35196          _this.props.onBlur(event);
35197        }
35198        _this.setState({ focused: false });
35199      };
35200  
35201      _this.handleCalendarClickOutside = function (event) {
35202        if (!_this.props.inline) {
35203          _this.setOpen(false);
35204        }
35205        _this.props.onClickOutside(event);
35206        if (_this.props.withPortal) {
35207          event.preventDefault();
35208        }
35209      };
35210  
35211      _this.handleChange = function () {
35212        for (var _len = arguments.length, allArgs = Array(_len), _key = 0; _key < _len; _key++) {
35213          allArgs[_key] = arguments[_key];
35214        }
35215  
35216        var event = allArgs[0];
35217        if (_this.props.onChangeRaw) {
35218          _this.props.onChangeRaw.apply(_this, allArgs);
35219          if (typeof event.isDefaultPrevented !== "function" || event.isDefaultPrevented()) {
35220            return;
35221          }
35222        }
35223        _this.setState({
35224          inputValue: event.target.value,
35225          lastPreSelectChange: PRESELECT_CHANGE_VIA_INPUT
35226        });
35227        var date = parseDate(event.target.value, _this.props);
35228        if (date || !event.target.value) {
35229          _this.setSelected(date, event, true);
35230        }
35231      };
35232  
35233      _this.handleSelect = function (date, event) {
35234        // Preventing onFocus event to fix issue
35235        // https://github.com/Hacker0x01/react-datepicker/issues/628
35236        _this.setState({ preventFocus: true }, function () {
35237          _this.preventFocusTimeout = setTimeout(function () {
35238            return _this.setState({ preventFocus: false });
35239          }, 50);
35240          return _this.preventFocusTimeout;
35241        });
35242        _this.setSelected(date, event);
35243        if (!_this.props.shouldCloseOnSelect || _this.props.showTimeSelect) {
35244          _this.setPreSelection(date);
35245        } else if (!_this.props.inline) {
35246          _this.setOpen(false);
35247        }
35248      };
35249  
35250      _this.setSelected = function (date, event, keepInput) {
35251        var changedDate = date;
35252  
35253        if (changedDate !== null && isDayDisabled(changedDate, _this.props)) {
35254          if (isOutOfBounds(changedDate, _this.props)) {
35255            _this.props.onChange(date, event);
35256            _this.props.onSelect(changedDate, event);
35257          }
35258  
35259          return;
35260        }
35261  
35262        if (!isSameDay(_this.props.selected, changedDate) || _this.props.allowSameDay) {
35263          if (changedDate !== null) {
35264            if (_this.props.selected) {
35265              var selected = _this.props.selected;
35266              if (keepInput) selected = newDate(changedDate);
35267              changedDate = setTime(newDate(changedDate), {
35268                hour: getHour(selected),
35269                minute: getMinute(selected),
35270                second: getSecond(selected)
35271              });
35272            }
35273            if (!_this.props.inline) {
35274              _this.setState({
35275                preSelection: changedDate
35276              });
35277            }
35278          }
35279          _this.props.onChange(changedDate, event);
35280        }
35281  
35282        _this.props.onSelect(changedDate, event);
35283  
35284        if (!keepInput) {
35285          _this.setState({ inputValue: null });
35286        }
35287      };
35288  
35289      _this.setPreSelection = function (date) {
35290        var isDateRangePresent = typeof _this.props.minDate !== "undefined" && typeof _this.props.maxDate !== "undefined";
35291        var isValidDateSelection = isDateRangePresent && date ? isDayInRange(date, _this.props.minDate, _this.props.maxDate) : true;
35292        if (isValidDateSelection) {
35293          _this.setState({
35294            preSelection: date
35295          });
35296        }
35297      };
35298  
35299      _this.handleTimeChange = function (time) {
35300        var selected = _this.props.selected ? _this.props.selected : _this.getPreSelection();
35301        var changedDate = setTime(cloneDate(selected), {
35302          hour: getHour(time),
35303          minute: getMinute(time)
35304        });
35305  
35306        _this.setState({
35307          preSelection: changedDate
35308        });
35309  
35310        _this.props.onChange(changedDate);
35311        if (_this.props.shouldCloseOnSelect) {
35312          _this.setOpen(false);
35313        }
35314        _this.setState({ inputValue: null });
35315      };
35316  
35317      _this.onInputClick = function () {
35318        if (!_this.props.disabled && !_this.props.readOnly) {
35319          _this.setOpen(true);
35320        }
35321  
35322        _this.props.onInputClick();
35323      };
35324  
35325      _this.onInputKeyDown = function (event) {
35326        _this.props.onKeyDown(event);
35327        var eventKey = event.key;
35328        if (!_this.state.open && !_this.props.inline && !_this.props.preventOpenOnFocus) {
35329          if (eventKey === "ArrowDown" || eventKey === "ArrowUp") {
35330            _this.onInputClick();
35331          }
35332          return;
35333        }
35334        var copy = newDate(_this.state.preSelection);
35335        if (eventKey === "Enter") {
35336          event.preventDefault();
35337          if (_this.inputOk() && _this.state.lastPreSelectChange === PRESELECT_CHANGE_VIA_NAVIGATE) {
35338            _this.handleSelect(copy, event);
35339            !_this.props.shouldCloseOnSelect && _this.setPreSelection(copy);
35340          } else {
35341            _this.setOpen(false);
35342          }
35343        } else if (eventKey === "Escape") {
35344          event.preventDefault();
35345  
35346          _this.setOpen(false);
35347          if (!_this.inputOk()) {
35348            _this.props.onInputError({ code: 1, msg: INPUT_ERR_1 });
35349          }
35350        } else if (eventKey === "Tab") {
35351          _this.setOpen(false, true);
35352        } else if (!_this.props.disabledKeyboardNavigation) {
35353          var newSelection = void 0;
35354          switch (eventKey) {
35355            case "ArrowLeft":
35356              newSelection = subtractDays(copy, 1);
35357              break;
35358            case "ArrowRight":
35359              newSelection = addDays(copy, 1);
35360              break;
35361            case "ArrowUp":
35362              newSelection = subtractWeeks(copy, 1);
35363              break;
35364            case "ArrowDown":
35365              newSelection = addWeeks(copy, 1);
35366              break;
35367            case "PageUp":
35368              newSelection = subtractMonths(copy, 1);
35369              break;
35370            case "PageDown":
35371              newSelection = addMonths(copy, 1);
35372              break;
35373            case "Home":
35374              newSelection = subtractYears(copy, 1);
35375              break;
35376            case "End":
35377              newSelection = addYears(copy, 1);
35378              break;
35379          }
35380          if (!newSelection) {
35381            if (_this.props.onInputError) {
35382              _this.props.onInputError({ code: 1, msg: INPUT_ERR_1 });
35383            }
35384            return; // Let the input component handle this keydown
35385          }
35386          event.preventDefault();
35387          _this.setState({ lastPreSelectChange: PRESELECT_CHANGE_VIA_NAVIGATE });
35388          if (_this.props.adjustDateOnChange) {
35389            _this.setSelected(newSelection);
35390          }
35391          _this.setPreSelection(newSelection);
35392        }
35393      };
35394  
35395      _this.onClearClick = function (event) {
35396        if (event) {
35397          if (event.preventDefault) {
35398            event.preventDefault();
35399          }
35400        }
35401        _this.props.onChange(null, event);
35402        _this.setState({ inputValue: null });
35403      };
35404  
35405      _this.clear = function () {
35406        _this.onClearClick();
35407      };
35408  
35409      _this.renderCalendar = function () {
35410        if (!_this.props.inline && !_this.isCalendarOpen()) {
35411          return null;
35412        }
35413        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
35414          WrappedCalendar,
35415          {
35416            ref: function ref(elem) {
35417              _this.calendar = elem;
35418            },
35419            locale: _this.props.locale,
35420            adjustDateOnChange: _this.props.adjustDateOnChange,
35421            setOpen: _this.setOpen,
35422            dateFormat: _this.props.dateFormatCalendar,
35423            useWeekdaysShort: _this.props.useWeekdaysShort,
35424            formatWeekDay: _this.props.formatWeekDay,
35425            dropdownMode: _this.props.dropdownMode,
35426            selected: _this.props.selected,
35427            preSelection: _this.state.preSelection,
35428            onSelect: _this.handleSelect,
35429            onWeekSelect: _this.props.onWeekSelect,
35430            openToDate: _this.props.openToDate,
35431            minDate: _this.props.minDate,
35432            maxDate: _this.props.maxDate,
35433            selectsStart: _this.props.selectsStart,
35434            selectsEnd: _this.props.selectsEnd,
35435            startDate: _this.props.startDate,
35436            endDate: _this.props.endDate,
35437            excludeDates: _this.props.excludeDates,
35438            filterDate: _this.props.filterDate,
35439            onClickOutside: _this.handleCalendarClickOutside,
35440            formatWeekNumber: _this.props.formatWeekNumber,
35441            highlightDates: _this.state.highlightDates,
35442            includeDates: _this.props.includeDates,
35443            includeTimes: _this.props.includeTimes,
35444            injectTimes: _this.props.injectTimes,
35445            inline: _this.props.inline,
35446            peekNextMonth: _this.props.peekNextMonth,
35447            showMonthDropdown: _this.props.showMonthDropdown,
35448            useShortMonthInDropdown: _this.props.useShortMonthInDropdown,
35449            showMonthYearDropdown: _this.props.showMonthYearDropdown,
35450            showWeekNumbers: _this.props.showWeekNumbers,
35451            showYearDropdown: _this.props.showYearDropdown,
35452            withPortal: _this.props.withPortal,
35453            forceShowMonthNavigation: _this.props.forceShowMonthNavigation,
35454            showDisabledMonthNavigation: _this.props.showDisabledMonthNavigation,
35455            scrollableYearDropdown: _this.props.scrollableYearDropdown,
35456            scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown,
35457            todayButton: _this.props.todayButton,
35458            weekLabel: _this.props.weekLabel,
35459            utcOffset: _this.props.utcOffset,
35460            outsideClickIgnoreClass: outsideClickIgnoreClass,
35461            fixedHeight: _this.props.fixedHeight,
35462            monthsShown: _this.props.monthsShown,
35463            onDropdownFocus: _this.handleDropdownFocus,
35464            onMonthChange: _this.props.onMonthChange,
35465            onYearChange: _this.props.onYearChange,
35466            dayClassName: _this.props.dayClassName,
35467            showTimeSelect: _this.props.showTimeSelect,
35468            showTimeSelectOnly: _this.props.showTimeSelectOnly,
35469            onTimeChange: _this.handleTimeChange,
35470            timeFormat: _this.props.timeFormat,
35471            timeIntervals: _this.props.timeIntervals,
35472            minTime: _this.props.minTime,
35473            maxTime: _this.props.maxTime,
35474            excludeTimes: _this.props.excludeTimes,
35475            timeCaption: _this.props.timeCaption,
35476            className: _this.props.calendarClassName,
35477            container: _this.props.calendarContainer,
35478            yearDropdownItemNumber: _this.props.yearDropdownItemNumber,
35479            previousMonthButtonLabel: _this.props.previousMonthButtonLabel,
35480            nextMonthButtonLabel: _this.props.nextMonthButtonLabel,
35481            disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation,
35482            renderCustomHeader: _this.props.renderCustomHeader,
35483            popperProps: _this.props.popperProps,
35484            renderDayContents: _this.props.renderDayContents
35485          },
35486          _this.props.children
35487        );
35488      };
35489  
35490      _this.renderDateInput = function () {
35491        var _classnames, _React$cloneElement;
35492  
35493        var className = classnames__WEBPACK_IMPORTED_MODULE_2___default()(_this.props.className, (_classnames = {}, _classnames[outsideClickIgnoreClass] = _this.state.open, _classnames));
35494  
35495        var customInput = _this.props.customInput || react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", { type: "text" });
35496        var customInputRef = _this.props.customInputRef || "ref";
35497        var inputValue = typeof _this.props.value === "string" ? _this.props.value : typeof _this.state.inputValue === "string" ? _this.state.inputValue : safeDateFormat(_this.props.selected, _this.props);
35498  
35499        return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(customInput, (_React$cloneElement = {}, _React$cloneElement[customInputRef] = function (input) {
35500          _this.input = input;
35501        }, _React$cloneElement.value = inputValue, _React$cloneElement.onBlur = _this.handleBlur, _React$cloneElement.onChange = _this.handleChange, _React$cloneElement.onClick = _this.onInputClick, _React$cloneElement.onFocus = _this.handleFocus, _React$cloneElement.onKeyDown = _this.onInputKeyDown, _React$cloneElement.id = _this.props.id, _React$cloneElement.name = _this.props.name, _React$cloneElement.autoFocus = _this.props.autoFocus, _React$cloneElement.placeholder = _this.props.placeholderText, _React$cloneElement.disabled = _this.props.disabled, _React$cloneElement.autoComplete = _this.props.autoComplete, _React$cloneElement.className = className, _React$cloneElement.title = _this.props.title, _React$cloneElement.readOnly = _this.props.readOnly, _React$cloneElement.required = _this.props.required, _React$cloneElement.tabIndex = _this.props.tabIndex, _React$cloneElement));
35502      };
35503  
35504      _this.renderClearButton = function () {
35505        if (_this.props.isClearable && _this.props.selected != null) {
35506          return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("button", {
35507            type: "button",
35508            className: "react-datepicker__close-icon",
35509            onClick: _this.onClearClick,
35510            title: _this.props.clearButtonTitle,
35511            tabIndex: -1
35512          });
35513        } else {
35514          return null;
35515        }
35516      };
35517  
35518      _this.state = _this.calcInitialState();
35519      return _this;
35520    }
35521  
35522    DatePicker.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
35523      if (prevProps.inline && hasPreSelectionChanged(prevProps.selected, this.props.selected)) {
35524        this.setPreSelection(this.props.selected);
35525      }
35526      if (prevProps.highlightDates !== this.props.highlightDates) {
35527        this.setState({
35528          highlightDates: getHightLightDaysMap(this.props.highlightDates)
35529        });
35530      }
35531      if (!prevState.focused && hasSelectionChanged(prevProps.selected, this.props.selected)) {
35532        this.setState({ inputValue: null });
35533      }
35534    };
35535  
35536    DatePicker.prototype.componentWillUnmount = function componentWillUnmount() {
35537      this.clearPreventFocusTimeout();
35538    };
35539  
35540    DatePicker.prototype.render = function render() {
35541      var calendar = this.renderCalendar();
35542  
35543      if (this.props.inline && !this.props.withPortal) {
35544        return calendar;
35545      }
35546  
35547      if (this.props.withPortal) {
35548        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
35549          "div",
35550          null,
35551          !this.props.inline ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
35552            "div",
35553            { className: "react-datepicker__input-container" },
35554            this.renderDateInput(),
35555            this.renderClearButton()
35556          ) : null,
35557          this.state.open || this.props.inline ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
35558            "div",
35559            { className: "react-datepicker__portal" },
35560            calendar
35561          ) : null
35562        );
35563      }
35564  
35565      return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(PopperComponent, {
35566        className: this.props.popperClassName,
35567        hidePopper: !this.isCalendarOpen(),
35568        popperModifiers: this.props.popperModifiers,
35569        targetComponent: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
35570          "div",
35571          { className: "react-datepicker__input-container" },
35572          this.renderDateInput(),
35573          this.renderClearButton()
35574        ),
35575        popperContainer: this.props.popperContainer,
35576        popperComponent: calendar,
35577        popperPlacement: this.props.popperPlacement,
35578        popperProps: this.props.popperProps
35579      });
35580    };
35581  
35582    return DatePicker;
35583  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component);
35584  
35585  DatePicker.propTypes = {
35586    adjustDateOnChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35587    allowSameDay: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35588    autoComplete: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35589    autoFocus: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35590    calendarClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35591    calendarContainer: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35592    children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
35593    className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35594    customInput: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.element,
35595    customInputRef: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35596    // eslint-disable-next-line react/no-unused-prop-types
35597    dateFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array]),
35598    dateFormatCalendar: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35599    dayClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35600    disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35601    disabledKeyboardNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35602    dropdownMode: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(["scroll", "select"]).isRequired,
35603    endDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35604    excludeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
35605    filterDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35606    fixedHeight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35607    formatWeekNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35608    highlightDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
35609    id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35610    includeDates: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
35611    includeTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
35612    injectTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
35613    inline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35614    isClearable: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35615    locale: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35616    maxDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35617    minDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35618    monthsShown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
35619    name: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35620    onBlur: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35621    onChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,
35622    onSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35623    onWeekSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35624    onClickOutside: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35625    onChangeRaw: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35626    onFocus: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35627    onInputClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35628    onKeyDown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35629    onMonthChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35630    onYearChange: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35631    onInputError: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35632    open: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35633    openToDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35634    peekNextMonth: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35635    placeholderText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35636    popperContainer: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35637    popperClassName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, // <PopperComponent/> props
35638    popperModifiers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, // <PopperComponent/> props
35639    popperPlacement: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(popperPlacementPositions), // <PopperComponent/> props
35640    popperProps: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35641    preventOpenOnFocus: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35642    readOnly: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35643    required: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35644    scrollableYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35645    scrollableMonthYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35646    selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35647    selectsEnd: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35648    selectsStart: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35649    showMonthDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35650    showMonthYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35651    showWeekNumbers: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35652    showYearDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35653    forceShowMonthNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35654    showDisabledMonthNavigation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35655    startDate: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35656    startOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35657    tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
35658    timeCaption: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35659    title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35660    todayButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
35661    useWeekdaysShort: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35662    formatWeekDay: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35663    utcOffset: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
35664    value: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35665    weekLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35666    withPortal: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35667    yearDropdownItemNumber: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
35668    shouldCloseOnSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35669    showTimeSelect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35670    showTimeSelectOnly: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35671    timeFormat: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35672    timeIntervals: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
35673    minTime: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35674    maxTime: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
35675    excludeTimes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array,
35676    useShortMonthInDropdown: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
35677    clearButtonTitle: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35678    previousMonthButtonLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35679    nextMonthButtonLabel: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
35680    renderCustomHeader: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
35681    renderDayContents: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
35682  };
35683  var PRESELECT_CHANGE_VIA_INPUT = "input";
35684  var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate";
35685  
35686  
35687  /* harmony default export */ __webpack_exports__["default"] = (DatePicker);
35688  
35689  
35690  /***/ }),
35691  
35692  /***/ "./node_modules/react-onclickoutside/dist/react-onclickoutside.es.js":
35693  /*!***************************************************************************!*\
35694    !*** ./node_modules/react-onclickoutside/dist/react-onclickoutside.es.js ***!
35695    \***************************************************************************/
35696  /*! exports provided: IGNORE_CLASS_NAME, default */
35697  /***/ (function(module, __webpack_exports__, __webpack_require__) {
35698  
35699  "use strict";
35700  __webpack_require__.r(__webpack_exports__);
35701  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IGNORE_CLASS_NAME", function() { return IGNORE_CLASS_NAME; });
35702  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
35703  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
35704  /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "react-dom");
35705  /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);
35706  
35707  
35708  
35709  function _inheritsLoose(subClass, superClass) {
35710    subClass.prototype = Object.create(superClass.prototype);
35711    subClass.prototype.constructor = subClass;
35712    subClass.__proto__ = superClass;
35713  }
35714  
35715  function _objectWithoutProperties(source, excluded) {
35716    if (source == null) return {};
35717    var target = {};
35718    var sourceKeys = Object.keys(source);
35719    var key, i;
35720  
35721    for (i = 0; i < sourceKeys.length; i++) {
35722      key = sourceKeys[i];
35723      if (excluded.indexOf(key) >= 0) continue;
35724      target[key] = source[key];
35725    }
35726  
35727    if (Object.getOwnPropertySymbols) {
35728      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
35729  
35730      for (i = 0; i < sourceSymbolKeys.length; i++) {
35731        key = sourceSymbolKeys[i];
35732        if (excluded.indexOf(key) >= 0) continue;
35733        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
35734        target[key] = source[key];
35735      }
35736    }
35737  
35738    return target;
35739  }
35740  
35741  /**
35742   * Check whether some DOM node is our Component's node.
35743   */
35744  function isNodeFound(current, componentNode, ignoreClass) {
35745    if (current === componentNode) {
35746      return true;
35747    } // SVG <use/> elements do not technically reside in the rendered DOM, so
35748    // they do not have classList directly, but they offer a link to their
35749    // corresponding element, which can have classList. This extra check is for
35750    // that case.
35751    // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement
35752    // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17
35753  
35754  
35755    if (current.correspondingElement) {
35756      return current.correspondingElement.classList.contains(ignoreClass);
35757    }
35758  
35759    return current.classList.contains(ignoreClass);
35760  }
35761  /**
35762   * Try to find our node in a hierarchy of nodes, returning the document
35763   * node as highest node if our node is not found in the path up.
35764   */
35765  
35766  function findHighest(current, componentNode, ignoreClass) {
35767    if (current === componentNode) {
35768      return true;
35769    } // If source=local then this event came from 'somewhere'
35770    // inside and should be ignored. We could handle this with
35771    // a layered approach, too, but that requires going back to
35772    // thinking in terms of Dom node nesting, running counter
35773    // to React's 'you shouldn't care about the DOM' philosophy.
35774  
35775  
35776    while (current.parentNode) {
35777      if (isNodeFound(current, componentNode, ignoreClass)) {
35778        return true;
35779      }
35780  
35781      current = current.parentNode;
35782    }
35783  
35784    return current;
35785  }
35786  /**
35787   * Check if the browser scrollbar was clicked
35788   */
35789  
35790  function clickedScrollbar(evt) {
35791    return document.documentElement.clientWidth <= evt.clientX || document.documentElement.clientHeight <= evt.clientY;
35792  }
35793  
35794  // ideally will get replaced with external dep
35795  // when rafrex/detect-passive-events#4 and rafrex/detect-passive-events#5 get merged in
35796  var testPassiveEventSupport = function testPassiveEventSupport() {
35797    if (typeof window === 'undefined' || typeof window.addEventListener !== 'function') {
35798      return;
35799    }
35800  
35801    var passive = false;
35802    var options = Object.defineProperty({}, 'passive', {
35803      get: function get() {
35804        passive = true;
35805      }
35806    });
35807  
35808    var noop = function noop() {};
35809  
35810    window.addEventListener('testPassiveEventSupport', noop, options);
35811    window.removeEventListener('testPassiveEventSupport', noop, options);
35812    return passive;
35813  };
35814  
35815  function autoInc(seed) {
35816    if (seed === void 0) {
35817      seed = 0;
35818    }
35819  
35820    return function () {
35821      return ++seed;
35822    };
35823  }
35824  
35825  var uid = autoInc();
35826  
35827  var passiveEventSupport;
35828  var handlersMap = {};
35829  var enabledInstances = {};
35830  var touchEvents = ['touchstart', 'touchmove'];
35831  var IGNORE_CLASS_NAME = 'ignore-react-onclickoutside';
35832  /**
35833   * Options for addEventHandler and removeEventHandler
35834   */
35835  
35836  function getEventHandlerOptions(instance, eventName) {
35837    var handlerOptions = null;
35838    var isTouchEvent = touchEvents.indexOf(eventName) !== -1;
35839  
35840    if (isTouchEvent && passiveEventSupport) {
35841      handlerOptions = {
35842        passive: !instance.props.preventDefault
35843      };
35844    }
35845  
35846    return handlerOptions;
35847  }
35848  /**
35849   * This function generates the HOC function that you'll use
35850   * in order to impart onOutsideClick listening to an
35851   * arbitrary component. It gets called at the end of the
35852   * bootstrapping code to yield an instance of the
35853   * onClickOutsideHOC function defined inside setupHOC().
35854   */
35855  
35856  
35857  function onClickOutsideHOC(WrappedComponent, config) {
35858    var _class, _temp;
35859  
35860    return _temp = _class =
35861    /*#__PURE__*/
35862    function (_Component) {
35863      _inheritsLoose(onClickOutside, _Component);
35864  
35865      function onClickOutside(props) {
35866        var _this;
35867  
35868        _this = _Component.call(this, props) || this;
35869  
35870        _this.__outsideClickHandler = function (event) {
35871          if (typeof _this.__clickOutsideHandlerProp === 'function') {
35872            _this.__clickOutsideHandlerProp(event);
35873  
35874            return;
35875          }
35876  
35877          var instance = _this.getInstance();
35878  
35879          if (typeof instance.props.handleClickOutside === 'function') {
35880            instance.props.handleClickOutside(event);
35881            return;
35882          }
35883  
35884          if (typeof instance.handleClickOutside === 'function') {
35885            instance.handleClickOutside(event);
35886            return;
35887          }
35888  
35889          throw new Error('WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.');
35890        };
35891  
35892        _this.enableOnClickOutside = function () {
35893          if (typeof document === 'undefined' || enabledInstances[_this._uid]) {
35894            return;
35895          }
35896  
35897          if (typeof passiveEventSupport === 'undefined') {
35898            passiveEventSupport = testPassiveEventSupport();
35899          }
35900  
35901          enabledInstances[_this._uid] = true;
35902          var events = _this.props.eventTypes;
35903  
35904          if (!events.forEach) {
35905            events = [events];
35906          }
35907  
35908          handlersMap[_this._uid] = function (event) {
35909            if (_this.props.disableOnClickOutside) return;
35910            if (_this.componentNode === null) return;
35911  
35912            if (_this.props.preventDefault) {
35913              event.preventDefault();
35914            }
35915  
35916            if (_this.props.stopPropagation) {
35917              event.stopPropagation();
35918            }
35919  
35920            if (_this.props.excludeScrollbar && clickedScrollbar(event)) return;
35921            var current = event.target;
35922  
35923            if (findHighest(current, _this.componentNode, _this.props.outsideClickIgnoreClass) !== document) {
35924              return;
35925            }
35926  
35927            _this.__outsideClickHandler(event);
35928          };
35929  
35930          events.forEach(function (eventName) {
35931            document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_this, eventName));
35932          });
35933        };
35934  
35935        _this.disableOnClickOutside = function () {
35936          delete enabledInstances[_this._uid];
35937          var fn = handlersMap[_this._uid];
35938  
35939          if (fn && typeof document !== 'undefined') {
35940            var events = _this.props.eventTypes;
35941  
35942            if (!events.forEach) {
35943              events = [events];
35944            }
35945  
35946            events.forEach(function (eventName) {
35947              return document.removeEventListener(eventName, fn, getEventHandlerOptions(_this, eventName));
35948            });
35949            delete handlersMap[_this._uid];
35950          }
35951        };
35952  
35953        _this.getRef = function (ref) {
35954          return _this.instanceRef = ref;
35955        };
35956  
35957        _this._uid = uid();
35958        return _this;
35959      }
35960      /**
35961       * Access the WrappedComponent's instance.
35962       */
35963  
35964  
35965      var _proto = onClickOutside.prototype;
35966  
35967      _proto.getInstance = function getInstance() {
35968        if (!WrappedComponent.prototype.isReactComponent) {
35969          return this;
35970        }
35971  
35972        var ref = this.instanceRef;
35973        return ref.getInstance ? ref.getInstance() : ref;
35974      };
35975  
35976      /**
35977       * Add click listeners to the current document,
35978       * linked to this component's state.
35979       */
35980      _proto.componentDidMount = function componentDidMount() {
35981        // If we are in an environment without a DOM such
35982        // as shallow rendering or snapshots then we exit
35983        // early to prevent any unhandled errors being thrown.
35984        if (typeof document === 'undefined' || !document.createElement) {
35985          return;
35986        }
35987  
35988        var instance = this.getInstance();
35989  
35990        if (config && typeof config.handleClickOutside === 'function') {
35991          this.__clickOutsideHandlerProp = config.handleClickOutside(instance);
35992  
35993          if (typeof this.__clickOutsideHandlerProp !== 'function') {
35994            throw new Error('WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.');
35995          }
35996        }
35997  
35998        this.componentNode = Object(react_dom__WEBPACK_IMPORTED_MODULE_1__["findDOMNode"])(this.getInstance());
35999        this.enableOnClickOutside();
36000      };
36001  
36002      _proto.componentDidUpdate = function componentDidUpdate() {
36003        this.componentNode = Object(react_dom__WEBPACK_IMPORTED_MODULE_1__["findDOMNode"])(this.getInstance());
36004      };
36005      /**
36006       * Remove all document's event listeners for this component
36007       */
36008  
36009  
36010      _proto.componentWillUnmount = function componentWillUnmount() {
36011        this.disableOnClickOutside();
36012      };
36013      /**
36014       * Can be called to explicitly enable event listening
36015       * for clicks and touches outside of this element.
36016       */
36017  
36018  
36019      /**
36020       * Pass-through render
36021       */
36022      _proto.render = function render() {
36023        // eslint-disable-next-line no-unused-vars
36024        var _props = this.props,
36025            excludeScrollbar = _props.excludeScrollbar,
36026            props = _objectWithoutProperties(_props, ["excludeScrollbar"]);
36027  
36028        if (WrappedComponent.prototype.isReactComponent) {
36029          props.ref = this.getRef;
36030        } else {
36031          props.wrappedRef = this.getRef;
36032        }
36033  
36034        props.disableOnClickOutside = this.disableOnClickOutside;
36035        props.enableOnClickOutside = this.enableOnClickOutside;
36036        return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(WrappedComponent, props);
36037      };
36038  
36039      return onClickOutside;
36040    }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]), _class.displayName = "OnClickOutside(" + (WrappedComponent.displayName || WrappedComponent.name || 'Component') + ")", _class.defaultProps = {
36041      eventTypes: ['mousedown', 'touchstart'],
36042      excludeScrollbar: config && config.excludeScrollbar || false,
36043      outsideClickIgnoreClass: IGNORE_CLASS_NAME,
36044      preventDefault: false,
36045      stopPropagation: false
36046    }, _class.getClass = function () {
36047      return WrappedComponent.getClass ? WrappedComponent.getClass() : WrappedComponent;
36048    }, _temp;
36049  }
36050  
36051  
36052  /* harmony default export */ __webpack_exports__["default"] = (onClickOutsideHOC);
36053  
36054  
36055  /***/ }),
36056  
36057  /***/ "./node_modules/react-popper/lib/esm/Manager.js":
36058  /*!******************************************************!*\
36059    !*** ./node_modules/react-popper/lib/esm/Manager.js ***!
36060    \******************************************************/
36061  /*! exports provided: ManagerContext, default */
36062  /***/ (function(module, __webpack_exports__, __webpack_require__) {
36063  
36064  "use strict";
36065  __webpack_require__.r(__webpack_exports__);
36066  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ManagerContext", function() { return ManagerContext; });
36067  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Manager; });
36068  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/extends.js");
36069  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
36070  /* harmony import */ var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/inheritsLoose */ "./node_modules/@babel/runtime/helpers/inheritsLoose.js");
36071  /* harmony import */ var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__);
36072  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js");
36073  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__);
36074  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/defineProperty.js");
36075  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__);
36076  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
36077  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
36078  /* harmony import */ var create_react_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! create-react-context */ "./node_modules/create-react-context/lib/index.js");
36079  /* harmony import */ var create_react_context__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(create_react_context__WEBPACK_IMPORTED_MODULE_5__);
36080  
36081  
36082  
36083  
36084  
36085  
36086  var ManagerContext = create_react_context__WEBPACK_IMPORTED_MODULE_5___default()({
36087    getReferenceRef: undefined,
36088    referenceNode: undefined
36089  });
36090  
36091  var Manager =
36092  /*#__PURE__*/
36093  function (_React$Component) {
36094    _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1___default()(Manager, _React$Component);
36095  
36096    function Manager() {
36097      var _this;
36098  
36099      _this = _React$Component.call(this) || this;
36100  
36101      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)), "getReferenceRef", function (referenceNode) {
36102        return _this.setState(function (_ref) {
36103          var context = _ref.context;
36104          return {
36105            context: _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, context, {
36106              referenceNode: referenceNode
36107            })
36108          };
36109        });
36110      });
36111  
36112      _this.state = {
36113        context: {
36114          getReferenceRef: _this.getReferenceRef,
36115          referenceNode: undefined
36116        }
36117      };
36118      return _this;
36119    }
36120  
36121    var _proto = Manager.prototype;
36122  
36123    _proto.render = function render() {
36124      return react__WEBPACK_IMPORTED_MODULE_4__["createElement"](ManagerContext.Provider, {
36125        value: this.state.context
36126      }, this.props.children);
36127    };
36128  
36129    return Manager;
36130  }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]);
36131  
36132  
36133  
36134  /***/ }),
36135  
36136  /***/ "./node_modules/react-popper/lib/esm/Popper.js":
36137  /*!*****************************************************!*\
36138    !*** ./node_modules/react-popper/lib/esm/Popper.js ***!
36139    \*****************************************************/
36140  /*! exports provided: InnerPopper, placements, default */
36141  /***/ (function(module, __webpack_exports__, __webpack_require__) {
36142  
36143  "use strict";
36144  __webpack_require__.r(__webpack_exports__);
36145  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InnerPopper", function() { return InnerPopper; });
36146  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "placements", function() { return placements; });
36147  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Popper; });
36148  /* harmony import */ var _babel_runtime_helpers_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js");
36149  /* harmony import */ var _babel_runtime_helpers_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__);
36150  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/extends.js");
36151  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__);
36152  /* harmony import */ var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/inheritsLoose */ "./node_modules/@babel/runtime/helpers/inheritsLoose.js");
36153  /* harmony import */ var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__);
36154  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js");
36155  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__);
36156  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/defineProperty.js");
36157  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4__);
36158  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
36159  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
36160  /* harmony import */ var popper_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! popper.js */ "./node_modules/popper.js/dist/esm/popper.js");
36161  /* harmony import */ var _Manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Manager */ "./node_modules/react-popper/lib/esm/Manager.js");
36162  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils */ "./node_modules/react-popper/lib/esm/utils.js");
36163  
36164  
36165  
36166  
36167  
36168  
36169  
36170  
36171  
36172  var initialStyle = {
36173    position: 'absolute',
36174    top: 0,
36175    left: 0,
36176    opacity: 0,
36177    pointerEvents: 'none'
36178  };
36179  var initialArrowStyle = {};
36180  var InnerPopper =
36181  /*#__PURE__*/
36182  function (_React$Component) {
36183    _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_2___default()(InnerPopper, _React$Component);
36184  
36185    function InnerPopper() {
36186      var _this;
36187  
36188      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36189        args[_key] = arguments[_key];
36190      }
36191  
36192      _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
36193  
36194      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "state", {
36195        data: undefined,
36196        placement: undefined
36197      });
36198  
36199      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "popperInstance", void 0);
36200  
36201      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "popperNode", null);
36202  
36203      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "arrowNode", null);
36204  
36205      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "setPopperNode", function (popperNode) {
36206        if (!popperNode || _this.popperNode === popperNode) return;
36207        Object(_utils__WEBPACK_IMPORTED_MODULE_8__["safeInvoke"])(_this.props.innerRef, popperNode);
36208        _this.popperNode = popperNode;
36209  
36210        _this.updatePopperInstance();
36211      });
36212  
36213      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "setArrowNode", function (arrowNode) {
36214        _this.arrowNode = arrowNode;
36215      });
36216  
36217      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "updateStateModifier", {
36218        enabled: true,
36219        order: 900,
36220        fn: function fn(data) {
36221          var placement = data.placement;
36222  
36223          _this.setState({
36224            data: data,
36225            placement: placement
36226          });
36227  
36228          return data;
36229        }
36230      });
36231  
36232      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "getOptions", function () {
36233        return {
36234          placement: _this.props.placement,
36235          eventsEnabled: _this.props.eventsEnabled,
36236          positionFixed: _this.props.positionFixed,
36237          modifiers: _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({}, _this.props.modifiers, {
36238            arrow: _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({}, _this.props.modifiers && _this.props.modifiers.arrow, {
36239              enabled: !!_this.arrowNode,
36240              element: _this.arrowNode
36241            }),
36242            applyStyle: {
36243              enabled: false
36244            },
36245            updateStateModifier: _this.updateStateModifier
36246          })
36247        };
36248      });
36249  
36250      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "getPopperStyle", function () {
36251        return !_this.popperNode || !_this.state.data ? initialStyle : _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({
36252          position: _this.state.data.offsets.popper.position
36253        }, _this.state.data.styles);
36254      });
36255  
36256      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "getPopperPlacement", function () {
36257        return !_this.state.data ? undefined : _this.state.placement;
36258      });
36259  
36260      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "getArrowStyle", function () {
36261        return !_this.arrowNode || !_this.state.data ? initialArrowStyle : _this.state.data.arrowStyles;
36262      });
36263  
36264      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "getOutOfBoundariesState", function () {
36265        return _this.state.data ? _this.state.data.hide : undefined;
36266      });
36267  
36268      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "destroyPopperInstance", function () {
36269        if (!_this.popperInstance) return;
36270  
36271        _this.popperInstance.destroy();
36272  
36273        _this.popperInstance = null;
36274      });
36275  
36276      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "updatePopperInstance", function () {
36277        _this.destroyPopperInstance();
36278  
36279        var _assertThisInitialize = _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)),
36280            popperNode = _assertThisInitialize.popperNode;
36281  
36282        var referenceElement = _this.props.referenceElement;
36283        if (!referenceElement || !popperNode) return;
36284        _this.popperInstance = new popper_js__WEBPACK_IMPORTED_MODULE_6__["default"](referenceElement, popperNode, _this.getOptions());
36285      });
36286  
36287      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default()(_this)), "scheduleUpdate", function () {
36288        if (_this.popperInstance) {
36289          _this.popperInstance.scheduleUpdate();
36290        }
36291      });
36292  
36293      return _this;
36294    }
36295  
36296    var _proto = InnerPopper.prototype;
36297  
36298    _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
36299      // If the Popper.js options have changed, update the instance (destroy + create)
36300      if (this.props.placement !== prevProps.placement || this.props.referenceElement !== prevProps.referenceElement || this.props.positionFixed !== prevProps.positionFixed) {
36301        this.updatePopperInstance();
36302      } else if (this.props.eventsEnabled !== prevProps.eventsEnabled && this.popperInstance) {
36303        this.props.eventsEnabled ? this.popperInstance.enableEventListeners() : this.popperInstance.disableEventListeners();
36304      } // A placement difference in state means popper determined a new placement
36305      // apart from the props value. By the time the popper element is rendered with
36306      // the new position Popper has already measured it, if the place change triggers
36307      // a size change it will result in a misaligned popper. So we schedule an update to be sure.
36308  
36309  
36310      if (prevState.placement !== this.state.placement) {
36311        this.scheduleUpdate();
36312      }
36313    };
36314  
36315    _proto.componentWillUnmount = function componentWillUnmount() {
36316      Object(_utils__WEBPACK_IMPORTED_MODULE_8__["safeInvoke"])(this.props.innerRef, null);
36317      this.destroyPopperInstance();
36318    };
36319  
36320    _proto.render = function render() {
36321      return Object(_utils__WEBPACK_IMPORTED_MODULE_8__["unwrapArray"])(this.props.children)({
36322        ref: this.setPopperNode,
36323        style: this.getPopperStyle(),
36324        placement: this.getPopperPlacement(),
36325        outOfBoundaries: this.getOutOfBoundariesState(),
36326        scheduleUpdate: this.scheduleUpdate,
36327        arrowProps: {
36328          ref: this.setArrowNode,
36329          style: this.getArrowStyle()
36330        }
36331      });
36332    };
36333  
36334    return InnerPopper;
36335  }(react__WEBPACK_IMPORTED_MODULE_5__["Component"]);
36336  
36337  _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_4___default()(InnerPopper, "defaultProps", {
36338    placement: 'bottom',
36339    eventsEnabled: true,
36340    referenceElement: undefined,
36341    positionFixed: false
36342  });
36343  
36344  var placements = popper_js__WEBPACK_IMPORTED_MODULE_6__["default"].placements;
36345  
36346  function Popper(_ref) {
36347    var referenceElement = _ref.referenceElement,
36348        props = _babel_runtime_helpers_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0___default()(_ref, ["referenceElement"]);
36349  
36350    return react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_Manager__WEBPACK_IMPORTED_MODULE_7__["ManagerContext"].Consumer, null, function (_ref2) {
36351      var referenceNode = _ref2.referenceNode;
36352      return react__WEBPACK_IMPORTED_MODULE_5__["createElement"](InnerPopper, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({
36353        referenceElement: referenceElement !== undefined ? referenceElement : referenceNode
36354      }, props));
36355    });
36356  }
36357  
36358  /***/ }),
36359  
36360  /***/ "./node_modules/react-popper/lib/esm/Reference.js":
36361  /*!********************************************************!*\
36362    !*** ./node_modules/react-popper/lib/esm/Reference.js ***!
36363    \********************************************************/
36364  /*! exports provided: default */
36365  /***/ (function(module, __webpack_exports__, __webpack_require__) {
36366  
36367  "use strict";
36368  __webpack_require__.r(__webpack_exports__);
36369  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Reference; });
36370  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/extends.js");
36371  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
36372  /* harmony import */ var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/inheritsLoose */ "./node_modules/@babel/runtime/helpers/inheritsLoose.js");
36373  /* harmony import */ var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__);
36374  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js");
36375  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__);
36376  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/defineProperty.js");
36377  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__);
36378  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
36379  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
36380  /* harmony import */ var warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! warning */ "./node_modules/warning/warning.js");
36381  /* harmony import */ var warning__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(warning__WEBPACK_IMPORTED_MODULE_5__);
36382  /* harmony import */ var _Manager__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Manager */ "./node_modules/react-popper/lib/esm/Manager.js");
36383  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ "./node_modules/react-popper/lib/esm/utils.js");
36384  
36385  
36386  
36387  
36388  
36389  
36390  
36391  
36392  
36393  var InnerReference =
36394  /*#__PURE__*/
36395  function (_React$Component) {
36396    _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_1___default()(InnerReference, _React$Component);
36397  
36398    function InnerReference() {
36399      var _this;
36400  
36401      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36402        args[_key] = arguments[_key];
36403      }
36404  
36405      _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
36406  
36407      _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)), "refHandler", function (node) {
36408        Object(_utils__WEBPACK_IMPORTED_MODULE_7__["safeInvoke"])(_this.props.innerRef, node);
36409        Object(_utils__WEBPACK_IMPORTED_MODULE_7__["safeInvoke"])(_this.props.getReferenceRef, node);
36410      });
36411  
36412      return _this;
36413    }
36414  
36415    var _proto = InnerReference.prototype;
36416  
36417    _proto.render = function render() {
36418      warning__WEBPACK_IMPORTED_MODULE_5___default()(this.props.getReferenceRef, '`Reference` should not be used outside of a `Manager` component.');
36419      return Object(_utils__WEBPACK_IMPORTED_MODULE_7__["unwrapArray"])(this.props.children)({
36420        ref: this.refHandler
36421      });
36422    };
36423  
36424    return InnerReference;
36425  }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]);
36426  
36427  function Reference(props) {
36428    return react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Manager__WEBPACK_IMPORTED_MODULE_6__["ManagerContext"].Consumer, null, function (_ref) {
36429      var getReferenceRef = _ref.getReferenceRef;
36430      return react__WEBPACK_IMPORTED_MODULE_4__["createElement"](InnerReference, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({
36431        getReferenceRef: getReferenceRef
36432      }, props));
36433    });
36434  }
36435  
36436  /***/ }),
36437  
36438  /***/ "./node_modules/react-popper/lib/esm/index.js":
36439  /*!****************************************************!*\
36440    !*** ./node_modules/react-popper/lib/esm/index.js ***!
36441    \****************************************************/
36442  /*! exports provided: Popper, placements, Manager, Reference */
36443  /***/ (function(module, __webpack_exports__, __webpack_require__) {
36444  
36445  "use strict";
36446  __webpack_require__.r(__webpack_exports__);
36447  /* harmony import */ var _Popper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Popper */ "./node_modules/react-popper/lib/esm/Popper.js");
36448  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popper", function() { return _Popper__WEBPACK_IMPORTED_MODULE_0__["default"]; });
36449  
36450  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "placements", function() { return _Popper__WEBPACK_IMPORTED_MODULE_0__["placements"]; });
36451  
36452  /* harmony import */ var _Manager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Manager */ "./node_modules/react-popper/lib/esm/Manager.js");
36453  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Manager", function() { return _Manager__WEBPACK_IMPORTED_MODULE_1__["default"]; });
36454  
36455  /* harmony import */ var _Reference__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Reference */ "./node_modules/react-popper/lib/esm/Reference.js");
36456  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Reference", function() { return _Reference__WEBPACK_IMPORTED_MODULE_2__["default"]; });
36457  
36458  // Public components
36459  
36460  
36461  
36462   // Public types
36463  
36464  /***/ }),
36465  
36466  /***/ "./node_modules/react-popper/lib/esm/utils.js":
36467  /*!****************************************************!*\
36468    !*** ./node_modules/react-popper/lib/esm/utils.js ***!
36469    \****************************************************/
36470  /*! exports provided: unwrapArray, safeInvoke */
36471  /***/ (function(module, __webpack_exports__, __webpack_require__) {
36472  
36473  "use strict";
36474  __webpack_require__.r(__webpack_exports__);
36475  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "unwrapArray", function() { return unwrapArray; });
36476  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "safeInvoke", function() { return safeInvoke; });
36477  /**
36478   * Takes an argument and if it's an array, returns the first item in the array,
36479   * otherwise returns the argument. Used for Preact compatibility.
36480   */
36481  var unwrapArray = function unwrapArray(arg) {
36482    return Array.isArray(arg) ? arg[0] : arg;
36483  };
36484  /**
36485   * Takes a maybe-undefined function and arbitrary args and invokes the function
36486   * only if it is defined.
36487   */
36488  
36489  var safeInvoke = function safeInvoke(fn) {
36490    if (typeof fn === "function") {
36491      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
36492        args[_key - 1] = arguments[_key];
36493      }
36494  
36495      return fn.apply(void 0, args);
36496    }
36497  };
36498  
36499  /***/ }),
36500  
36501  /***/ "./node_modules/reactcss/lib/autoprefix.js":
36502  /*!*************************************************!*\
36503    !*** ./node_modules/reactcss/lib/autoprefix.js ***!
36504    \*************************************************/
36505  /*! no static exports found */
36506  /***/ (function(module, exports, __webpack_require__) {
36507  
36508  "use strict";
36509  
36510  
36511  Object.defineProperty(exports, "__esModule", {
36512    value: true
36513  });
36514  exports.autoprefix = undefined;
36515  
36516  var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
36517  
36518  var _forOwn3 = _interopRequireDefault(_forOwn2);
36519  
36520  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; };
36521  
36522  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36523  
36524  var transforms = {
36525    borderRadius: function borderRadius(value) {
36526      return {
36527        msBorderRadius: value,
36528        MozBorderRadius: value,
36529        OBorderRadius: value,
36530        WebkitBorderRadius: value,
36531        borderRadius: value
36532      };
36533    },
36534    boxShadow: function boxShadow(value) {
36535      return {
36536        msBoxShadow: value,
36537        MozBoxShadow: value,
36538        OBoxShadow: value,
36539        WebkitBoxShadow: value,
36540        boxShadow: value
36541      };
36542    },
36543    userSelect: function userSelect(value) {
36544      return {
36545        WebkitTouchCallout: value,
36546        KhtmlUserSelect: value,
36547        MozUserSelect: value,
36548        msUserSelect: value,
36549        WebkitUserSelect: value,
36550        userSelect: value
36551      };
36552    },
36553  
36554    flex: function flex(value) {
36555      return {
36556        WebkitBoxFlex: value,
36557        MozBoxFlex: value,
36558        WebkitFlex: value,
36559        msFlex: value,
36560        flex: value
36561      };
36562    },
36563    flexBasis: function flexBasis(value) {
36564      return {
36565        WebkitFlexBasis: value,
36566        flexBasis: value
36567      };
36568    },
36569    justifyContent: function justifyContent(value) {
36570      return {
36571        WebkitJustifyContent: value,
36572        justifyContent: value
36573      };
36574    },
36575  
36576    transition: function transition(value) {
36577      return {
36578        msTransition: value,
36579        MozTransition: value,
36580        OTransition: value,
36581        WebkitTransition: value,
36582        transition: value
36583      };
36584    },
36585  
36586    transform: function transform(value) {
36587      return {
36588        msTransform: value,
36589        MozTransform: value,
36590        OTransform: value,
36591        WebkitTransform: value,
36592        transform: value
36593      };
36594    },
36595    absolute: function absolute(value) {
36596      var direction = value && value.split(' ');
36597      return {
36598        position: 'absolute',
36599        top: direction && direction[0],
36600        right: direction && direction[1],
36601        bottom: direction && direction[2],
36602        left: direction && direction[3]
36603      };
36604    },
36605    extend: function extend(name, otherElementStyles) {
36606      var otherStyle = otherElementStyles[name];
36607      if (otherStyle) {
36608        return otherStyle;
36609      }
36610      return {
36611        'extend': name
36612      };
36613    }
36614  };
36615  
36616  var autoprefix = exports.autoprefix = function autoprefix(elements) {
36617    var prefixed = {};
36618    (0, _forOwn3.default)(elements, function (styles, element) {
36619      var expanded = {};
36620      (0, _forOwn3.default)(styles, function (value, key) {
36621        var transform = transforms[key];
36622        if (transform) {
36623          expanded = _extends({}, expanded, transform(value));
36624        } else {
36625          expanded[key] = value;
36626        }
36627      });
36628      prefixed[element] = expanded;
36629    });
36630    return prefixed;
36631  };
36632  
36633  exports.default = autoprefix;
36634  
36635  /***/ }),
36636  
36637  /***/ "./node_modules/reactcss/lib/components/active.js":
36638  /*!********************************************************!*\
36639    !*** ./node_modules/reactcss/lib/components/active.js ***!
36640    \********************************************************/
36641  /*! no static exports found */
36642  /***/ (function(module, exports, __webpack_require__) {
36643  
36644  "use strict";
36645  
36646  
36647  Object.defineProperty(exports, "__esModule", {
36648    value: true
36649  });
36650  exports.active = undefined;
36651  
36652  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; };
36653  
36654  var _react = __webpack_require__(/*! react */ "react");
36655  
36656  var _react2 = _interopRequireDefault(_react);
36657  
36658  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36659  
36660  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36661  
36662  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; }
36663  
36664  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; }
36665  
36666  var active = exports.active = function active(Component) {
36667    var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
36668  
36669    return function (_React$Component) {
36670      _inherits(Active, _React$Component);
36671  
36672      function Active() {
36673        var _ref;
36674  
36675        var _temp, _this, _ret;
36676  
36677        _classCallCheck(this, Active);
36678  
36679        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
36680          args[_key] = arguments[_key];
36681        }
36682  
36683        return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Active.__proto__ || Object.getPrototypeOf(Active)).call.apply(_ref, [this].concat(args))), _this), _this.state = { active: false }, _this.handleMouseDown = function () {
36684          return _this.setState({ active: true });
36685        }, _this.handleMouseUp = function () {
36686          return _this.setState({ active: false });
36687        }, _this.render = function () {
36688          return _react2.default.createElement(
36689            Span,
36690            { onMouseDown: _this.handleMouseDown, onMouseUp: _this.handleMouseUp },
36691            _react2.default.createElement(Component, _extends({}, _this.props, _this.state))
36692          );
36693        }, _temp), _possibleConstructorReturn(_this, _ret);
36694      }
36695  
36696      return Active;
36697    }(_react2.default.Component);
36698  };
36699  
36700  exports.default = active;
36701  
36702  /***/ }),
36703  
36704  /***/ "./node_modules/reactcss/lib/components/hover.js":
36705  /*!*******************************************************!*\
36706    !*** ./node_modules/reactcss/lib/components/hover.js ***!
36707    \*******************************************************/
36708  /*! no static exports found */
36709  /***/ (function(module, exports, __webpack_require__) {
36710  
36711  "use strict";
36712  
36713  
36714  Object.defineProperty(exports, "__esModule", {
36715    value: true
36716  });
36717  exports.hover = undefined;
36718  
36719  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; };
36720  
36721  var _react = __webpack_require__(/*! react */ "react");
36722  
36723  var _react2 = _interopRequireDefault(_react);
36724  
36725  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36726  
36727  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
36728  
36729  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; }
36730  
36731  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; }
36732  
36733  var hover = exports.hover = function hover(Component) {
36734    var Span = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'span';
36735  
36736    return function (_React$Component) {
36737      _inherits(Hover, _React$Component);
36738  
36739      function Hover() {
36740        var _ref;
36741  
36742        var _temp, _this, _ret;
36743  
36744        _classCallCheck(this, Hover);
36745  
36746        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
36747          args[_key] = arguments[_key];
36748        }
36749  
36750        return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Hover.__proto__ || Object.getPrototypeOf(Hover)).call.apply(_ref, [this].concat(args))), _this), _this.state = { hover: false }, _this.handleMouseOver = function () {
36751          return _this.setState({ hover: true });
36752        }, _this.handleMouseOut = function () {
36753          return _this.setState({ hover: false });
36754        }, _this.render = function () {
36755          return _react2.default.createElement(
36756            Span,
36757            { onMouseOver: _this.handleMouseOver, onMouseOut: _this.handleMouseOut },
36758            _react2.default.createElement(Component, _extends({}, _this.props, _this.state))
36759          );
36760        }, _temp), _possibleConstructorReturn(_this, _ret);
36761      }
36762  
36763      return Hover;
36764    }(_react2.default.Component);
36765  };
36766  
36767  exports.default = hover;
36768  
36769  /***/ }),
36770  
36771  /***/ "./node_modules/reactcss/lib/flattenNames.js":
36772  /*!***************************************************!*\
36773    !*** ./node_modules/reactcss/lib/flattenNames.js ***!
36774    \***************************************************/
36775  /*! no static exports found */
36776  /***/ (function(module, exports, __webpack_require__) {
36777  
36778  "use strict";
36779  
36780  
36781  Object.defineProperty(exports, "__esModule", {
36782    value: true
36783  });
36784  exports.flattenNames = undefined;
36785  
36786  var _isString2 = __webpack_require__(/*! lodash/isString */ "./node_modules/lodash/isString.js");
36787  
36788  var _isString3 = _interopRequireDefault(_isString2);
36789  
36790  var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
36791  
36792  var _forOwn3 = _interopRequireDefault(_forOwn2);
36793  
36794  var _isPlainObject2 = __webpack_require__(/*! lodash/isPlainObject */ "./node_modules/lodash/isPlainObject.js");
36795  
36796  var _isPlainObject3 = _interopRequireDefault(_isPlainObject2);
36797  
36798  var _map2 = __webpack_require__(/*! lodash/map */ "./node_modules/lodash/map.js");
36799  
36800  var _map3 = _interopRequireDefault(_map2);
36801  
36802  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36803  
36804  var flattenNames = exports.flattenNames = function flattenNames() {
36805    var things = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
36806  
36807    var names = [];
36808  
36809    (0, _map3.default)(things, function (thing) {
36810      if (Array.isArray(thing)) {
36811        flattenNames(thing).map(function (name) {
36812          return names.push(name);
36813        });
36814      } else if ((0, _isPlainObject3.default)(thing)) {
36815        (0, _forOwn3.default)(thing, function (value, key) {
36816          value === true && names.push(key);
36817          names.push(key + '-' + value);
36818        });
36819      } else if ((0, _isString3.default)(thing)) {
36820        names.push(thing);
36821      }
36822    });
36823  
36824    return names;
36825  };
36826  
36827  exports.default = flattenNames;
36828  
36829  /***/ }),
36830  
36831  /***/ "./node_modules/reactcss/lib/index.js":
36832  /*!********************************************!*\
36833    !*** ./node_modules/reactcss/lib/index.js ***!
36834    \********************************************/
36835  /*! no static exports found */
36836  /***/ (function(module, exports, __webpack_require__) {
36837  
36838  "use strict";
36839  
36840  
36841  Object.defineProperty(exports, "__esModule", {
36842    value: true
36843  });
36844  exports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;
36845  
36846  var _flattenNames = __webpack_require__(/*! ./flattenNames */ "./node_modules/reactcss/lib/flattenNames.js");
36847  
36848  var _flattenNames2 = _interopRequireDefault(_flattenNames);
36849  
36850  var _mergeClasses = __webpack_require__(/*! ./mergeClasses */ "./node_modules/reactcss/lib/mergeClasses.js");
36851  
36852  var _mergeClasses2 = _interopRequireDefault(_mergeClasses);
36853  
36854  var _autoprefix = __webpack_require__(/*! ./autoprefix */ "./node_modules/reactcss/lib/autoprefix.js");
36855  
36856  var _autoprefix2 = _interopRequireDefault(_autoprefix);
36857  
36858  var _hover2 = __webpack_require__(/*! ./components/hover */ "./node_modules/reactcss/lib/components/hover.js");
36859  
36860  var _hover3 = _interopRequireDefault(_hover2);
36861  
36862  var _active = __webpack_require__(/*! ./components/active */ "./node_modules/reactcss/lib/components/active.js");
36863  
36864  var _active2 = _interopRequireDefault(_active);
36865  
36866  var _loop2 = __webpack_require__(/*! ./loop */ "./node_modules/reactcss/lib/loop.js");
36867  
36868  var _loop3 = _interopRequireDefault(_loop2);
36869  
36870  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36871  
36872  exports.hover = _hover3.default;
36873  exports.handleHover = _hover3.default;
36874  exports.handleActive = _active2.default;
36875  exports.loop = _loop3.default;
36876  var ReactCSS = exports.ReactCSS = function ReactCSS(classes) {
36877    for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
36878      activations[_key - 1] = arguments[_key];
36879    }
36880  
36881    var activeNames = (0, _flattenNames2.default)(activations);
36882    var merged = (0, _mergeClasses2.default)(classes, activeNames);
36883    return (0, _autoprefix2.default)(merged);
36884  };
36885  
36886  exports.default = ReactCSS;
36887  
36888  /***/ }),
36889  
36890  /***/ "./node_modules/reactcss/lib/loop.js":
36891  /*!*******************************************!*\
36892    !*** ./node_modules/reactcss/lib/loop.js ***!
36893    \*******************************************/
36894  /*! no static exports found */
36895  /***/ (function(module, exports, __webpack_require__) {
36896  
36897  "use strict";
36898  
36899  
36900  Object.defineProperty(exports, "__esModule", {
36901    value: true
36902  });
36903  var loopable = function loopable(i, length) {
36904    var props = {};
36905    var setProp = function setProp(name) {
36906      var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
36907  
36908      props[name] = value;
36909    };
36910  
36911    i === 0 && setProp('first-child');
36912    i === length - 1 && setProp('last-child');
36913    (i === 0 || i % 2 === 0) && setProp('even');
36914    Math.abs(i % 2) === 1 && setProp('odd');
36915    setProp('nth-child', i);
36916  
36917    return props;
36918  };
36919  
36920  exports.default = loopable;
36921  
36922  /***/ }),
36923  
36924  /***/ "./node_modules/reactcss/lib/mergeClasses.js":
36925  /*!***************************************************!*\
36926    !*** ./node_modules/reactcss/lib/mergeClasses.js ***!
36927    \***************************************************/
36928  /*! no static exports found */
36929  /***/ (function(module, exports, __webpack_require__) {
36930  
36931  "use strict";
36932  
36933  
36934  Object.defineProperty(exports, "__esModule", {
36935    value: true
36936  });
36937  exports.mergeClasses = undefined;
36938  
36939  var _forOwn2 = __webpack_require__(/*! lodash/forOwn */ "./node_modules/lodash/forOwn.js");
36940  
36941  var _forOwn3 = _interopRequireDefault(_forOwn2);
36942  
36943  var _cloneDeep2 = __webpack_require__(/*! lodash/cloneDeep */ "./node_modules/lodash/cloneDeep.js");
36944  
36945  var _cloneDeep3 = _interopRequireDefault(_cloneDeep2);
36946  
36947  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; };
36948  
36949  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
36950  
36951  var mergeClasses = exports.mergeClasses = function mergeClasses(classes) {
36952    var activeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
36953  
36954    var styles = classes.default && (0, _cloneDeep3.default)(classes.default) || {};
36955    activeNames.map(function (name) {
36956      var toMerge = classes[name];
36957      if (toMerge) {
36958        (0, _forOwn3.default)(toMerge, function (value, key) {
36959          if (!styles[key]) {
36960            styles[key] = {};
36961          }
36962  
36963          styles[key] = _extends({}, styles[key], toMerge[key]);
36964        });
36965      }
36966  
36967      return name;
36968    });
36969    return styles;
36970  };
36971  
36972  exports.default = mergeClasses;
36973  
36974  /***/ }),
36975  
36976  /***/ "./node_modules/select/src/select.js":
36977  /*!*******************************************!*\
36978    !*** ./node_modules/select/src/select.js ***!
36979    \*******************************************/
36980  /*! no static exports found */
36981  /***/ (function(module, exports) {
36982  
36983  function select(element) {
36984      var selectedText;
36985  
36986      if (element.nodeName === 'SELECT') {
36987          element.focus();
36988  
36989          selectedText = element.value;
36990      }
36991      else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {
36992          var isReadOnly = element.hasAttribute('readonly');
36993  
36994          if (!isReadOnly) {
36995              element.setAttribute('readonly', '');
36996          }
36997  
36998          element.select();
36999          element.setSelectionRange(0, element.value.length);
37000  
37001          if (!isReadOnly) {
37002              element.removeAttribute('readonly');
37003          }
37004  
37005          selectedText = element.value;
37006      }
37007      else {
37008          if (element.hasAttribute('contenteditable')) {
37009              element.focus();
37010          }
37011  
37012          var selection = window.getSelection();
37013          var range = document.createRange();
37014  
37015          range.selectNodeContents(element);
37016          selection.removeAllRanges();
37017          selection.addRange(range);
37018  
37019          selectedText = selection.toString();
37020      }
37021  
37022      return selectedText;
37023  }
37024  
37025  module.exports = select;
37026  
37027  
37028  /***/ }),
37029  
37030  /***/ "./node_modules/tiny-emitter/index.js":
37031  /*!********************************************!*\
37032    !*** ./node_modules/tiny-emitter/index.js ***!
37033    \********************************************/
37034  /*! no static exports found */
37035  /***/ (function(module, exports) {
37036  
37037  function E () {
37038    // Keep this empty so it's easier to inherit from
37039    // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)
37040  }
37041  
37042  E.prototype = {
37043    on: function (name, callback, ctx) {
37044      var e = this.e || (this.e = {});
37045  
37046      (e[name] || (e[name] = [])).push({
37047        fn: callback,
37048        ctx: ctx
37049      });
37050  
37051      return this;
37052    },
37053  
37054    once: function (name, callback, ctx) {
37055      var self = this;
37056      function listener () {
37057        self.off(name, listener);
37058        callback.apply(ctx, arguments);
37059      };
37060  
37061      listener._ = callback
37062      return this.on(name, listener, ctx);
37063    },
37064  
37065    emit: function (name) {
37066      var data = [].slice.call(arguments, 1);
37067      var evtArr = ((this.e || (this.e = {}))[name] || []).slice();
37068      var i = 0;
37069      var len = evtArr.length;
37070  
37071      for (i; i < len; i++) {
37072        evtArr[i].fn.apply(evtArr[i].ctx, data);
37073      }
37074  
37075      return this;
37076    },
37077  
37078    off: function (name, callback) {
37079      var e = this.e || (this.e = {});
37080      var evts = e[name];
37081      var liveEvents = [];
37082  
37083      if (evts && callback) {
37084        for (var i = 0, len = evts.length; i < len; i++) {
37085          if (evts[i].fn !== callback && evts[i].fn._ !== callback)
37086            liveEvents.push(evts[i]);
37087        }
37088      }
37089  
37090      // Remove event from queue to prevent memory leak
37091      // Suggested by https://github.com/lazd
37092      // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910
37093  
37094      (liveEvents.length)
37095        ? e[name] = liveEvents
37096        : delete e[name];
37097  
37098      return this;
37099    }
37100  };
37101  
37102  module.exports = E;
37103  
37104  
37105  /***/ }),
37106  
37107  /***/ "./node_modules/tinycolor2/tinycolor.js":
37108  /*!**********************************************!*\
37109    !*** ./node_modules/tinycolor2/tinycolor.js ***!
37110    \**********************************************/
37111  /*! no static exports found */
37112  /***/ (function(module, exports, __webpack_require__) {
37113  
37114  var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.1
37115  // https://github.com/bgrins/TinyColor
37116  // Brian Grinstead, MIT License
37117  
37118  (function(Math) {
37119  
37120  var trimLeft = /^\s+/,
37121      trimRight = /\s+$/,
37122      tinyCounter = 0,
37123      mathRound = Math.round,
37124      mathMin = Math.min,
37125      mathMax = Math.max,
37126      mathRandom = Math.random;
37127  
37128  function tinycolor (color, opts) {
37129  
37130      color = (color) ? color : '';
37131      opts = opts || { };
37132  
37133      // If input is already a tinycolor, return itself
37134      if (color instanceof tinycolor) {
37135         return color;
37136      }
37137      // If we are called as a function, call using new instead
37138      if (!(this instanceof tinycolor)) {
37139          return new tinycolor(color, opts);
37140      }
37141  
37142      var rgb = inputToRGB(color);
37143      this._originalInput = color,
37144      this._r = rgb.r,
37145      this._g = rgb.g,
37146      this._b = rgb.b,
37147      this._a = rgb.a,
37148      this._roundA = mathRound(100*this._a) / 100,
37149      this._format = opts.format || rgb.format;
37150      this._gradientType = opts.gradientType;
37151  
37152      // Don't let the range of [0,255] come back in [0,1].
37153      // Potentially lose a little bit of precision here, but will fix issues where
37154      // .5 gets interpreted as half of the total, instead of half of 1
37155      // If it was supposed to be 128, this was already taken care of by `inputToRgb`
37156      if (this._r < 1) { this._r = mathRound(this._r); }
37157      if (this._g < 1) { this._g = mathRound(this._g); }
37158      if (this._b < 1) { this._b = mathRound(this._b); }
37159  
37160      this._ok = rgb.ok;
37161      this._tc_id = tinyCounter++;
37162  }
37163  
37164  tinycolor.prototype = {
37165      isDark: function() {
37166          return this.getBrightness() < 128;
37167      },
37168      isLight: function() {
37169          return !this.isDark();
37170      },
37171      isValid: function() {
37172          return this._ok;
37173      },
37174      getOriginalInput: function() {
37175        return this._originalInput;
37176      },
37177      getFormat: function() {
37178          return this._format;
37179      },
37180      getAlpha: function() {
37181          return this._a;
37182      },
37183      getBrightness: function() {
37184          //http://www.w3.org/TR/AERT#color-contrast
37185          var rgb = this.toRgb();
37186          return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
37187      },
37188      getLuminance: function() {
37189          //http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
37190          var rgb = this.toRgb();
37191          var RsRGB, GsRGB, BsRGB, R, G, B;
37192          RsRGB = rgb.r/255;
37193          GsRGB = rgb.g/255;
37194          BsRGB = rgb.b/255;
37195  
37196          if (RsRGB <= 0.03928) {R = RsRGB / 12.92;} else {R = Math.pow(((RsRGB + 0.055) / 1.055), 2.4);}
37197          if (GsRGB <= 0.03928) {G = GsRGB / 12.92;} else {G = Math.pow(((GsRGB + 0.055) / 1.055), 2.4);}
37198          if (BsRGB <= 0.03928) {B = BsRGB / 12.92;} else {B = Math.pow(((BsRGB + 0.055) / 1.055), 2.4);}
37199          return (0.2126 * R) + (0.7152 * G) + (0.0722 * B);
37200      },
37201      setAlpha: function(value) {
37202          this._a = boundAlpha(value);
37203          this._roundA = mathRound(100*this._a) / 100;
37204          return this;
37205      },
37206      toHsv: function() {
37207          var hsv = rgbToHsv(this._r, this._g, this._b);
37208          return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
37209      },
37210      toHsvString: function() {
37211          var hsv = rgbToHsv(this._r, this._g, this._b);
37212          var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
37213          return (this._a == 1) ?
37214            "hsv("  + h + ", " + s + "%, " + v + "%)" :
37215            "hsva(" + h + ", " + s + "%, " + v + "%, "+ this._roundA + ")";
37216      },
37217      toHsl: function() {
37218          var hsl = rgbToHsl(this._r, this._g, this._b);
37219          return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
37220      },
37221      toHslString: function() {
37222          var hsl = rgbToHsl(this._r, this._g, this._b);
37223          var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
37224          return (this._a == 1) ?
37225            "hsl("  + h + ", " + s + "%, " + l + "%)" :
37226            "hsla(" + h + ", " + s + "%, " + l + "%, "+ this._roundA + ")";
37227      },
37228      toHex: function(allow3Char) {
37229          return rgbToHex(this._r, this._g, this._b, allow3Char);
37230      },
37231      toHexString: function(allow3Char) {
37232          return '#' + this.toHex(allow3Char);
37233      },
37234      toHex8: function(allow4Char) {
37235          return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
37236      },
37237      toHex8String: function(allow4Char) {
37238          return '#' + this.toHex8(allow4Char);
37239      },
37240      toRgb: function() {
37241          return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
37242      },
37243      toRgbString: function() {
37244          return (this._a == 1) ?
37245            "rgb("  + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
37246            "rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
37247      },
37248      toPercentageRgb: function() {
37249          return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
37250      },
37251      toPercentageRgbString: function() {
37252          return (this._a == 1) ?
37253            "rgb("  + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
37254            "rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
37255      },
37256      toName: function() {
37257          if (this._a === 0) {
37258              return "transparent";
37259          }
37260  
37261          if (this._a < 1) {
37262              return false;
37263          }
37264  
37265          return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
37266      },
37267      toFilter: function(secondColor) {
37268          var hex8String = '#' + rgbaToArgbHex(this._r, this._g, this._b, this._a);
37269          var secondHex8String = hex8String;
37270          var gradientType = this._gradientType ? "GradientType = 1, " : "";
37271  
37272          if (secondColor) {
37273              var s = tinycolor(secondColor);
37274              secondHex8String = '#' + rgbaToArgbHex(s._r, s._g, s._b, s._a);
37275          }
37276  
37277          return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")";
37278      },
37279      toString: function(format) {
37280          var formatSet = !!format;
37281          format = format || this._format;
37282  
37283          var formattedString = false;
37284          var hasAlpha = this._a < 1 && this._a >= 0;
37285          var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
37286  
37287          if (needsAlphaFormat) {
37288              // Special case for "transparent", all other non-alpha formats
37289              // will return rgba when there is transparency.
37290              if (format === "name" && this._a === 0) {
37291                  return this.toName();
37292              }
37293              return this.toRgbString();
37294          }
37295          if (format === "rgb") {
37296              formattedString = this.toRgbString();
37297          }
37298          if (format === "prgb") {
37299              formattedString = this.toPercentageRgbString();
37300          }
37301          if (format === "hex" || format === "hex6") {
37302              formattedString = this.toHexString();
37303          }
37304          if (format === "hex3") {
37305              formattedString = this.toHexString(true);
37306          }
37307          if (format === "hex4") {
37308              formattedString = this.toHex8String(true);
37309          }
37310          if (format === "hex8") {
37311              formattedString = this.toHex8String();
37312          }
37313          if (format === "name") {
37314              formattedString = this.toName();
37315          }
37316          if (format === "hsl") {
37317              formattedString = this.toHslString();
37318          }
37319          if (format === "hsv") {
37320              formattedString = this.toHsvString();
37321          }
37322  
37323          return formattedString || this.toHexString();
37324      },
37325      clone: function() {
37326          return tinycolor(this.toString());
37327      },
37328  
37329      _applyModification: function(fn, args) {
37330          var color = fn.apply(null, [this].concat([].slice.call(args)));
37331          this._r = color._r;
37332          this._g = color._g;
37333          this._b = color._b;
37334          this.setAlpha(color._a);
37335          return this;
37336      },
37337      lighten: function() {
37338          return this._applyModification(lighten, arguments);
37339      },
37340      brighten: function() {
37341          return this._applyModification(brighten, arguments);
37342      },
37343      darken: function() {
37344          return this._applyModification(darken, arguments);
37345      },
37346      desaturate: function() {
37347          return this._applyModification(desaturate, arguments);
37348      },
37349      saturate: function() {
37350          return this._applyModification(saturate, arguments);
37351      },
37352      greyscale: function() {
37353          return this._applyModification(greyscale, arguments);
37354      },
37355      spin: function() {
37356          return this._applyModification(spin, arguments);
37357      },
37358  
37359      _applyCombination: function(fn, args) {
37360          return fn.apply(null, [this].concat([].slice.call(args)));
37361      },
37362      analogous: function() {
37363          return this._applyCombination(analogous, arguments);
37364      },
37365      complement: function() {
37366          return this._applyCombination(complement, arguments);
37367      },
37368      monochromatic: function() {
37369          return this._applyCombination(monochromatic, arguments);
37370      },
37371      splitcomplement: function() {
37372          return this._applyCombination(splitcomplement, arguments);
37373      },
37374      triad: function() {
37375          return this._applyCombination(triad, arguments);
37376      },
37377      tetrad: function() {
37378          return this._applyCombination(tetrad, arguments);
37379      }
37380  };
37381  
37382  // If input is an object, force 1 into "1.0" to handle ratios properly
37383  // String input requires "1.0" as input, so 1 will be treated as 1
37384  tinycolor.fromRatio = function(color, opts) {
37385      if (typeof color == "object") {
37386          var newColor = {};
37387          for (var i in color) {
37388              if (color.hasOwnProperty(i)) {
37389                  if (i === "a") {
37390                      newColor[i] = color[i];
37391                  }
37392                  else {
37393                      newColor[i] = convertToPercentage(color[i]);
37394                  }
37395              }
37396          }
37397          color = newColor;
37398      }
37399  
37400      return tinycolor(color, opts);
37401  };
37402  
37403  // Given a string or object, convert that input to RGB
37404  // Possible string inputs:
37405  //
37406  //     "red"
37407  //     "#f00" or "f00"
37408  //     "#ff0000" or "ff0000"
37409  //     "#ff000000" or "ff000000"
37410  //     "rgb 255 0 0" or "rgb (255, 0, 0)"
37411  //     "rgb 1.0 0 0" or "rgb (1, 0, 0)"
37412  //     "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
37413  //     "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
37414  //     "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
37415  //     "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
37416  //     "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
37417  //
37418  function inputToRGB(color) {
37419  
37420      var rgb = { r: 0, g: 0, b: 0 };
37421      var a = 1;
37422      var s = null;
37423      var v = null;
37424      var l = null;
37425      var ok = false;
37426      var format = false;
37427  
37428      if (typeof color == "string") {
37429          color = stringInputToObject(color);
37430      }
37431  
37432      if (typeof color == "object") {
37433          if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
37434              rgb = rgbToRgb(color.r, color.g, color.b);
37435              ok = true;
37436              format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
37437          }
37438          else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
37439              s = convertToPercentage(color.s);
37440              v = convertToPercentage(color.v);
37441              rgb = hsvToRgb(color.h, s, v);
37442              ok = true;
37443              format = "hsv";
37444          }
37445          else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
37446              s = convertToPercentage(color.s);
37447              l = convertToPercentage(color.l);
37448              rgb = hslToRgb(color.h, s, l);
37449              ok = true;
37450              format = "hsl";
37451          }
37452  
37453          if (color.hasOwnProperty("a")) {
37454              a = color.a;
37455          }
37456      }
37457  
37458      a = boundAlpha(a);
37459  
37460      return {
37461          ok: ok,
37462          format: color.format || format,
37463          r: mathMin(255, mathMax(rgb.r, 0)),
37464          g: mathMin(255, mathMax(rgb.g, 0)),
37465          b: mathMin(255, mathMax(rgb.b, 0)),
37466          a: a
37467      };
37468  }
37469  
37470  
37471  // Conversion Functions
37472  // --------------------
37473  
37474  // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
37475  // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
37476  
37477  // `rgbToRgb`
37478  // Handle bounds / percentage checking to conform to CSS color spec
37479  // <http://www.w3.org/TR/css3-color/>
37480  // *Assumes:* r, g, b in [0, 255] or [0, 1]
37481  // *Returns:* { r, g, b } in [0, 255]
37482  function rgbToRgb(r, g, b){
37483      return {
37484          r: bound01(r, 255) * 255,
37485          g: bound01(g, 255) * 255,
37486          b: bound01(b, 255) * 255
37487      };
37488  }
37489  
37490  // `rgbToHsl`
37491  // Converts an RGB color value to HSL.
37492  // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
37493  // *Returns:* { h, s, l } in [0,1]
37494  function rgbToHsl(r, g, b) {
37495  
37496      r = bound01(r, 255);
37497      g = bound01(g, 255);
37498      b = bound01(b, 255);
37499  
37500      var max = mathMax(r, g, b), min = mathMin(r, g, b);
37501      var h, s, l = (max + min) / 2;
37502  
37503      if(max == min) {
37504          h = s = 0; // achromatic
37505      }
37506      else {
37507          var d = max - min;
37508          s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
37509          switch(max) {
37510              case r: h = (g - b) / d + (g < b ? 6 : 0); break;
37511              case g: h = (b - r) / d + 2; break;
37512              case b: h = (r - g) / d + 4; break;
37513          }
37514  
37515          h /= 6;
37516      }
37517  
37518      return { h: h, s: s, l: l };
37519  }
37520  
37521  // `hslToRgb`
37522  // Converts an HSL color value to RGB.
37523  // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
37524  // *Returns:* { r, g, b } in the set [0, 255]
37525  function hslToRgb(h, s, l) {
37526      var r, g, b;
37527  
37528      h = bound01(h, 360);
37529      s = bound01(s, 100);
37530      l = bound01(l, 100);
37531  
37532      function hue2rgb(p, q, t) {
37533          if(t < 0) t += 1;
37534          if(t > 1) t -= 1;
37535          if(t < 1/6) return p + (q - p) * 6 * t;
37536          if(t < 1/2) return q;
37537          if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
37538          return p;
37539      }
37540  
37541      if(s === 0) {
37542          r = g = b = l; // achromatic
37543      }
37544      else {
37545          var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
37546          var p = 2 * l - q;
37547          r = hue2rgb(p, q, h + 1/3);
37548          g = hue2rgb(p, q, h);
37549          b = hue2rgb(p, q, h - 1/3);
37550      }
37551  
37552      return { r: r * 255, g: g * 255, b: b * 255 };
37553  }
37554  
37555  // `rgbToHsv`
37556  // Converts an RGB color value to HSV
37557  // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
37558  // *Returns:* { h, s, v } in [0,1]
37559  function rgbToHsv(r, g, b) {
37560  
37561      r = bound01(r, 255);
37562      g = bound01(g, 255);
37563      b = bound01(b, 255);
37564  
37565      var max = mathMax(r, g, b), min = mathMin(r, g, b);
37566      var h, s, v = max;
37567  
37568      var d = max - min;
37569      s = max === 0 ? 0 : d / max;
37570  
37571      if(max == min) {
37572          h = 0; // achromatic
37573      }
37574      else {
37575          switch(max) {
37576              case r: h = (g - b) / d + (g < b ? 6 : 0); break;
37577              case g: h = (b - r) / d + 2; break;
37578              case b: h = (r - g) / d + 4; break;
37579          }
37580          h /= 6;
37581      }
37582      return { h: h, s: s, v: v };
37583  }
37584  
37585  // `hsvToRgb`
37586  // Converts an HSV color value to RGB.
37587  // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
37588  // *Returns:* { r, g, b } in the set [0, 255]
37589   function hsvToRgb(h, s, v) {
37590  
37591      h = bound01(h, 360) * 6;
37592      s = bound01(s, 100);
37593      v = bound01(v, 100);
37594  
37595      var i = Math.floor(h),
37596          f = h - i,
37597          p = v * (1 - s),
37598          q = v * (1 - f * s),
37599          t = v * (1 - (1 - f) * s),
37600          mod = i % 6,
37601          r = [v, q, p, p, t, v][mod],
37602          g = [t, v, v, q, p, p][mod],
37603          b = [p, p, t, v, v, q][mod];
37604  
37605      return { r: r * 255, g: g * 255, b: b * 255 };
37606  }
37607  
37608  // `rgbToHex`
37609  // Converts an RGB color to hex
37610  // Assumes r, g, and b are contained in the set [0, 255]
37611  // Returns a 3 or 6 character hex
37612  function rgbToHex(r, g, b, allow3Char) {
37613  
37614      var hex = [
37615          pad2(mathRound(r).toString(16)),
37616          pad2(mathRound(g).toString(16)),
37617          pad2(mathRound(b).toString(16))
37618      ];
37619  
37620      // Return a 3 character hex if possible
37621      if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
37622          return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
37623      }
37624  
37625      return hex.join("");
37626  }
37627  
37628  // `rgbaToHex`
37629  // Converts an RGBA color plus alpha transparency to hex
37630  // Assumes r, g, b are contained in the set [0, 255] and
37631  // a in [0, 1]. Returns a 4 or 8 character rgba hex
37632  function rgbaToHex(r, g, b, a, allow4Char) {
37633  
37634      var hex = [
37635          pad2(mathRound(r).toString(16)),
37636          pad2(mathRound(g).toString(16)),
37637          pad2(mathRound(b).toString(16)),
37638          pad2(convertDecimalToHex(a))
37639      ];
37640  
37641      // Return a 4 character hex if possible
37642      if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
37643          return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
37644      }
37645  
37646      return hex.join("");
37647  }
37648  
37649  // `rgbaToArgbHex`
37650  // Converts an RGBA color to an ARGB Hex8 string
37651  // Rarely used, but required for "toFilter()"
37652  function rgbaToArgbHex(r, g, b, a) {
37653  
37654      var hex = [
37655          pad2(convertDecimalToHex(a)),
37656          pad2(mathRound(r).toString(16)),
37657          pad2(mathRound(g).toString(16)),
37658          pad2(mathRound(b).toString(16))
37659      ];
37660  
37661      return hex.join("");
37662  }
37663  
37664  // `equals`
37665  // Can be called with any tinycolor input
37666  tinycolor.equals = function (color1, color2) {
37667      if (!color1 || !color2) { return false; }
37668      return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
37669  };
37670  
37671  tinycolor.random = function() {
37672      return tinycolor.fromRatio({
37673          r: mathRandom(),
37674          g: mathRandom(),
37675          b: mathRandom()
37676      });
37677  };
37678  
37679  
37680  // Modification Functions
37681  // ----------------------
37682  // Thanks to less.js for some of the basics here
37683  // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
37684  
37685  function desaturate(color, amount) {
37686      amount = (amount === 0) ? 0 : (amount || 10);
37687      var hsl = tinycolor(color).toHsl();
37688      hsl.s -= amount / 100;
37689      hsl.s = clamp01(hsl.s);
37690      return tinycolor(hsl);
37691  }
37692  
37693  function saturate(color, amount) {
37694      amount = (amount === 0) ? 0 : (amount || 10);
37695      var hsl = tinycolor(color).toHsl();
37696      hsl.s += amount / 100;
37697      hsl.s = clamp01(hsl.s);
37698      return tinycolor(hsl);
37699  }
37700  
37701  function greyscale(color) {
37702      return tinycolor(color).desaturate(100);
37703  }
37704  
37705  function lighten (color, amount) {
37706      amount = (amount === 0) ? 0 : (amount || 10);
37707      var hsl = tinycolor(color).toHsl();
37708      hsl.l += amount / 100;
37709      hsl.l = clamp01(hsl.l);
37710      return tinycolor(hsl);
37711  }
37712  
37713  function brighten(color, amount) {
37714      amount = (amount === 0) ? 0 : (amount || 10);
37715      var rgb = tinycolor(color).toRgb();
37716      rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * - (amount / 100))));
37717      rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * - (amount / 100))));
37718      rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * - (amount / 100))));
37719      return tinycolor(rgb);
37720  }
37721  
37722  function darken (color, amount) {
37723      amount = (amount === 0) ? 0 : (amount || 10);
37724      var hsl = tinycolor(color).toHsl();
37725      hsl.l -= amount / 100;
37726      hsl.l = clamp01(hsl.l);
37727      return tinycolor(hsl);
37728  }
37729  
37730  // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
37731  // Values outside of this range will be wrapped into this range.
37732  function spin(color, amount) {
37733      var hsl = tinycolor(color).toHsl();
37734      var hue = (hsl.h + amount) % 360;
37735      hsl.h = hue < 0 ? 360 + hue : hue;
37736      return tinycolor(hsl);
37737  }
37738  
37739  // Combination Functions
37740  // ---------------------
37741  // Thanks to jQuery xColor for some of the ideas behind these
37742  // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
37743  
37744  function complement(color) {
37745      var hsl = tinycolor(color).toHsl();
37746      hsl.h = (hsl.h + 180) % 360;
37747      return tinycolor(hsl);
37748  }
37749  
37750  function triad(color) {
37751      var hsl = tinycolor(color).toHsl();
37752      var h = hsl.h;
37753      return [
37754          tinycolor(color),
37755          tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
37756          tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
37757      ];
37758  }
37759  
37760  function tetrad(color) {
37761      var hsl = tinycolor(color).toHsl();
37762      var h = hsl.h;
37763      return [
37764          tinycolor(color),
37765          tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
37766          tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
37767          tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
37768      ];
37769  }
37770  
37771  function splitcomplement(color) {
37772      var hsl = tinycolor(color).toHsl();
37773      var h = hsl.h;
37774      return [
37775          tinycolor(color),
37776          tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
37777          tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
37778      ];
37779  }
37780  
37781  function analogous(color, results, slices) {
37782      results = results || 6;
37783      slices = slices || 30;
37784  
37785      var hsl = tinycolor(color).toHsl();
37786      var part = 360 / slices;
37787      var ret = [tinycolor(color)];
37788  
37789      for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
37790          hsl.h = (hsl.h + part) % 360;
37791          ret.push(tinycolor(hsl));
37792      }
37793      return ret;
37794  }
37795  
37796  function monochromatic(color, results) {
37797      results = results || 6;
37798      var hsv = tinycolor(color).toHsv();
37799      var h = hsv.h, s = hsv.s, v = hsv.v;
37800      var ret = [];
37801      var modification = 1 / results;
37802  
37803      while (results--) {
37804          ret.push(tinycolor({ h: h, s: s, v: v}));
37805          v = (v + modification) % 1;
37806      }
37807  
37808      return ret;
37809  }
37810  
37811  // Utility Functions
37812  // ---------------------
37813  
37814  tinycolor.mix = function(color1, color2, amount) {
37815      amount = (amount === 0) ? 0 : (amount || 50);
37816  
37817      var rgb1 = tinycolor(color1).toRgb();
37818      var rgb2 = tinycolor(color2).toRgb();
37819  
37820      var p = amount / 100;
37821  
37822      var rgba = {
37823          r: ((rgb2.r - rgb1.r) * p) + rgb1.r,
37824          g: ((rgb2.g - rgb1.g) * p) + rgb1.g,
37825          b: ((rgb2.b - rgb1.b) * p) + rgb1.b,
37826          a: ((rgb2.a - rgb1.a) * p) + rgb1.a
37827      };
37828  
37829      return tinycolor(rgba);
37830  };
37831  
37832  
37833  // Readability Functions
37834  // ---------------------
37835  // <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
37836  
37837  // `contrast`
37838  // Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
37839  tinycolor.readability = function(color1, color2) {
37840      var c1 = tinycolor(color1);
37841      var c2 = tinycolor(color2);
37842      return (Math.max(c1.getLuminance(),c2.getLuminance())+0.05) / (Math.min(c1.getLuminance(),c2.getLuminance())+0.05);
37843  };
37844  
37845  // `isReadable`
37846  // Ensure that foreground and background color combinations meet WCAG2 guidelines.
37847  // The third argument is an optional Object.
37848  //      the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
37849  //      the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
37850  // If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
37851  
37852  // *Example*
37853  //    tinycolor.isReadable("#000", "#111") => false
37854  //    tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
37855  tinycolor.isReadable = function(color1, color2, wcag2) {
37856      var readability = tinycolor.readability(color1, color2);
37857      var wcag2Parms, out;
37858  
37859      out = false;
37860  
37861      wcag2Parms = validateWCAG2Parms(wcag2);
37862      switch (wcag2Parms.level + wcag2Parms.size) {
37863          case "AAsmall":
37864          case "AAAlarge":
37865              out = readability >= 4.5;
37866              break;
37867          case "AAlarge":
37868              out = readability >= 3;
37869              break;
37870          case "AAAsmall":
37871              out = readability >= 7;
37872              break;
37873      }
37874      return out;
37875  
37876  };
37877  
37878  // `mostReadable`
37879  // Given a base color and a list of possible foreground or background
37880  // colors for that base, returns the most readable color.
37881  // Optionally returns Black or White if the most readable color is unreadable.
37882  // *Example*
37883  //    tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
37884  //    tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString();  // "#ffffff"
37885  //    tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
37886  //    tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
37887  tinycolor.mostReadable = function(baseColor, colorList, args) {
37888      var bestColor = null;
37889      var bestScore = 0;
37890      var readability;
37891      var includeFallbackColors, level, size ;
37892      args = args || {};
37893      includeFallbackColors = args.includeFallbackColors ;
37894      level = args.level;
37895      size = args.size;
37896  
37897      for (var i= 0; i < colorList.length ; i++) {
37898          readability = tinycolor.readability(baseColor, colorList[i]);
37899          if (readability > bestScore) {
37900              bestScore = readability;
37901              bestColor = tinycolor(colorList[i]);
37902          }
37903      }
37904  
37905      if (tinycolor.isReadable(baseColor, bestColor, {"level":level,"size":size}) || !includeFallbackColors) {
37906          return bestColor;
37907      }
37908      else {
37909          args.includeFallbackColors=false;
37910          return tinycolor.mostReadable(baseColor,["#fff", "#000"],args);
37911      }
37912  };
37913  
37914  
37915  // Big List of Colors
37916  // ------------------
37917  // <http://www.w3.org/TR/css3-color/#svg-color>
37918  var names = tinycolor.names = {
37919      aliceblue: "f0f8ff",
37920      antiquewhite: "faebd7",
37921      aqua: "0ff",
37922      aquamarine: "7fffd4",
37923      azure: "f0ffff",
37924      beige: "f5f5dc",
37925      bisque: "ffe4c4",
37926      black: "000",
37927      blanchedalmond: "ffebcd",
37928      blue: "00f",
37929      blueviolet: "8a2be2",
37930      brown: "a52a2a",
37931      burlywood: "deb887",
37932      burntsienna: "ea7e5d",
37933      cadetblue: "5f9ea0",
37934      chartreuse: "7fff00",
37935      chocolate: "d2691e",
37936      coral: "ff7f50",
37937      cornflowerblue: "6495ed",
37938      cornsilk: "fff8dc",
37939      crimson: "dc143c",
37940      cyan: "0ff",
37941      darkblue: "00008b",
37942      darkcyan: "008b8b",
37943      darkgoldenrod: "b8860b",
37944      darkgray: "a9a9a9",
37945      darkgreen: "006400",
37946      darkgrey: "a9a9a9",
37947      darkkhaki: "bdb76b",
37948      darkmagenta: "8b008b",
37949      darkolivegreen: "556b2f",
37950      darkorange: "ff8c00",
37951      darkorchid: "9932cc",
37952      darkred: "8b0000",
37953      darksalmon: "e9967a",
37954      darkseagreen: "8fbc8f",
37955      darkslateblue: "483d8b",
37956      darkslategray: "2f4f4f",
37957      darkslategrey: "2f4f4f",
37958      darkturquoise: "00ced1",
37959      darkviolet: "9400d3",
37960      deeppink: "ff1493",
37961      deepskyblue: "00bfff",
37962      dimgray: "696969",
37963      dimgrey: "696969",
37964      dodgerblue: "1e90ff",
37965      firebrick: "b22222",
37966      floralwhite: "fffaf0",
37967      forestgreen: "228b22",
37968      fuchsia: "f0f",
37969      gainsboro: "dcdcdc",
37970      ghostwhite: "f8f8ff",
37971      gold: "ffd700",
37972      goldenrod: "daa520",
37973      gray: "808080",
37974      green: "008000",
37975      greenyellow: "adff2f",
37976      grey: "808080",
37977      honeydew: "f0fff0",
37978      hotpink: "ff69b4",
37979      indianred: "cd5c5c",
37980      indigo: "4b0082",
37981      ivory: "fffff0",
37982      khaki: "f0e68c",
37983      lavender: "e6e6fa",
37984      lavenderblush: "fff0f5",
37985      lawngreen: "7cfc00",
37986      lemonchiffon: "fffacd",
37987      lightblue: "add8e6",
37988      lightcoral: "f08080",
37989      lightcyan: "e0ffff",
37990      lightgoldenrodyellow: "fafad2",
37991      lightgray: "d3d3d3",
37992      lightgreen: "90ee90",
37993      lightgrey: "d3d3d3",
37994      lightpink: "ffb6c1",
37995      lightsalmon: "ffa07a",
37996      lightseagreen: "20b2aa",
37997      lightskyblue: "87cefa",
37998      lightslategray: "789",
37999      lightslategrey: "789",
38000      lightsteelblue: "b0c4de",
38001      lightyellow: "ffffe0",
38002      lime: "0f0",
38003      limegreen: "32cd32",
38004      linen: "faf0e6",
38005      magenta: "f0f",
38006      maroon: "800000",
38007      mediumaquamarine: "66cdaa",
38008      mediumblue: "0000cd",
38009      mediumorchid: "ba55d3",
38010      mediumpurple: "9370db",
38011      mediumseagreen: "3cb371",
38012      mediumslateblue: "7b68ee",
38013      mediumspringgreen: "00fa9a",
38014      mediumturquoise: "48d1cc",
38015      mediumvioletred: "c71585",
38016      midnightblue: "191970",
38017      mintcream: "f5fffa",
38018      mistyrose: "ffe4e1",
38019      moccasin: "ffe4b5",
38020      navajowhite: "ffdead",
38021      navy: "000080",
38022      oldlace: "fdf5e6",
38023      olive: "808000",
38024      olivedrab: "6b8e23",
38025      orange: "ffa500",
38026      orangered: "ff4500",
38027      orchid: "da70d6",
38028      palegoldenrod: "eee8aa",
38029      palegreen: "98fb98",
38030      paleturquoise: "afeeee",
38031      palevioletred: "db7093",
38032      papayawhip: "ffefd5",
38033      peachpuff: "ffdab9",
38034      peru: "cd853f",
38035      pink: "ffc0cb",
38036      plum: "dda0dd",
38037      powderblue: "b0e0e6",
38038      purple: "800080",
38039      rebeccapurple: "663399",
38040      red: "f00",
38041      rosybrown: "bc8f8f",
38042      royalblue: "4169e1",
38043      saddlebrown: "8b4513",
38044      salmon: "fa8072",
38045      sandybrown: "f4a460",
38046      seagreen: "2e8b57",
38047      seashell: "fff5ee",
38048      sienna: "a0522d",
38049      silver: "c0c0c0",
38050      skyblue: "87ceeb",
38051      slateblue: "6a5acd",
38052      slategray: "708090",
38053      slategrey: "708090",
38054      snow: "fffafa",
38055      springgreen: "00ff7f",
38056      steelblue: "4682b4",
38057      tan: "d2b48c",
38058      teal: "008080",
38059      thistle: "d8bfd8",
38060      tomato: "ff6347",
38061      turquoise: "40e0d0",
38062      violet: "ee82ee",
38063      wheat: "f5deb3",
38064      white: "fff",
38065      whitesmoke: "f5f5f5",
38066      yellow: "ff0",
38067      yellowgreen: "9acd32"
38068  };
38069  
38070  // Make it easy to access colors via `hexNames[hex]`
38071  var hexNames = tinycolor.hexNames = flip(names);
38072  
38073  
38074  // Utilities
38075  // ---------
38076  
38077  // `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
38078  function flip(o) {
38079      var flipped = { };
38080      for (var i in o) {
38081          if (o.hasOwnProperty(i)) {
38082              flipped[o[i]] = i;
38083          }
38084      }
38085      return flipped;
38086  }
38087  
38088  // Return a valid alpha value [0,1] with all invalid values being set to 1
38089  function boundAlpha(a) {
38090      a = parseFloat(a);
38091  
38092      if (isNaN(a) || a < 0 || a > 1) {
38093          a = 1;
38094      }
38095  
38096      return a;
38097  }
38098  
38099  // Take input from [0, n] and return it as [0, 1]
38100  function bound01(n, max) {
38101      if (isOnePointZero(n)) { n = "100%"; }
38102  
38103      var processPercent = isPercentage(n);
38104      n = mathMin(max, mathMax(0, parseFloat(n)));
38105  
38106      // Automatically convert percentage into number
38107      if (processPercent) {
38108          n = parseInt(n * max, 10) / 100;
38109      }
38110  
38111      // Handle floating point rounding errors
38112      if ((Math.abs(n - max) < 0.000001)) {
38113          return 1;
38114      }
38115  
38116      // Convert into [0, 1] range if it isn't already
38117      return (n % max) / parseFloat(max);
38118  }
38119  
38120  // Force a number between 0 and 1
38121  function clamp01(val) {
38122      return mathMin(1, mathMax(0, val));
38123  }
38124  
38125  // Parse a base-16 hex value into a base-10 integer
38126  function parseIntFromHex(val) {
38127      return parseInt(val, 16);
38128  }
38129  
38130  // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
38131  // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
38132  function isOnePointZero(n) {
38133      return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
38134  }
38135  
38136  // Check to see if string passed in is a percentage
38137  function isPercentage(n) {
38138      return typeof n === "string" && n.indexOf('%') != -1;
38139  }
38140  
38141  // Force a hex value to have 2 characters
38142  function pad2(c) {
38143      return c.length == 1 ? '0' + c : '' + c;
38144  }
38145  
38146  // Replace a decimal with it's percentage value
38147  function convertToPercentage(n) {
38148      if (n <= 1) {
38149          n = (n * 100) + "%";
38150      }
38151  
38152      return n;
38153  }
38154  
38155  // Converts a decimal to a hex value
38156  function convertDecimalToHex(d) {
38157      return Math.round(parseFloat(d) * 255).toString(16);
38158  }
38159  // Converts a hex value to a decimal
38160  function convertHexToDecimal(h) {
38161      return (parseIntFromHex(h) / 255);
38162  }
38163  
38164  var matchers = (function() {
38165  
38166      // <http://www.w3.org/TR/css3-values/#integers>
38167      var CSS_INTEGER = "[-\\+]?\\d+%?";
38168  
38169      // <http://www.w3.org/TR/css3-values/#number-value>
38170      var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
38171  
38172      // Allow positive/negative integer/number.  Don't capture the either/or, just the entire outcome.
38173      var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
38174  
38175      // Actual matching.
38176      // Parentheses and commas are optional, but not required.
38177      // Whitespace can take the place of commas or opening paren
38178      var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
38179      var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
38180  
38181      return {
38182          CSS_UNIT: new RegExp(CSS_UNIT),
38183          rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
38184          rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
38185          hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
38186          hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
38187          hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
38188          hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
38189          hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
38190          hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
38191          hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
38192          hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
38193      };
38194  })();
38195  
38196  // `isValidCSSUnit`
38197  // Take in a single string / number and check to see if it looks like a CSS unit
38198  // (see `matchers` above for definition).
38199  function isValidCSSUnit(color) {
38200      return !!matchers.CSS_UNIT.exec(color);
38201  }
38202  
38203  // `stringInputToObject`
38204  // Permissive string parsing.  Take in a number of formats, and output an object
38205  // based on detected format.  Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
38206  function stringInputToObject(color) {
38207  
38208      color = color.replace(trimLeft,'').replace(trimRight, '').toLowerCase();
38209      var named = false;
38210      if (names[color]) {
38211          color = names[color];
38212          named = true;
38213      }
38214      else if (color == 'transparent') {
38215          return { r: 0, g: 0, b: 0, a: 0, format: "name" };
38216      }
38217  
38218      // Try to match string input using regular expressions.
38219      // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
38220      // Just return an object and let the conversion functions handle that.
38221      // This way the result will be the same whether the tinycolor is initialized with string or object.
38222      var match;
38223      if ((match = matchers.rgb.exec(color))) {
38224          return { r: match[1], g: match[2], b: match[3] };
38225      }
38226      if ((match = matchers.rgba.exec(color))) {
38227          return { r: match[1], g: match[2], b: match[3], a: match[4] };
38228      }
38229      if ((match = matchers.hsl.exec(color))) {
38230          return { h: match[1], s: match[2], l: match[3] };
38231      }
38232      if ((match = matchers.hsla.exec(color))) {
38233          return { h: match[1], s: match[2], l: match[3], a: match[4] };
38234      }
38235      if ((match = matchers.hsv.exec(color))) {
38236          return { h: match[1], s: match[2], v: match[3] };
38237      }
38238      if ((match = matchers.hsva.exec(color))) {
38239          return { h: match[1], s: match[2], v: match[3], a: match[4] };
38240      }
38241      if ((match = matchers.hex8.exec(color))) {
38242          return {
38243              r: parseIntFromHex(match[1]),
38244              g: parseIntFromHex(match[2]),
38245              b: parseIntFromHex(match[3]),
38246              a: convertHexToDecimal(match[4]),
38247              format: named ? "name" : "hex8"
38248          };
38249      }
38250      if ((match = matchers.hex6.exec(color))) {
38251          return {
38252              r: parseIntFromHex(match[1]),
38253              g: parseIntFromHex(match[2]),
38254              b: parseIntFromHex(match[3]),
38255              format: named ? "name" : "hex"
38256          };
38257      }
38258      if ((match = matchers.hex4.exec(color))) {
38259          return {
38260              r: parseIntFromHex(match[1] + '' + match[1]),
38261              g: parseIntFromHex(match[2] + '' + match[2]),
38262              b: parseIntFromHex(match[3] + '' + match[3]),
38263              a: convertHexToDecimal(match[4] + '' + match[4]),
38264              format: named ? "name" : "hex8"
38265          };
38266      }
38267      if ((match = matchers.hex3.exec(color))) {
38268          return {
38269              r: parseIntFromHex(match[1] + '' + match[1]),
38270              g: parseIntFromHex(match[2] + '' + match[2]),
38271              b: parseIntFromHex(match[3] + '' + match[3]),
38272              format: named ? "name" : "hex"
38273          };
38274      }
38275  
38276      return false;
38277  }
38278  
38279  function validateWCAG2Parms(parms) {
38280      // return valid WCAG2 parms for isReadable.
38281      // If input parms are invalid, return {"level":"AA", "size":"small"}
38282      var level, size;
38283      parms = parms || {"level":"AA", "size":"small"};
38284      level = (parms.level || "AA").toUpperCase();
38285      size = (parms.size || "small").toLowerCase();
38286      if (level !== "AA" && level !== "AAA") {
38287          level = "AA";
38288      }
38289      if (size !== "small" && size !== "large") {
38290          size = "small";
38291      }
38292      return {"level":level, "size":size};
38293  }
38294  
38295  // Node: Export function
38296  if ( true && module.exports) {
38297      module.exports = tinycolor;
38298  }
38299  // AMD/requirejs: Define the module
38300  else if (true) {
38301      !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {return tinycolor;}).call(exports, __webpack_require__, exports, module),
38302                  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
38303  }
38304  // Browser: Expose to window
38305  else {}
38306  
38307  })(Math);
38308  
38309  
38310  /***/ }),
38311  
38312  /***/ "./node_modules/uuid/lib/bytesToUuid.js":
38313  /*!**********************************************!*\
38314    !*** ./node_modules/uuid/lib/bytesToUuid.js ***!
38315    \**********************************************/
38316  /*! no static exports found */
38317  /***/ (function(module, exports) {
38318  
38319  /**
38320   * Convert array of 16 byte values to UUID string format of the form:
38321   * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
38322   */
38323  var byteToHex = [];
38324  for (var i = 0; i < 256; ++i) {
38325    byteToHex[i] = (i + 0x100).toString(16).substr(1);
38326  }
38327  
38328  function bytesToUuid(buf, offset) {
38329    var i = offset || 0;
38330    var bth = byteToHex;
38331    // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
38332    return ([bth[buf[i++]], bth[buf[i++]], 
38333      bth[buf[i++]], bth[buf[i++]], '-',
38334      bth[buf[i++]], bth[buf[i++]], '-',
38335      bth[buf[i++]], bth[buf[i++]], '-',
38336      bth[buf[i++]], bth[buf[i++]], '-',
38337      bth[buf[i++]], bth[buf[i++]],
38338      bth[buf[i++]], bth[buf[i++]],
38339      bth[buf[i++]], bth[buf[i++]]]).join('');
38340  }
38341  
38342  module.exports = bytesToUuid;
38343  
38344  
38345  /***/ }),
38346  
38347  /***/ "./node_modules/uuid/lib/rng-browser.js":
38348  /*!**********************************************!*\
38349    !*** ./node_modules/uuid/lib/rng-browser.js ***!
38350    \**********************************************/
38351  /*! no static exports found */
38352  /***/ (function(module, exports) {
38353  
38354  // Unique ID creation requires a high quality random # generator.  In the
38355  // browser this is a little complicated due to unknown quality of Math.random()
38356  // and inconsistent support for the `crypto` API.  We do the best we can via
38357  // feature-detection
38358  
38359  // getRandomValues needs to be invoked in a context where "this" is a Crypto
38360  // implementation. Also, find the complete implementation of crypto on IE11.
38361  var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
38362                        (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
38363  
38364  if (getRandomValues) {
38365    // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
38366    var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
38367  
38368    module.exports = function whatwgRNG() {
38369      getRandomValues(rnds8);
38370      return rnds8;
38371    };
38372  } else {
38373    // Math.random()-based (RNG)
38374    //
38375    // If all else fails, use Math.random().  It's fast, but is of unspecified
38376    // quality.
38377    var rnds = new Array(16);
38378  
38379    module.exports = function mathRNG() {
38380      for (var i = 0, r; i < 16; i++) {
38381        if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
38382        rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
38383      }
38384  
38385      return rnds;
38386    };
38387  }
38388  
38389  
38390  /***/ }),
38391  
38392  /***/ "./node_modules/uuid/v4.js":
38393  /*!*********************************!*\
38394    !*** ./node_modules/uuid/v4.js ***!
38395    \*********************************/
38396  /*! no static exports found */
38397  /***/ (function(module, exports, __webpack_require__) {
38398  
38399  var rng = __webpack_require__(/*! ./lib/rng */ "./node_modules/uuid/lib/rng-browser.js");
38400  var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ "./node_modules/uuid/lib/bytesToUuid.js");
38401  
38402  function v4(options, buf, offset) {
38403    var i = buf && offset || 0;
38404  
38405    if (typeof(options) == 'string') {
38406      buf = options === 'binary' ? new Array(16) : null;
38407      options = null;
38408    }
38409    options = options || {};
38410  
38411    var rnds = options.random || (options.rng || rng)();
38412  
38413    // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
38414    rnds[6] = (rnds[6] & 0x0f) | 0x40;
38415    rnds[8] = (rnds[8] & 0x3f) | 0x80;
38416  
38417    // Copy bytes to buffer, if provided
38418    if (buf) {
38419      for (var ii = 0; ii < 16; ++ii) {
38420        buf[i + ii] = rnds[ii];
38421      }
38422    }
38423  
38424    return buf || bytesToUuid(rnds);
38425  }
38426  
38427  module.exports = v4;
38428  
38429  
38430  /***/ }),
38431  
38432  /***/ "./node_modules/warning/warning.js":
38433  /*!*****************************************!*\
38434    !*** ./node_modules/warning/warning.js ***!
38435    \*****************************************/
38436  /*! no static exports found */
38437  /***/ (function(module, exports, __webpack_require__) {
38438  
38439  "use strict";
38440  /**
38441   * Copyright (c) 2014-present, Facebook, Inc.
38442   *
38443   * This source code is licensed under the MIT license found in the
38444   * LICENSE file in the root directory of this source tree.
38445   */
38446  
38447  
38448  
38449  /**
38450   * Similar to invariant but only logs a warning if the condition is not met.
38451   * This can be used to log issues in development environments in critical
38452   * paths. Removing the logging code for production environments will keep the
38453   * same logic and follow the same code paths.
38454   */
38455  
38456  var __DEV__ = "development" !== 'production';
38457  
38458  var warning = function() {};
38459  
38460  if (__DEV__) {
38461    var printWarning = function printWarning(format, args) {
38462      var len = arguments.length;
38463      args = new Array(len > 2 ? len - 2 : 0);
38464      for (var key = 2; key < len; key++) {
38465        args[key - 2] = arguments[key];
38466      }
38467      var argIndex = 0;
38468      var message = 'Warning: ' +
38469        format.replace(/%s/g, function() {
38470          return args[argIndex++];
38471        });
38472      if (typeof console !== 'undefined') {
38473        console.error(message);
38474      }
38475      try {
38476        // --- Welcome to debugging React ---
38477        // This error was thrown as a convenience so that you can use this stack
38478        // to find the callsite that caused this warning to fire.
38479        throw new Error(message);
38480      } catch (x) {}
38481    }
38482  
38483    warning = function(condition, format, args) {
38484      var len = arguments.length;
38485      args = new Array(len > 2 ? len - 2 : 0);
38486      for (var key = 2; key < len; key++) {
38487        args[key - 2] = arguments[key];
38488      }
38489      if (format === undefined) {
38490        throw new Error(
38491            '`warning(condition, format, ...args)` requires a warning ' +
38492            'message argument'
38493        );
38494      }
38495      if (!condition) {
38496        printWarning.apply(null, [format].concat(args));
38497      }
38498    };
38499  }
38500  
38501  module.exports = warning;
38502  
38503  
38504  /***/ }),
38505  
38506  /***/ "./node_modules/webpack/buildin/global.js":
38507  /*!***********************************!*\
38508    !*** (webpack)/buildin/global.js ***!
38509    \***********************************/
38510  /*! no static exports found */
38511  /***/ (function(module, exports) {
38512  
38513  var g;
38514  
38515  // This works in non-strict mode
38516  g = (function() {
38517      return this;
38518  })();
38519  
38520  try {
38521      // This works if eval is allowed (see CSP)
38522      g = g || new Function("return this")();
38523  } catch (e) {
38524      // This works if the window reference is available
38525      if (typeof window === "object") g = window;
38526  }
38527  
38528  // g can still be undefined, but nothing to do about it...
38529  // We return undefined, instead of nothing here, so it's
38530  // easier to handle this case. if(!global) { ...}
38531  
38532  module.exports = g;
38533  
38534  
38535  /***/ }),
38536  
38537  /***/ "./node_modules/webpack/buildin/module.js":
38538  /*!***********************************!*\
38539    !*** (webpack)/buildin/module.js ***!
38540    \***********************************/
38541  /*! no static exports found */
38542  /***/ (function(module, exports) {
38543  
38544  module.exports = function(module) {
38545      if (!module.webpackPolyfill) {
38546          module.deprecate = function() {};
38547          module.paths = [];
38548          // module.parent = undefined by default
38549          if (!module.children) module.children = [];
38550          Object.defineProperty(module, "loaded", {
38551              enumerable: true,
38552              get: function() {
38553                  return module.l;
38554              }
38555          });
38556          Object.defineProperty(module, "id", {
38557              enumerable: true,
38558              get: function() {
38559                  return module.i;
38560              }
38561          });
38562          module.webpackPolyfill = 1;
38563      }
38564      return module;
38565  };
38566  
38567  
38568  /***/ }),
38569  
38570  /***/ "@wordpress/a11y":
38571  /*!***************************************!*\
38572    !*** external {"this":["wp","a11y"]} ***!
38573    \***************************************/
38574  /*! no static exports found */
38575  /***/ (function(module, exports) {
38576  
38577  (function() { module.exports = this["wp"]["a11y"]; }());
38578  
38579  /***/ }),
38580  
38581  /***/ "@wordpress/api-fetch":
38582  /*!*******************************************!*\
38583    !*** external {"this":["wp","apiFetch"]} ***!
38584    \*******************************************/
38585  /*! no static exports found */
38586  /***/ (function(module, exports) {
38587  
38588  (function() { module.exports = this["wp"]["apiFetch"]; }());
38589  
38590  /***/ }),
38591  
38592  /***/ "@wordpress/compose":
38593  /*!******************************************!*\
38594    !*** external {"this":["wp","compose"]} ***!
38595    \******************************************/
38596  /*! no static exports found */
38597  /***/ (function(module, exports) {
38598  
38599  (function() { module.exports = this["wp"]["compose"]; }());
38600  
38601  /***/ }),
38602  
38603  /***/ "@wordpress/deprecated":
38604  /*!*********************************************!*\
38605    !*** external {"this":["wp","deprecated"]} ***!
38606    \*********************************************/
38607  /*! no static exports found */
38608  /***/ (function(module, exports) {
38609  
38610  (function() { module.exports = this["wp"]["deprecated"]; }());
38611  
38612  /***/ }),
38613  
38614  /***/ "@wordpress/dom":
38615  /*!**************************************!*\
38616    !*** external {"this":["wp","dom"]} ***!
38617    \**************************************/
38618  /*! no static exports found */
38619  /***/ (function(module, exports) {
38620  
38621  (function() { module.exports = this["wp"]["dom"]; }());
38622  
38623  /***/ }),
38624  
38625  /***/ "@wordpress/element":
38626  /*!******************************************!*\
38627    !*** external {"this":["wp","element"]} ***!
38628    \******************************************/
38629  /*! no static exports found */
38630  /***/ (function(module, exports) {
38631  
38632  (function() { module.exports = this["wp"]["element"]; }());
38633  
38634  /***/ }),
38635  
38636  /***/ "@wordpress/hooks":
38637  /*!****************************************!*\
38638    !*** external {"this":["wp","hooks"]} ***!
38639    \****************************************/
38640  /*! no static exports found */
38641  /***/ (function(module, exports) {
38642  
38643  (function() { module.exports = this["wp"]["hooks"]; }());
38644  
38645  /***/ }),
38646  
38647  /***/ "@wordpress/i18n":
38648  /*!***************************************!*\
38649    !*** external {"this":["wp","i18n"]} ***!
38650    \***************************************/
38651  /*! no static exports found */
38652  /***/ (function(module, exports) {
38653  
38654  (function() { module.exports = this["wp"]["i18n"]; }());
38655  
38656  /***/ }),
38657  
38658  /***/ "@wordpress/is-shallow-equal":
38659  /*!*************************************************!*\
38660    !*** external {"this":["wp","isShallowEqual"]} ***!
38661    \*************************************************/
38662  /*! no static exports found */
38663  /***/ (function(module, exports) {
38664  
38665  (function() { module.exports = this["wp"]["isShallowEqual"]; }());
38666  
38667  /***/ }),
38668  
38669  /***/ "@wordpress/keycodes":
38670  /*!*******************************************!*\
38671    !*** external {"this":["wp","keycodes"]} ***!
38672    \*******************************************/
38673  /*! no static exports found */
38674  /***/ (function(module, exports) {
38675  
38676  (function() { module.exports = this["wp"]["keycodes"]; }());
38677  
38678  /***/ }),
38679  
38680  /***/ "@wordpress/rich-text":
38681  /*!*******************************************!*\
38682    !*** external {"this":["wp","richText"]} ***!
38683    \*******************************************/
38684  /*! no static exports found */
38685  /***/ (function(module, exports) {
38686  
38687  (function() { module.exports = this["wp"]["richText"]; }());
38688  
38689  /***/ }),
38690  
38691  /***/ "@wordpress/url":
38692  /*!**************************************!*\
38693    !*** external {"this":["wp","url"]} ***!
38694    \**************************************/
38695  /*! no static exports found */
38696  /***/ (function(module, exports) {
38697  
38698  (function() { module.exports = this["wp"]["url"]; }());
38699  
38700  /***/ }),
38701  
38702  /***/ "lodash":
38703  /*!*************************!*\
38704    !*** external "lodash" ***!
38705    \*************************/
38706  /*! no static exports found */
38707  /***/ (function(module, exports) {
38708  
38709  (function() { module.exports = this["lodash"]; }());
38710  
38711  /***/ }),
38712  
38713  /***/ "moment":
38714  /*!*************************!*\
38715    !*** external "moment" ***!
38716    \*************************/
38717  /*! no static exports found */
38718  /***/ (function(module, exports) {
38719  
38720  (function() { module.exports = this["moment"]; }());
38721  
38722  /***/ }),
38723  
38724  /***/ "react":
38725  /*!************************!*\
38726    !*** external "React" ***!
38727    \************************/
38728  /*! no static exports found */
38729  /***/ (function(module, exports) {
38730  
38731  (function() { module.exports = this["React"]; }());
38732  
38733  /***/ }),
38734  
38735  /***/ "react-dom":
38736  /*!***************************!*\
38737    !*** external "ReactDOM" ***!
38738    \***************************/
38739  /*! no static exports found */
38740  /***/ (function(module, exports) {
38741  
38742  (function() { module.exports = this["ReactDOM"]; }());
38743  
38744  /***/ })
38745  
38746  /******/ });
38747  //# sourceMappingURL=components.js.map


Generated: Mon Jan 7 01:00:05 2019 Cross-referenced by PHPXref 0.7.1