[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/js/dist/ -> data.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["data"] =
   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/data/build-module/index.js");
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ "./node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js":
  91  /*!*******************************************************************!*\
  92    !*** ./node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js ***!
  93    \*******************************************************************/
  94  /*! exports provided: default */
  95  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  96  
  97  "use strict";
  98  __webpack_require__.r(__webpack_exports__);
  99  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return AsyncGenerator; });
 100  /* harmony import */ var _AwaitValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AwaitValue */ "./node_modules/@babel/runtime/helpers/esm/AwaitValue.js");
 101  
 102  function AsyncGenerator(gen) {
 103    var front, back;
 104  
 105    function send(key, arg) {
 106      return new Promise(function (resolve, reject) {
 107        var request = {
 108          key: key,
 109          arg: arg,
 110          resolve: resolve,
 111          reject: reject,
 112          next: null
 113        };
 114  
 115        if (back) {
 116          back = back.next = request;
 117        } else {
 118          front = back = request;
 119          resume(key, arg);
 120        }
 121      });
 122    }
 123  
 124    function resume(key, arg) {
 125      try {
 126        var result = gen[key](arg);
 127        var value = result.value;
 128        var wrappedAwait = value instanceof _AwaitValue__WEBPACK_IMPORTED_MODULE_0__["default"];
 129        Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
 130          if (wrappedAwait) {
 131            resume("next", arg);
 132            return;
 133          }
 134  
 135          settle(result.done ? "return" : "normal", arg);
 136        }, function (err) {
 137          resume("throw", err);
 138        });
 139      } catch (err) {
 140        settle("throw", err);
 141      }
 142    }
 143  
 144    function settle(type, value) {
 145      switch (type) {
 146        case "return":
 147          front.resolve({
 148            value: value,
 149            done: true
 150          });
 151          break;
 152  
 153        case "throw":
 154          front.reject(value);
 155          break;
 156  
 157        default:
 158          front.resolve({
 159            value: value,
 160            done: false
 161          });
 162          break;
 163      }
 164  
 165      front = front.next;
 166  
 167      if (front) {
 168        resume(front.key, front.arg);
 169      } else {
 170        back = null;
 171      }
 172    }
 173  
 174    this._invoke = send;
 175  
 176    if (typeof gen.return !== "function") {
 177      this.return = undefined;
 178    }
 179  }
 180  
 181  if (typeof Symbol === "function" && Symbol.asyncIterator) {
 182    AsyncGenerator.prototype[Symbol.asyncIterator] = function () {
 183      return this;
 184    };
 185  }
 186  
 187  AsyncGenerator.prototype.next = function (arg) {
 188    return this._invoke("next", arg);
 189  };
 190  
 191  AsyncGenerator.prototype.throw = function (arg) {
 192    return this._invoke("throw", arg);
 193  };
 194  
 195  AsyncGenerator.prototype.return = function (arg) {
 196    return this._invoke("return", arg);
 197  };
 198  
 199  /***/ }),
 200  
 201  /***/ "./node_modules/@babel/runtime/helpers/esm/AwaitValue.js":
 202  /*!***************************************************************!*\
 203    !*** ./node_modules/@babel/runtime/helpers/esm/AwaitValue.js ***!
 204    \***************************************************************/
 205  /*! exports provided: default */
 206  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 207  
 208  "use strict";
 209  __webpack_require__.r(__webpack_exports__);
 210  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _AwaitValue; });
 211  function _AwaitValue(value) {
 212    this.wrapped = value;
 213  }
 214  
 215  /***/ }),
 216  
 217  /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
 218  /*!*******************************************************************!*\
 219    !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
 220    \*******************************************************************/
 221  /*! exports provided: default */
 222  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 223  
 224  "use strict";
 225  __webpack_require__.r(__webpack_exports__);
 226  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _arrayWithHoles; });
 227  function _arrayWithHoles(arr) {
 228    if (Array.isArray(arr)) return arr;
 229  }
 230  
 231  /***/ }),
 232  
 233  /***/ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
 234  /*!**************************************************************************!*\
 235    !*** ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
 236    \**************************************************************************/
 237  /*! exports provided: default */
 238  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 239  
 240  "use strict";
 241  __webpack_require__.r(__webpack_exports__);
 242  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _assertThisInitialized; });
 243  function _assertThisInitialized(self) {
 244    if (self === void 0) {
 245      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 246    }
 247  
 248    return self;
 249  }
 250  
 251  /***/ }),
 252  
 253  /***/ "./node_modules/@babel/runtime/helpers/esm/asyncIterator.js":
 254  /*!******************************************************************!*\
 255    !*** ./node_modules/@babel/runtime/helpers/esm/asyncIterator.js ***!
 256    \******************************************************************/
 257  /*! exports provided: default */
 258  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 259  
 260  "use strict";
 261  __webpack_require__.r(__webpack_exports__);
 262  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _asyncIterator; });
 263  function _asyncIterator(iterable) {
 264    var method;
 265  
 266    if (typeof Symbol === "function") {
 267      if (Symbol.asyncIterator) {
 268        method = iterable[Symbol.asyncIterator];
 269        if (method != null) return method.call(iterable);
 270      }
 271  
 272      if (Symbol.iterator) {
 273        method = iterable[Symbol.iterator];
 274        if (method != null) return method.call(iterable);
 275      }
 276    }
 277  
 278    throw new TypeError("Object is not async iterable");
 279  }
 280  
 281  /***/ }),
 282  
 283  /***/ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js":
 284  /*!*********************************************************************!*\
 285    !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***!
 286    \*********************************************************************/
 287  /*! exports provided: default */
 288  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 289  
 290  "use strict";
 291  __webpack_require__.r(__webpack_exports__);
 292  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _asyncToGenerator; });
 293  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
 294    try {
 295      var info = gen[key](arg);
 296      var value = info.value;
 297    } catch (error) {
 298      reject(error);
 299      return;
 300    }
 301  
 302    if (info.done) {
 303      resolve(value);
 304    } else {
 305      Promise.resolve(value).then(_next, _throw);
 306    }
 307  }
 308  
 309  function _asyncToGenerator(fn) {
 310    return function () {
 311      var self = this,
 312          args = arguments;
 313      return new Promise(function (resolve, reject) {
 314        var gen = fn.apply(self, args);
 315  
 316        function _next(value) {
 317          asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
 318        }
 319  
 320        function _throw(err) {
 321          asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
 322        }
 323  
 324        _next(undefined);
 325      });
 326    };
 327  }
 328  
 329  /***/ }),
 330  
 331  /***/ "./node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js":
 332  /*!************************************************************************!*\
 333    !*** ./node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js ***!
 334    \************************************************************************/
 335  /*! exports provided: default */
 336  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 337  
 338  "use strict";
 339  __webpack_require__.r(__webpack_exports__);
 340  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _awaitAsyncGenerator; });
 341  /* harmony import */ var _AwaitValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AwaitValue */ "./node_modules/@babel/runtime/helpers/esm/AwaitValue.js");
 342  
 343  function _awaitAsyncGenerator(value) {
 344    return new _AwaitValue__WEBPACK_IMPORTED_MODULE_0__["default"](value);
 345  }
 346  
 347  /***/ }),
 348  
 349  /***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
 350  /*!*******************************************************************!*\
 351    !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
 352    \*******************************************************************/
 353  /*! exports provided: default */
 354  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 355  
 356  "use strict";
 357  __webpack_require__.r(__webpack_exports__);
 358  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _classCallCheck; });
 359  function _classCallCheck(instance, Constructor) {
 360    if (!(instance instanceof Constructor)) {
 361      throw new TypeError("Cannot call a class as a function");
 362    }
 363  }
 364  
 365  /***/ }),
 366  
 367  /***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js":
 368  /*!****************************************************************!*\
 369    !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***!
 370    \****************************************************************/
 371  /*! exports provided: default */
 372  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 373  
 374  "use strict";
 375  __webpack_require__.r(__webpack_exports__);
 376  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _createClass; });
 377  function _defineProperties(target, props) {
 378    for (var i = 0; i < props.length; i++) {
 379      var descriptor = props[i];
 380      descriptor.enumerable = descriptor.enumerable || false;
 381      descriptor.configurable = true;
 382      if ("value" in descriptor) descriptor.writable = true;
 383      Object.defineProperty(target, descriptor.key, descriptor);
 384    }
 385  }
 386  
 387  function _createClass(Constructor, protoProps, staticProps) {
 388    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 389    if (staticProps) _defineProperties(Constructor, staticProps);
 390    return Constructor;
 391  }
 392  
 393  /***/ }),
 394  
 395  /***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
 396  /*!*******************************************************************!*\
 397    !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
 398    \*******************************************************************/
 399  /*! exports provided: default */
 400  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 401  
 402  "use strict";
 403  __webpack_require__.r(__webpack_exports__);
 404  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _defineProperty; });
 405  function _defineProperty(obj, key, value) {
 406    if (key in obj) {
 407      Object.defineProperty(obj, key, {
 408        value: value,
 409        enumerable: true,
 410        configurable: true,
 411        writable: true
 412      });
 413    } else {
 414      obj[key] = value;
 415    }
 416  
 417    return obj;
 418  }
 419  
 420  /***/ }),
 421  
 422  /***/ "./node_modules/@babel/runtime/helpers/esm/extends.js":
 423  /*!************************************************************!*\
 424    !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***!
 425    \************************************************************/
 426  /*! exports provided: default */
 427  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 428  
 429  "use strict";
 430  __webpack_require__.r(__webpack_exports__);
 431  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _extends; });
 432  function _extends() {
 433    _extends = Object.assign || function (target) {
 434      for (var i = 1; i < arguments.length; i++) {
 435        var source = arguments[i];
 436  
 437        for (var key in source) {
 438          if (Object.prototype.hasOwnProperty.call(source, key)) {
 439            target[key] = source[key];
 440          }
 441        }
 442      }
 443  
 444      return target;
 445    };
 446  
 447    return _extends.apply(this, arguments);
 448  }
 449  
 450  /***/ }),
 451  
 452  /***/ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
 453  /*!*******************************************************************!*\
 454    !*** ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
 455    \*******************************************************************/
 456  /*! exports provided: default */
 457  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 458  
 459  "use strict";
 460  __webpack_require__.r(__webpack_exports__);
 461  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _getPrototypeOf; });
 462  function _getPrototypeOf(o) {
 463    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 464      return o.__proto__ || Object.getPrototypeOf(o);
 465    };
 466    return _getPrototypeOf(o);
 467  }
 468  
 469  /***/ }),
 470  
 471  /***/ "./node_modules/@babel/runtime/helpers/esm/inherits.js":
 472  /*!*************************************************************!*\
 473    !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***!
 474    \*************************************************************/
 475  /*! exports provided: default */
 476  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 477  
 478  "use strict";
 479  __webpack_require__.r(__webpack_exports__);
 480  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _inherits; });
 481  /* harmony import */ var _setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
 482  
 483  function _inherits(subClass, superClass) {
 484    if (typeof superClass !== "function" && superClass !== null) {
 485      throw new TypeError("Super expression must either be null or a function");
 486    }
 487  
 488    subClass.prototype = Object.create(superClass && superClass.prototype, {
 489      constructor: {
 490        value: subClass,
 491        writable: true,
 492        configurable: true
 493      }
 494    });
 495    if (superClass) Object(_setPrototypeOf__WEBPACK_IMPORTED_MODULE_0__["default"])(subClass, superClass);
 496  }
 497  
 498  /***/ }),
 499  
 500  /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":
 501  /*!*************************************************************************!*\
 502    !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
 503    \*************************************************************************/
 504  /*! exports provided: default */
 505  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 506  
 507  "use strict";
 508  __webpack_require__.r(__webpack_exports__);
 509  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _iterableToArrayLimit; });
 510  function _iterableToArrayLimit(arr, i) {
 511    var _arr = [];
 512    var _n = true;
 513    var _d = false;
 514    var _e = undefined;
 515  
 516    try {
 517      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
 518        _arr.push(_s.value);
 519  
 520        if (i && _arr.length === i) break;
 521      }
 522    } catch (err) {
 523      _d = true;
 524      _e = err;
 525    } finally {
 526      try {
 527        if (!_n && _i["return"] != null) _i["return"]();
 528      } finally {
 529        if (_d) throw _e;
 530      }
 531    }
 532  
 533    return _arr;
 534  }
 535  
 536  /***/ }),
 537  
 538  /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
 539  /*!********************************************************************!*\
 540    !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
 541    \********************************************************************/
 542  /*! exports provided: default */
 543  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 544  
 545  "use strict";
 546  __webpack_require__.r(__webpack_exports__);
 547  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _nonIterableRest; });
 548  function _nonIterableRest() {
 549    throw new TypeError("Invalid attempt to destructure non-iterable instance");
 550  }
 551  
 552  /***/ }),
 553  
 554  /***/ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js":
 555  /*!*****************************************************************!*\
 556    !*** ./node_modules/@babel/runtime/helpers/esm/objectSpread.js ***!
 557    \*****************************************************************/
 558  /*! exports provided: default */
 559  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 560  
 561  "use strict";
 562  __webpack_require__.r(__webpack_exports__);
 563  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectSpread; });
 564  /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
 565  
 566  function _objectSpread(target) {
 567    for (var i = 1; i < arguments.length; i++) {
 568      var source = arguments[i] != null ? arguments[i] : {};
 569      var ownKeys = Object.keys(source);
 570  
 571      if (typeof Object.getOwnPropertySymbols === 'function') {
 572        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
 573          return Object.getOwnPropertyDescriptor(source, sym).enumerable;
 574        }));
 575      }
 576  
 577      ownKeys.forEach(function (key) {
 578        Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]);
 579      });
 580    }
 581  
 582    return target;
 583  }
 584  
 585  /***/ }),
 586  
 587  /***/ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
 588  /*!******************************************************************************!*\
 589    !*** ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
 590    \******************************************************************************/
 591  /*! exports provided: default */
 592  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 593  
 594  "use strict";
 595  __webpack_require__.r(__webpack_exports__);
 596  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _possibleConstructorReturn; });
 597  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
 598  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
 599  
 600  
 601  function _possibleConstructorReturn(self, call) {
 602    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(call) === "object" || typeof call === "function")) {
 603      return call;
 604    }
 605  
 606    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
 607  }
 608  
 609  /***/ }),
 610  
 611  /***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
 612  /*!*******************************************************************!*\
 613    !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
 614    \*******************************************************************/
 615  /*! exports provided: default */
 616  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 617  
 618  "use strict";
 619  __webpack_require__.r(__webpack_exports__);
 620  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _setPrototypeOf; });
 621  function _setPrototypeOf(o, p) {
 622    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 623      o.__proto__ = p;
 624      return o;
 625    };
 626  
 627    return _setPrototypeOf(o, p);
 628  }
 629  
 630  /***/ }),
 631  
 632  /***/ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
 633  /*!******************************************************************!*\
 634    !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
 635    \******************************************************************/
 636  /*! exports provided: default */
 637  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 638  
 639  "use strict";
 640  __webpack_require__.r(__webpack_exports__);
 641  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _slicedToArray; });
 642  /* harmony import */ var _arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles */ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
 643  /* harmony import */ var _iterableToArrayLimit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArrayLimit */ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js");
 644  /* harmony import */ var _nonIterableRest__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./nonIterableRest */ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
 645  
 646  
 647  
 648  function _slicedToArray(arr, i) {
 649    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"])();
 650  }
 651  
 652  /***/ }),
 653  
 654  /***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js":
 655  /*!***********************************************************!*\
 656    !*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
 657    \***********************************************************/
 658  /*! exports provided: default */
 659  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 660  
 661  "use strict";
 662  __webpack_require__.r(__webpack_exports__);
 663  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _typeof; });
 664  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); }
 665  
 666  function _typeof(obj) {
 667    if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
 668      _typeof = function _typeof(obj) {
 669        return _typeof2(obj);
 670      };
 671    } else {
 672      _typeof = function _typeof(obj) {
 673        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
 674      };
 675    }
 676  
 677    return _typeof(obj);
 678  }
 679  
 680  /***/ }),
 681  
 682  /***/ "./node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js":
 683  /*!***********************************************************************!*\
 684    !*** ./node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js ***!
 685    \***********************************************************************/
 686  /*! exports provided: default */
 687  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 688  
 689  "use strict";
 690  __webpack_require__.r(__webpack_exports__);
 691  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _wrapAsyncGenerator; });
 692  /* harmony import */ var _AsyncGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncGenerator */ "./node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js");
 693  
 694  function _wrapAsyncGenerator(fn) {
 695    return function () {
 696      return new _AsyncGenerator__WEBPACK_IMPORTED_MODULE_0__["default"](fn.apply(this, arguments));
 697    };
 698  }
 699  
 700  /***/ }),
 701  
 702  /***/ "./node_modules/@wordpress/data/build-module/components/registry-provider/index.js":
 703  /*!*****************************************************************************************!*\
 704    !*** ./node_modules/@wordpress/data/build-module/components/registry-provider/index.js ***!
 705    \*****************************************************************************************/
 706  /*! exports provided: RegistryConsumer, default */
 707  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 708  
 709  "use strict";
 710  __webpack_require__.r(__webpack_exports__);
 711  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RegistryConsumer", function() { return RegistryConsumer; });
 712  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
 713  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 714  /* harmony import */ var _default_registry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../default-registry */ "./node_modules/@wordpress/data/build-module/default-registry.js");
 715  /**
 716   * WordPress dependencies
 717   */
 718  
 719  /**
 720   * Internal dependencies
 721   */
 722  
 723  
 724  
 725  var _createContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])(_default_registry__WEBPACK_IMPORTED_MODULE_1__["default"]),
 726      Consumer = _createContext.Consumer,
 727      Provider = _createContext.Provider;
 728  
 729  var RegistryConsumer = Consumer;
 730  /* harmony default export */ __webpack_exports__["default"] = (Provider);
 731  
 732  
 733  /***/ }),
 734  
 735  /***/ "./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js":
 736  /*!*************************************************************************************!*\
 737    !*** ./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js ***!
 738    \*************************************************************************************/
 739  /*! exports provided: default */
 740  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 741  
 742  "use strict";
 743  __webpack_require__.r(__webpack_exports__);
 744  /* 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");
 745  /* 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");
 746  /* 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");
 747  /* 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");
 748  /* 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");
 749  /* 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");
 750  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
 751  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
 752  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
 753  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
 754  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
 755  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__);
 756  /* harmony import */ var _registry_provider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../registry-provider */ "./node_modules/@wordpress/data/build-module/components/registry-provider/index.js");
 757  
 758  
 759  
 760  
 761  
 762  
 763  
 764  
 765  /**
 766   * External dependencies
 767   */
 768  
 769  /**
 770   * WordPress dependencies
 771   */
 772  
 773  
 774  
 775  /**
 776   * Internal dependencies
 777   */
 778  
 779  
 780  /**
 781   * Higher-order component used to add dispatch props using registered action
 782   * creators.
 783   *
 784   * @param {Object} mapDispatchToProps Object of prop names where value is a
 785   *                                    dispatch-bound action creator, or a
 786   *                                    function to be called with with the
 787   *                                    component's props and returning an
 788   *                                    action creator.
 789   *
 790   * @return {Component} Enhanced component with merged dispatcher props.
 791   */
 792  
 793  var withDispatch = function withDispatch(mapDispatchToProps) {
 794    return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["createHigherOrderComponent"])(Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["compose"])([_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["pure"], function (WrappedComponent) {
 795      var ComponentWithDispatch = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["remountOnPropChange"])('registry')(
 796      /*#__PURE__*/
 797      function (_Component) {
 798        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
 799  
 800        function _class(props) {
 801          var _this;
 802  
 803          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
 804  
 805          _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));
 806          _this.proxyProps = {};
 807  
 808          _this.setProxyProps(props);
 809  
 810          return _this;
 811        }
 812  
 813        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
 814          key: "componentDidUpdate",
 815          value: function componentDidUpdate() {
 816            this.setProxyProps(this.props);
 817          }
 818        }, {
 819          key: "proxyDispatch",
 820          value: function proxyDispatch(propName) {
 821            var _mapDispatchToProps;
 822  
 823            for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
 824              args[_key - 1] = arguments[_key];
 825            }
 826  
 827            // Original dispatcher is a pre-bound (dispatching) action creator.
 828            (_mapDispatchToProps = mapDispatchToProps(this.props.registry.dispatch, this.props.ownProps))[propName].apply(_mapDispatchToProps, args);
 829          }
 830        }, {
 831          key: "setProxyProps",
 832          value: function setProxyProps(props) {
 833            var _this2 = this;
 834  
 835            // Assign as instance property so that in reconciling subsequent
 836            // renders, the assigned prop values are referentially equal.
 837            var propsToDispatchers = mapDispatchToProps(this.props.registry.dispatch, props.ownProps);
 838            this.proxyProps = Object(lodash__WEBPACK_IMPORTED_MODULE_7__["mapValues"])(propsToDispatchers, function (dispatcher, propName) {
 839              // Prebind with prop name so we have reference to the original
 840              // dispatcher to invoke. Track between re-renders to avoid
 841              // creating new function references every render.
 842              if (_this2.proxyProps.hasOwnProperty(propName)) {
 843                return _this2.proxyProps[propName];
 844              }
 845  
 846              return _this2.proxyDispatch.bind(_this2, propName);
 847            });
 848          }
 849        }, {
 850          key: "render",
 851          value: function render() {
 852            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.props.ownProps, this.proxyProps));
 853          }
 854        }]);
 855  
 856        return _class;
 857      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]));
 858      return function (ownProps) {
 859        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_registry_provider__WEBPACK_IMPORTED_MODULE_9__["RegistryConsumer"], null, function (registry) {
 860          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(ComponentWithDispatch, {
 861            ownProps: ownProps,
 862            registry: registry
 863          });
 864        });
 865      };
 866    }]), 'withDispatch');
 867  };
 868  
 869  /* harmony default export */ __webpack_exports__["default"] = (withDispatch);
 870  
 871  
 872  /***/ }),
 873  
 874  /***/ "./node_modules/@wordpress/data/build-module/components/with-select/index.js":
 875  /*!***********************************************************************************!*\
 876    !*** ./node_modules/@wordpress/data/build-module/components/with-select/index.js ***!
 877    \***********************************************************************************/
 878  /*! exports provided: default */
 879  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 880  
 881  "use strict";
 882  __webpack_require__.r(__webpack_exports__);
 883  /* 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");
 884  /* 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");
 885  /* 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");
 886  /* 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");
 887  /* 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");
 888  /* 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");
 889  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
 890  /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__);
 891  /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/is-shallow-equal */ "@wordpress/is-shallow-equal");
 892  /* harmony import */ var _wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7__);
 893  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
 894  /* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__);
 895  /* harmony import */ var _registry_provider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../registry-provider */ "./node_modules/@wordpress/data/build-module/components/registry-provider/index.js");
 896  
 897  
 898  
 899  
 900  
 901  
 902  
 903  
 904  /**
 905   * WordPress dependencies
 906   */
 907  
 908  
 909  
 910  /**
 911   * Internal dependencies
 912   */
 913  
 914  
 915  /**
 916   * Higher-order component used to inject state-derived props using registered
 917   * selectors.
 918   *
 919   * @param {Function} mapSelectToProps Function called on every state change,
 920   *                                   expected to return object of props to
 921   *                                   merge with the component's own props.
 922   *
 923   * @return {Component} Enhanced component with merged state data props.
 924   */
 925  
 926  var withSelect = function withSelect(mapSelectToProps) {
 927    return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["createHigherOrderComponent"])(function (WrappedComponent) {
 928      /**
 929       * Default merge props. A constant value is used as the fallback since it
 930       * can be more efficiently shallow compared in case component is repeatedly
 931           * rendered without its own merge props.
 932       *
 933       * @type {Object}
 934       */
 935      var DEFAULT_MERGE_PROPS = {};
 936      /**
 937       * Given a props object, returns the next merge props by mapSelectToProps.
 938       *
 939       * @param {Object} props Props to pass as argument to mapSelectToProps.
 940       *
 941       * @return {Object} Props to merge into rendered wrapped element.
 942       */
 943  
 944      function getNextMergeProps(props) {
 945        return mapSelectToProps(props.registry.select, props.ownProps) || DEFAULT_MERGE_PROPS;
 946      }
 947  
 948      var ComponentWithSelect = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_8__["remountOnPropChange"])('registry')(
 949      /*#__PURE__*/
 950      function (_Component) {
 951        Object(_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__["default"])(_class, _Component);
 952  
 953        function _class(props) {
 954          var _this;
 955  
 956          Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__["default"])(this, _class);
 957  
 958          _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).call(this, props));
 959  
 960          _this.subscribe();
 961  
 962          _this.mergeProps = getNextMergeProps(props);
 963          return _this;
 964        }
 965  
 966        Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__["default"])(_class, [{
 967          key: "componentDidMount",
 968          value: function componentDidMount() {
 969            this.canRunSelection = true;
 970          }
 971        }, {
 972          key: "componentWillUnmount",
 973          value: function componentWillUnmount() {
 974            this.canRunSelection = false;
 975            this.unsubscribe();
 976          }
 977        }, {
 978          key: "shouldComponentUpdate",
 979          value: function shouldComponentUpdate(nextProps, nextState) {
 980            var hasPropsChanged = !_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default()(this.props.ownProps, nextProps.ownProps); // Only render if props have changed or merge props have been updated
 981            // from the store subscriber.
 982  
 983            if (this.state === nextState && !hasPropsChanged) {
 984              return false;
 985            } // If merge props change as a result of the incoming props, they
 986            // should be reflected as such in the upcoming render.
 987  
 988  
 989            if (hasPropsChanged) {
 990              var nextMergeProps = getNextMergeProps(nextProps);
 991  
 992              if (!_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default()(this.mergeProps, nextMergeProps)) {
 993                // Side effects are typically discouraged in lifecycle methods, but
 994                // this component is heavily used and this is the most performant
 995                // code we've found thus far.
 996                // Prior efforts to use `getDerivedStateFromProps` have demonstrated
 997                // miserable performance.
 998                this.mergeProps = nextMergeProps;
 999              }
1000            }
1001  
1002            return true;
1003          }
1004        }, {
1005          key: "subscribe",
1006          value: function subscribe() {
1007            var _this2 = this;
1008  
1009            var subscribe = this.props.registry.subscribe;
1010            this.unsubscribe = subscribe(function () {
1011              if (!_this2.canRunSelection) {
1012                return;
1013              }
1014  
1015              var nextMergeProps = getNextMergeProps(_this2.props);
1016  
1017              if (_wordpress_is_shallow_equal__WEBPACK_IMPORTED_MODULE_7___default()(_this2.mergeProps, nextMergeProps)) {
1018                return;
1019              }
1020  
1021              _this2.mergeProps = nextMergeProps; // Schedule an update. Merge props are not assigned to state
1022              // because derivation of merge props from incoming props occurs
1023              // within shouldComponentUpdate, where setState is not allowed.
1024              // setState is used here instead of forceUpdate because forceUpdate
1025              // bypasses shouldComponentUpdate altogether, which isn't desireable
1026              // if both state and props change within the same render.
1027              // Unfortunately this requires that next merge props are generated
1028              // twice.
1029  
1030              _this2.setState({});
1031            });
1032          }
1033        }, {
1034          key: "render",
1035          value: function render() {
1036            return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(WrappedComponent, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.props.ownProps, this.mergeProps));
1037          }
1038        }]);
1039  
1040        return _class;
1041      }(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["Component"]));
1042      return function (ownProps) {
1043        return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_registry_provider__WEBPACK_IMPORTED_MODULE_9__["RegistryConsumer"], null, function (registry) {
1044          return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(ComponentWithSelect, {
1045            ownProps: ownProps,
1046            registry: registry
1047          });
1048        });
1049      };
1050    }, 'withSelect');
1051  };
1052  
1053  /* harmony default export */ __webpack_exports__["default"] = (withSelect);
1054  
1055  
1056  /***/ }),
1057  
1058  /***/ "./node_modules/@wordpress/data/build-module/default-registry.js":
1059  /*!***********************************************************************!*\
1060    !*** ./node_modules/@wordpress/data/build-module/default-registry.js ***!
1061    \***********************************************************************/
1062  /*! exports provided: default */
1063  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1064  
1065  "use strict";
1066  __webpack_require__.r(__webpack_exports__);
1067  /* harmony import */ var _registry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./registry */ "./node_modules/@wordpress/data/build-module/registry.js");
1068  
1069  /* harmony default export */ __webpack_exports__["default"] = (Object(_registry__WEBPACK_IMPORTED_MODULE_0__["createRegistry"])());
1070  
1071  
1072  /***/ }),
1073  
1074  /***/ "./node_modules/@wordpress/data/build-module/index.js":
1075  /*!************************************************************!*\
1076    !*** ./node_modules/@wordpress/data/build-module/index.js ***!
1077    \************************************************************/
1078  /*! exports provided: withSelect, withDispatch, RegistryProvider, RegistryConsumer, createRegistry, plugins, combineReducers, select, dispatch, subscribe, registerStore, registerReducer, registerActions, registerSelectors, registerResolvers, use */
1079  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1080  
1081  "use strict";
1082  __webpack_require__.r(__webpack_exports__);
1083  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return select; });
1084  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
1085  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "subscribe", function() { return subscribe; });
1086  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerStore", function() { return registerStore; });
1087  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerReducer", function() { return registerReducer; });
1088  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerActions", function() { return registerActions; });
1089  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerSelectors", function() { return registerSelectors; });
1090  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerResolvers", function() { return registerResolvers; });
1091  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "use", function() { return use; });
1092  /* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "./node_modules/redux/es/redux.js");
1093  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "combineReducers", function() { return redux__WEBPACK_IMPORTED_MODULE_0__["combineReducers"]; });
1094  
1095  /* harmony import */ var _default_registry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./default-registry */ "./node_modules/@wordpress/data/build-module/default-registry.js");
1096  /* harmony import */ var _plugins__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./plugins */ "./node_modules/@wordpress/data/build-module/plugins/index.js");
1097  /* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, "plugins", function() { return _plugins__WEBPACK_IMPORTED_MODULE_2__; });
1098  /* harmony import */ var _components_with_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/with-select */ "./node_modules/@wordpress/data/build-module/components/with-select/index.js");
1099  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withSelect", function() { return _components_with_select__WEBPACK_IMPORTED_MODULE_3__["default"]; });
1100  
1101  /* harmony import */ var _components_with_dispatch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/with-dispatch */ "./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js");
1102  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withDispatch", function() { return _components_with_dispatch__WEBPACK_IMPORTED_MODULE_4__["default"]; });
1103  
1104  /* harmony import */ var _components_registry_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/registry-provider */ "./node_modules/@wordpress/data/build-module/components/registry-provider/index.js");
1105  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegistryProvider", function() { return _components_registry_provider__WEBPACK_IMPORTED_MODULE_5__["default"]; });
1106  
1107  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegistryConsumer", function() { return _components_registry_provider__WEBPACK_IMPORTED_MODULE_5__["RegistryConsumer"]; });
1108  
1109  /* harmony import */ var _registry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./registry */ "./node_modules/@wordpress/data/build-module/registry.js");
1110  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createRegistry", function() { return _registry__WEBPACK_IMPORTED_MODULE_6__["createRegistry"]; });
1111  
1112  /**
1113   * External dependencies
1114   */
1115  
1116  /**
1117   * Internal dependencies
1118   */
1119  
1120  
1121  
1122  
1123  
1124  
1125  
1126  
1127  /**
1128   * The combineReducers helper function turns an object whose values are different
1129   * reducing functions into a single reducing function you can pass to registerReducer.
1130   *
1131   * @param {Object} reducers An object whose values correspond to different reducing
1132   *                          functions that need to be combined into one.
1133   *
1134   * @return {Function}       A reducer that invokes every reducer inside the reducers
1135   *                          object, and constructs a state object with the same shape.
1136   */
1137  
1138  
1139  var select = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].select;
1140  var dispatch = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].dispatch;
1141  var subscribe = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].subscribe;
1142  var registerStore = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerStore;
1143  var registerReducer = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerReducer;
1144  var registerActions = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerActions;
1145  var registerSelectors = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerSelectors;
1146  var registerResolvers = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].registerResolvers;
1147  var use = _default_registry__WEBPACK_IMPORTED_MODULE_1__["default"].use;
1148  
1149  
1150  /***/ }),
1151  
1152  /***/ "./node_modules/@wordpress/data/build-module/plugins/async-generator/index.js":
1153  /*!************************************************************************************!*\
1154    !*** ./node_modules/@wordpress/data/build-module/plugins/async-generator/index.js ***!
1155    \************************************************************************************/
1156  /*! exports provided: default */
1157  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1158  
1159  "use strict";
1160  __webpack_require__.r(__webpack_exports__);
1161  /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
1162  /* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ "./node_modules/redux/es/redux.js");
1163  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
1164  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
1165  /* harmony import */ var _middleware__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./middleware */ "./node_modules/@wordpress/data/build-module/plugins/async-generator/middleware.js");
1166  
1167  
1168  /**
1169   * External dependencies
1170   */
1171  
1172  
1173  /**
1174   * Internal dependencies
1175   */
1176  
1177  
1178  /* harmony default export */ __webpack_exports__["default"] = (function (registry) {
1179    return {
1180      registerStore: function registerStore(reducerKey, options) {
1181        var store = registry.registerStore(reducerKey, options);
1182        var enhancer = Object(redux__WEBPACK_IMPORTED_MODULE_1__["applyMiddleware"])(_middleware__WEBPACK_IMPORTED_MODULE_3__["default"]);
1183  
1184        var createStore = function createStore() {
1185          return store;
1186        };
1187  
1188        Object.assign(store, enhancer(createStore)(options.reducer));
1189        return store;
1190      },
1191      __experimentalFulfill: function () {
1192        var _experimentalFulfill = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__["default"])(
1193        /*#__PURE__*/
1194        regeneratorRuntime.mark(function _callee(reducerKey, selectorName) {
1195          var resolver,
1196              store,
1197              state,
1198              _len,
1199              args,
1200              _key,
1201              action,
1202              _args = arguments;
1203  
1204          return regeneratorRuntime.wrap(function _callee$(_context) {
1205            while (1) {
1206              switch (_context.prev = _context.next) {
1207                case 0:
1208                  resolver = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(registry.namespaces, [reducerKey, 'resolvers', selectorName]);
1209  
1210                  if (resolver) {
1211                    _context.next = 3;
1212                    break;
1213                  }
1214  
1215                  return _context.abrupt("return");
1216  
1217                case 3:
1218                  store = registry.namespaces[reducerKey].store;
1219                  state = store.getState();
1220  
1221                  for (_len = _args.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
1222                    args[_key - 2] = _args[_key];
1223                  }
1224  
1225                  action = resolver.fulfill.apply(resolver, [state].concat(args));
1226  
1227                  if (!action) {
1228                    _context.next = 10;
1229                    break;
1230                  }
1231  
1232                  _context.next = 10;
1233                  return store.dispatch(Object(_middleware__WEBPACK_IMPORTED_MODULE_3__["toAsyncIterable"])(action));
1234  
1235                case 10:
1236                case "end":
1237                  return _context.stop();
1238              }
1239            }
1240          }, _callee, this);
1241        }));
1242  
1243        return function __experimentalFulfill(_x, _x2) {
1244          return _experimentalFulfill.apply(this, arguments);
1245        };
1246      }()
1247    };
1248  });
1249  
1250  
1251  /***/ }),
1252  
1253  /***/ "./node_modules/@wordpress/data/build-module/plugins/async-generator/middleware.js":
1254  /*!*****************************************************************************************!*\
1255    !*** ./node_modules/@wordpress/data/build-module/plugins/async-generator/middleware.js ***!
1256    \*****************************************************************************************/
1257  /*! exports provided: toAsyncIterable, default */
1258  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1259  
1260  "use strict";
1261  __webpack_require__.r(__webpack_exports__);
1262  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toAsyncIterable", function() { return toAsyncIterable; });
1263  /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
1264  /* harmony import */ var _babel_runtime_helpers_esm_asyncIterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncIterator */ "./node_modules/@babel/runtime/helpers/esm/asyncIterator.js");
1265  /* harmony import */ var _babel_runtime_helpers_esm_awaitAsyncGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/awaitAsyncGenerator */ "./node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js");
1266  /* harmony import */ var _babel_runtime_helpers_esm_wrapAsyncGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/wrapAsyncGenerator */ "./node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js");
1267  /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/deprecated */ "@wordpress/deprecated");
1268  /* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4__);
1269  
1270  
1271  
1272  
1273  
1274  /**
1275   * WordPress dependencies
1276   */
1277  
1278  /**
1279   * Returns true if the given argument appears to be a dispatchable action.
1280   *
1281   * @param {*} action Object to test.
1282   *
1283   * @return {boolean} Whether object is action-like.
1284   */
1285  
1286  function isActionLike(action) {
1287    return !!action && typeof action.type === 'string';
1288  }
1289  /**
1290   * Returns true if the given object is an async iterable, or false otherwise.
1291   *
1292   * @param {*} object Object to test.
1293   *
1294   * @return {boolean} Whether object is an async iterable.
1295   */
1296  
1297  
1298  function isAsyncIterable(object) {
1299    return !!object && typeof object[Symbol.asyncIterator] === 'function';
1300  }
1301  /**
1302   * Returns true if the given object is iterable, or false otherwise.
1303   *
1304   * @param {*} object Object to test.
1305   *
1306   * @return {boolean} Whether object is iterable.
1307   */
1308  
1309  
1310  function isIterable(object) {
1311    return !!object && typeof object[Symbol.iterator] === 'function';
1312  }
1313  /**
1314   * Normalizes the given object argument to an async iterable, asynchronously
1315   * yielding on a singular or array of generator yields or promise resolution.
1316   *
1317   * @param {*} object Object to normalize.
1318   *
1319   * @return {AsyncGenerator} Async iterable actions.
1320   */
1321  
1322  
1323  function toAsyncIterable(object) {
1324    if (isAsyncIterable(object)) {
1325      _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4___default()('Writing Resolvers as async generators', {
1326        alternative: 'resolvers as generators with controls',
1327        plugin: 'Gutenberg',
1328        version: 4.2
1329      });
1330      return object;
1331    }
1332  
1333    return Object(_babel_runtime_helpers_esm_wrapAsyncGenerator__WEBPACK_IMPORTED_MODULE_3__["default"])(
1334    /*#__PURE__*/
1335    regeneratorRuntime.mark(function _callee() {
1336      var _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step2, maybeAction;
1337  
1338      return regeneratorRuntime.wrap(function _callee$(_context) {
1339        while (1) {
1340          switch (_context.prev = _context.next) {
1341            case 0:
1342              // Normalize as iterable...
1343              if (!isIterable(object)) {
1344                object = [object];
1345              }
1346  
1347              _iteratorNormalCompletion2 = true;
1348              _didIteratorError2 = false;
1349              _iteratorError2 = undefined;
1350              _context.prev = 4;
1351              _iterator2 = object[Symbol.iterator]();
1352  
1353            case 6:
1354              if (_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done) {
1355                _context.next = 13;
1356                break;
1357              }
1358  
1359              maybeAction = _step2.value;
1360              _context.next = 10;
1361              return maybeAction;
1362  
1363            case 10:
1364              _iteratorNormalCompletion2 = true;
1365              _context.next = 6;
1366              break;
1367  
1368            case 13:
1369              _context.next = 19;
1370              break;
1371  
1372            case 15:
1373              _context.prev = 15;
1374              _context.t0 = _context["catch"](4);
1375              _didIteratorError2 = true;
1376              _iteratorError2 = _context.t0;
1377  
1378            case 19:
1379              _context.prev = 19;
1380              _context.prev = 20;
1381  
1382              if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
1383                _iterator2.return();
1384              }
1385  
1386            case 22:
1387              _context.prev = 22;
1388  
1389              if (!_didIteratorError2) {
1390                _context.next = 25;
1391                break;
1392              }
1393  
1394              throw _iteratorError2;
1395  
1396            case 25:
1397              return _context.finish(22);
1398  
1399            case 26:
1400              return _context.finish(19);
1401  
1402            case 27:
1403            case "end":
1404              return _context.stop();
1405          }
1406        }
1407      }, _callee, this, [[4, 15, 19, 27], [20,, 22, 26]]);
1408    }))();
1409  }
1410  /**
1411   * Simplest possible promise redux middleware.
1412   *
1413   * @param {Object} store Redux store.
1414   *
1415   * @return {function} middleware.
1416   */
1417  
1418  var asyncGeneratorMiddleware = function asyncGeneratorMiddleware(store) {
1419    return function (next) {
1420      return function (action) {
1421        if (!isAsyncIterable(action)) {
1422          return next(action);
1423        }
1424  
1425        var runtime =
1426        /*#__PURE__*/
1427        function () {
1428          var _ref2 = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__["default"])(
1429          /*#__PURE__*/
1430          regeneratorRuntime.mark(function _callee2(fulfillment) {
1431            var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, _value, maybeAction;
1432  
1433            return regeneratorRuntime.wrap(function _callee2$(_context2) {
1434              while (1) {
1435                switch (_context2.prev = _context2.next) {
1436                  case 0:
1437                    _iteratorNormalCompletion = true;
1438                    _didIteratorError = false;
1439                    _context2.prev = 2;
1440                    _iterator = Object(_babel_runtime_helpers_esm_asyncIterator__WEBPACK_IMPORTED_MODULE_1__["default"])(fulfillment);
1441  
1442                  case 4:
1443                    _context2.next = 6;
1444                    return _iterator.next();
1445  
1446                  case 6:
1447                    _step = _context2.sent;
1448                    _iteratorNormalCompletion = _step.done;
1449                    _context2.next = 10;
1450                    return _step.value;
1451  
1452                  case 10:
1453                    _value = _context2.sent;
1454  
1455                    if (_iteratorNormalCompletion) {
1456                      _context2.next = 17;
1457                      break;
1458                    }
1459  
1460                    maybeAction = _value;
1461  
1462                    // Dispatch if it quacks like an action.
1463                    if (isActionLike(maybeAction)) {
1464                      store.dispatch(maybeAction);
1465                    }
1466  
1467                  case 14:
1468                    _iteratorNormalCompletion = true;
1469                    _context2.next = 4;
1470                    break;
1471  
1472                  case 17:
1473                    _context2.next = 23;
1474                    break;
1475  
1476                  case 19:
1477                    _context2.prev = 19;
1478                    _context2.t0 = _context2["catch"](2);
1479                    _didIteratorError = true;
1480                    _iteratorError = _context2.t0;
1481  
1482                  case 23:
1483                    _context2.prev = 23;
1484                    _context2.prev = 24;
1485  
1486                    if (!(!_iteratorNormalCompletion && _iterator.return != null)) {
1487                      _context2.next = 28;
1488                      break;
1489                    }
1490  
1491                    _context2.next = 28;
1492                    return _iterator.return();
1493  
1494                  case 28:
1495                    _context2.prev = 28;
1496  
1497                    if (!_didIteratorError) {
1498                      _context2.next = 31;
1499                      break;
1500                    }
1501  
1502                    throw _iteratorError;
1503  
1504                  case 31:
1505                    return _context2.finish(28);
1506  
1507                  case 32:
1508                    return _context2.finish(23);
1509  
1510                  case 33:
1511                  case "end":
1512                    return _context2.stop();
1513                }
1514              }
1515            }, _callee2, this, [[2, 19, 23, 33], [24,, 28, 32]]);
1516          }));
1517  
1518          return function runtime(_x) {
1519            return _ref2.apply(this, arguments);
1520          };
1521        }();
1522  
1523        return runtime(action);
1524      };
1525    };
1526  };
1527  
1528  /* harmony default export */ __webpack_exports__["default"] = (asyncGeneratorMiddleware);
1529  
1530  
1531  /***/ }),
1532  
1533  /***/ "./node_modules/@wordpress/data/build-module/plugins/controls/index.js":
1534  /*!*****************************************************************************!*\
1535    !*** ./node_modules/@wordpress/data/build-module/plugins/controls/index.js ***!
1536    \*****************************************************************************/
1537  /*! exports provided: default */
1538  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1539  
1540  "use strict";
1541  __webpack_require__.r(__webpack_exports__);
1542  /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
1543  /* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ "./node_modules/redux/es/redux.js");
1544  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
1545  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
1546  /* harmony import */ var _wordpress_redux_routine__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/redux-routine */ "@wordpress/redux-routine");
1547  /* harmony import */ var _wordpress_redux_routine__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_redux_routine__WEBPACK_IMPORTED_MODULE_3__);
1548  
1549  
1550  /**
1551   * External dependencies
1552   */
1553  
1554  
1555  /**
1556   * WordPress dependencies
1557   */
1558  
1559  
1560  /* harmony default export */ __webpack_exports__["default"] = (function (registry) {
1561    return {
1562      registerStore: function registerStore(reducerKey, options) {
1563        var store = registry.registerStore(reducerKey, options);
1564  
1565        if (options.controls) {
1566          var middleware = _wordpress_redux_routine__WEBPACK_IMPORTED_MODULE_3___default()(options.controls);
1567          var enhancer = Object(redux__WEBPACK_IMPORTED_MODULE_1__["applyMiddleware"])(middleware);
1568  
1569          var createStore = function createStore() {
1570            return store;
1571          };
1572  
1573          Object.assign(store, enhancer(createStore)(options.reducer));
1574          registry.namespaces[reducerKey].supportControls = true;
1575        }
1576  
1577        return store;
1578      },
1579      __experimentalFulfill: function () {
1580        var _experimentalFulfill = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__["default"])(
1581        /*#__PURE__*/
1582        regeneratorRuntime.mark(function _callee(reducerKey, selectorName) {
1583          var _len,
1584              args,
1585              _key,
1586              resolver,
1587              _args = arguments;
1588  
1589          return regeneratorRuntime.wrap(function _callee$(_context) {
1590            while (1) {
1591              switch (_context.prev = _context.next) {
1592                case 0:
1593                  for (_len = _args.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
1594                    args[_key - 2] = _args[_key];
1595                  }
1596  
1597                  if (registry.namespaces[reducerKey].supportControls) {
1598                    _context.next = 5;
1599                    break;
1600                  }
1601  
1602                  _context.next = 4;
1603                  return registry.__experimentalFulfill.apply(registry, [reducerKey, selectorName].concat(args));
1604  
1605                case 4:
1606                  return _context.abrupt("return");
1607  
1608                case 5:
1609                  resolver = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["get"])(registry.namespaces, [reducerKey, 'resolvers', selectorName]);
1610  
1611                  if (resolver) {
1612                    _context.next = 8;
1613                    break;
1614                  }
1615  
1616                  return _context.abrupt("return");
1617  
1618                case 8:
1619                  _context.next = 10;
1620                  return registry.namespaces[reducerKey].store.dispatch(resolver.fulfill.apply(resolver, args));
1621  
1622                case 10:
1623                case "end":
1624                  return _context.stop();
1625              }
1626            }
1627          }, _callee, this);
1628        }));
1629  
1630        return function __experimentalFulfill(_x, _x2) {
1631          return _experimentalFulfill.apply(this, arguments);
1632        };
1633      }()
1634    };
1635  });
1636  
1637  
1638  /***/ }),
1639  
1640  /***/ "./node_modules/@wordpress/data/build-module/plugins/index.js":
1641  /*!********************************************************************!*\
1642    !*** ./node_modules/@wordpress/data/build-module/plugins/index.js ***!
1643    \********************************************************************/
1644  /*! exports provided: controls, persistence, asyncGenerator */
1645  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1646  
1647  "use strict";
1648  __webpack_require__.r(__webpack_exports__);
1649  /* harmony import */ var _controls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./controls */ "./node_modules/@wordpress/data/build-module/plugins/controls/index.js");
1650  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return _controls__WEBPACK_IMPORTED_MODULE_0__["default"]; });
1651  
1652  /* harmony import */ var _persistence__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./persistence */ "./node_modules/@wordpress/data/build-module/plugins/persistence/index.js");
1653  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "persistence", function() { return _persistence__WEBPACK_IMPORTED_MODULE_1__["default"]; });
1654  
1655  /* harmony import */ var _async_generator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./async-generator */ "./node_modules/@wordpress/data/build-module/plugins/async-generator/index.js");
1656  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asyncGenerator", function() { return _async_generator__WEBPACK_IMPORTED_MODULE_2__["default"]; });
1657  
1658  
1659  
1660  
1661  
1662  
1663  /***/ }),
1664  
1665  /***/ "./node_modules/@wordpress/data/build-module/plugins/persistence/index.js":
1666  /*!********************************************************************************!*\
1667    !*** ./node_modules/@wordpress/data/build-module/plugins/persistence/index.js ***!
1668    \********************************************************************************/
1669  /*! exports provided: withInitialState, createPersistenceInterface, default */
1670  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1671  
1672  "use strict";
1673  __webpack_require__.r(__webpack_exports__);
1674  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "withInitialState", function() { return withInitialState; });
1675  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPersistenceInterface", function() { return createPersistenceInterface; });
1676  /* 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");
1677  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
1678  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ "lodash");
1679  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
1680  /* harmony import */ var _storage_default__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./storage/default */ "./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js");
1681  
1682  
1683  
1684  /**
1685   * External dependencies
1686   */
1687  
1688  /**
1689   * Internal dependencies
1690   */
1691  
1692  
1693  /**
1694   * Persistence plugin options.
1695   *
1696   * @property {Storage} storage    Persistent storage implementation. This must
1697   *                                at least implement `getItem` and `setItem` of
1698   *                                the Web Storage API.
1699   * @property {string}  storageKey Key on which to set in persistent storage.
1700   *
1701   * @typedef {WPDataPersistencePluginOptions}
1702   */
1703  
1704  /**
1705   * Default plugin storage.
1706   *
1707   * @type {Storage}
1708   */
1709  
1710  var DEFAULT_STORAGE = _storage_default__WEBPACK_IMPORTED_MODULE_3__["default"];
1711  /**
1712   * Default plugin storage key.
1713   *
1714   * @type {string}
1715   */
1716  
1717  var DEFAULT_STORAGE_KEY = 'WP_DATA';
1718  /**
1719   * Higher-order reducer to provides an initial value when state is undefined.
1720   *
1721   * @param {Function} reducer      Original reducer.
1722   * @param {*}         initialState Value to use as initial state.
1723   *
1724   * @return {Function} Enhanced reducer.
1725   */
1726  
1727  function withInitialState(reducer, initialState) {
1728    return function () {
1729      var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
1730      var action = arguments.length > 1 ? arguments[1] : undefined;
1731      return reducer(state, action);
1732    };
1733  }
1734  /**
1735   * Creates a persistence interface, exposing getter and setter methods (`get`
1736   * and `set` respectively).
1737   *
1738   * @param {WPDataPersistencePluginOptions} options Plugin options.
1739   *
1740   * @return {Object} Persistence interface.
1741   */
1742  
1743  function createPersistenceInterface(options) {
1744    var _options$storage = options.storage,
1745        storage = _options$storage === void 0 ? DEFAULT_STORAGE : _options$storage,
1746        _options$storageKey = options.storageKey,
1747        storageKey = _options$storageKey === void 0 ? DEFAULT_STORAGE_KEY : _options$storageKey;
1748    var data;
1749    /**
1750     * Returns the persisted data as an object, defaulting to an empty object.
1751     *
1752     * @return {Object} Persisted data.
1753     */
1754  
1755    function get() {
1756      if (data === undefined) {
1757        // If unset, getItem is expected to return null. Fall back to
1758        // empty object.
1759        var persisted = storage.getItem(storageKey);
1760  
1761        if (persisted === null) {
1762          data = {};
1763        } else {
1764          try {
1765            data = JSON.parse(persisted);
1766          } catch (error) {
1767            // Similarly, should any error be thrown during parse of
1768            // the string (malformed JSON), fall back to empty object.
1769            data = {};
1770          }
1771        }
1772      }
1773  
1774      return data;
1775    }
1776    /**
1777     * Merges an updated reducer state into the persisted data.
1778     *
1779     * @param {string} key   Key to update.
1780     * @param {*}      value Updated value.
1781     */
1782  
1783  
1784    function set(key, value) {
1785      data = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, data, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, key, value));
1786      storage.setItem(storageKey, JSON.stringify(data));
1787    }
1788  
1789    return {
1790      get: get,
1791      set: set
1792    };
1793  }
1794  /**
1795   * Data plugin to persist store state into a single storage key.
1796   *
1797   * @param {WPDataRegistry}                  registry      Data registry.
1798   * @param {?WPDataPersistencePluginOptions} pluginOptions Plugin options.
1799   *
1800   * @return {WPDataPlugin} Data plugin.
1801   */
1802  
1803  /* harmony default export */ __webpack_exports__["default"] = (function (registry, pluginOptions) {
1804    var persistence = createPersistenceInterface(pluginOptions);
1805    /**
1806     * Creates an enhanced store dispatch function, triggering the state of the
1807     * given reducer key to be persisted when changed.
1808     *
1809     * @param {Function}       getState   Function which returns current state.
1810     * @param {string}         reducerKey Reducer key.
1811     * @param {?Array<string>} keys       Optional subset of keys to save.
1812     *
1813     * @return {Function} Enhanced dispatch function.
1814     */
1815  
1816    function createPersistOnChange(getState, reducerKey, keys) {
1817      var lastState = getState();
1818      return function (result) {
1819        var state = getState();
1820  
1821        if (state !== lastState) {
1822          if (Array.isArray(keys)) {
1823            state = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["pick"])(state, keys);
1824          }
1825  
1826          persistence.set(reducerKey, state);
1827          lastState = state;
1828        }
1829  
1830        return result;
1831      };
1832    }
1833  
1834    return {
1835      registerStore: function registerStore(reducerKey, options) {
1836        if (!options.persist) {
1837          return registry.registerStore(reducerKey, options);
1838        }
1839  
1840        var initialState = persistence.get()[reducerKey];
1841        options = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, options, {
1842          reducer: withInitialState(options.reducer, initialState)
1843        });
1844        var store = registry.registerStore(reducerKey, options);
1845        store.dispatch = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["flow"])([store.dispatch, createPersistOnChange(store.getState, reducerKey, options.persist)]);
1846        return store;
1847      }
1848    };
1849  });
1850  
1851  
1852  /***/ }),
1853  
1854  /***/ "./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js":
1855  /*!******************************************************************************************!*\
1856    !*** ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js ***!
1857    \******************************************************************************************/
1858  /*! exports provided: default */
1859  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1860  
1861  "use strict";
1862  __webpack_require__.r(__webpack_exports__);
1863  /* harmony import */ var _object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./object */ "./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js");
1864  /**
1865   * Internal dependencies
1866   */
1867  
1868  var storage;
1869  
1870  try {
1871    // Private Browsing in Safari 10 and earlier will throw an error when
1872    // attempting to set into localStorage. The test here is intentional in
1873    // causing a thrown error as condition for using fallback object storage.
1874    storage = window.localStorage;
1875    storage.setItem('__wpDataTestLocalStorage', '');
1876    storage.removeItem('__wpDataTestLocalStorage');
1877  } catch (error) {
1878    storage = _object__WEBPACK_IMPORTED_MODULE_0__["default"];
1879  }
1880  
1881  /* harmony default export */ __webpack_exports__["default"] = (storage);
1882  
1883  
1884  /***/ }),
1885  
1886  /***/ "./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js":
1887  /*!*****************************************************************************************!*\
1888    !*** ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js ***!
1889    \*****************************************************************************************/
1890  /*! exports provided: default */
1891  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1892  
1893  "use strict";
1894  __webpack_require__.r(__webpack_exports__);
1895  var objectStorage;
1896  var storage = {
1897    getItem: function getItem(key) {
1898      if (!objectStorage || !objectStorage[key]) {
1899        return null;
1900      }
1901  
1902      return objectStorage[key];
1903    },
1904    setItem: function setItem(key, value) {
1905      if (!objectStorage) {
1906        storage.clear();
1907      }
1908  
1909      objectStorage[key] = String(value);
1910    },
1911    clear: function clear() {
1912      objectStorage = Object.create(null);
1913    }
1914  };
1915  /* harmony default export */ __webpack_exports__["default"] = (storage);
1916  
1917  
1918  /***/ }),
1919  
1920  /***/ "./node_modules/@wordpress/data/build-module/promise-middleware.js":
1921  /*!*************************************************************************!*\
1922    !*** ./node_modules/@wordpress/data/build-module/promise-middleware.js ***!
1923    \*************************************************************************/
1924  /*! exports provided: default */
1925  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1926  
1927  "use strict";
1928  __webpack_require__.r(__webpack_exports__);
1929  /* harmony import */ var is_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! is-promise */ "./node_modules/is-promise/index.js");
1930  /* harmony import */ var is_promise__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(is_promise__WEBPACK_IMPORTED_MODULE_0__);
1931  /**
1932   * External dependencies
1933   */
1934  
1935  /**
1936   * Simplest possible promise redux middleware.
1937   *
1938   * @return {function} middleware.
1939   */
1940  
1941  var promiseMiddleware = function promiseMiddleware() {
1942    return function (next) {
1943      return function (action) {
1944        if (is_promise__WEBPACK_IMPORTED_MODULE_0___default()(action)) {
1945          return action.then(function (resolvedAction) {
1946            if (resolvedAction) {
1947              return next(resolvedAction);
1948            }
1949          });
1950        }
1951  
1952        return next(action);
1953      };
1954    };
1955  };
1956  
1957  /* harmony default export */ __webpack_exports__["default"] = (promiseMiddleware);
1958  
1959  
1960  /***/ }),
1961  
1962  /***/ "./node_modules/@wordpress/data/build-module/registry.js":
1963  /*!***************************************************************!*\
1964    !*** ./node_modules/@wordpress/data/build-module/registry.js ***!
1965    \***************************************************************/
1966  /*! exports provided: createRegistry */
1967  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1968  
1969  "use strict";
1970  __webpack_require__.r(__webpack_exports__);
1971  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createRegistry", function() { return createRegistry; });
1972  /* 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");
1973  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
1974  /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
1975  /* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! redux */ "./node_modules/redux/es/redux.js");
1976  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ "lodash");
1977  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
1978  /* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./store */ "./node_modules/@wordpress/data/build-module/store/index.js");
1979  /* harmony import */ var _promise_middleware__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./promise-middleware */ "./node_modules/@wordpress/data/build-module/promise-middleware.js");
1980  
1981  
1982  
1983  
1984  /**
1985   * External dependencies
1986   */
1987  
1988  
1989  /**
1990   * Internal dependencies
1991   */
1992  
1993  
1994  
1995  /**
1996   * An isolated orchestrator of store registrations.
1997   *
1998   * @typedef {WPDataRegistry}
1999   *
2000   * @property {Function} registerReducer
2001   * @property {Function} registerSelectors
2002   * @property {Function} registerResolvers
2003   * @property {Function} registerActions
2004   * @property {Function} registerStore
2005   * @property {Function} subscribe
2006   * @property {Function} select
2007   * @property {Function} dispatch
2008   * @property {Function} use
2009   */
2010  
2011  /**
2012   * An object of registry function overrides.
2013   *
2014   * @typedef {WPDataPlugin}
2015   */
2016  
2017  /**
2018   * Creates a new store registry, given an optional object of initial store
2019   * configurations.
2020   *
2021   * @param {Object} storeConfigs Initial store configurations.
2022   *
2023   * @return {WPDataRegistry} Data registry.
2024   */
2025  
2026  function createRegistry() {
2027    var storeConfigs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2028    var namespaces = {};
2029    var listeners = [];
2030    /**
2031     * Global listener called for each store's update.
2032     */
2033  
2034    function globalListener() {
2035      listeners.forEach(function (listener) {
2036        return listener();
2037      });
2038    }
2039    /**
2040     * Registers a new sub-reducer to the global state and returns a Redux-like
2041     * store object.
2042     *
2043     * @param {string} reducerKey Reducer key.
2044     * @param {Object} reducer    Reducer function.
2045     *
2046     * @return {Object} Store Object.
2047     */
2048  
2049  
2050    function registerReducer(reducerKey, reducer) {
2051      var enhancers = [Object(redux__WEBPACK_IMPORTED_MODULE_3__["applyMiddleware"])(_promise_middleware__WEBPACK_IMPORTED_MODULE_6__["default"])];
2052  
2053      if (typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__) {
2054        enhancers.push(window.__REDUX_DEVTOOLS_EXTENSION__({
2055          name: reducerKey,
2056          instanceId: reducerKey
2057        }));
2058      }
2059  
2060      var store = Object(redux__WEBPACK_IMPORTED_MODULE_3__["createStore"])(reducer, Object(lodash__WEBPACK_IMPORTED_MODULE_4__["flowRight"])(enhancers));
2061      namespaces[reducerKey] = {
2062        store: store,
2063        reducer: reducer
2064      }; // Customize subscribe behavior to call listeners only on effective change,
2065      // not on every dispatch.
2066  
2067      var lastState = store.getState();
2068      store.subscribe(function () {
2069        var state = store.getState();
2070        var hasChanged = state !== lastState;
2071        lastState = state;
2072  
2073        if (hasChanged) {
2074          globalListener();
2075        }
2076      });
2077      return store;
2078    }
2079    /**
2080     * Registers selectors for external usage.
2081     *
2082     * @param {string} reducerKey   Part of the state shape to register the
2083     *                              selectors for.
2084     * @param {Object} newSelectors Selectors to register. Keys will be used as the
2085     *                              public facing API. Selectors will get passed the
2086     *                              state as first argument.
2087     */
2088  
2089  
2090    function registerSelectors(reducerKey, newSelectors) {
2091      var store = namespaces[reducerKey].store;
2092  
2093      var createStateSelector = function createStateSelector(selector) {
2094        return function () {
2095          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2096            args[_key] = arguments[_key];
2097          }
2098  
2099          return selector.apply(void 0, [store.getState()].concat(args));
2100        };
2101      };
2102  
2103      namespaces[reducerKey].selectors = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["mapValues"])(newSelectors, createStateSelector);
2104    }
2105    /**
2106     * Registers resolvers for a given reducer key. Resolvers are side effects
2107     * invoked once per argument set of a given selector call, used in ensuring
2108     * that the data needs for the selector are satisfied.
2109     *
2110     * @param {string} reducerKey   Part of the state shape to register the
2111     *                              resolvers for.
2112     * @param {Object} newResolvers Resolvers to register.
2113     */
2114  
2115  
2116    function registerResolvers(reducerKey, newResolvers) {
2117      namespaces[reducerKey].resolvers = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["mapValues"])(newResolvers, function (resolver) {
2118        if (!resolver.fulfill) {
2119          resolver = {
2120            fulfill: resolver
2121          };
2122        }
2123  
2124        return resolver;
2125      });
2126      namespaces[reducerKey].selectors = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["mapValues"])(namespaces[reducerKey].selectors, function (selector, selectorName) {
2127        var resolver = newResolvers[selectorName];
2128  
2129        if (!resolver) {
2130          return selector;
2131        }
2132  
2133        return function () {
2134          for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2135            args[_key2] = arguments[_key2];
2136          }
2137  
2138          var _select = select('core/data'),
2139              hasStartedResolution = _select.hasStartedResolution;
2140  
2141          var _dispatch = dispatch('core/data'),
2142              startResolution = _dispatch.startResolution,
2143              finishResolution = _dispatch.finishResolution;
2144  
2145          function fulfillSelector() {
2146            return _fulfillSelector.apply(this, arguments);
2147          }
2148  
2149          function _fulfillSelector() {
2150            _fulfillSelector = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__["default"])(
2151            /*#__PURE__*/
2152            regeneratorRuntime.mark(function _callee() {
2153              var _registry;
2154  
2155              var state;
2156              return regeneratorRuntime.wrap(function _callee$(_context) {
2157                while (1) {
2158                  switch (_context.prev = _context.next) {
2159                    case 0:
2160                      state = namespaces[reducerKey].store.getState();
2161  
2162                      if (!(typeof resolver.isFulfilled === 'function' && resolver.isFulfilled.apply(resolver, [state].concat(args)))) {
2163                        _context.next = 3;
2164                        break;
2165                      }
2166  
2167                      return _context.abrupt("return");
2168  
2169                    case 3:
2170                      if (!hasStartedResolution(reducerKey, selectorName, args)) {
2171                        _context.next = 5;
2172                        break;
2173                      }
2174  
2175                      return _context.abrupt("return");
2176  
2177                    case 5:
2178                      startResolution(reducerKey, selectorName, args);
2179                      _context.next = 8;
2180                      return (_registry = registry).__experimentalFulfill.apply(_registry, [reducerKey, selectorName].concat(args));
2181  
2182                    case 8:
2183                      finishResolution(reducerKey, selectorName, args);
2184  
2185                    case 9:
2186                    case "end":
2187                      return _context.stop();
2188                  }
2189                }
2190              }, _callee, this);
2191            }));
2192            return _fulfillSelector.apply(this, arguments);
2193          }
2194  
2195          fulfillSelector.apply(void 0, args);
2196          return selector.apply(void 0, args);
2197        };
2198      });
2199    }
2200    /**
2201     * Registers actions for external usage.
2202     *
2203     * @param {string} reducerKey   Part of the state shape to register the
2204     *                              selectors for.
2205     * @param {Object} newActions   Actions to register.
2206     */
2207  
2208  
2209    function registerActions(reducerKey, newActions) {
2210      var store = namespaces[reducerKey].store;
2211  
2212      var createBoundAction = function createBoundAction(action) {
2213        return function () {
2214          return store.dispatch(action.apply(void 0, arguments));
2215        };
2216      };
2217  
2218      namespaces[reducerKey].actions = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["mapValues"])(newActions, createBoundAction);
2219    }
2220    /**
2221     * Convenience for registering reducer with actions and selectors.
2222     *
2223     * @param {string} reducerKey Reducer key.
2224     * @param {Object} options    Store description (reducer, actions, selectors, resolvers).
2225     *
2226     * @return {Object} Registered store object.
2227     */
2228  
2229  
2230    function registerStore(reducerKey, options) {
2231      if (!options.reducer) {
2232        throw new TypeError('Must specify store reducer');
2233      }
2234  
2235      var store = registerReducer(reducerKey, options.reducer);
2236  
2237      if (options.actions) {
2238        registerActions(reducerKey, options.actions);
2239      }
2240  
2241      if (options.selectors) {
2242        registerSelectors(reducerKey, options.selectors);
2243      }
2244  
2245      if (options.resolvers) {
2246        registerResolvers(reducerKey, options.resolvers);
2247      }
2248  
2249      return store;
2250    }
2251    /**
2252     * Subscribe to changes to any data.
2253     *
2254     * @param {Function}   listener Listener function.
2255     *
2256     * @return {Function}           Unsubscribe function.
2257     */
2258  
2259  
2260    var subscribe = function subscribe(listener) {
2261      listeners.push(listener);
2262      return function () {
2263        listeners = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["without"])(listeners, listener);
2264      };
2265    };
2266    /**
2267     * Calls a selector given the current state and extra arguments.
2268     *
2269     * @param {string} reducerKey Part of the state shape to register the
2270     *                            selectors for.
2271     *
2272     * @return {*} The selector's returned value.
2273     */
2274  
2275  
2276    function select(reducerKey) {
2277      return Object(lodash__WEBPACK_IMPORTED_MODULE_4__["get"])(namespaces, [reducerKey, 'selectors']);
2278    }
2279    /**
2280     * Calls a resolver given  arguments
2281     *
2282     * @param {string} reducerKey   Part of the state shape to register the
2283     *                              selectors for.
2284     * @param {string} selectorName Selector name to fulfill.
2285     * @param {Array} args          Selector Arguments.
2286     */
2287  
2288  
2289    function fulfill(_x, _x2) {
2290      return _fulfill.apply(this, arguments);
2291    }
2292    /**
2293     * Returns the available actions for a part of the state.
2294     *
2295     * @param {string} reducerKey Part of the state shape to dispatch the
2296     *                            action for.
2297     *
2298     * @return {*} The action's returned value.
2299     */
2300  
2301  
2302    function _fulfill() {
2303      _fulfill = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__["default"])(
2304      /*#__PURE__*/
2305      regeneratorRuntime.mark(function _callee2(reducerKey, selectorName) {
2306        var resolver,
2307            store,
2308            _len3,
2309            args,
2310            _key3,
2311            action,
2312            _args2 = arguments;
2313  
2314        return regeneratorRuntime.wrap(function _callee2$(_context2) {
2315          while (1) {
2316            switch (_context2.prev = _context2.next) {
2317              case 0:
2318                resolver = Object(lodash__WEBPACK_IMPORTED_MODULE_4__["get"])(namespaces, [reducerKey, 'resolvers', selectorName]);
2319  
2320                if (resolver) {
2321                  _context2.next = 3;
2322                  break;
2323                }
2324  
2325                return _context2.abrupt("return");
2326  
2327              case 3:
2328                store = namespaces[reducerKey].store;
2329  
2330                for (_len3 = _args2.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
2331                  args[_key3 - 2] = _args2[_key3];
2332                }
2333  
2334                action = resolver.fulfill.apply(resolver, args);
2335  
2336                if (!action) {
2337                  _context2.next = 9;
2338                  break;
2339                }
2340  
2341                _context2.next = 9;
2342                return store.dispatch(action);
2343  
2344              case 9:
2345              case "end":
2346                return _context2.stop();
2347            }
2348          }
2349        }, _callee2, this);
2350      }));
2351      return _fulfill.apply(this, arguments);
2352    }
2353  
2354    function dispatch(reducerKey) {
2355      return Object(lodash__WEBPACK_IMPORTED_MODULE_4__["get"])(namespaces, [reducerKey, 'actions']);
2356    }
2357    /**
2358     * Maps an object of function values to proxy invocation through to the
2359     * current internal representation of the registry, which may be enhanced
2360     * by plugins.
2361     *
2362     * @param {Object<string,Function>} attributes Object of function values.
2363     *
2364     * @return {Object<string,Function>} Object enhanced with plugin proxying.
2365     */
2366  
2367  
2368    function withPlugins(attributes) {
2369      return Object(lodash__WEBPACK_IMPORTED_MODULE_4__["mapValues"])(attributes, function (attribute, key) {
2370        if (typeof attribute !== 'function') {
2371          return attribute;
2372        }
2373  
2374        return function () {
2375          return registry[key].apply(null, arguments);
2376        };
2377      });
2378    }
2379  
2380    var registry = {
2381      namespaces: namespaces,
2382      registerReducer: registerReducer,
2383      registerSelectors: registerSelectors,
2384      registerResolvers: registerResolvers,
2385      registerActions: registerActions,
2386      registerStore: registerStore,
2387      subscribe: subscribe,
2388      select: select,
2389      dispatch: dispatch,
2390      use: use,
2391      __experimentalFulfill: fulfill
2392    };
2393    /**
2394     * Enhances the registry with the prescribed set of overrides. Returns the
2395     * enhanced registry to enable plugin chaining.
2396     *
2397     * @param {WPDataPlugin} plugin  Plugin by which to enhance.
2398     * @param {?Object}      options Optional options to pass to plugin.
2399     *
2400     * @return {WPDataRegistry} Enhanced registry.
2401     */
2402  
2403    function use(plugin, options) {
2404      registry = Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, registry, plugin(registry, options));
2405      return registry;
2406    }
2407  
2408    Object.entries(Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({
2409      'core/data': _store__WEBPACK_IMPORTED_MODULE_5__["default"]
2410    }, storeConfigs)).map(function (_ref) {
2411      var _ref2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, 2),
2412          name = _ref2[0],
2413          config = _ref2[1];
2414  
2415      return registerStore(name, config);
2416    });
2417    return withPlugins(registry);
2418  }
2419  
2420  
2421  /***/ }),
2422  
2423  /***/ "./node_modules/@wordpress/data/build-module/store/actions.js":
2424  /*!********************************************************************!*\
2425    !*** ./node_modules/@wordpress/data/build-module/store/actions.js ***!
2426    \********************************************************************/
2427  /*! exports provided: startResolution, finishResolution */
2428  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2429  
2430  "use strict";
2431  __webpack_require__.r(__webpack_exports__);
2432  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "startResolution", function() { return startResolution; });
2433  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "finishResolution", function() { return finishResolution; });
2434  /**
2435   * Returns an action object used in signalling that selector resolution has
2436   * started.
2437   *
2438   * @param {string} reducerKey   Registered store reducer key.
2439   * @param {string} selectorName Name of selector for which resolver triggered.
2440   * @param {...*}   args         Arguments to associate for uniqueness.
2441   *
2442   * @return {Object} Action object.
2443   */
2444  function startResolution(reducerKey, selectorName, args) {
2445    return {
2446      type: 'START_RESOLUTION',
2447      reducerKey: reducerKey,
2448      selectorName: selectorName,
2449      args: args
2450    };
2451  }
2452  /**
2453   * Returns an action object used in signalling that selector resolution has
2454   * completed.
2455   *
2456   * @param {string} reducerKey   Registered store reducer key.
2457   * @param {string} selectorName Name of selector for which resolver triggered.
2458   * @param {...*}   args         Arguments to associate for uniqueness.
2459   *
2460   * @return {Object} Action object.
2461   */
2462  
2463  function finishResolution(reducerKey, selectorName, args) {
2464    return {
2465      type: 'FINISH_RESOLUTION',
2466      reducerKey: reducerKey,
2467      selectorName: selectorName,
2468      args: args
2469    };
2470  }
2471  
2472  
2473  /***/ }),
2474  
2475  /***/ "./node_modules/@wordpress/data/build-module/store/index.js":
2476  /*!******************************************************************!*\
2477    !*** ./node_modules/@wordpress/data/build-module/store/index.js ***!
2478    \******************************************************************/
2479  /*! exports provided: default */
2480  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2481  
2482  "use strict";
2483  __webpack_require__.r(__webpack_exports__);
2484  /* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ "./node_modules/@wordpress/data/build-module/store/reducer.js");
2485  /* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./selectors */ "./node_modules/@wordpress/data/build-module/store/selectors.js");
2486  /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./actions */ "./node_modules/@wordpress/data/build-module/store/actions.js");
2487  /**
2488   * Internal dependencies
2489   */
2490  
2491  
2492  
2493  /* harmony default export */ __webpack_exports__["default"] = ({
2494    reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__["default"],
2495    actions: _actions__WEBPACK_IMPORTED_MODULE_2__,
2496    selectors: _selectors__WEBPACK_IMPORTED_MODULE_1__
2497  });
2498  
2499  
2500  /***/ }),
2501  
2502  /***/ "./node_modules/@wordpress/data/build-module/store/reducer.js":
2503  /*!********************************************************************!*\
2504    !*** ./node_modules/@wordpress/data/build-module/store/reducer.js ***!
2505    \********************************************************************/
2506  /*! exports provided: default */
2507  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2508  
2509  "use strict";
2510  __webpack_require__.r(__webpack_exports__);
2511  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ "lodash");
2512  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
2513  /* harmony import */ var equivalent_key_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! equivalent-key-map */ "./node_modules/equivalent-key-map/equivalent-key-map.js");
2514  /* harmony import */ var equivalent_key_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map__WEBPACK_IMPORTED_MODULE_1__);
2515  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./node_modules/@wordpress/data/build-module/store/utils.js");
2516  /**
2517   * External dependencies
2518   */
2519  
2520  
2521  /**
2522   * Internal dependencies
2523   */
2524  
2525  
2526  /**
2527   * Reducer function returning next state for selector resolution, object form:
2528   *
2529   *  reducerKey -> selectorName -> EquivalentKeyMap<Array,boolean>
2530   *
2531   * @param {Object} state  Current state.
2532   * @param {Object} action Dispatched action.
2533   *
2534   * @returns {Object} Next state.
2535   */
2536  
2537  var isResolved = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["flowRight"])([Object(_utils__WEBPACK_IMPORTED_MODULE_2__["onSubKey"])('reducerKey'), Object(_utils__WEBPACK_IMPORTED_MODULE_2__["onSubKey"])('selectorName')])(function () {
2538    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new equivalent_key_map__WEBPACK_IMPORTED_MODULE_1___default.a();
2539    var action = arguments.length > 1 ? arguments[1] : undefined;
2540  
2541    switch (action.type) {
2542      case 'START_RESOLUTION':
2543      case 'FINISH_RESOLUTION':
2544        var isStarting = action.type === 'START_RESOLUTION';
2545        var nextState = new equivalent_key_map__WEBPACK_IMPORTED_MODULE_1___default.a(state);
2546        nextState.set(action.args, isStarting);
2547        return nextState;
2548    }
2549  
2550    return state;
2551  });
2552  /* harmony default export */ __webpack_exports__["default"] = (isResolved);
2553  
2554  
2555  /***/ }),
2556  
2557  /***/ "./node_modules/@wordpress/data/build-module/store/selectors.js":
2558  /*!**********************************************************************!*\
2559    !*** ./node_modules/@wordpress/data/build-module/store/selectors.js ***!
2560    \**********************************************************************/
2561  /*! exports provided: getIsResolving, hasStartedResolution, hasFinishedResolution, isResolving */
2562  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2563  
2564  "use strict";
2565  __webpack_require__.r(__webpack_exports__);
2566  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getIsResolving", function() { return getIsResolving; });
2567  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasStartedResolution", function() { return hasStartedResolution; });
2568  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasFinishedResolution", function() { return hasFinishedResolution; });
2569  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isResolving", function() { return isResolving; });
2570  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ "lodash");
2571  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
2572  /**
2573   * External dependencies
2574   */
2575  
2576  /**
2577   * Returns the raw `isResolving` value for a given reducer key, selector name,
2578   * and arguments set. May be undefined if the selector has never been resolved
2579   * or not resolved for the given set of arguments, otherwise true or false for
2580   * resolution started and completed respectively.
2581   *
2582   * @param {Object} state        Data state.
2583   * @param {string} reducerKey   Registered store reducer key.
2584   * @param {string} selectorName Selector name.
2585   * @param {Array}  args         Arguments passed to selector.
2586   *
2587   * @return {?boolean} isResolving value.
2588   */
2589  
2590  function getIsResolving(state, reducerKey, selectorName, args) {
2591    var map = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["get"])(state, [reducerKey, selectorName]);
2592  
2593    if (!map) {
2594      return;
2595    }
2596  
2597    return map.get(args);
2598  }
2599  /**
2600   * Returns true if resolution has already been triggered for a given reducer
2601   * key, selector name, and arguments set.
2602   *
2603   * @param {Object} state        Data state.
2604   * @param {string} reducerKey   Registered store reducer key.
2605   * @param {string} selectorName Selector name.
2606   * @param {?Array} args         Arguments passed to selector (default `[]`).
2607   *
2608   * @return {boolean} Whether resolution has been triggered.
2609   */
2610  
2611  function hasStartedResolution(state, reducerKey, selectorName) {
2612    var args = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
2613    return getIsResolving(state, reducerKey, selectorName, args) !== undefined;
2614  }
2615  /**
2616   * Returns true if resolution has completed for a given reducer key, selector
2617   * name, and arguments set.
2618   *
2619   * @param {Object} state        Data state.
2620   * @param {string} reducerKey   Registered store reducer key.
2621   * @param {string} selectorName Selector name.
2622   * @param {?Array} args         Arguments passed to selector.
2623   *
2624   * @return {boolean} Whether resolution has completed.
2625   */
2626  
2627  function hasFinishedResolution(state, reducerKey, selectorName) {
2628    var args = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
2629    return getIsResolving(state, reducerKey, selectorName, args) === false;
2630  }
2631  /**
2632   * Returns true if resolution has been triggered but has not yet completed for
2633   * a given reducer key, selector name, and arguments set.
2634   *
2635   * @param {Object} state        Data state.
2636   * @param {string} reducerKey   Registered store reducer key.
2637   * @param {string} selectorName Selector name.
2638   * @param {?Array} args         Arguments passed to selector.
2639   *
2640   * @return {boolean} Whether resolution is in progress.
2641   */
2642  
2643  function isResolving(state, reducerKey, selectorName) {
2644    var args = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
2645    return getIsResolving(state, reducerKey, selectorName, args) === true;
2646  }
2647  
2648  
2649  /***/ }),
2650  
2651  /***/ "./node_modules/@wordpress/data/build-module/store/utils.js":
2652  /*!******************************************************************!*\
2653    !*** ./node_modules/@wordpress/data/build-module/store/utils.js ***!
2654    \******************************************************************/
2655  /*! exports provided: onSubKey */
2656  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2657  
2658  "use strict";
2659  __webpack_require__.r(__webpack_exports__);
2660  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "onSubKey", function() { return onSubKey; });
2661  /* 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");
2662  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread */ "./node_modules/@babel/runtime/helpers/esm/objectSpread.js");
2663  
2664  
2665  
2666  /**
2667   * Higher-order reducer creator which creates a combined reducer object, keyed
2668   * by a property on the action object.
2669   *
2670   * @param {string} actionProperty Action property by which to key object.
2671   *
2672   * @return {Function} Higher-order reducer.
2673   */
2674  var onSubKey = function onSubKey(actionProperty) {
2675    return function (reducer) {
2676      return function () {
2677        var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2678        var action = arguments.length > 1 ? arguments[1] : undefined;
2679        // Retrieve subkey from action. Do not track if undefined; useful for cases
2680        // where reducer is scoped by action shape.
2681        var key = action[actionProperty];
2682  
2683        if (key === undefined) {
2684          return state;
2685        } // Avoid updating state if unchanged. Note that this also accounts for a
2686        // reducer which returns undefined on a key which is not yet tracked.
2687  
2688  
2689        var nextKeyState = reducer(state[key], action);
2690  
2691        if (nextKeyState === state[key]) {
2692          return state;
2693        }
2694  
2695        return Object(_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, key, nextKeyState));
2696      };
2697    };
2698  };
2699  
2700  
2701  /***/ }),
2702  
2703  /***/ "./node_modules/equivalent-key-map/equivalent-key-map.js":
2704  /*!***************************************************************!*\
2705    !*** ./node_modules/equivalent-key-map/equivalent-key-map.js ***!
2706    \***************************************************************/
2707  /*! no static exports found */
2708  /***/ (function(module, exports, __webpack_require__) {
2709  
2710  "use strict";
2711  
2712  
2713  function _typeof(obj) {
2714    if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
2715      _typeof = function (obj) {
2716        return typeof obj;
2717      };
2718    } else {
2719      _typeof = function (obj) {
2720        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2721      };
2722    }
2723  
2724    return _typeof(obj);
2725  }
2726  
2727  function _classCallCheck(instance, Constructor) {
2728    if (!(instance instanceof Constructor)) {
2729      throw new TypeError("Cannot call a class as a function");
2730    }
2731  }
2732  
2733  function _defineProperties(target, props) {
2734    for (var i = 0; i < props.length; i++) {
2735      var descriptor = props[i];
2736      descriptor.enumerable = descriptor.enumerable || false;
2737      descriptor.configurable = true;
2738      if ("value" in descriptor) descriptor.writable = true;
2739      Object.defineProperty(target, descriptor.key, descriptor);
2740    }
2741  }
2742  
2743  function _createClass(Constructor, protoProps, staticProps) {
2744    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
2745    if (staticProps) _defineProperties(Constructor, staticProps);
2746    return Constructor;
2747  }
2748  
2749  /**
2750   * Given an instance of EquivalentKeyMap, returns its internal value pair tuple
2751   * for a key, if one exists. The tuple members consist of the last reference
2752   * value for the key (used in efficient subsequent lookups) and the value
2753   * assigned for the key at the leaf node.
2754   *
2755   * @param {EquivalentKeyMap} instance EquivalentKeyMap instance.
2756   * @param {*} key                     The key for which to return value pair.
2757   *
2758   * @return {?Array} Value pair, if exists.
2759   */
2760  function getValuePair(instance, key) {
2761    var _map = instance._map,
2762        _arrayTreeMap = instance._arrayTreeMap,
2763        _objectTreeMap = instance._objectTreeMap; // Map keeps a reference to the last object-like key used to set the
2764    // value, which can be used to shortcut immediately to the value.
2765  
2766    if (_map.has(key)) {
2767      return _map.get(key);
2768    } // Sort keys to ensure stable retrieval from tree.
2769  
2770  
2771    var properties = Object.keys(key).sort(); // Tree by type to avoid conflicts on numeric object keys, empty value.
2772  
2773    var map = Array.isArray(key) ? _arrayTreeMap : _objectTreeMap;
2774  
2775    for (var i = 0; i < properties.length; i++) {
2776      var property = properties[i];
2777      map = map.get(property);
2778  
2779      if (map === undefined) {
2780        return;
2781      }
2782  
2783      var propertyValue = key[property];
2784      map = map.get(propertyValue);
2785  
2786      if (map === undefined) {
2787        return;
2788      }
2789    }
2790  
2791    var valuePair = map.get('_ekm_value');
2792  
2793    if (!valuePair) {
2794      return;
2795    } // If reached, it implies that an object-like key was set with another
2796    // reference, so delete the reference and replace with the current.
2797  
2798  
2799    _map.delete(valuePair[0]);
2800  
2801    valuePair[0] = key;
2802    map.set('_ekm_value', valuePair);
2803  
2804    _map.set(key, valuePair);
2805  
2806    return valuePair;
2807  }
2808  /**
2809   * Variant of a Map object which enables lookup by equivalent (deeply equal)
2810   * object and array keys.
2811   */
2812  
2813  
2814  var EquivalentKeyMap =
2815  /*#__PURE__*/
2816  function () {
2817    /**
2818     * Constructs a new instance of EquivalentKeyMap.
2819     *
2820     * @param {Iterable.<*>} iterable Initial pair of key, value for map.
2821     */
2822    function EquivalentKeyMap(iterable) {
2823      _classCallCheck(this, EquivalentKeyMap);
2824  
2825      this.clear();
2826  
2827      if (iterable instanceof EquivalentKeyMap) {
2828        // Map#forEach is only means of iterating with support for IE11.
2829        var iterablePairs = [];
2830        iterable.forEach(function (value, key) {
2831          iterablePairs.push([key, value]);
2832        });
2833        iterable = iterablePairs;
2834      }
2835  
2836      if (iterable != null) {
2837        for (var i = 0; i < iterable.length; i++) {
2838          this.set(iterable[i][0], iterable[i][1]);
2839        }
2840      }
2841    }
2842    /**
2843     * Accessor property returning the number of elements.
2844     *
2845     * @return {number} Number of elements.
2846     */
2847  
2848  
2849    _createClass(EquivalentKeyMap, [{
2850      key: "set",
2851  
2852      /**
2853       * Add or update an element with a specified key and value.
2854       *
2855       * @param {*} key   The key of the element to add.
2856       * @param {*} value The value of the element to add.
2857       *
2858       * @return {EquivalentKeyMap} Map instance.
2859       */
2860      value: function set(key, value) {
2861        // Shortcut non-object-like to set on internal Map.
2862        if (key === null || _typeof(key) !== 'object') {
2863          this._map.set(key, value);
2864  
2865          return this;
2866        } // Sort keys to ensure stable assignment into tree.
2867  
2868  
2869        var properties = Object.keys(key).sort();
2870        var valuePair = [key, value]; // Tree by type to avoid conflicts on numeric object keys, empty value.
2871  
2872        var map = Array.isArray(key) ? this._arrayTreeMap : this._objectTreeMap;
2873  
2874        for (var i = 0; i < properties.length; i++) {
2875          var property = properties[i];
2876  
2877          if (!map.has(property)) {
2878            map.set(property, new EquivalentKeyMap());
2879          }
2880  
2881          map = map.get(property);
2882          var propertyValue = key[property];
2883  
2884          if (!map.has(propertyValue)) {
2885            map.set(propertyValue, new EquivalentKeyMap());
2886          }
2887  
2888          map = map.get(propertyValue);
2889        } // If an _ekm_value exists, there was already an equivalent key. Before
2890        // overriding, ensure that the old key reference is removed from map to
2891        // avoid memory leak of accumulating equivalent keys. This is, in a
2892        // sense, a poor man's WeakMap, while still enabling iterability.
2893  
2894  
2895        var previousValuePair = map.get('_ekm_value');
2896  
2897        if (previousValuePair) {
2898          this._map.delete(previousValuePair[0]);
2899        }
2900  
2901        map.set('_ekm_value', valuePair);
2902  
2903        this._map.set(key, valuePair);
2904  
2905        return this;
2906      }
2907      /**
2908       * Returns a specified element.
2909       *
2910       * @param {*} key The key of the element to return.
2911       *
2912       * @return {?*} The element associated with the specified key or undefined
2913       *              if the key can't be found.
2914       */
2915  
2916    }, {
2917      key: "get",
2918      value: function get(key) {
2919        // Shortcut non-object-like to get from internal Map.
2920        if (key === null || _typeof(key) !== 'object') {
2921          return this._map.get(key);
2922        }
2923  
2924        var valuePair = getValuePair(this, key);
2925  
2926        if (valuePair) {
2927          return valuePair[1];
2928        }
2929      }
2930      /**
2931       * Returns a boolean indicating whether an element with the specified key
2932       * exists or not.
2933       *
2934       * @param {*} key The key of the element to test for presence.
2935       *
2936       * @return {boolean} Whether an element with the specified key exists.
2937       */
2938  
2939    }, {
2940      key: "has",
2941      value: function has(key) {
2942        if (key === null || _typeof(key) !== 'object') {
2943          return this._map.has(key);
2944        } // Test on the _presence_ of the pair, not its value, as even undefined
2945        // can be a valid member value for a key.
2946  
2947  
2948        return getValuePair(this, key) !== undefined;
2949      }
2950      /**
2951       * Removes the specified element.
2952       *
2953       * @param {*} key The key of the element to remove.
2954       *
2955       * @return {boolean} Returns true if an element existed and has been
2956       *                   removed, or false if the element does not exist.
2957       */
2958  
2959    }, {
2960      key: "delete",
2961      value: function _delete(key) {
2962        if (!this.has(key)) {
2963          return false;
2964        } // This naive implementation will leave orphaned child trees. A better
2965        // implementation should traverse and remove orphans.
2966  
2967  
2968        this.set(key, undefined);
2969        return true;
2970      }
2971      /**
2972       * Executes a provided function once per each key/value pair, in insertion
2973       * order.
2974       *
2975       * @param {Function} callback Function to execute for each element.
2976       * @param {*}        thisArg  Value to use as `this` when executing
2977       *                            `callback`.
2978       */
2979  
2980    }, {
2981      key: "forEach",
2982      value: function forEach(callback) {
2983        var _this = this;
2984  
2985        var thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
2986  
2987        this._map.forEach(function (value, key) {
2988          // Unwrap value from object-like value pair.
2989          if (key !== null && _typeof(key) === 'object') {
2990            value = value[1];
2991          }
2992  
2993          callback.call(thisArg, value, key, _this);
2994        });
2995      }
2996      /**
2997       * Removes all elements.
2998       */
2999  
3000    }, {
3001      key: "clear",
3002      value: function clear() {
3003        this._map = new Map();
3004        this._arrayTreeMap = new Map();
3005        this._objectTreeMap = new Map();
3006      }
3007    }, {
3008      key: "size",
3009      get: function get() {
3010        return this._map.size;
3011      }
3012    }]);
3013  
3014    return EquivalentKeyMap;
3015  }();
3016  
3017  module.exports = EquivalentKeyMap;
3018  
3019  
3020  /***/ }),
3021  
3022  /***/ "./node_modules/is-promise/index.js":
3023  /*!******************************************!*\
3024    !*** ./node_modules/is-promise/index.js ***!
3025    \******************************************/
3026  /*! no static exports found */
3027  /***/ (function(module, exports) {
3028  
3029  module.exports = isPromise;
3030  
3031  function isPromise(obj) {
3032    return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
3033  }
3034  
3035  
3036  /***/ }),
3037  
3038  /***/ "./node_modules/redux/es/redux.js":
3039  /*!****************************************!*\
3040    !*** ./node_modules/redux/es/redux.js ***!
3041    \****************************************/
3042  /*! exports provided: createStore, combineReducers, bindActionCreators, applyMiddleware, compose, __DO_NOT_USE__ActionTypes */
3043  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3044  
3045  "use strict";
3046  __webpack_require__.r(__webpack_exports__);
3047  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createStore", function() { return createStore; });
3048  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "combineReducers", function() { return combineReducers; });
3049  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bindActionCreators", function() { return bindActionCreators; });
3050  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "applyMiddleware", function() { return applyMiddleware; });
3051  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compose", function() { return compose; });
3052  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__DO_NOT_USE__ActionTypes", function() { return ActionTypes; });
3053  /* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ "./node_modules/redux/node_modules/symbol-observable/es/index.js");
3054  
3055  
3056  /**
3057   * These are private action types reserved by Redux.
3058   * For any unknown actions, you must return the current state.
3059   * If the current state is undefined, you must return the initial state.
3060   * Do not reference these action types directly in your code.
3061   */
3062  var randomString = function randomString() {
3063    return Math.random().toString(36).substring(7).split('').join('.');
3064  };
3065  
3066  var ActionTypes = {
3067    INIT: "@@redux/INIT" + randomString(),
3068    REPLACE: "@@redux/REPLACE" + randomString(),
3069    PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {
3070      return "@@redux/PROBE_UNKNOWN_ACTION" + randomString();
3071    }
3072  };
3073  
3074  /**
3075   * @param {any} obj The object to inspect.
3076   * @returns {boolean} True if the argument appears to be a plain object.
3077   */
3078  function isPlainObject(obj) {
3079    if (typeof obj !== 'object' || obj === null) return false;
3080    var proto = obj;
3081  
3082    while (Object.getPrototypeOf(proto) !== null) {
3083      proto = Object.getPrototypeOf(proto);
3084    }
3085  
3086    return Object.getPrototypeOf(obj) === proto;
3087  }
3088  
3089  /**
3090   * Creates a Redux store that holds the state tree.
3091   * The only way to change the data in the store is to call `dispatch()` on it.
3092   *
3093   * There should only be a single store in your app. To specify how different
3094   * parts of the state tree respond to actions, you may combine several reducers
3095   * into a single reducer function by using `combineReducers`.
3096   *
3097   * @param {Function} reducer A function that returns the next state tree, given
3098   * the current state tree and the action to handle.
3099   *
3100   * @param {any} [preloadedState] The initial state. You may optionally specify it
3101   * to hydrate the state from the server in universal apps, or to restore a
3102   * previously serialized user session.
3103   * If you use `combineReducers` to produce the root reducer function, this must be
3104   * an object with the same shape as `combineReducers` keys.
3105   *
3106   * @param {Function} [enhancer] The store enhancer. You may optionally specify it
3107   * to enhance the store with third-party capabilities such as middleware,
3108   * time travel, persistence, etc. The only store enhancer that ships with Redux
3109   * is `applyMiddleware()`.
3110   *
3111   * @returns {Store} A Redux store that lets you read the state, dispatch actions
3112   * and subscribe to changes.
3113   */
3114  
3115  function createStore(reducer, preloadedState, enhancer) {
3116    var _ref2;
3117  
3118    if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {
3119      throw new Error('It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function');
3120    }
3121  
3122    if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {
3123      enhancer = preloadedState;
3124      preloadedState = undefined;
3125    }
3126  
3127    if (typeof enhancer !== 'undefined') {
3128      if (typeof enhancer !== 'function') {
3129        throw new Error('Expected the enhancer to be a function.');
3130      }
3131  
3132      return enhancer(createStore)(reducer, preloadedState);
3133    }
3134  
3135    if (typeof reducer !== 'function') {
3136      throw new Error('Expected the reducer to be a function.');
3137    }
3138  
3139    var currentReducer = reducer;
3140    var currentState = preloadedState;
3141    var currentListeners = [];
3142    var nextListeners = currentListeners;
3143    var isDispatching = false;
3144  
3145    function ensureCanMutateNextListeners() {
3146      if (nextListeners === currentListeners) {
3147        nextListeners = currentListeners.slice();
3148      }
3149    }
3150    /**
3151     * Reads the state tree managed by the store.
3152     *
3153     * @returns {any} The current state tree of your application.
3154     */
3155  
3156  
3157    function getState() {
3158      if (isDispatching) {
3159        throw new Error('You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');
3160      }
3161  
3162      return currentState;
3163    }
3164    /**
3165     * Adds a change listener. It will be called any time an action is dispatched,
3166     * and some part of the state tree may potentially have changed. You may then
3167     * call `getState()` to read the current state tree inside the callback.
3168     *
3169     * You may call `dispatch()` from a change listener, with the following
3170     * caveats:
3171     *
3172     * 1. The subscriptions are snapshotted just before every `dispatch()` call.
3173     * If you subscribe or unsubscribe while the listeners are being invoked, this
3174     * will not have any effect on the `dispatch()` that is currently in progress.
3175     * However, the next `dispatch()` call, whether nested or not, will use a more
3176     * recent snapshot of the subscription list.
3177     *
3178     * 2. The listener should not expect to see all state changes, as the state
3179     * might have been updated multiple times during a nested `dispatch()` before
3180     * the listener is called. It is, however, guaranteed that all subscribers
3181     * registered before the `dispatch()` started will be called with the latest
3182     * state by the time it exits.
3183     *
3184     * @param {Function} listener A callback to be invoked on every dispatch.
3185     * @returns {Function} A function to remove this change listener.
3186     */
3187  
3188  
3189    function subscribe(listener) {
3190      if (typeof listener !== 'function') {
3191        throw new Error('Expected the listener to be a function.');
3192      }
3193  
3194      if (isDispatching) {
3195        throw new Error('You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api-reference/store#subscribe(listener) for more details.');
3196      }
3197  
3198      var isSubscribed = true;
3199      ensureCanMutateNextListeners();
3200      nextListeners.push(listener);
3201      return function unsubscribe() {
3202        if (!isSubscribed) {
3203          return;
3204        }
3205  
3206        if (isDispatching) {
3207          throw new Error('You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api-reference/store#subscribe(listener) for more details.');
3208        }
3209  
3210        isSubscribed = false;
3211        ensureCanMutateNextListeners();
3212        var index = nextListeners.indexOf(listener);
3213        nextListeners.splice(index, 1);
3214      };
3215    }
3216    /**
3217     * Dispatches an action. It is the only way to trigger a state change.
3218     *
3219     * The `reducer` function, used to create the store, will be called with the
3220     * current state tree and the given `action`. Its return value will
3221     * be considered the **next** state of the tree, and the change listeners
3222     * will be notified.
3223     *
3224     * The base implementation only supports plain object actions. If you want to
3225     * dispatch a Promise, an Observable, a thunk, or something else, you need to
3226     * wrap your store creating function into the corresponding middleware. For
3227     * example, see the documentation for the `redux-thunk` package. Even the
3228     * middleware will eventually dispatch plain object actions using this method.
3229     *
3230     * @param {Object} action A plain object representing “what changed”. It is
3231     * a good idea to keep actions serializable so you can record and replay user
3232     * sessions, or use the time travelling `redux-devtools`. An action must have
3233     * a `type` property which may not be `undefined`. It is a good idea to use
3234     * string constants for action types.
3235     *
3236     * @returns {Object} For convenience, the same action object you dispatched.
3237     *
3238     * Note that, if you use a custom middleware, it may wrap `dispatch()` to
3239     * return something else (for example, a Promise you can await).
3240     */
3241  
3242  
3243    function dispatch(action) {
3244      if (!isPlainObject(action)) {
3245        throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.');
3246      }
3247  
3248      if (typeof action.type === 'undefined') {
3249        throw new Error('Actions may not have an undefined "type" property. ' + 'Have you misspelled a constant?');
3250      }
3251  
3252      if (isDispatching) {
3253        throw new Error('Reducers may not dispatch actions.');
3254      }
3255  
3256      try {
3257        isDispatching = true;
3258        currentState = currentReducer(currentState, action);
3259      } finally {
3260        isDispatching = false;
3261      }
3262  
3263      var listeners = currentListeners = nextListeners;
3264  
3265      for (var i = 0; i < listeners.length; i++) {
3266        var listener = listeners[i];
3267        listener();
3268      }
3269  
3270      return action;
3271    }
3272    /**
3273     * Replaces the reducer currently used by the store to calculate the state.
3274     *
3275     * You might need this if your app implements code splitting and you want to
3276     * load some of the reducers dynamically. You might also need this if you
3277     * implement a hot reloading mechanism for Redux.
3278     *
3279     * @param {Function} nextReducer The reducer for the store to use instead.
3280     * @returns {void}
3281     */
3282  
3283  
3284    function replaceReducer(nextReducer) {
3285      if (typeof nextReducer !== 'function') {
3286        throw new Error('Expected the nextReducer to be a function.');
3287      }
3288  
3289      currentReducer = nextReducer;
3290      dispatch({
3291        type: ActionTypes.REPLACE
3292      });
3293    }
3294    /**
3295     * Interoperability point for observable/reactive libraries.
3296     * @returns {observable} A minimal observable of state changes.
3297     * For more information, see the observable proposal:
3298     * https://github.com/tc39/proposal-observable
3299     */
3300  
3301  
3302    function observable() {
3303      var _ref;
3304  
3305      var outerSubscribe = subscribe;
3306      return _ref = {
3307        /**
3308         * The minimal observable subscription method.
3309         * @param {Object} observer Any object that can be used as an observer.
3310         * The observer object should have a `next` method.
3311         * @returns {subscription} An object with an `unsubscribe` method that can
3312         * be used to unsubscribe the observable from the store, and prevent further
3313         * emission of values from the observable.
3314         */
3315        subscribe: function subscribe(observer) {
3316          if (typeof observer !== 'object' || observer === null) {
3317            throw new TypeError('Expected the observer to be an object.');
3318          }
3319  
3320          function observeState() {
3321            if (observer.next) {
3322              observer.next(getState());
3323            }
3324          }
3325  
3326          observeState();
3327          var unsubscribe = outerSubscribe(observeState);
3328          return {
3329            unsubscribe: unsubscribe
3330          };
3331        }
3332      }, _ref[symbol_observable__WEBPACK_IMPORTED_MODULE_0__["default"]] = function () {
3333        return this;
3334      }, _ref;
3335    } // When a store is created, an "INIT" action is dispatched so that every
3336    // reducer returns their initial state. This effectively populates
3337    // the initial state tree.
3338  
3339  
3340    dispatch({
3341      type: ActionTypes.INIT
3342    });
3343    return _ref2 = {
3344      dispatch: dispatch,
3345      subscribe: subscribe,
3346      getState: getState,
3347      replaceReducer: replaceReducer
3348    }, _ref2[symbol_observable__WEBPACK_IMPORTED_MODULE_0__["default"]] = observable, _ref2;
3349  }
3350  
3351  /**
3352   * Prints a warning in the console if it exists.
3353   *
3354   * @param {String} message The warning message.
3355   * @returns {void}
3356   */
3357  function warning(message) {
3358    /* eslint-disable no-console */
3359    if (typeof console !== 'undefined' && typeof console.error === 'function') {
3360      console.error(message);
3361    }
3362    /* eslint-enable no-console */
3363  
3364  
3365    try {
3366      // This error was thrown as a convenience so that if you enable
3367      // "break on all exceptions" in your console,
3368      // it would pause the execution at this line.
3369      throw new Error(message);
3370    } catch (e) {} // eslint-disable-line no-empty
3371  
3372  }
3373  
3374  function getUndefinedStateErrorMessage(key, action) {
3375    var actionType = action && action.type;
3376    var actionDescription = actionType && "action \"" + String(actionType) + "\"" || 'an action';
3377    return "Given " + actionDescription + ", reducer \"" + key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.";
3378  }
3379  
3380  function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
3381    var reducerKeys = Object.keys(reducers);
3382    var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
3383  
3384    if (reducerKeys.length === 0) {
3385      return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';
3386    }
3387  
3388    if (!isPlainObject(inputState)) {
3389      return "The " + argumentName + " has unexpected type of \"" + {}.toString.call(inputState).match(/\s([a-z|A-Z]+)/)[1] + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
3390    }
3391  
3392    var unexpectedKeys = Object.keys(inputState).filter(function (key) {
3393      return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
3394    });
3395    unexpectedKeys.forEach(function (key) {
3396      unexpectedKeyCache[key] = true;
3397    });
3398    if (action && action.type === ActionTypes.REPLACE) return;
3399  
3400    if (unexpectedKeys.length > 0) {
3401      return "Unexpected " + (unexpectedKeys.length > 1 ? 'keys' : 'key') + " " + ("\"" + unexpectedKeys.join('", "') + "\" found in " + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ("\"" + reducerKeys.join('", "') + "\". Unexpected keys will be ignored.");
3402    }
3403  }
3404  
3405  function assertReducerShape(reducers) {
3406    Object.keys(reducers).forEach(function (key) {
3407      var reducer = reducers[key];
3408      var initialState = reducer(undefined, {
3409        type: ActionTypes.INIT
3410      });
3411  
3412      if (typeof initialState === 'undefined') {
3413        throw new Error("Reducer \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
3414      }
3415  
3416      if (typeof reducer(undefined, {
3417        type: ActionTypes.PROBE_UNKNOWN_ACTION()
3418      }) === 'undefined') {
3419        throw new Error("Reducer \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle " + ActionTypes.INIT + " or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
3420      }
3421    });
3422  }
3423  /**
3424   * Turns an object whose values are different reducer functions, into a single
3425   * reducer function. It will call every child reducer, and gather their results
3426   * into a single state object, whose keys correspond to the keys of the passed
3427   * reducer functions.
3428   *
3429   * @param {Object} reducers An object whose values correspond to different
3430   * reducer functions that need to be combined into one. One handy way to obtain
3431   * it is to use ES6 `import * as reducers` syntax. The reducers may never return
3432   * undefined for any action. Instead, they should return their initial state
3433   * if the state passed to them was undefined, and the current state for any
3434   * unrecognized action.
3435   *
3436   * @returns {Function} A reducer function that invokes every reducer inside the
3437   * passed object, and builds a state object with the same shape.
3438   */
3439  
3440  
3441  function combineReducers(reducers) {
3442    var reducerKeys = Object.keys(reducers);
3443    var finalReducers = {};
3444  
3445    for (var i = 0; i < reducerKeys.length; i++) {
3446      var key = reducerKeys[i];
3447  
3448      if (true) {
3449        if (typeof reducers[key] === 'undefined') {
3450          warning("No reducer provided for key \"" + key + "\"");
3451        }
3452      }
3453  
3454      if (typeof reducers[key] === 'function') {
3455        finalReducers[key] = reducers[key];
3456      }
3457    }
3458  
3459    var finalReducerKeys = Object.keys(finalReducers);
3460    var unexpectedKeyCache;
3461  
3462    if (true) {
3463      unexpectedKeyCache = {};
3464    }
3465  
3466    var shapeAssertionError;
3467  
3468    try {
3469      assertReducerShape(finalReducers);
3470    } catch (e) {
3471      shapeAssertionError = e;
3472    }
3473  
3474    return function combination(state, action) {
3475      if (state === void 0) {
3476        state = {};
3477      }
3478  
3479      if (shapeAssertionError) {
3480        throw shapeAssertionError;
3481      }
3482  
3483      if (true) {
3484        var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);
3485  
3486        if (warningMessage) {
3487          warning(warningMessage);
3488        }
3489      }
3490  
3491      var hasChanged = false;
3492      var nextState = {};
3493  
3494      for (var _i = 0; _i < finalReducerKeys.length; _i++) {
3495        var _key = finalReducerKeys[_i];
3496        var reducer = finalReducers[_key];
3497        var previousStateForKey = state[_key];
3498        var nextStateForKey = reducer(previousStateForKey, action);
3499  
3500        if (typeof nextStateForKey === 'undefined') {
3501          var errorMessage = getUndefinedStateErrorMessage(_key, action);
3502          throw new Error(errorMessage);
3503        }
3504  
3505        nextState[_key] = nextStateForKey;
3506        hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
3507      }
3508  
3509      return hasChanged ? nextState : state;
3510    };
3511  }
3512  
3513  function bindActionCreator(actionCreator, dispatch) {
3514    return function () {
3515      return dispatch(actionCreator.apply(this, arguments));
3516    };
3517  }
3518  /**
3519   * Turns an object whose values are action creators, into an object with the
3520   * same keys, but with every function wrapped into a `dispatch` call so they
3521   * may be invoked directly. This is just a convenience method, as you can call
3522   * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.
3523   *
3524   * For convenience, you can also pass a single function as the first argument,
3525   * and get a function in return.
3526   *
3527   * @param {Function|Object} actionCreators An object whose values are action
3528   * creator functions. One handy way to obtain it is to use ES6 `import * as`
3529   * syntax. You may also pass a single function.
3530   *
3531   * @param {Function} dispatch The `dispatch` function available on your Redux
3532   * store.
3533   *
3534   * @returns {Function|Object} The object mimicking the original object, but with
3535   * every action creator wrapped into the `dispatch` call. If you passed a
3536   * function as `actionCreators`, the return value will also be a single
3537   * function.
3538   */
3539  
3540  
3541  function bindActionCreators(actionCreators, dispatch) {
3542    if (typeof actionCreators === 'function') {
3543      return bindActionCreator(actionCreators, dispatch);
3544    }
3545  
3546    if (typeof actionCreators !== 'object' || actionCreators === null) {
3547      throw new Error("bindActionCreators expected an object or a function, instead received " + (actionCreators === null ? 'null' : typeof actionCreators) + ". " + "Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?");
3548    }
3549  
3550    var keys = Object.keys(actionCreators);
3551    var boundActionCreators = {};
3552  
3553    for (var i = 0; i < keys.length; i++) {
3554      var key = keys[i];
3555      var actionCreator = actionCreators[key];
3556  
3557      if (typeof actionCreator === 'function') {
3558        boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
3559      }
3560    }
3561  
3562    return boundActionCreators;
3563  }
3564  
3565  function _defineProperty(obj, key, value) {
3566    if (key in obj) {
3567      Object.defineProperty(obj, key, {
3568        value: value,
3569        enumerable: true,
3570        configurable: true,
3571        writable: true
3572      });
3573    } else {
3574      obj[key] = value;
3575    }
3576  
3577    return obj;
3578  }
3579  
3580  function _objectSpread(target) {
3581    for (var i = 1; i < arguments.length; i++) {
3582      var source = arguments[i] != null ? arguments[i] : {};
3583      var ownKeys = Object.keys(source);
3584  
3585      if (typeof Object.getOwnPropertySymbols === 'function') {
3586        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
3587          return Object.getOwnPropertyDescriptor(source, sym).enumerable;
3588        }));
3589      }
3590  
3591      ownKeys.forEach(function (key) {
3592        _defineProperty(target, key, source[key]);
3593      });
3594    }
3595  
3596    return target;
3597  }
3598  
3599  /**
3600   * Composes single-argument functions from right to left. The rightmost
3601   * function can take multiple arguments as it provides the signature for
3602   * the resulting composite function.
3603   *
3604   * @param {...Function} funcs The functions to compose.
3605   * @returns {Function} A function obtained by composing the argument functions
3606   * from right to left. For example, compose(f, g, h) is identical to doing
3607   * (...args) => f(g(h(...args))).
3608   */
3609  function compose() {
3610    for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
3611      funcs[_key] = arguments[_key];
3612    }
3613  
3614    if (funcs.length === 0) {
3615      return function (arg) {
3616        return arg;
3617      };
3618    }
3619  
3620    if (funcs.length === 1) {
3621      return funcs[0];
3622    }
3623  
3624    return funcs.reduce(function (a, b) {
3625      return function () {
3626        return a(b.apply(void 0, arguments));
3627      };
3628    });
3629  }
3630  
3631  /**
3632   * Creates a store enhancer that applies middleware to the dispatch method
3633   * of the Redux store. This is handy for a variety of tasks, such as expressing
3634   * asynchronous actions in a concise manner, or logging every action payload.
3635   *
3636   * See `redux-thunk` package as an example of the Redux middleware.
3637   *
3638   * Because middleware is potentially asynchronous, this should be the first
3639   * store enhancer in the composition chain.
3640   *
3641   * Note that each middleware will be given the `dispatch` and `getState` functions
3642   * as named arguments.
3643   *
3644   * @param {...Function} middlewares The middleware chain to be applied.
3645   * @returns {Function} A store enhancer applying the middleware.
3646   */
3647  
3648  function applyMiddleware() {
3649    for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {
3650      middlewares[_key] = arguments[_key];
3651    }
3652  
3653    return function (createStore) {
3654      return function () {
3655        var store = createStore.apply(void 0, arguments);
3656  
3657        var _dispatch = function dispatch() {
3658          throw new Error("Dispatching while constructing your middleware is not allowed. " + "Other middleware would not be applied to this dispatch.");
3659        };
3660  
3661        var middlewareAPI = {
3662          getState: store.getState,
3663          dispatch: function dispatch() {
3664            return _dispatch.apply(void 0, arguments);
3665          }
3666        };
3667        var chain = middlewares.map(function (middleware) {
3668          return middleware(middlewareAPI);
3669        });
3670        _dispatch = compose.apply(void 0, chain)(store.dispatch);
3671        return _objectSpread({}, store, {
3672          dispatch: _dispatch
3673        });
3674      };
3675    };
3676  }
3677  
3678  /*
3679   * This is a dummy function to check if the function name has been altered by minification.
3680   * If the function has been minified and NODE_ENV !== 'production', warn the user.
3681   */
3682  
3683  function isCrushed() {}
3684  
3685  if ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
3686    warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
3687  }
3688  
3689  
3690  
3691  
3692  /***/ }),
3693  
3694  /***/ "./node_modules/redux/node_modules/symbol-observable/es/index.js":
3695  /*!***********************************************************************!*\
3696    !*** ./node_modules/redux/node_modules/symbol-observable/es/index.js ***!
3697    \***********************************************************************/
3698  /*! exports provided: default */
3699  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3700  
3701  "use strict";
3702  __webpack_require__.r(__webpack_exports__);
3703  /* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ "./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js");
3704  /* global window */
3705  
3706  
3707  var root;
3708  
3709  if (typeof self !== 'undefined') {
3710    root = self;
3711  } else if (typeof window !== 'undefined') {
3712    root = window;
3713  } else if (typeof global !== 'undefined') {
3714    root = global;
3715  } else if (true) {
3716    root = module;
3717  } else {}
3718  
3719  var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__["default"])(root);
3720  /* harmony default export */ __webpack_exports__["default"] = (result);
3721  
3722  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../../../webpack/buildin/harmony-module.js */ "./node_modules/webpack/buildin/harmony-module.js")(module)))
3723  
3724  /***/ }),
3725  
3726  /***/ "./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js":
3727  /*!**************************************************************************!*\
3728    !*** ./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js ***!
3729    \**************************************************************************/
3730  /*! exports provided: default */
3731  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3732  
3733  "use strict";
3734  __webpack_require__.r(__webpack_exports__);
3735  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return symbolObservablePonyfill; });
3736  function symbolObservablePonyfill(root) {
3737      var result;
3738      var Symbol = root.Symbol;
3739  
3740      if (typeof Symbol === 'function') {
3741          if (Symbol.observable) {
3742              result = Symbol.observable;
3743          } else {
3744              result = Symbol('observable');
3745              Symbol.observable = result;
3746          }
3747      } else {
3748          result = '@@observable';
3749      }
3750  
3751      return result;
3752  };
3753  
3754  
3755  /***/ }),
3756  
3757  /***/ "./node_modules/webpack/buildin/global.js":
3758  /*!***********************************!*\
3759    !*** (webpack)/buildin/global.js ***!
3760    \***********************************/
3761  /*! no static exports found */
3762  /***/ (function(module, exports) {
3763  
3764  var g;
3765  
3766  // This works in non-strict mode
3767  g = (function() {
3768      return this;
3769  })();
3770  
3771  try {
3772      // This works if eval is allowed (see CSP)
3773      g = g || new Function("return this")();
3774  } catch (e) {
3775      // This works if the window reference is available
3776      if (typeof window === "object") g = window;
3777  }
3778  
3779  // g can still be undefined, but nothing to do about it...
3780  // We return undefined, instead of nothing here, so it's
3781  // easier to handle this case. if(!global) { ...}
3782  
3783  module.exports = g;
3784  
3785  
3786  /***/ }),
3787  
3788  /***/ "./node_modules/webpack/buildin/harmony-module.js":
3789  /*!*******************************************!*\
3790    !*** (webpack)/buildin/harmony-module.js ***!
3791    \*******************************************/
3792  /*! no static exports found */
3793  /***/ (function(module, exports) {
3794  
3795  module.exports = function(originalModule) {
3796      if (!originalModule.webpackPolyfill) {
3797          var module = Object.create(originalModule);
3798          // module.parent = undefined by default
3799          if (!module.children) module.children = [];
3800          Object.defineProperty(module, "loaded", {
3801              enumerable: true,
3802              get: function() {
3803                  return module.l;
3804              }
3805          });
3806          Object.defineProperty(module, "id", {
3807              enumerable: true,
3808              get: function() {
3809                  return module.i;
3810              }
3811          });
3812          Object.defineProperty(module, "exports", {
3813              enumerable: true
3814          });
3815          module.webpackPolyfill = 1;
3816      }
3817      return module;
3818  };
3819  
3820  
3821  /***/ }),
3822  
3823  /***/ "@wordpress/compose":
3824  /*!******************************************!*\
3825    !*** external {"this":["wp","compose"]} ***!
3826    \******************************************/
3827  /*! no static exports found */
3828  /***/ (function(module, exports) {
3829  
3830  (function() { module.exports = this["wp"]["compose"]; }());
3831  
3832  /***/ }),
3833  
3834  /***/ "@wordpress/deprecated":
3835  /*!*********************************************!*\
3836    !*** external {"this":["wp","deprecated"]} ***!
3837    \*********************************************/
3838  /*! no static exports found */
3839  /***/ (function(module, exports) {
3840  
3841  (function() { module.exports = this["wp"]["deprecated"]; }());
3842  
3843  /***/ }),
3844  
3845  /***/ "@wordpress/element":
3846  /*!******************************************!*\
3847    !*** external {"this":["wp","element"]} ***!
3848    \******************************************/
3849  /*! no static exports found */
3850  /***/ (function(module, exports) {
3851  
3852  (function() { module.exports = this["wp"]["element"]; }());
3853  
3854  /***/ }),
3855  
3856  /***/ "@wordpress/is-shallow-equal":
3857  /*!*************************************************!*\
3858    !*** external {"this":["wp","isShallowEqual"]} ***!
3859    \*************************************************/
3860  /*! no static exports found */
3861  /***/ (function(module, exports) {
3862  
3863  (function() { module.exports = this["wp"]["isShallowEqual"]; }());
3864  
3865  /***/ }),
3866  
3867  /***/ "@wordpress/redux-routine":
3868  /*!***********************************************!*\
3869    !*** external {"this":["wp","reduxRoutine"]} ***!
3870    \***********************************************/
3871  /*! no static exports found */
3872  /***/ (function(module, exports) {
3873  
3874  (function() { module.exports = this["wp"]["reduxRoutine"]; }());
3875  
3876  /***/ }),
3877  
3878  /***/ "lodash":
3879  /*!*************************!*\
3880    !*** external "lodash" ***!
3881    \*************************/
3882  /*! no static exports found */
3883  /***/ (function(module, exports) {
3884  
3885  (function() { module.exports = this["lodash"]; }());
3886  
3887  /***/ })
3888  
3889  /******/ });
3890  //# sourceMappingURL=data.js.map


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