[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> server-side-render.js (source)

   1  this["wp"] = this["wp"] || {}; this["wp"]["serverSideRender"] =
   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 = 391);
  86  /******/ })
  87  /************************************************************************/
  88  /******/ ({
  89  
  90  /***/ 0:
  91  /***/ (function(module, exports) {
  92  
  93  (function() { module.exports = this["wp"]["element"]; }());
  94  
  95  /***/ }),
  96  
  97  /***/ 1:
  98  /***/ (function(module, exports) {
  99  
 100  (function() { module.exports = this["wp"]["i18n"]; }());
 101  
 102  /***/ }),
 103  
 104  /***/ 12:
 105  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 106  
 107  "use strict";
 108  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
 109  function _extends() {
 110    _extends = Object.assign || function (target) {
 111      for (var i = 1; i < arguments.length; i++) {
 112        var source = arguments[i];
 113  
 114        for (var key in source) {
 115          if (Object.prototype.hasOwnProperty.call(source, key)) {
 116            target[key] = source[key];
 117          }
 118        }
 119      }
 120  
 121      return target;
 122    };
 123  
 124    return _extends.apply(this, arguments);
 125  }
 126  
 127  /***/ }),
 128  
 129  /***/ 13:
 130  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 131  
 132  "use strict";
 133  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _createClass; });
 134  function _defineProperties(target, props) {
 135    for (var i = 0; i < props.length; i++) {
 136      var descriptor = props[i];
 137      descriptor.enumerable = descriptor.enumerable || false;
 138      descriptor.configurable = true;
 139      if ("value" in descriptor) descriptor.writable = true;
 140      Object.defineProperty(target, descriptor.key, descriptor);
 141    }
 142  }
 143  
 144  function _createClass(Constructor, protoProps, staticProps) {
 145    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
 146    if (staticProps) _defineProperties(Constructor, staticProps);
 147    return Constructor;
 148  }
 149  
 150  /***/ }),
 151  
 152  /***/ 14:
 153  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 154  
 155  "use strict";
 156  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
 157  function _classCallCheck(instance, Constructor) {
 158    if (!(instance instanceof Constructor)) {
 159      throw new TypeError("Cannot call a class as a function");
 160    }
 161  }
 162  
 163  /***/ }),
 164  
 165  /***/ 15:
 166  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 167  
 168  "use strict";
 169  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
 170  /* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
 171  /* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
 172  
 173  
 174  function _possibleConstructorReturn(self, call) {
 175    if (call && (Object(_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(call) === "object" || typeof call === "function")) {
 176      return call;
 177    }
 178  
 179    return Object(_assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(self);
 180  }
 181  
 182  /***/ }),
 183  
 184  /***/ 16:
 185  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 186  
 187  "use strict";
 188  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
 189  function _getPrototypeOf(o) {
 190    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
 191      return o.__proto__ || Object.getPrototypeOf(o);
 192    };
 193    return _getPrototypeOf(o);
 194  }
 195  
 196  /***/ }),
 197  
 198  /***/ 17:
 199  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 200  
 201  "use strict";
 202  
 203  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
 204  function _setPrototypeOf(o, p) {
 205    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
 206      o.__proto__ = p;
 207      return o;
 208    };
 209  
 210    return _setPrototypeOf(o, p);
 211  }
 212  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
 213  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inherits; });
 214  
 215  function _inherits(subClass, superClass) {
 216    if (typeof superClass !== "function" && superClass !== null) {
 217      throw new TypeError("Super expression must either be null or a function");
 218    }
 219  
 220    subClass.prototype = Object.create(superClass && superClass.prototype, {
 221      constructor: {
 222        value: subClass,
 223        writable: true,
 224        configurable: true
 225      }
 226    });
 227    if (superClass) _setPrototypeOf(subClass, superClass);
 228  }
 229  
 230  /***/ }),
 231  
 232  /***/ 2:
 233  /***/ (function(module, exports) {
 234  
 235  (function() { module.exports = this["lodash"]; }());
 236  
 237  /***/ }),
 238  
 239  /***/ 20:
 240  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 241  
 242  "use strict";
 243  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
 244  /* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
 245  
 246  function _objectWithoutProperties(source, excluded) {
 247    if (source == null) return {};
 248    var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
 249    var key, i;
 250  
 251    if (Object.getOwnPropertySymbols) {
 252      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 253  
 254      for (i = 0; i < sourceSymbolKeys.length; i++) {
 255        key = sourceSymbolKeys[i];
 256        if (excluded.indexOf(key) >= 0) continue;
 257        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
 258        target[key] = source[key];
 259      }
 260    }
 261  
 262    return target;
 263  }
 264  
 265  /***/ }),
 266  
 267  /***/ 25:
 268  /***/ (function(module, exports) {
 269  
 270  (function() { module.exports = this["wp"]["url"]; }());
 271  
 272  /***/ }),
 273  
 274  /***/ 3:
 275  /***/ (function(module, exports) {
 276  
 277  (function() { module.exports = this["wp"]["components"]; }());
 278  
 279  /***/ }),
 280  
 281  /***/ 32:
 282  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 283  
 284  "use strict";
 285  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
 286  function _typeof(obj) {
 287    if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
 288      _typeof = function _typeof(obj) {
 289        return typeof obj;
 290      };
 291    } else {
 292      _typeof = function _typeof(obj) {
 293        return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
 294      };
 295    }
 296  
 297    return _typeof(obj);
 298  }
 299  
 300  /***/ }),
 301  
 302  /***/ 33:
 303  /***/ (function(module, exports) {
 304  
 305  (function() { module.exports = this["wp"]["deprecated"]; }());
 306  
 307  /***/ }),
 308  
 309  /***/ 38:
 310  /***/ (function(module, exports) {
 311  
 312  (function() { module.exports = this["wp"]["apiFetch"]; }());
 313  
 314  /***/ }),
 315  
 316  /***/ 391:
 317  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 318  
 319  "use strict";
 320  __webpack_require__.r(__webpack_exports__);
 321  
 322  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
 323  var esm_extends = __webpack_require__(12);
 324  
 325  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread.js
 326  var objectSpread = __webpack_require__(6);
 327  
 328  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
 329  var objectWithoutProperties = __webpack_require__(20);
 330  
 331  // EXTERNAL MODULE: external {"this":["wp","element"]}
 332  var external_this_wp_element_ = __webpack_require__(0);
 333  
 334  // EXTERNAL MODULE: external {"this":["wp","data"]}
 335  var external_this_wp_data_ = __webpack_require__(4);
 336  
 337  // EXTERNAL MODULE: external {"this":["wp","deprecated"]}
 338  var external_this_wp_deprecated_ = __webpack_require__(33);
 339  var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_deprecated_);
 340  
 341  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
 342  var classCallCheck = __webpack_require__(14);
 343  
 344  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
 345  var createClass = __webpack_require__(13);
 346  
 347  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
 348  var possibleConstructorReturn = __webpack_require__(15);
 349  
 350  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
 351  var getPrototypeOf = __webpack_require__(16);
 352  
 353  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
 354  var inherits = __webpack_require__(17);
 355  
 356  // EXTERNAL MODULE: external {"this":"lodash"}
 357  var external_this_lodash_ = __webpack_require__(2);
 358  
 359  // EXTERNAL MODULE: external {"this":["wp","i18n"]}
 360  var external_this_wp_i18n_ = __webpack_require__(1);
 361  
 362  // EXTERNAL MODULE: external {"this":["wp","apiFetch"]}
 363  var external_this_wp_apiFetch_ = __webpack_require__(38);
 364  var external_this_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_apiFetch_);
 365  
 366  // EXTERNAL MODULE: external {"this":["wp","url"]}
 367  var external_this_wp_url_ = __webpack_require__(25);
 368  
 369  // EXTERNAL MODULE: external {"this":["wp","components"]}
 370  var external_this_wp_components_ = __webpack_require__(3);
 371  
 372  // CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/server-side-render.js
 373  
 374  
 375  
 376  
 377  
 378  
 379  
 380  
 381  
 382  /**
 383   * External dependencies
 384   */
 385  
 386  /**
 387   * WordPress dependencies
 388   */
 389  
 390  
 391  
 392  
 393  
 394  
 395  function rendererPath(block) {
 396    var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
 397    var urlQueryArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
 398    return Object(external_this_wp_url_["addQueryArgs"])("/wp/v2/block-renderer/".concat(block), Object(objectSpread["a" /* default */])({
 399      context: 'edit'
 400    }, null !== attributes ? {
 401      attributes: attributes
 402    } : {}, urlQueryArgs));
 403  }
 404  var server_side_render_ServerSideRender =
 405  /*#__PURE__*/
 406  function (_Component) {
 407    Object(inherits["a" /* default */])(ServerSideRender, _Component);
 408  
 409    function ServerSideRender(props) {
 410      var _this;
 411  
 412      Object(classCallCheck["a" /* default */])(this, ServerSideRender);
 413  
 414      _this = Object(possibleConstructorReturn["a" /* default */])(this, Object(getPrototypeOf["a" /* default */])(ServerSideRender).call(this, props));
 415      _this.state = {
 416        response: null
 417      };
 418      return _this;
 419    }
 420  
 421    Object(createClass["a" /* default */])(ServerSideRender, [{
 422      key: "componentDidMount",
 423      value: function componentDidMount() {
 424        this.isStillMounted = true;
 425        this.fetch(this.props); // Only debounce once the initial fetch occurs to ensure that the first
 426        // renders show data as soon as possible.
 427  
 428        this.fetch = Object(external_this_lodash_["debounce"])(this.fetch, 500);
 429      }
 430    }, {
 431      key: "componentWillUnmount",
 432      value: function componentWillUnmount() {
 433        this.isStillMounted = false;
 434      }
 435    }, {
 436      key: "componentDidUpdate",
 437      value: function componentDidUpdate(prevProps) {
 438        if (!Object(external_this_lodash_["isEqual"])(prevProps, this.props)) {
 439          this.fetch(this.props);
 440        }
 441      }
 442    }, {
 443      key: "fetch",
 444      value: function fetch(props) {
 445        var _this2 = this;
 446  
 447        if (!this.isStillMounted) {
 448          return;
 449        }
 450  
 451        if (null !== this.state.response) {
 452          this.setState({
 453            response: null
 454          });
 455        }
 456  
 457        var block = props.block,
 458            _props$attributes = props.attributes,
 459            attributes = _props$attributes === void 0 ? null : _props$attributes,
 460            _props$urlQueryArgs = props.urlQueryArgs,
 461            urlQueryArgs = _props$urlQueryArgs === void 0 ? {} : _props$urlQueryArgs;
 462        var path = rendererPath(block, attributes, urlQueryArgs); // Store the latest fetch request so that when we process it, we can
 463        // check if it is the current request, to avoid race conditions on slow networks.
 464  
 465        var fetchRequest = this.currentFetchRequest = external_this_wp_apiFetch_default()({
 466          path: path
 467        }).then(function (response) {
 468          if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest && response) {
 469            _this2.setState({
 470              response: response.rendered
 471            });
 472          }
 473        }).catch(function (error) {
 474          if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest) {
 475            _this2.setState({
 476              response: {
 477                error: true,
 478                errorMsg: error.message
 479              }
 480            });
 481          }
 482        });
 483        return fetchRequest;
 484      }
 485    }, {
 486      key: "render",
 487      value: function render() {
 488        var response = this.state.response;
 489        var _this$props = this.props,
 490            className = _this$props.className,
 491            EmptyResponsePlaceholder = _this$props.EmptyResponsePlaceholder,
 492            ErrorResponsePlaceholder = _this$props.ErrorResponsePlaceholder,
 493            LoadingResponsePlaceholder = _this$props.LoadingResponsePlaceholder;
 494  
 495        if (response === '') {
 496          return Object(external_this_wp_element_["createElement"])(EmptyResponsePlaceholder, Object(esm_extends["a" /* default */])({
 497            response: response
 498          }, this.props));
 499        } else if (!response) {
 500          return Object(external_this_wp_element_["createElement"])(LoadingResponsePlaceholder, Object(esm_extends["a" /* default */])({
 501            response: response
 502          }, this.props));
 503        } else if (response.error) {
 504          return Object(external_this_wp_element_["createElement"])(ErrorResponsePlaceholder, Object(esm_extends["a" /* default */])({
 505            response: response
 506          }, this.props));
 507        }
 508  
 509        return Object(external_this_wp_element_["createElement"])(external_this_wp_element_["RawHTML"], {
 510          key: "html",
 511          className: className
 512        }, response);
 513      }
 514    }]);
 515  
 516    return ServerSideRender;
 517  }(external_this_wp_element_["Component"]);
 518  server_side_render_ServerSideRender.defaultProps = {
 519    EmptyResponsePlaceholder: function EmptyResponsePlaceholder(_ref) {
 520      var className = _ref.className;
 521      return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
 522        className: className
 523      }, Object(external_this_wp_i18n_["__"])('Block rendered as empty.') + className);
 524    },
 525    ErrorResponsePlaceholder: function ErrorResponsePlaceholder(_ref2) {
 526      var response = _ref2.response,
 527          className = _ref2.className;
 528      // translators: %s: error message describing the problem
 529      var errorMessage = Object(external_this_wp_i18n_["sprintf"])(Object(external_this_wp_i18n_["__"])('Error loading block: %s'), response.errorMsg);
 530      return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
 531        className: className
 532      }, errorMessage);
 533    },
 534    LoadingResponsePlaceholder: function LoadingResponsePlaceholder(_ref3) {
 535      var className = _ref3.className;
 536      return Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Placeholder"], {
 537        className: className
 538      }, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null));
 539    }
 540  };
 541  /* harmony default export */ var server_side_render = (server_side_render_ServerSideRender);
 542  
 543  // CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/index.js
 544  
 545  
 546  
 547  
 548  
 549  /**
 550   * WordPress dependencies
 551   */
 552  
 553  
 554  
 555  /**
 556   * Internal dependencies
 557   */
 558  
 559  
 560  /**
 561   * Constants
 562   */
 563  
 564  var EMPTY_OBJECT = {};
 565  var ExportedServerSideRender = Object(external_this_wp_data_["withSelect"])(function (select) {
 566    var coreEditorSelect = select('core/editor');
 567  
 568    if (coreEditorSelect) {
 569      var currentPostId = coreEditorSelect.getCurrentPostId();
 570  
 571      if (currentPostId) {
 572        return {
 573          currentPostId: currentPostId
 574        };
 575      }
 576    }
 577  
 578    return EMPTY_OBJECT;
 579  })(function (_ref) {
 580    var _ref$urlQueryArgs = _ref.urlQueryArgs,
 581        urlQueryArgs = _ref$urlQueryArgs === void 0 ? EMPTY_OBJECT : _ref$urlQueryArgs,
 582        currentPostId = _ref.currentPostId,
 583        props = Object(objectWithoutProperties["a" /* default */])(_ref, ["urlQueryArgs", "currentPostId"]);
 584  
 585    var newUrlQueryArgs = Object(external_this_wp_element_["useMemo"])(function () {
 586      if (!currentPostId) {
 587        return urlQueryArgs;
 588      }
 589  
 590      return Object(objectSpread["a" /* default */])({
 591        post_id: currentPostId
 592      }, urlQueryArgs);
 593    }, [currentPostId, urlQueryArgs]);
 594    return Object(external_this_wp_element_["createElement"])(server_side_render, Object(esm_extends["a" /* default */])({
 595      urlQueryArgs: newUrlQueryArgs
 596    }, props));
 597  });
 598  
 599  if (window && window.wp && window.wp.components) {
 600    window.wp.components.ServerSideRender = Object(external_this_wp_element_["forwardRef"])(function (props, ref) {
 601      external_this_wp_deprecated_default()('wp.components.ServerSideRender', {
 602        alternative: 'wp.serverSideRender'
 603      });
 604      return Object(external_this_wp_element_["createElement"])(ExportedServerSideRender, Object(esm_extends["a" /* default */])({}, props, {
 605        ref: ref
 606      }));
 607    });
 608  }
 609  
 610  /* harmony default export */ var build_module = __webpack_exports__["default"] = (ExportedServerSideRender);
 611  
 612  
 613  /***/ }),
 614  
 615  /***/ 4:
 616  /***/ (function(module, exports) {
 617  
 618  (function() { module.exports = this["wp"]["data"]; }());
 619  
 620  /***/ }),
 621  
 622  /***/ 40:
 623  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 624  
 625  "use strict";
 626  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
 627  function _objectWithoutPropertiesLoose(source, excluded) {
 628    if (source == null) return {};
 629    var target = {};
 630    var sourceKeys = Object.keys(source);
 631    var key, i;
 632  
 633    for (i = 0; i < sourceKeys.length; i++) {
 634      key = sourceKeys[i];
 635      if (excluded.indexOf(key) >= 0) continue;
 636      target[key] = source[key];
 637    }
 638  
 639    return target;
 640  }
 641  
 642  /***/ }),
 643  
 644  /***/ 6:
 645  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 646  
 647  "use strict";
 648  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread; });
 649  /* harmony import */ var _defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
 650  
 651  function _objectSpread(target) {
 652    for (var i = 1; i < arguments.length; i++) {
 653      var source = arguments[i] != null ? Object(arguments[i]) : {};
 654      var ownKeys = Object.keys(source);
 655  
 656      if (typeof Object.getOwnPropertySymbols === 'function') {
 657        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
 658          return Object.getOwnPropertyDescriptor(source, sym).enumerable;
 659        }));
 660      }
 661  
 662      ownKeys.forEach(function (key) {
 663        Object(_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, key, source[key]);
 664      });
 665    }
 666  
 667    return target;
 668  }
 669  
 670  /***/ }),
 671  
 672  /***/ 7:
 673  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 674  
 675  "use strict";
 676  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _assertThisInitialized; });
 677  function _assertThisInitialized(self) {
 678    if (self === void 0) {
 679      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
 680    }
 681  
 682    return self;
 683  }
 684  
 685  /***/ }),
 686  
 687  /***/ 9:
 688  /***/ (function(module, __webpack_exports__, __webpack_require__) {
 689  
 690  "use strict";
 691  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
 692  function _defineProperty(obj, key, value) {
 693    if (key in obj) {
 694      Object.defineProperty(obj, key, {
 695        value: value,
 696        enumerable: true,
 697        configurable: true,
 698        writable: true
 699      });
 700    } else {
 701      obj[key] = value;
 702    }
 703  
 704    return obj;
 705  }
 706  
 707  /***/ })
 708  
 709  /******/ })["default"];


Generated: Thu Jan 23 01:00:04 2020 Cross-referenced by PHPXref 0.7.1