(window["__googlesitekit_webpackJsonp"] = window["__googlesitekit_webpackJsonp"] || []).push([["googlesitekit-modules"],{

/***/ "./js/components/ChangeArrow.js":
/*!**************************************!*\
  !*** ./js/components/ChangeArrow.js ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * External dependencies\n */\n\n\nfunction ChangeArrow(_ref) {\n  var direction = _ref.direction,\n    invertColor = _ref.invertColor,\n    width = _ref.width,\n    height = _ref.height;\n  return /*#__PURE__*/React.createElement(\"svg\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('googlesitekit-change-arrow', \"googlesitekit-change-arrow--\".concat(direction), {\n      'googlesitekit-change-arrow--inverted-color': invertColor\n    }),\n    width: width,\n    height: height,\n    viewBox: \"0 0 10 10\",\n    fill: \"none\",\n    xmlns: \"http://www.w3.org/2000/svg\"\n  }, /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z\",\n    fill: \"currentColor\"\n  }));\n}\nChangeArrow.propTypes = {\n  direction: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  invertColor: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  width: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  height: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\n};\nChangeArrow.defaultProps = {\n  direction: 'up',\n  invertColor: false,\n  width: 9,\n  height: 9\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ChangeArrow);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0NoYW5nZUFycm93LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9DaGFuZ2VBcnJvdy5qcz9iNjAwIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tICdjbGFzc25hbWVzJztcblxuZnVuY3Rpb24gQ2hhbmdlQXJyb3coIHsgZGlyZWN0aW9uLCBpbnZlcnRDb2xvciwgd2lkdGgsIGhlaWdodCB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxzdmdcblx0XHRcdGNsYXNzTmFtZT17IGNsYXNzbmFtZXMoXG5cdFx0XHRcdCdnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdycsXG5cdFx0XHRcdGBnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdy0tJHsgZGlyZWN0aW9uIH1gLFxuXHRcdFx0XHR7ICdnb29nbGVzaXRla2l0LWNoYW5nZS1h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0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/ChangeArrow.js\n");

/***/ }),

/***/ "./js/components/IconWrapper.js":
/*!**************************************!*\
  !*** ./js/components/IconWrapper.js ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return IconWrapper; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n\n/**\n * IconWrapper component.\n *\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\nfunction IconWrapper(_ref) {\n  var children = _ref.children,\n    marginLeft = _ref.marginLeft,\n    marginRight = _ref.marginRight;\n  return /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-icon-wrapper\",\n    style: {\n      marginLeft: marginLeft,\n      marginRight: marginRight\n    }\n  }, children);\n}\nIconWrapper.propTypes = {\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,\n  marginLeft: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  marginRight: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ljb25XcmFwcGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JY29uV3JhcHBlci5qcz82NzBlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSWNvbldyYXBwZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVc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UNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/IconWrapper.js\n");

/***/ }),

/***/ "./js/components/Link.js":
/*!*******************************!*\
  !*** ./js/components/Link.js ***!
  \*******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ \"../node_modules/react-router-dom/esm/react-router-dom.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _svg_icons_arrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/svg/icons/arrow.svg */ \"./svg/icons/arrow.svg\");\n/* harmony import */ var _svg_icons_arrow_inverse_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/svg/icons/arrow-inverse.svg */ \"./svg/icons/arrow-inverse.svg\");\n/* harmony import */ var _svg_icons_back_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/svg/icons/back.svg */ \"./svg/icons/back.svg\");\n/* harmony import */ var _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/svg/icons/external.svg */ \"./svg/icons/external.svg\");\n/* harmony import */ var _IconWrapper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./IconWrapper */ \"./js/components/IconWrapper.js\");\n\n\n\n/**\n * Link component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nvar BUTTON = 'BUTTON';\nvar BUTTON_DISABLED = 'BUTTON_DISABLED';\nvar EXTERNAL_LINK = 'EXTERNAL_LINK';\nvar LINK = 'LINK';\nvar ROUTER_LINK = 'ROUTER_LINK';\nvar Link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (props, ref) {\n  var ariaLabelProp = props['aria-label'],\n    _props$secondary = props.secondary,\n    secondary = _props$secondary === void 0 ? false : _props$secondary,\n    _props$arrow = props.arrow,\n    arrow = _props$arrow === void 0 ? false : _props$arrow,\n    _props$back = props.back,\n    back = _props$back === void 0 ? false : _props$back,\n    _props$caps = props.caps,\n    caps = _props$caps === void 0 ? false : _props$caps,\n    children = props.children,\n    _props$className = props.className,\n    className = _props$className === void 0 ? '' : _props$className,\n    _props$danger = props.danger,\n    danger = _props$danger === void 0 ? false : _props$danger,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$external = props.external,\n    external = _props$external === void 0 ? false : _props$external,\n    _props$hideExternalIn = props.hideExternalIndicator,\n    hideExternalIndicator = _props$hideExternalIn === void 0 ? false : _props$hideExternalIn,\n    _props$href = props.href,\n    href = _props$href === void 0 ? '' : _props$href,\n    _props$inverse = props.inverse,\n    inverse = _props$inverse === void 0 ? false : _props$inverse,\n    _props$noFlex = props.noFlex,\n    noFlex = _props$noFlex === void 0 ? false : _props$noFlex,\n    onClick = props.onClick,\n    _props$small = props.small,\n    small = _props$small === void 0 ? false : _props$small,\n    _props$standalone = props.standalone,\n    standalone = _props$standalone === void 0 ? false : _props$standalone,\n    _props$linkButton = props.linkButton,\n    linkButton = _props$linkButton === void 0 ? false : _props$linkButton,\n    to = props.to,\n    leadingIcon = props.leadingIcon,\n    trailingIcon = props.trailingIcon,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(props, [\"aria-label\", \"secondary\", \"arrow\", \"back\", \"caps\", \"children\", \"className\", \"danger\", \"disabled\", \"external\", \"hideExternalIndicator\", \"href\", \"inverse\", \"noFlex\", \"onClick\", \"small\", \"standalone\", \"linkButton\", \"to\", \"leadingIcon\", \"trailingIcon\"]);\n  function getType() {\n    // Force button element if `onClick` prop is passed and there's no `href`\n    // or `to` prop.\n    if (!href && !to && onClick) {\n      if (disabled) {\n        return BUTTON_DISABLED;\n      }\n      return BUTTON;\n    }\n\n    // Only `RouterLink` uses the `to` prop.\n    if (to) {\n      return ROUTER_LINK;\n    }\n\n    // The external prop means this is an external link, which will also output\n    // an `<a>` tag.\n    if (external) {\n      return EXTERNAL_LINK;\n    }\n\n    // A regular `<a>` tag without external indicators.\n    return LINK;\n  }\n  var type = getType();\n  function getLinkComponent() {\n    if (type === BUTTON || type === BUTTON_DISABLED) {\n      return 'button';\n    }\n    if (type === ROUTER_LINK) {\n      return react_router_dom__WEBPACK_IMPORTED_MODULE_5__[\"Link\"];\n    }\n    return 'a';\n  }\n  function getAriaLabel() {\n    // Otherwise, create an ARIA label if the link opens in a new window\n    // or is disabled, to add extra context to the link.\n    var labelSuffix;\n    if (type === EXTERNAL_LINK) {\n      labelSuffix = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('(opens in a new tab)', 'screen reader text', 'google-site-kit');\n    }\n    if (type === BUTTON_DISABLED) {\n      labelSuffix = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('(disabled)', 'screen reader text', 'google-site-kit');\n    }\n    if (!labelSuffix) {\n      return ariaLabelProp;\n    }\n\n    // If an ARIA label was supplied, use that.\n    if (ariaLabelProp) {\n      return \"\".concat(ariaLabelProp, \" \").concat(labelSuffix);\n    }\n\n    // Otherwise, use the children prop if it's a string.\n    if (typeof children === 'string') {\n      return \"\".concat(children, \" \").concat(labelSuffix);\n    }\n\n    // If there isn't a string we can use to create the label, we shouldn't\n    // make one; otherwise we'll only create an ARIA label that says\n    // \"(opens in a new tab)\", which is not good.\n    return undefined;\n  }\n  var LinkComponent = getLinkComponent();\n  var ariaLabel = getAriaLabel();\n\n  // Set the prefix/suffix icons, based on the type of link this is and\n  // the props supplied.\n  var leadingIconToUse = leadingIcon;\n  var trailingIconToUse = trailingIcon;\n  if (back) {\n    leadingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_back_svg__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  if (external && !hideExternalIndicator) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  if (arrow && !inverse) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_arrow_svg__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  if (arrow && inverse) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_arrow_inverse_svg__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  return /*#__PURE__*/React.createElement(LinkComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    \"aria-label\": ariaLabel,\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-cta-link', className, {\n      'googlesitekit-cta-link--secondary': secondary,\n      'googlesitekit-cta-link--inverse': inverse,\n      'googlesitekit-cta-link--small': small,\n      'googlesitekit-cta-link--caps': caps,\n      'googlesitekit-cta-link--danger': danger,\n      'googlesitekit-cta-link--disabled': disabled,\n      'googlesitekit-cta-link--standalone': standalone,\n      'googlesitekit-cta-link--link-button': linkButton,\n      'googlesitekit-cta-link--no-flex': !!noFlex\n    }),\n    disabled: disabled,\n    href: (type === LINK || type === EXTERNAL_LINK) && !disabled ? href : undefined,\n    onClick: onClick,\n    rel: type === EXTERNAL_LINK ? 'noopener noreferrer' : undefined,\n    ref: ref,\n    target: type === EXTERNAL_LINK ? '_blank' : undefined,\n    to: to\n  }, otherProps), !!leadingIconToUse && /*#__PURE__*/React.createElement(_IconWrapper__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    marginRight: 5\n  }, leadingIconToUse), /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-cta-link__contents\"\n  }, children), !!trailingIconToUse && /*#__PURE__*/React.createElement(_IconWrapper__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    marginLeft: 5\n  }, trailingIconToUse));\n});\nLink.propTypes = {\n  arrow: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  back: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  caps: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  danger: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  external: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  hideExternalIndicator: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  inverse: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  leadingIcon: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node,\n  linkButton: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  noFlex: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func,\n  small: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  standalone: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  to: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  trailingIcon: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Link);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/Link.js\n");

/***/ }),

/***/ "./js/components/Notice/CTAButton.js":
/*!*******************************************!*\
  !*** ./js/components/Notice/CTAButton.js ***!
  \*******************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return CTAButton; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/icons/external.svg */ \"./svg/icons/external.svg\");\n\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nfunction CTAButton(_ref) {\n  var label = _ref.label,\n    disabled = _ref.disabled,\n    inProgress = _ref.inProgress,\n    onClick = _ref.onClick,\n    href = _ref.href,\n    external = _ref.external,\n    hideExternalIndicator = _ref.hideExternalIndicator;\n  var trailingIconToUse;\n  if (external && !hideExternalIndicator) {\n    trailingIconToUse = /*#__PURE__*/React.createElement(_svg_icons_external_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      width: 14,\n      height: 14\n    });\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"SpinnerButton\"], {\n    className: \"googlesitekit-notice__cta\",\n    disabled: disabled,\n    isSaving: inProgress,\n    onClick: onClick,\n    href: href,\n    target: external ? '_blank' : '_self',\n    trailingIcon: trailingIconToUse\n  }, label);\n}\nCTAButton.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  inProgress: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,\n  href: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  external: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  hideExternalIndicator: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9DVEFCdXR0b24uanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL05vdGljZS9DVEFCdXR0b24uanM/NDQ1NCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUy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QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/CTAButton.js\n");

/***/ }),

/***/ "./js/components/Notice/Description.js":
/*!*********************************************!*\
  !*** ./js/components/Notice/Description.js ***!
  \*********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Description; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\nfunction Description(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-notice__description', className)\n  }, children);\n}\nDescription.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9EZXNjcmlwdGlvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvTm90aWNlL0Rlc2NyaXB0aW9uLmpzPzA0YmMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSB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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/Notice/Description.js\n");

/***/ }),

/***/ "./js/components/Notice/DismissButton.js":
/*!***********************************************!*\
  !*** ./js/components/Notice/DismissButton.js ***!
  \***********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DismissButton; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__);\n\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nfunction DismissButton(_ref) {\n  var _ref$label = _ref.label,\n    label = _ref$label === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Got it', 'google-site-kit') : _ref$label,\n    onClick = _ref.onClick,\n    disabled = _ref.disabled;\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: onClick,\n    disabled: disabled,\n    tertiary: true\n  }, label);\n}\nDismissButton.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func.isRequired,\n  disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9EaXNtaXNzQnV0dG9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Ob3RpY2UvRGlzbWlzc0J1dHRvbi5qcz8wMmY5Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogT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vbmVudHMnO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBEaXNtaXNzQnV0dG9uKCB7XG5cdGxhYmVsID0gX18oICdHb3QgaXQnLCAnZ29vZ2xlLXNpdGUta2l0JyApLFxuXHRvbkNsaWNrLFxuXHRkaXNhYmxlZCxcbn0gKSB7XG5cdHJldHVybiAoXG5cdFx0PEJ1dHRvbiBvbkNsaWNrPXsgb25DbGljayB9IGRpc2FibGVkPXsgZGlzYWJsZWQgfSB0ZXJ0aWFyeT5cblx0XHRcdHsgbGFiZWwgfVxuXHRcdDwvQnV0dG9uPlxuXHQpO1xufVxuXG5EaXNtaXNzQnV0dG9uLnByb3BUeXBlcyA9IHtcblx0bGFiZWw6IFByb3BUeXBlcy5zdHJpbmcsXG5cdG9uQ2xpY2s6IFByb3BUeXBlcy5mdW5jLmlzUmVxdWlyZWQsXG5cdGRpc2FibGVkOiBQcm9wVHlwZXMuYm9vbCxcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUlBO0FBSEE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/DismissButton.js\n");

/***/ }),

/***/ "./js/components/Notice/Icon.js":
/*!**************************************!*\
  !*** ./js/components/Notice/Icon.js ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Icon; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/icons/check-fill.svg */ \"./svg/icons/check-fill.svg\");\n/* harmony import */ var _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/warning-notice.svg */ \"./svg/icons/warning-notice.svg\");\n/* harmony import */ var _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/icons/star-fill.svg */ \"./svg/icons/star-fill.svg\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/Notice/constants.js\");\n\nvar _typeIconMap;\n\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nvar typeIconMap = (_typeIconMap = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].NEW, _svg_icons_star_fill_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].SUCCESS, _svg_icons_check_fill_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].INFO, _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].WARNING, _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_typeIconMap, _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"].ERROR, _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"]), _typeIconMap);\nfunction Icon(_ref) {\n  var type = _ref.type;\n  var IconComponent = typeIconMap[type] || _svg_icons_warning_notice_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n  return /*#__PURE__*/React.createElement(IconComponent, {\n    width: 24,\n    height: 24\n  });\n}\nIcon.propTypes = {\n  type: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf(Object.values(_constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPES\"]))\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9JY29uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Ob3RpY2UvSWNvbi5qcz81OWQ1Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZI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QgfSAvPjtcbn1cblxuSWNvbi5wcm9wVHlwZXMgPSB7XG5cdHR5cGU6IFByb3BUeXBlcy5vbmVPZiggT2JqZWN0LnZhbHVlcyggVFlQRVMgKSApLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBUUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/Icon.js\n");

/***/ }),

/***/ "./js/components/Notice/Title.js":
/*!***************************************!*\
  !*** ./js/components/Notice/Title.js ***!
  \***************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Title; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\nfunction Title(_ref) {\n  var className = _ref.className,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"p\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-notice__title', className)\n  }, children);\n}\nTitle.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9UaXRsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvTm90aWNlL1RpdGxlLmpzP2U1NmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMg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lwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Notice/Title.js\n");

/***/ }),

/***/ "./js/components/Notice/constants.js":
/*!*******************************************!*\
  !*** ./js/components/Notice/constants.js ***!
  \*******************************************/
/*! exports provided: TYPES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPES\", function() { return TYPES; });\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar TYPES = {\n  NEW: 'new',\n  SUCCESS: 'success',\n  WARNING: 'warning',\n  INFO: 'info',\n  ERROR: 'error'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9jb25zdG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cdFdBUk5JTkc6ICd3YXJuaW5nJyxcblx0SU5GTzogJ2luZm8nLFxuXHRFUlJPUjogJ2Vycm9yJyxcbn07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Notice/constants.js\n");

/***/ }),

/***/ "./js/components/Notice/index.js":
/*!***************************************!*\
  !*** ./js/components/Notice/index.js ***!
  \***************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _Icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Icon */ \"./js/components/Notice/Icon.js\");\n/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Title */ \"./js/components/Notice/Title.js\");\n/* harmony import */ var _Description__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Description */ \"./js/components/Notice/Description.js\");\n/* harmony import */ var _CTAButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CTAButton */ \"./js/components/Notice/CTAButton.js\");\n/* harmony import */ var _DismissButton__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./DismissButton */ \"./js/components/Notice/DismissButton.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./constants */ \"./js/components/Notice/constants.js\");\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Site Kit by Google, Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\nvar Notice = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    title = _ref.title,\n    description = _ref.description,\n    dismissButton = _ref.dismissButton,\n    ctaButton = _ref.ctaButton,\n    _ref$type = _ref.type,\n    type = _ref$type === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_9__[\"TYPES\"].INFO : _ref$type,\n    children = _ref.children,\n    hideIcon = _ref.hideIcon;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-notice', \"googlesitekit-notice--\".concat(type), className)\n  }, !hideIcon && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__icon\"\n  }, /*#__PURE__*/React.createElement(_Icon__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    type: type\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__content\"\n  }, title && /*#__PURE__*/React.createElement(_Title__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null, title), description && /*#__PURE__*/React.createElement(_Description__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null, description)), ((dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.label) || (dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.onClick) || (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.label) && ((ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.onClick) || (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.href)) || children) && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-notice__action\"\n  }, children, ((dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.label) || (dismissButton === null || dismissButton === void 0 ? void 0 : dismissButton.onClick)) && /*#__PURE__*/React.createElement(_DismissButton__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    label: dismissButton.label,\n    onClick: dismissButton.onClick,\n    disabled: dismissButton.disabled\n  }), (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.label) && ((ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.onClick) || (ctaButton === null || ctaButton === void 0 ? void 0 : ctaButton.href)) && /*#__PURE__*/React.createElement(_CTAButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    label: ctaButton.label,\n    onClick: ctaButton.onClick,\n    inProgress: ctaButton.inProgress,\n    disabled: ctaButton.disabled,\n    href: ctaButton.href,\n    external: ctaButton.external,\n    hideExternalIndicator: ctaButton.hideExternalIndicator\n  })));\n});\nNotice.TYPES = _constants__WEBPACK_IMPORTED_MODULE_9__[\"TYPES\"];\nNotice.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string,\n  title: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.object]),\n  description: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  type: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf(Object.values(_constants__WEBPACK_IMPORTED_MODULE_9__[\"TYPES\"])),\n  dismissButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_DismissButton__WEBPACK_IMPORTED_MODULE_8__[\"default\"].propTypes),\n  ctaButton: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape(_objectSpread(_objectSpread({}, _CTAButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"].propTypes), {}, {\n    label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string // CTAButton label should not be required for this parent component.\n  })),\n  children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.node,\n  hideIcon: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notice);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/Notice/index.js\n");

/***/ }),

/***/ "./js/components/notifications/AdBlockerWarning.js":
/*!*********************************************************!*\
  !*** ./js/components/notifications/AdBlockerWarning.js ***!
  \*********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AdBlockerWarning; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _AdBlockerWarningMessage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AdBlockerWarningMessage */ \"./js/components/notifications/AdBlockerWarningMessage.js\");\n\n/**\n * AdSense AdBlockerWarning component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction AdBlockerWarning(_ref) {\n  var moduleSlug = _ref.moduleSlug,\n    className = _ref.className;\n  var storeName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(moduleSlug);\n  });\n  var adBlockerWarningMessage = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    var _select;\n    return (_select = select(storeName)) === null || _select === void 0 ? void 0 : _select.getAdBlockerWarningMessage();\n  });\n  var getHelpLink = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_SITE\"]).getDocumentationLinkURL(\"\".concat(moduleSlug, \"-ad-blocker-detected\"));\n  });\n  return /*#__PURE__*/React.createElement(_AdBlockerWarningMessage__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    className: className,\n    getHelpLink: getHelpLink,\n    warningMessage: adBlockerWarningMessage\n  });\n}\nAdBlockerWarning.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  moduleSlug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQWRCbG9ja2VyV2FybmluZy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvbm90aWZpY2F0aW9ucy9BZEJsb2NrZXJXYXJuaW5nLmpzPzkzNjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBZFNlbnNlIEFkQmxvY2tlcldhcm5pbmcgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZ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UNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBR0E7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/notifications/AdBlockerWarning.js\n");

/***/ }),

/***/ "./js/components/notifications/AdBlockerWarningMessage.js":
/*!****************************************************************!*\
  !*** ./js/components/notifications/AdBlockerWarningMessage.js ***!
  \****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AdBlockerWarningMessage; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _svg_icons_external_rounded_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/external-rounded.svg */ \"./svg/icons/external-rounded.svg\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * AdBlockerWarningMessage component.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction AdBlockerWarningMessage(_ref) {\n  var _ref$getHelpLink = _ref.getHelpLink,\n    getHelpLink = _ref$getHelpLink === void 0 ? '' : _ref$getHelpLink,\n    _ref$warningMessage = _ref.warningMessage,\n    warningMessage = _ref$warningMessage === void 0 ? null : _ref$warningMessage;\n  if (!warningMessage) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    className: \"googlesitekit-notice--small\",\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_5__[\"default\"].TYPES.WARNING,\n    description: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: The warning message. 2: \"Get help\" text. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%1$s. <Link><Strong>%2$s</Strong></Link>', 'google-site-kit'), warningMessage, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Get help', 'google-site-kit')), {\n      Link: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n        href: getHelpLink,\n        trailingIcon: /*#__PURE__*/React.createElement(_svg_icons_external_rounded_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n          width: 15,\n          height: 15\n        }),\n        external: true,\n        hideExternalIndicator: true\n      }),\n      Strong: /*#__PURE__*/React.createElement(\"strong\", null)\n    }),\n    hideIcon: true\n  });\n}\nAdBlockerWarningMessage.propTypes = {\n  getHelpLink: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  warningMessage: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQWRCbG9ja2VyV2FybmluZ01lc3NhZ2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvQWRCbG9ja2VyV2FybmluZ01lc3NhZ2UuanM/NzM5NSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEFkQmxvY2tlcldhcm5pbmdNZXNzYWdlIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJ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0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/notifications/AdBlockerWarningMessage.js\n");

/***/ }),

/***/ "./js/components/notifications/ModuleSettingsWarning.js":
/*!**************************************************************!*\
  !*** ./js/components/notifications/ModuleSettingsWarning.js ***!
  \**************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return ModuleSettingsWarning; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _AdBlockerWarning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AdBlockerWarning */ \"./js/components/notifications/AdBlockerWarning.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * ModuleSettingsWarning component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction ModuleSettingsWarning(_ref) {\n  var slug = _ref.slug;\n  var error = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    var _select;\n    return (_select = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_MODULES\"])) === null || _select === void 0 ? void 0 : _select.getCheckRequirementsError(slug);\n  });\n  if (!error) {\n    return null;\n  }\n\n  // The AdBlockerWarning component also renders the \"Get help\"\n  // documentation URL in addition to the error message.\n  if (_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_3__[\"ERROR_CODE_ADBLOCKER_ACTIVE\"] === error.code) {\n    return /*#__PURE__*/React.createElement(_AdBlockerWarning__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      moduleSlug: slug\n    });\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    className: \"googlesitekit-notice--small\",\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_5__[\"default\"].TYPES.WARNING,\n    description: error.message,\n    hideIcon: true\n  });\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvTW9kdWxlU2V0dGluZ3NXYXJuaW5nLmp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E5vdGljZVxuXHRcdFx0Y2xhc3NOYW1lPVwiZ29vZ2xlc2l0ZWtpdC1ub3RpY2UtLXNtYWxsXCJcblx0XHRcdHR5cGU9eyBOb3RpY2UuVFlQRVMuV0FSTklORyB9XG5cdFx0XHRkZXNjcmlwdGlvbj17IGVycm9yLm1lc3NhZ2UgfVxuXHRcdFx0aGlkZUljb25cblx0XHQvPlxuXHQpO1xufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFHQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/notifications/ModuleSettingsWarning.js\n");

/***/ }),

/***/ "./js/components/settings/DefaultSettingsSetupIncomplete.js":
/*!******************************************************************!*\
  !*** ./js/components/settings/DefaultSettingsSetupIncomplete.js ***!
  \******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return DefaultSettingsSetupIncomplete; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_notifications_ModuleSettingsWarning_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/notifications/ModuleSettingsWarning.js */ \"./js/components/notifications/ModuleSettingsWarning.js\");\n/* harmony import */ var _js_material_components_layout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/material-components/layout */ \"./js/material-components/layout/index.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n\n/**\n * DefaultSettingsSetupIncomplete component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\nfunction DefaultSettingsSetupIncomplete(_ref) {\n  var slug = _ref.slug;\n  var storeName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n  });\n  var adminReauthURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var _select, _select$getAdminReaut;\n    return (_select = select(storeName)) === null || _select === void 0 ? void 0 : (_select$getAdminReaut = _select.getAdminReauthURL) === null || _select$getAdminReaut === void 0 ? void 0 : _select$getAdminReaut.call(_select);\n  });\n  var requirementsError = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    var _select2;\n    return (_select2 = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_MODULES\"])) === null || _select2 === void 0 ? void 0 : _select2.getCheckRequirementsError(slug);\n  });\n  return /*#__PURE__*/React.createElement(_js_material_components_layout__WEBPACK_IMPORTED_MODULE_6__[\"Cell\"], {\n    size: 12\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__fields-group googlesitekit-settings-module__fields-group--no-border\"\n  }, /*#__PURE__*/React.createElement(_js_components_notifications_ModuleSettingsWarning_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    slug: slug\n  })), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__fields-group-title\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Setup incomplete: <a>continue module setup</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      className: \"googlesitekit-settings-module__edit-button\",\n      href: adminReauthURL,\n      disabled: requirementsError ? true : false\n    })\n  })));\n}\nDefaultSettingsSetupIncomplete.propTypes = {\n  slug: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/components/settings/DefaultSettingsSetupIncomplete.js\n");

/***/ }),

/***/ "./js/features/index.js":
/*!******************************!*\
  !*** ./js/features/index.js ***!
  \******************************/
/*! exports provided: enabledFeatures, isFeatureEnabled */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enabledFeatures\", function() { return enabledFeatures; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isFeatureEnabled\", function() { return isFeatureEnabled; });\nvar _global, _global$_googlesiteki;\n/**\n * Feature flags.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar enabledFeatures = new Set(((_global = global) === null || _global === void 0 ? void 0 : (_global$_googlesiteki = _global._googlesitekitBaseData) === null || _global$_googlesiteki === void 0 ? void 0 : _global$_googlesiteki.enabledFeatures) || []);\n\n/**\n * Returns true if a feature is enabled; false otherwise.\n *\n * @since 1.25.0\n * @since 1.33.0 Changed _enabledFeatures argument to be a `Set` instead of `Array`.\n *\n * @param {string} feature            The name of the feature to check.\n * @param {Set}    [_enabledFeatures] Optional. The set of enabled features. Uses `enabledFeatures` set by the server in a global JS variable, by default.\n * @return {boolean} `true` if a feature is enabled; `false` otherwise.\n */\nfunction isFeatureEnabled(feature) {\n  var _enabledFeatures = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : enabledFeatures;\n  if (!(_enabledFeatures instanceof Set)) {\n    return false;\n  }\n  return _enabledFeatures.has(feature);\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlcy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmVzL2luZGV4LmpzPzgyM2MiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBGZWF0dXJlIGZsYWdzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGh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kRmVhdHVyZXNdIE9wdGlvbmFsLiBUaGUgc2V0IG9mIGVuYWJsZWQgZmVhdHVyZXMuIFVzZXMgYGVuYWJsZWRGZWF0dXJlc2Agc2V0IGJ5IHRoZSBzZXJ2ZXIgaW4gYSBnbG9iYWwgSlMgdmFyaWFibGUsIGJ5IGRlZmF1bHQuXG4gKiBAcmV0dXJuIHtib29sZWFufSBgdHJ1ZWAgaWYgYSBmZWF0dXJlIGlzIGVuYWJsZWQ7IGBmYWxzZWAgb3RoZXJ3aXNlLlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNGZWF0dXJlRW5hYmxlZChcblx0ZmVhdHVyZSxcblx0X2VuYWJsZWRGZWF0dXJlcyA9IGVuYWJsZWRGZWF0dXJlc1xuKSB7XG5cdGlmICggISAoIF9lbmFibGVkRmVhdHVyZXMgaW5zdGFuY2VvZiBTZXQgKSApIHtcblx0XHRyZXR1cm4gZmFsc2U7XG5cdH1cblx0cmV0dXJuIF9lbmFibGVkRmVhdHVyZXMuaGFzKCBmZWF0dXJlICk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/features/index.js\n");

/***/ }),

/***/ "./js/googlesitekit-modules.js":
/*!*************************************!*\
  !*** ./js/googlesitekit-modules.js ***!
  \*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./googlesitekit/modules */ \"./js/googlesitekit/modules/index.js\");\n/**\n * Modules API.\n *\n * Provides API functions to manage modules.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\nObject(_googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1__[\"registerStore\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default.a);\nvar Modules = Object(_googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1__[\"createModules\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default.a);\nif (typeof global.googlesitekit === 'undefined') {\n  global.googlesitekit = {};\n}\nglobal.googlesitekit.modules = Modules;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Modules);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LW1vZHVsZXMuanMuanMi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mFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgRGF0YSBmcm9tICdnb29nbGVzaXRla2l0LWRhdGEnO1xuaW1wb3J0IHsgY3JlYXRlTW9kdWxlcywgcmVnaXN0ZXJTdG9yZSB9IGZyb20gJy4vZ29vZ2xlc2l0ZWtpdC9tb2R1bGVzJztcblxucmVnaXN0ZXJTdG9yZSggRGF0YSApO1xuXG5jb25zdCBNb2R1bGVzID0gY3JlYXRlTW9kdWxlcyggRGF0YSApO1xuXG5pZiAoIHR5cGVvZiBnbG9iYWwuZ29vZ2xlc2l0ZWtpdCA9PT0gJ3VuZGVmaW5lZCcgKSB7XG5cdGdsb2JhbC5nb29nbGVzaXRla2l0ID0ge307XG59XG5cbmdsb2JhbC5nb29nbGVzaXRla2l0Lm1vZHVsZXMgPSBNb2R1bGVzO1xuXG5leHBvcnQgZGVmYXVsdCBNb2R1bGVzO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit-modules.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-error-store.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/data/create-error-store.js ***!
  \*****************************************************/
/*! exports provided: generateErrorKey, actions, createErrorStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generateErrorKey\", function() { return generateErrorKey; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createErrorStore\", function() { return createErrorStore; });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! md5 */ \"../node_modules/md5/md5.js\");\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n\n/**\n * API function to create fetch store.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * External dependencies\n */\n\n\nvar RECEIVE_ERROR = 'RECEIVE_ERROR';\nvar CLEAR_ERROR = 'CLEAR_ERROR';\nvar CLEAR_ERRORS = 'CLEAR_ERRORS';\n\n/**\n * Internal dependencies\n */\n\n\nfunction generateErrorKey(baseName, args) {\n  if (args && Array.isArray(args)) {\n    var stringifiedArgs = args.map(function (item) {\n      return 'object' === _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(item) ? Object(_js_util__WEBPACK_IMPORTED_MODULE_4__[\"stringifyObject\"])(item) : item;\n    });\n    return \"\".concat(baseName, \"::\").concat(md5__WEBPACK_IMPORTED_MODULE_3___default()(JSON.stringify(stringifiedArgs)));\n  }\n  return baseName;\n}\nvar actions = {\n  receiveError: function receiveError(error, baseName) {\n    var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(error, 'error is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(args && Array.isArray(args), 'args must be an array.');\n    return {\n      type: RECEIVE_ERROR,\n      payload: {\n        error: error,\n        baseName: baseName,\n        args: args\n      }\n    };\n  },\n  clearError: function clearError(baseName) {\n    var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(args && Array.isArray(args), 'args must be an array.');\n    return {\n      type: CLEAR_ERROR,\n      payload: {\n        baseName: baseName,\n        args: args\n      }\n    };\n  },\n  clearErrors: function clearErrors(baseName) {\n    return {\n      type: CLEAR_ERRORS,\n      payload: {\n        baseName: baseName\n      }\n    };\n  }\n};\nfunction createErrorStore(storeName) {\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(storeName, 'storeName must be defined.');\n  var initialState = {\n    errors: {},\n    errorArgs: {}\n  };\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createReducer\"])(function (state, _ref) {\n    var type = _ref.type,\n      payload = _ref.payload;\n    switch (type) {\n      case RECEIVE_ERROR:\n        {\n          var baseName = payload.baseName,\n            args = payload.args,\n            error = payload.error;\n          var key = generateErrorKey(baseName, args);\n          state.errors = state.errors || {};\n          state.errorArgs = state.errorArgs || {};\n          state.errors[key] = error;\n          state.errorArgs[key] = args;\n          break;\n        }\n      case CLEAR_ERROR:\n        {\n          var _baseName = payload.baseName,\n            _args = payload.args;\n          var _key = generateErrorKey(_baseName, _args);\n          state.errors = state.errors || {};\n          state.errorArgs = state.errorArgs || {};\n          delete state.errors[_key];\n          delete state.errorArgs[_key];\n          break;\n        }\n      case CLEAR_ERRORS:\n        {\n          var _baseName2 = payload.baseName;\n          if (_baseName2) {\n            state.errors = state.errors || {};\n            state.errorArgs = state.errorArgs || {};\n            for (var _key2 in state.errors) {\n              if (_key2 === _baseName2 || _key2.startsWith(\"\".concat(_baseName2, \"::\"))) {\n                delete state.errors[_key2];\n                delete state.errorArgs[_key2];\n              }\n            }\n          } else {\n            state.errors = {};\n            state.errorArgs = {};\n          }\n          break;\n        }\n    }\n  });\n  var controls = {};\n  var resolvers = {};\n  var selectors = {\n    /**\n     * Retrieves the error object from state.\n     *\n     * Error object has the format:\n     *\n     * ```\n     * {\n     *   code: <String>,\n     *   message: <String>,\n     *   data: <Object>\n     * }\n     * ```\n     *\n     * @since 1.15.0\n     *\n     * @param {Object}      state        Data store's state.\n     * @param {string}      selectorName Selector name.\n     * @param {Array.<any>} [args]       Arguments passed to selector (default `[]`).\n     * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n     */\n    getErrorForSelector: function getErrorForSelector(state, selectorName) {\n      var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(selectorName, 'selectorName is required.');\n      return selectors.getError(state, selectorName, args);\n    },\n    /**\n     * Retrieves the error object from state.\n     *\n     *```\n     * {\n     *   code: <String>,\n     *   message: <String>,\n     *   data: <Object>\n     * }\n     * ```\n     *\n     * @since 1.15.0\n     *\n     * @param {Object}      state      Data store's state.\n     * @param {string}      actionName Action name.\n     * @param {Array.<any>} [args]     Arguments passed to action (default `[]`).\n     * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n     */\n    getErrorForAction: function getErrorForAction(state, actionName) {\n      var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(actionName, 'actionName is required.');\n      return selectors.getError(state, actionName, args);\n    },\n    /**\n     * Retrieves the error object from state.\n     *\n     *```\n     * {\n     *   code: <String>,\n     *   message: <String>,\n     *   data: <Object>\n     * }\n     * ```\n     *\n     * @since 1.15.0\n     * @private\n     *\n     * @param {Object}      state      Data store's state.\n     * @param {string}      [baseName] Selector or action name.\n     * @param {Array.<any>} [args]     Arguments array.\n     * @return {(Object|undefined)} Error object if exists, otherwise undefined.\n     */\n    getError: function getError(state, baseName, args) {\n      var errors = state.errors;\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n      return errors[generateErrorKey(baseName, args)];\n    },\n    /**\n     * Gets a list of all unique errors.\n     *\n     * @since 1.19.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {Object[]} Unique set of errors.\n     */\n    getErrors: function getErrors(state) {\n      var errorsSet = new Set(Object.values(state.errors));\n      return Array.from(errorsSet);\n    },\n    /**\n     * Gets the meta-data for a given error object, or null if the error is not found.\n     *\n     * Returns meta-data in the format:\n     *\n     * ```\n     *\t{\n     *\t\tbaseName: <string>,\n     *\t\targs: <Array>\n     *\t}\n     * ```\n     *\n     * @since 1.84.0\n     *\n     * @param {Object} state Data store's state.\n     * @param {Object} error Error object.\n     * @return {Object|null} Meta-data for the given error object, or null if the error is not found.\n     */\n    getMetaDataForError: function getMetaDataForError(state, error) {\n      var key = Object.keys(state.errors).find(function (errorKey) {\n        return state.errors[errorKey] === error;\n      });\n      if (key) {\n        var baseName = key.substring(0, key.indexOf('::'));\n        return {\n          baseName: baseName,\n          args: state.errorArgs[key]\n        };\n      }\n      return null;\n    },\n    /**\n     * Gets the selector data for a given error object, or null if no selector data is available.\n     *\n     * Returns selector data in the format:\n     *\n     * ```\n     *\t{\n     *\t\tstoreName: <string>,\n     *\t\tname: <string>,\n     *\t\targs: <Array>\n     *\t}\n     * ```\n     *\n     * @since 1.87.0\n     *\n     * @param {Object} state Data store's state.\n     * @param {Object} error Error object.\n     * @return {Object|null} Selector data for the given error object, or null if no selector data is available.\n     */\n    getSelectorDataForError: Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__[\"createRegistrySelector\"])(function (select) {\n      return function (state, error) {\n        var metaData = select(storeName).getMetaDataForError(error);\n        if (metaData) {\n          var name = metaData.baseName,\n            args = metaData.args;\n          var isSelector = !!select(storeName)[name];\n          if (isSelector) {\n            return {\n              storeName: storeName,\n              name: name,\n              args: args\n            };\n          }\n        }\n        return null;\n      };\n    }),\n    /**\n     * Determines whether the datastore has errors or not.\n     *\n     * @since 1.15.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} TRUE if the datastore has errors, otherwise FALSE.\n     */\n    hasErrors: function hasErrors(state) {\n      return selectors.getErrors(state).length > 0;\n    }\n  };\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-error-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-fetch-store.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/data/create-fetch-store.js ***!
  \*****************************************************/
/*! exports provided: createFetchStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createFetchStore\", function() { return createFetchStore; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _create_error_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _transform_case__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./transform-case */ \"./js/googlesitekit/data/transform-case.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__);\n\n\n/**\n * API function to create fetch store.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction defaultReducerCallback(state) {\n  return state;\n}\nfunction defaultArgsToParams() {\n  return {};\n}\nfunction defaultValidateParams() {}\n\n// Get access to error store action creators.\n// If the parent store doesn't include the error store,\n// yielded error actions will be a no-op.\nvar clearError = _create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"actions\"].clearError,\n  receiveError = _create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"actions\"].receiveError;\n/**\n * Creates a store object implementing the necessary infrastructure for a\n * single fetch action.\n *\n * This function returns a partial store object with the following:\n * * action creators to fetch and to receive the data\n * * control to issue the API request\n * * reducer to set API request flag and receive the response\n * * selector to check whether the API request is in progress via a flag\n *\n * The names of the pieces are based on the baseName provided.\n * For example, if baseName is 'saveSettings':\n * * The fetch action creator is called 'fetchSaveSettings'.\n * * The receive action creator is called 'receiveSaveSettings'.\n * * The fetching selector is called 'isFetchingSaveSettings'.\n *\n * All parts of the returned store objects should be considered internal. A\n * public action or selector should be implemented to actually call the\n * fetch action included in the returned store object.\n *\n * For example, if the fetch store is intended for an API-based\n * action 'storeMySetting':\n * * The basename passed should be 'storeMySetting'.\n * * The action 'storeMySetting' should call 'fetchStoreMySetting'.\n *\n * Or, if the fetch store is intended for an API-based selector\n * 'getSomeData':\n * * The baseName passed should be 'getSomeData'.\n * * The resolver for 'getSomeData' should call 'fetchGetSomeData'.\n *\n * @since 1.10.0\n * @private\n *\n * @param {Object}   args                   Arguments for creating the fetch store.\n * @param {string}   args.baseName          The base name to use for all the created infrastructure.\n * @param {Function} args.controlCallback   Callback function to issue the API request. Will be used inside the\n *                                          control. The function receives a params object based on argsToParams,\n *                                          i.e. the respective values passed to the action.\n * @param {Function} [args.reducerCallback] Optional. Callback function to modify state based on the API response.\n *                                          Will be used inside the reducer. The function receives the store's state\n *                                          object as first parameter, the API response as second parameter, and the\n *                                          params object for the request (see above) as third parameter. If not\n *                                          provided, the default will return the unmodified state.\n * @param {Function} [args.argsToParams]    Optional. Function that reduces the given list of arguments\n *                                          into a object of key/value parameters, with the argument names used as keys.\n *                                          If not provided, the default function will return an empty object,\n *                                          essentially indicating that no arguments are supported/required.\n * @param {Function} [args.validateParams]  Optional. Function that validates the given parameters object created by `argsToParams`.\n *                                          Any invalid parameters should cause a respective error to be thrown.\n * @return {Object} Partial store object with properties 'actions', 'controls', 'reducer', 'resolvers', and 'selectors'.\n */\nfunction createFetchStore(_ref) {\n  var _actions;\n  var _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(fetchGenerator);\n  var baseName = _ref.baseName,\n    controlCallback = _ref.controlCallback,\n    _ref$reducerCallback = _ref.reducerCallback,\n    reducerCallback = _ref$reducerCallback === void 0 ? defaultReducerCallback : _ref$reducerCallback,\n    _ref$argsToParams = _ref.argsToParams,\n    argsToParams = _ref$argsToParams === void 0 ? defaultArgsToParams : _ref$argsToParams,\n    _ref$validateParams = _ref.validateParams,\n    validateParams = _ref$validateParams === void 0 ? defaultValidateParams : _ref$validateParams;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(baseName, 'baseName is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof controlCallback, 'controlCallback is required and must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof reducerCallback, 'reducerCallback must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof argsToParams, 'argsToParams must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()('function' === typeof validateParams, 'validateParams must be a function.');\n\n  // If validating the result of argsToParams without any arguments does not result in an error, we\n  // know params is okay to be empty.\n  var requiresParams;\n  try {\n    validateParams(argsToParams());\n    requiresParams = false;\n  } catch (error) {\n    requiresParams = true;\n  }\n  var pascalCaseBaseName = Object(_transform_case__WEBPACK_IMPORTED_MODULE_5__[\"camelCaseToPascalCase\"])(baseName);\n  var constantBaseName = Object(_transform_case__WEBPACK_IMPORTED_MODULE_5__[\"camelCaseToConstantCase\"])(baseName);\n  var FETCH = \"FETCH_\".concat(constantBaseName);\n  var START_FETCH = \"START_\".concat(FETCH);\n  var FINISH_FETCH = \"FINISH_\".concat(FETCH);\n  var CATCH_FETCH = \"CATCH_\".concat(FETCH);\n  var RECEIVE = \"RECEIVE_\".concat(constantBaseName);\n  var fetchCreator = \"fetch\".concat(pascalCaseBaseName);\n  var receiveCreator = \"receive\".concat(pascalCaseBaseName);\n  var isFetching = \"isFetching\".concat(pascalCaseBaseName);\n  var initialState = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, isFetching, {});\n  function fetchGenerator(params, args) {\n    var response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function fetchGenerator$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return {\n              payload: {\n                params: params\n              },\n              type: START_FETCH\n            };\n          case 2:\n            _context.next = 4;\n            return clearError(baseName, args);\n          case 4:\n            _context.prev = 4;\n            _context.next = 7;\n            return {\n              payload: {\n                params: params\n              },\n              type: FETCH\n            };\n          case 7:\n            response = _context.sent;\n            _context.next = 10;\n            return actions[receiveCreator](response, params);\n          case 10:\n            _context.next = 12;\n            return {\n              payload: {\n                params: params\n              },\n              type: FINISH_FETCH\n            };\n          case 12:\n            _context.next = 21;\n            break;\n          case 14:\n            _context.prev = 14;\n            _context.t0 = _context[\"catch\"](4);\n            error = _context.t0;\n            _context.next = 19;\n            return receiveError(error, baseName, args);\n          case 19:\n            _context.next = 21;\n            return {\n              payload: {\n                params: params\n              },\n              type: CATCH_FETCH\n            };\n          case 21:\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 22:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _marked, null, [[4, 14]]);\n  }\n  var actions = (_actions = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_actions, fetchCreator, function () {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    var params = argsToParams.apply(void 0, args);\n    // In order for params validation to throw an error as expected,\n    // this function cannot be a generator.\n    validateParams(params);\n\n    // The normal fetch action generator is invoked as the return here\n    // to preserve asynchronous behavior without registering another action creator.\n    return fetchGenerator(params, args);\n  }), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_actions, receiveCreator, function (response, params) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(response !== undefined, 'response is required.');\n    if (requiresParams) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(params), 'params is required.');\n      validateParams(params);\n    } else {\n      params = {};\n    }\n    return {\n      payload: {\n        response: response,\n        params: params\n      },\n      type: RECEIVE\n    };\n  }), _actions);\n  var controls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, FETCH, function (_ref2) {\n    var payload = _ref2.payload;\n    return controlCallback(payload.params);\n  });\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, _ref3) {\n    var type = _ref3.type,\n      payload = _ref3.payload;\n    switch (type) {\n      case START_FETCH:\n        {\n          var params = payload.params;\n          state[isFetching] = state[isFetching] || {};\n          state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(params)] = true;\n          return state;\n        }\n      case RECEIVE:\n        {\n          var response = payload.response,\n            _params = payload.params;\n          return reducerCallback(state, response, _params);\n        }\n      case FINISH_FETCH:\n        {\n          var _params2 = payload.params;\n          state[isFetching] = state[isFetching] || {};\n          state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(_params2)] = false;\n          return state;\n        }\n      case CATCH_FETCH:\n        {\n          var _params3 = payload.params;\n          state[isFetching] = state[isFetching] || {};\n          state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(_params3)] = false;\n          return state;\n        }\n      default:\n        return state;\n    }\n  });\n  var selectors = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, isFetching, function (state) {\n    if (state[isFetching] === undefined) {\n      return false;\n    }\n    var params;\n    try {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n      params = argsToParams.apply(void 0, args);\n      validateParams(params);\n    } catch (err) {\n      // If parameters are invalid, fail silently here. It likely is\n      // because some dependency selector is still resolving.\n      return false;\n    }\n    return !!state[isFetching][Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"stringifyObject\"])(params)];\n  });\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: {},\n    selectors: selectors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-fetch-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-notifications-store.js":
/*!*************************************************************!*\
  !*** ./js/googlesitekit/data/create-notifications-store.js ***!
  \*************************************************************/
/*! exports provided: createNotificationsStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createNotificationsStore\", function() { return createNotificationsStore; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _create_fetch_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Provides API functions to create a datastore for notifications.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n/**\n * Creates a store object that includes actions and selectors for managing notifications.\n *\n * The three required parameters hook up the store to the respective REST API endpoint.\n *\n * @since 1.6.0\n * @private\n *\n * @param {string}  type              The data to access. One of 'core' or 'modules'.\n * @param {string}  identifier        The data identifier, eg. a module slug like search-console.\n * @param {string}  datapoint         The endpoint to request data from, e.g. 'notifications'.\n * @param {Object}  options           Optional. Options to consider for the store.\n * @param {boolean} options.server    Enable server notifications. `true` by default.\n * @param {number}  options.storeName Store name to use. Default is '{type}/{identifier}'.\n * @return {Object} The notifications store object, with additional `STORE_NAME` and\n *                  `initialState` properties.\n */\nfunction createNotificationsStore(type, identifier, datapoint) {\n  var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n    _ref$server = _ref.server,\n    server = _ref$server === void 0 ? true : _ref$server,\n    _ref$storeName = _ref.storeName,\n    storeName = _ref$storeName === void 0 ? undefined : _ref$storeName;\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(type, 'type is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(identifier, 'identifier is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(datapoint, 'datapoint is required.');\n  var STORE_NAME = storeName || \"\".concat(type, \"/\").concat(identifier);\n  var initialState = {\n    serverNotifications: server ? undefined : {}\n  };\n  var fetchGetNotificationsStore = Object(_create_fetch_store__WEBPACK_IMPORTED_MODULE_5__[\"createFetchStore\"])({\n    baseName: 'getNotifications',\n    controlCallback: function controlCallback() {\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])(type, identifier, datapoint);\n    },\n    reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, notifications) {\n      state.serverNotifications = notifications.reduce(function (acc, notification) {\n        return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, notification.id, notification));\n      }, {});\n    })\n  });\n  var actions = {};\n  var controls = {};\n\n  // eslint-disable-next-line no-shadow\n  function reducer() {\n    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n    var _ref2 = arguments.length > 1 ? arguments[1] : undefined,\n      type = _ref2.type;\n    switch (type) {\n      default:\n        {\n          return state;\n        }\n    }\n  }\n  var resolvers = {\n    getNotifications: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getNotifications() {\n      var registry, notifications;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getNotifications$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context.sent;\n              notifications = registry.select(STORE_NAME).getNotifications();\n              if (notifications) {\n                _context.next = 7;\n                break;\n              }\n              _context.next = 7;\n              return fetchGetNotificationsStore.actions.fetchGetNotifications();\n            case 7:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, getNotifications);\n    })\n  };\n\n  // If server notifications are disabled, we should remove the getNotifications\n  // resolver. If we set it as `undefined` we'll encounter issues with an `undefined`\n  // resolver, because @wordpress/data will still try to register the resolver because\n  // it sees a key. And this is nicer than a no-op resolver.\n  if (!server) {\n    delete resolvers.getNotifications;\n  }\n  var selectors = {\n    /**\n     * Gets the current notifications.\n     *\n     * Returns `undefined` if notifications are not available/loaded.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {(Array|undefined)} Current list of notifications.\n     */\n    getNotifications: function getNotifications(state) {\n      var serverNotifications = state.serverNotifications; // If there are no client notifications and the server notifications\n      // haven't loaded yet, return `undefined` (the value of\n      // `serverNotifications` here) to signify to anything using this\n      // selector that notifications have not loaded yet.\n      if ('undefined' === typeof serverNotifications) {\n        return serverNotifications;\n      }\n\n      // If there are any notifications from either the client or server,\n      // we should return them, even if the server notifications haven't\n      // finished loading yet.\n      return Object.values(_objectSpread({}, serverNotifications || {}));\n    }\n  };\n  var store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetNotificationsStore, {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  });\n  return _objectSpread(_objectSpread({}, store), {}, {\n    STORE_NAME: STORE_NAME\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-notifications-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/create-settings-store.js":
/*!********************************************************!*\
  !*** ./js/googlesitekit/data/create-settings-store.js ***!
  \********************************************************/
/*! exports provided: INVARIANT_DOING_SUBMIT_CHANGES, INVARIANT_SETTINGS_NOT_CHANGED, createSettingsStore, makeDefaultSubmitChanges, makeDefaultRollbackChanges, makeDefaultCanSubmitChanges, makeDefaultHaveSettingsChanged */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_DOING_SUBMIT_CHANGES\", function() { return INVARIANT_DOING_SUBMIT_CHANGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_SETTINGS_NOT_CHANGED\", function() { return INVARIANT_SETTINGS_NOT_CHANGED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createSettingsStore\", function() { return createSettingsStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultSubmitChanges\", function() { return makeDefaultSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultRollbackChanges\", function() { return makeDefaultRollbackChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultCanSubmitChanges\", function() { return makeDefaultCanSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeDefaultHaveSettingsChanged\", function() { return makeDefaultHaveSettingsChanged; });\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _transform_case__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./transform-case */ \"./js/googlesitekit/data/transform-case.js\");\n/* harmony import */ var _create_fetch_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Provides API functions to create a datastore for settings.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n// Get access to error store action creators.\n// If the parent store doesn't include the error store,\n// yielded error actions will be a no-op.\nvar clearError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].clearError,\n  receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_10__[\"actions\"].receiveError; // Invariant error messages.\nvar INVARIANT_DOING_SUBMIT_CHANGES = 'cannot submit changes while submitting changes';\nvar INVARIANT_SETTINGS_NOT_CHANGED = 'cannot submit changes if settings have not changed';\n\n// Actions\nvar SET_SETTINGS = 'SET_SETTINGS';\nvar ROLLBACK_SETTINGS = 'ROLLBACK_SETTINGS';\nvar ROLLBACK_SETTING = 'ROLLBACK_SETTING';\n\n/**\n * Creates a store object that includes actions and selectors for managing settings.\n *\n * The first three parameters hook up the store to the respective REST API endpoint,\n * while the fourth defines the names of the sub-settings to support.\n *\n * @since 1.6.0\n * @since 1.129.0 Added haveSettingsChanged optional paramter.\n * @private\n *\n * @param {string}        type                                  The data to access. One of 'core' or 'modules'.\n * @param {string}        identifier                            The data identifier, eg. a module slug like `search-console`.\n * @param {string}        datapoint                             The endpoint to request data from, e.g. 'settings'.\n * @param {Object}        options                               Optional. Options to consider for the store.\n * @param {Array}         [options.ownedSettingsSlugs]          Optional. List of \"owned settings\" for this module, if they exist.\n * @param {number}        [options.storeName]                   Store name to use. Default is '{type}/{identifier}'.\n * @param {Array}         [options.settingSlugs]                List of the slugs that are part of the settings object handled by the respective API endpoint.\n * @param {Object}        [options.initialSettings]             Optional. An initial set of settings as key-value pairs.\n * @param {Function|null} [options.validateHaveSettingsChanged] Optional. Custom callback to determine if settings have changed.\n * @return {Object} The settings store object, with additional `STORE_NAME` and\n *                  `initialState` properties.\n */\nfunction createSettingsStore(type, identifier, datapoint) {\n  var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n    _ref$ownedSettingsSlu = _ref.ownedSettingsSlugs,\n    ownedSettingsSlugs = _ref$ownedSettingsSlu === void 0 ? undefined : _ref$ownedSettingsSlu,\n    _ref$storeName = _ref.storeName,\n    storeName = _ref$storeName === void 0 ? undefined : _ref$storeName,\n    _ref$settingSlugs = _ref.settingSlugs,\n    settingSlugs = _ref$settingSlugs === void 0 ? [] : _ref$settingSlugs,\n    _ref$initialSettings = _ref.initialSettings,\n    initialSettings = _ref$initialSettings === void 0 ? undefined : _ref$initialSettings,\n    _ref$validateHaveSett = _ref.validateHaveSettingsChanged,\n    validateHaveSettingsChanged = _ref$validateHaveSett === void 0 ? makeDefaultHaveSettingsChanged() : _ref$validateHaveSett;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(type, 'type is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(identifier, 'identifier is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(datapoint, 'datapoint is required.');\n  var STORE_NAME = storeName || \"\".concat(type, \"/\").concat(identifier);\n  var initialState = {\n    ownedSettingsSlugs: ownedSettingsSlugs,\n    settings: initialSettings,\n    savedSettings: undefined\n  };\n  var fetchGetSettingsStore = Object(_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n    baseName: 'getSettings',\n    controlCallback: function controlCallback() {\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"get\"])(type, identifier, datapoint, {}, {\n        useCache: false\n      });\n    },\n    reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, values) {\n      state.savedSettings = _objectSpread({}, values);\n      state.settings = _objectSpread(_objectSpread({}, values), state.settings || {});\n    })\n  });\n  var fetchSaveSettingsStore = Object(_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n    baseName: 'saveSettings',\n    controlCallback: function controlCallback(params) {\n      var values = params.values;\n      return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"set\"])(type, identifier, datapoint, values);\n    },\n    reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, values) {\n      state.savedSettings = _objectSpread({}, values);\n      // Ensure client settings are refreshed from server.\n      state.settings = _objectSpread({}, values);\n    }),\n    argsToParams: function argsToParams(values) {\n      return {\n        values: values\n      };\n    },\n    validateParams: function validateParams() {\n      var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n        values = _ref2.values;\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isPlainObject\"])(values), 'values is required.');\n    }\n  });\n\n  // This will be populated further down with reducer functions for individual settings.\n  var settingReducers = {};\n  var actions = {\n    /**\n     * Sets settings for the given values.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} values Settings with their values to set.\n     * @return {Object} Redux-style action.\n     */\n    setSettings: function setSettings(values) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isPlainObject\"])(values), 'values is required.');\n      return {\n        payload: {\n          values: values\n        },\n        type: SET_SETTINGS\n      };\n    },\n    /**\n     * Returns the current settings back to the current saved values.\n     *\n     * @since 1.7.1\n     * @private\n     *\n     * @return {Object} Redux-style action.\n     */\n    rollbackSettings: function rollbackSettings() {\n      return {\n        payload: {},\n        type: ROLLBACK_SETTINGS\n      };\n    },\n    /**\n     * Returns a specific setting back to the current saved value.\n     *\n     * @since 1.147.0\n     *\n     * @param {string} setting The setting to rollback.\n     * @return {Object} Redux-style action.\n     */\n    rollbackSetting: function rollbackSetting(setting) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(setting, 'setting is required.');\n      return {\n        payload: {\n          setting: setting\n        },\n        type: ROLLBACK_SETTING\n      };\n    },\n    /**\n     * Saves all current settings to the server.\n     *\n     * @since 1.6.0\n     *\n     * @return {Object} Response and error, if any.\n     */\n    saveSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function saveSettings() {\n      var registry, values, _yield$fetchSaveSetti, response, error;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function saveSettings$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context.sent;\n              _context.next = 5;\n              return clearError('saveSettings', []);\n            case 5:\n              values = registry.select(STORE_NAME).getSettings();\n              _context.next = 8;\n              return fetchSaveSettingsStore.actions.fetchSaveSettings(values);\n            case 8:\n              _yield$fetchSaveSetti = _context.sent;\n              response = _yield$fetchSaveSetti.response;\n              error = _yield$fetchSaveSetti.error;\n              if (!error) {\n                _context.next = 14;\n                break;\n              }\n              _context.next = 14;\n              return receiveError(error, 'saveSettings', []);\n            case 14:\n              return _context.abrupt(\"return\", {\n                response: response,\n                error: error\n              });\n            case 15:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, saveSettings);\n    })\n  };\n  var controls = {};\n\n  // eslint-disable-next-line no-shadow\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createReducer\"])(function (state, _ref3) {\n    var type = _ref3.type,\n      payload = _ref3.payload;\n    switch (type) {\n      case SET_SETTINGS:\n        {\n          var values = payload.values;\n          state.settings = _objectSpread(_objectSpread({}, state.settings || {}), values);\n          break;\n        }\n      case ROLLBACK_SETTINGS:\n        {\n          state.settings = state.savedSettings;\n          break;\n        }\n      case ROLLBACK_SETTING:\n        {\n          var setting = payload.setting;\n          if (state.savedSettings[setting]) {\n            state.settings = _objectSpread(_objectSpread({}, state.settings || {}), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, setting, state.savedSettings[setting]));\n          }\n          break;\n        }\n      default:\n        {\n          // Check if this action is for a reducer for an individual setting.\n          if ('undefined' !== typeof settingReducers[type]) {\n            settingReducers[type](state, {\n              type: type,\n              payload: payload\n            });\n          }\n          break;\n        }\n    }\n  });\n  var resolvers = {\n    getSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getSettings() {\n      var registry, existingSettings;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getSettings$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context2.sent;\n              existingSettings = registry.select(STORE_NAME).getSettings(); // If settings are already present, don't fetch them.\n              if (existingSettings) {\n                _context2.next = 7;\n                break;\n              }\n              _context2.next = 7;\n              return fetchGetSettingsStore.actions.fetchGetSettings();\n            case 7:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, getSettings);\n    })\n  };\n  var _createValidationSele = Object(_utils__WEBPACK_IMPORTED_MODULE_7__[\"createValidationSelector\"])(validateHaveSettingsChanged),\n    haveSettingsChanged = _createValidationSele.safeSelector,\n    __dangerousHaveSettingsChanged = _createValidationSele.dangerousSelector;\n  var selectors = {\n    /**\n     * Indicates whether the current settings have changed from what is saved.\n     *\n     * @since 1.6.0\n     * @since 1.77.0 Added ability to filter settings using `keys` argument.\n     * @since 1.129.0 Changed the approach to use validateHaveSettingsChanged callback.\n     * @since 1.131.0 Updated implementation to use safeSelector and dangerousSelector returned from createValidationSelector.\n     *\n     * @param {Object}     state Data store's state.\n     * @param {Array|null} keys  Settings keys to check; if not provided, all settings are checked.\n     * @return {boolean} True if the settings have changed, false otherwise.\n     */\n    haveSettingsChanged: haveSettingsChanged,\n    __dangerousHaveSettingsChanged: __dangerousHaveSettingsChanged,\n    /**\n     * Gets the current settings.\n     *\n     * Returns `undefined` if notifications are not available/loaded.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {(Object|undefined)} Settings with their values, or undefined.\n     */\n    getSettings: function getSettings(state) {\n      return state.settings;\n    },\n    /**\n     * Indicates whether the provided setting has changed from what is saved.\n     *\n     * @since 1.72.0\n     *\n     * @param {Object} state   Data store's state.\n     * @param {string} setting The setting we want to check for saved changes.\n     * @return {boolean} True if the settings have changed, false otherwise.\n     */\n    hasSettingChanged: function hasSettingChanged(state, setting) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(setting, 'setting is required.');\n      var settings = state.settings,\n        savedSettings = state.savedSettings;\n      if (!settings || !savedSettings) {\n        return false;\n      }\n      return !Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(settings[setting], savedSettings[setting]);\n    },\n    /**\n     * Indicates whether saving the settings is currently in progress.\n     *\n     * @since 1.6.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} True if the settings are being saved, false otherwise.\n     */\n    isDoingSaveSettings: function isDoingSaveSettings(state) {\n      // Since isFetchingSaveSettings (via createFetchStore)\n      // holds information based on specific values but we only need\n      // generic information here, we need to check whether ANY such\n      // request is in progress.\n      return Object.values(state.isFetchingSaveSettings).some(Boolean);\n    },\n    /**\n     * Gets the owned settings slugs for this module.\n     *\n     * @since 1.77.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {Array|null} The array of owned settings slugs for this module if they exist. Returns `null` if no owned settings slugs exist.\n     */\n    getOwnedSettingsSlugs: function getOwnedSettingsSlugs(state) {\n      return state.ownedSettingsSlugs;\n    },\n    /**\n     * Returns `true` if a module's \"own settings\" have changed; `false` if not.\n     *\n     * @since 1.77.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} `true` if the module's \"own settings\" have changed; `false` if not.\n     */\n    haveOwnedSettingsChanged: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        var ownedSettingsSlugsToCheck = select(STORE_NAME).getOwnedSettingsSlugs();\n        return select(STORE_NAME).haveSettingsChanged(ownedSettingsSlugsToCheck);\n      };\n    })\n  };\n\n  // Define individual actions, selectors and related for sub-settings.\n  settingSlugs.forEach(function (slug) {\n    var pascalCaseSlug = Object(_transform_case__WEBPACK_IMPORTED_MODULE_8__[\"camelCaseToPascalCase\"])(slug);\n    var constantSlug = Object(_transform_case__WEBPACK_IMPORTED_MODULE_8__[\"camelCaseToConstantCase\"])(slug);\n\n    /**\n     * Sets the setting indicated by the action name to the given value.\n     *\n     * @since 1.6.0\n     *\n     * @param {*} value Value for the setting.\n     * @return {Object} Redux-style action.\n     */\n    actions[\"set\".concat(pascalCaseSlug)] = function (value) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(typeof value !== 'undefined', \"value is required for calls to set\".concat(pascalCaseSlug, \"().\"));\n      return {\n        payload: {\n          value: value\n        },\n        type: \"SET_\".concat(constantSlug)\n      };\n    };\n    settingReducers[\"SET_\".concat(constantSlug)] = function (state, _ref4) {\n      var payload = _ref4.payload;\n      var value = payload.value;\n      state.settings = _objectSpread(_objectSpread({}, state.settings || {}), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, slug, value));\n    };\n\n    /**\n     * Gets the current value for the setting indicated by the selector name.\n     *\n     * @since 1.6.0\n     *\n     * @return {*} Setting value, or undefined.\n     */\n    selectors[\"get\".concat(pascalCaseSlug)] = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        var settings = select(STORE_NAME).getSettings() || {};\n        return settings[slug];\n      };\n    });\n  });\n  var store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"combineStores\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"commonStore\"], fetchGetSettingsStore, fetchSaveSettingsStore, {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  });\n  return _objectSpread(_objectSpread({}, store), {}, {\n    STORE_NAME: STORE_NAME\n  });\n}\n\n/**\n * Creates a default submitChanges control function.\n *\n * @since 1.21.0\n *\n * @param {string} slug      Module slug.\n * @param {string} storeName Datastore slug.\n * @return {Function} Control function to submit changes.\n */\nfunction makeDefaultSubmitChanges(slug, storeName) {\n  return /*#__PURE__*/function () {\n    var _ref6 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(_ref5) {\n      var select, dispatch, _yield$dispatch$saveS, error;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              select = _ref5.select, dispatch = _ref5.dispatch;\n              if (!select(storeName).haveSettingsChanged()) {\n                _context3.next = 8;\n                break;\n              }\n              _context3.next = 4;\n              return dispatch(storeName).saveSettings();\n            case 4:\n              _yield$dispatch$saveS = _context3.sent;\n              error = _yield$dispatch$saveS.error;\n              if (!error) {\n                _context3.next = 8;\n                break;\n              }\n              return _context3.abrupt(\"return\", {\n                error: error\n              });\n            case 8:\n              _context3.next = 10;\n              return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_5__[\"invalidateCache\"])('modules', slug);\n            case 10:\n              return _context3.abrupt(\"return\", {});\n            case 11:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, _callee);\n    }));\n    return function (_x) {\n      return _ref6.apply(this, arguments);\n    };\n  }();\n}\n\n/**\n * Creates a default rollbackChanges control function.\n *\n * @since 1.45.0\n *\n * @param {string} storeName Datastore slug.\n * @return {Function} Control function to rollback settings changes.\n */\nfunction makeDefaultRollbackChanges(storeName) {\n  return function (_ref7) {\n    var select = _ref7.select,\n      dispatch = _ref7.dispatch;\n    if (select(storeName).haveSettingsChanged()) {\n      return dispatch(storeName).rollbackSettings();\n    }\n    return {};\n  };\n}\n\n/**\n * Creates a default canSubmitChanges function.\n *\n * @since 1.21.0\n *\n * @param {string} storeName Datastore slug.\n * @return {Function} A function to check if settings can be submitted.\n */\nfunction makeDefaultCanSubmitChanges(storeName) {\n  return function (select) {\n    var strictSelect = Object(_utils__WEBPACK_IMPORTED_MODULE_7__[\"createStrictSelect\"])(select);\n    var _strictSelect = strictSelect(storeName),\n      haveSettingsChanged = _strictSelect.haveSettingsChanged,\n      isDoingSubmitChanges = _strictSelect.isDoingSubmitChanges;\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(!isDoingSubmitChanges(), INVARIANT_DOING_SUBMIT_CHANGES);\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(haveSettingsChanged(), INVARIANT_SETTINGS_NOT_CHANGED);\n  };\n}\n\n/**\n * Creates Default haveSettingsChanged.\n *\n * @since 1.129.0\n *\n * @return {boolean} True if the settings have changed, false otherwise.\n */\nfunction makeDefaultHaveSettingsChanged() {\n  return function (select, state, keys) {\n    var settings = state.settings,\n      savedSettings = state.savedSettings;\n    if (keys) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"pick\"])(settings, keys), Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"pick\"])(savedSettings, keys)), INVARIANT_SETTINGS_NOT_CHANGED);\n    }\n    invariant__WEBPACK_IMPORTED_MODULE_3___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isEqual\"])(settings, savedSettings), INVARIANT_SETTINGS_NOT_CHANGED);\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-settings-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/transform-case.js":
/*!*************************************************!*\
  !*** ./js/googlesitekit/data/transform-case.js ***!
  \*************************************************/
/*! exports provided: camelCaseToPascalCase, camelCaseToConstantCase, hyphenCaseToPascalCase */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"camelCaseToPascalCase\", function() { return camelCaseToPascalCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"camelCaseToConstantCase\", function() { return camelCaseToConstantCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hyphenCaseToPascalCase\", function() { return hyphenCaseToPascalCase; });\n/**\n * Data store utilities for transforming names to a certain case.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Transforms a camelCase name into its PascalCase name.\n *\n * @since 1.10.0\n * @private\n *\n * @param {string} name \"camelCase\" name to transform.\n * @return {string} PascalCase name.\n */\nfunction camelCaseToPascalCase(name) {\n  return name.charAt(0).toUpperCase() + name.slice(1);\n}\n\n/**\n * Transforms a camelCase name into its CONSTANT_CASE name.\n *\n * @since 1.10.0\n * @private\n *\n * @param {string} name \"camelCase\" name to transform.\n * @return {string} CONSTANT_CASE name.\n */\nfunction camelCaseToConstantCase(name) {\n  return name.replace(/([a-z0-9]{1})([A-Z]{1})/g, '$1_$2').toUpperCase();\n}\n\n/**\n * Transforms a hyphen-case name into its PascalCase name.\n *\n * @since 1.30.0\n * @private\n *\n * @param {string} name \"hyphen-case\" name to transform.\n * @return {string} PascalCase name.\n */\nfunction hyphenCaseToPascalCase(name) {\n  return name.split('-').map(function (part) {\n    return part.charAt(0).toUpperCase() + part.slice(1);\n  }).join('');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGEvdHJhbnNmb3JtLWNhc2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGEvdHJhbnNmb3JtLWNhc2UuanM/ZTZkZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhdGEgc3RvcmUgdXRpbGl0aWVzIGZvciB0cmFuc2Zvcm1pbmcgbmFtZXMgdG8gYSBjZXJ0YWluIGNhc2UuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/data/transform-case.js\n");

/***/ }),

/***/ "./js/googlesitekit/data/utils.js":
/*!****************************************!*\
  !*** ./js/googlesitekit/data/utils.js ***!
  \****************************************/
/*! exports provided: collect, collectActions, collectControls, collectReducers, collectResolvers, collectSelectors, collectState, collectName, combineStores, commonActions, commonControls, commonStore, createStrictSelect, createValidationSelector, createValidatedAction */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collect\", function() { return collect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectActions\", function() { return collectActions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectControls\", function() { return collectControls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectReducers\", function() { return collectReducers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectResolvers\", function() { return collectResolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectSelectors\", function() { return collectSelectors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectState\", function() { return collectState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectName\", function() { return collectName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineStores\", function() { return combineStores; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"commonActions\", function() { return commonActions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"commonControls\", function() { return commonControls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"commonStore\", function() { return commonStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createStrictSelect\", function() { return createStrictSelect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createValidationSelector\", function() { return createValidationSelector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createValidatedAction\", function() { return createValidatedAction; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n\n\n\nvar _commonControls;\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Data store utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar GET_REGISTRY = 'GET_REGISTRY';\nvar AWAIT = 'AWAIT';\n\n/**\n * Collects and combines multiple objects of similar shape.\n *\n * Used to combine objects like actions, selectors, etc. for a data\n * store while ensuring no keys/action names/selector names are duplicated.\n *\n * Effectively this is an object spread, but throws an error if keys are\n * duplicated.\n *\n * @since 1.5.0\n * @private\n *\n * @param {...Object} items A list of arguments, each one should be an object to combine into one.\n * @return {Object} The combined object.\n */\nfunction collect() {\n  for (var _len = arguments.length, items = new Array(_len), _key = 0; _key < _len; _key++) {\n    items[_key] = arguments[_key];\n  }\n  var collectedObject = items.reduce(function (acc, item) {\n    return _objectSpread(_objectSpread({}, acc), item);\n  }, {});\n  var functionNames = items.reduce(function (acc, itemSet) {\n    return [].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(acc), _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(Object.keys(itemSet)));\n  }, []);\n  var duplicates = findDuplicates(functionNames);\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(duplicates.length === 0, \"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: \".concat(duplicates.join(', '), \". Check your data stores for duplicates.\"));\n  return collectedObject;\n}\n\n/**\n * Collects all actions.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own actions.\n * @return {Object} The combined object.\n */\nvar collectActions = collect;\n\n/**\n * Collects all controls.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own controls.\n * @return {Object} The combined object.\n */\nvar collectControls = collect;\n\n/**\n * Collects all reducers and (optionally) provides initial state.\n *\n * If the first argument passed is not a function, it will be used as the\n * combined reducer's `initialState`.\n *\n * @since 1.5.0\n *\n * @param {...(Object|Function)} args A list of reducers, each containing their own controls. If the first argument is not a function, it will be used as the combined reducer's `initialState`.\n * @return {Function} A Redux-style reducer.\n */\nfunction collectReducers() {\n  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n    args[_key2] = arguments[_key2];\n  }\n  var reducers = [].concat(args);\n  var initialState;\n  if (typeof reducers[0] !== 'function') {\n    initialState = reducers.shift();\n  }\n  return function () {\n    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n    var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    return reducers.reduce(function (newState, reducer) {\n      return reducer(newState, action);\n    }, state);\n  };\n}\n\n/**\n * Collects all resolvers.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own resolvers.\n * @return {Object} The combined object.\n */\nvar collectResolvers = collect;\n\n/**\n * Collects all selectors.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own selectors.\n * @return {Object} The combined object.\n */\nvar collectSelectors = collect;\n\n/**\n * Collects all state values.\n *\n * @since 1.5.0\n *\n * @param {...Object} args A list of objects, each containing their own state values.\n * @return {Object} The combined object.\n */\nvar collectState = collect;\n\n/**\n * Collects all store names.\n *\n * This function's main purpose is to ensure generated store names for a single store match.\n *\n * @since 1.6.0\n *\n * @param {...string} args A list of store names, all of which must be equal.\n * @return {string} The single store name.\n */\nfunction collectName() {\n  for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n    args[_key3] = arguments[_key3];\n  }\n  var names = [].concat(args);\n  var duplicates = findDuplicates(names);\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(duplicates.length === names.length - 1, 'collectName() must not receive different names.');\n  return names.shift();\n}\n\n/**\n * Passes through state unmodified; eg. an empty reducer.\n *\n * @since 1.8.0\n * @private\n *\n * @param {Object} state A store's state.\n * @return {Object} The same state data as passed in `state`.\n */\nfunction passthroughReducer(state) {\n  return state;\n}\n\n/**\n * Combines multiple stores.\n *\n * @since 1.8.0\n *\n * @param {...Object} stores A list of objects, each a store containing one or more of the following keys: initialState, actions, controls, reducer, resolvers, selectors.\n * @return {Object} The combined store.\n */\nfunction combineStores() {\n  for (var _len4 = arguments.length, stores = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n    stores[_key4] = arguments[_key4];\n  }\n  var combinedInitialState = collectState.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n    return store.initialState || {};\n  })));\n  return {\n    initialState: combinedInitialState,\n    controls: collectControls.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.controls || {};\n    }))),\n    actions: collectActions.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.actions || {};\n    }))),\n    reducer: collectReducers.apply(void 0, [combinedInitialState].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.reducer || passthroughReducer;\n    })))),\n    resolvers: collectResolvers.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.resolvers || {};\n    }))),\n    selectors: collectSelectors.apply(void 0, _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default()(stores.map(function (store) {\n      return store.selectors || {};\n    })))\n  };\n}\n\n/**\n * An object of common actions most stores will use.\n *\n * @since 1.7.0\n *\n * @return {Object} Key/value list of common actions most stores will want.\n */\nvar commonActions = {\n  /**\n   * Dispatches an action and calls a control to get the current data registry.\n   *\n   * Useful for controls and resolvers that wish to dispatch actions/use selectors\n   * on the current data registry.\n   *\n   * @since 1.7.0\n   *\n   * @return {Object} FSA-compatible action.\n   */\n  getRegistry: function getRegistry() {\n    return {\n      payload: {},\n      type: GET_REGISTRY\n    };\n  },\n  /**\n   * Dispatches an action and calls a control to return the promise resolution.\n   *\n   * Useful for controls and resolvers that wish to call an asynchronous function or other promise.\n   *\n   * @since 1.22.0\n   *\n   * @param {Promise} value A promise to resolve.\n   * @return {Object} Object with resolved promise.\n   */\n  await: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _await(value) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _await$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            return _context.abrupt(\"return\", {\n              payload: {\n                value: value\n              },\n              type: AWAIT\n            });\n          case 1:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _await);\n  })\n};\n\n/**\n * An object of common controls most stores will use.\n *\n * @since 1.7.0\n *\n * @return {Object} Key/value list of common controls most stores will want.\n */\nvar commonControls = (_commonControls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(_commonControls, GET_REGISTRY, Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistryControl\"])(function (registry) {\n  return function () {\n    return registry;\n  };\n})), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(_commonControls, AWAIT, function (_ref) {\n  var payload = _ref.payload;\n  return payload.value;\n}), _commonControls);\n\n/**\n * Finds all duplicate items in an array and return them.\n *\n * @since 1.5.0\n * @private\n *\n * @param {Array} array Any array.\n * @return {Array} All values in the input array that were duplicated.\n */\nfunction findDuplicates(array) {\n  var duplicates = [];\n  var counts = {};\n  for (var i = 0; i < array.length; i++) {\n    var item = array[i];\n    counts[item] = counts[item] >= 1 ? counts[item] + 1 : 1;\n    if (counts[item] > 1) {\n      duplicates.push(item);\n    }\n  }\n  return duplicates;\n}\n\n/**\n * A store containing the common actions, controls and reducer that all stores will use.\n *\n * @since 1.8.0\n *\n * @return {Object} Object with common actions, controls and reducer.\n */\nvar commonStore = {\n  actions: commonActions,\n  controls: commonControls,\n  reducer: passthroughReducer\n};\n\n/**\n * Creates a strict version of registry.select for ensuring that a selector is resolved at the time of calling.\n *\n * Not intended to be used directly. This is useful in the context of validation functions\n * to save checking for undefined on every result.\n *\n * Given the registry.select function instance, a new function is returned\n * with the same API as `select()` but will throw an error if the result\n * of the selector function is `undefined`.\n *\n * Ideally this would use something like `hasFinishedResolution` instead,\n * but there is no way to traverse the selectors used internally to identify\n * dependent selectors that have resolvers as many selectors are composed of\n * higher-level selectors internally which is where a resolver is normally implemented.\n *\n * @since 1.18.0\n * @private\n *\n * @param {Function} select The registry.select function.\n * @return {Function} The strict version of registry.select.\n */\nfunction createStrictSelect(select) {\n  return function (storeName) {\n    return getStrictSelectors(select(storeName));\n  };\n}\n\n// Based on {@link https://github.com/WordPress/gutenberg/blob/b1c8026087dfb026eff0a023a5f7febe28c876de/packages/data/src/registry.js#L91}\nvar getStrictSelectors = memize__WEBPACK_IMPORTED_MODULE_4___default()(function (selectors) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"mapValues\"])(selectors, function (selector, selectorName) {\n    return function () {\n      var returnValue = selector.apply(void 0, arguments);\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(returnValue !== undefined, \"\".concat(selectorName, \"(...) is not resolved\"));\n      return returnValue;\n    };\n  });\n});\n\n/**\n * Creates two registry selectors that call the incoming function to validate the current state.\n *\n * @since 1.19.0\n *\n * @param {Function} validate         Validation function callback.\n * @param {Object}   [options]        Options to modify the behavior of the generated selectors.\n * @param {boolean}  [options.negate] Whether to negate the boolean result or not. Default: false.\n * @return {Object} Safe and dangerous selectors.\n */\nfunction createValidationSelector(validate) {\n  var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n    _ref2$negate = _ref2.negate,\n    negate = _ref2$negate === void 0 ? false : _ref2$negate;\n  var safeSelector = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var pass = negate ? false : true;\n      var fail = negate ? true : false;\n      try {\n        for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n          args[_key5 - 1] = arguments[_key5];\n        }\n        validate.apply(void 0, [select, state].concat(args));\n        return pass;\n      } catch (_unused) {\n        return fail;\n      }\n    };\n  });\n  var dangerousSelector = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n        args[_key6 - 1] = arguments[_key6];\n      }\n      validate.apply(void 0, [select, state].concat(args));\n    };\n  });\n  return {\n    safeSelector: safeSelector,\n    dangerousSelector: dangerousSelector\n  };\n}\n\n/**\n * Creates a validated action creator.\n *\n * @since 1.32.0\n *\n * @param {Function} validate      A function for validating action arguments.\n * @param {Function} actionCreator A function for returning or yielding redux-style actions.\n * @return {Function} An enhanced action creator.\n */\nfunction createValidatedAction(validate, actionCreator) {\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(typeof validate === 'function', 'a validator function is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(typeof actionCreator === 'function', 'an action creator function is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(validate[Symbol.toStringTag] !== 'Generator' && validate[Symbol.toStringTag] !== 'GeneratorFunction', 'an action’s validator function must not be a generator.');\n  return function () {\n    validate.apply(void 0, arguments);\n    return actionCreator.apply(void 0, arguments);\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/utils.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/site/constants.js":
/*!******************************************************!*\
  !*** ./js/googlesitekit/datastore/site/constants.js ***!
  \******************************************************/
/*! exports provided: CORE_SITE, AMP_MODE_PRIMARY, AMP_MODE_SECONDARY */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_SITE\", function() { return CORE_SITE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AMP_MODE_PRIMARY\", function() { return AMP_MODE_PRIMARY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AMP_MODE_SECONDARY\", function() { return AMP_MODE_SECONDARY; });\n/**\n * `core/site` data store: constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar CORE_SITE = 'core/site';\nvar AMP_MODE_PRIMARY = 'primary';\nvar AMP_MODE_SECONDARY = 'secondary';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3NpdGUvY29uc3RhbnRzLmpzP2QxMjEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS9zaXRlYCBkYXRhIHN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joiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/site/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/datastore/user/constants.js":
/*!******************************************************!*\
  !*** ./js/googlesitekit/datastore/user/constants.js ***!
  \******************************************************/
/*! exports provided: CORE_USER, DISCONNECTED_REASON_CONNECTED_URL_MISMATCH, GLOBAL_SURVEYS_TIMEOUT_SLUG, FORM_TEMPORARY_PERSIST_PERMISSION_ERROR, ERROR_CODE_ADBLOCKER_ACTIVE, PERMISSION_AUTHENTICATE, PERMISSION_SETUP, PERMISSION_VIEW_POSTS_INSIGHTS, PERMISSION_VIEW_DASHBOARD, PERMISSION_VIEW_SHARED_DASHBOARD, PERMISSION_VIEW_MODULE_DETAILS, PERMISSION_MANAGE_OPTIONS, PERMISSION_READ_SHARED_MODULE_DATA, PERMISSION_MANAGE_MODULE_SHARING_OPTIONS, PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT, PERMISSION_UPDATE_PLUGINS, KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT, KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE, KM_ANALYTICS_LEAST_ENGAGING_PAGES, KM_ANALYTICS_NEW_VISITORS, KM_ANALYTICS_POPULAR_AUTHORS, KM_ANALYTICS_POPULAR_CONTENT, KM_ANALYTICS_POPULAR_PRODUCTS, KM_ANALYTICS_RETURNING_VISITORS, KM_ANALYTICS_TOP_CITIES, KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS, KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART, KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES, KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES, KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_COUNTRIES, KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS, KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES, KM_ANALYTICS_TOP_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES, KM_ANALYTICS_PAGES_PER_VISIT, KM_ANALYTICS_VISIT_LENGTH, KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES, KM_SEARCH_CONSOLE_POPULAR_KEYWORDS, KM_ANALYTICS_VISITS_PER_VISITOR, KM_ANALYTICS_MOST_ENGAGING_PAGES, KM_ANALYTICS_TOP_CATEGORIES, keyMetricsGA4Widgets, allKeyMetricsTileWidgets */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_USER\", function() { return CORE_USER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DISCONNECTED_REASON_CONNECTED_URL_MISMATCH\", function() { return DISCONNECTED_REASON_CONNECTED_URL_MISMATCH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GLOBAL_SURVEYS_TIMEOUT_SLUG\", function() { return GLOBAL_SURVEYS_TIMEOUT_SLUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_TEMPORARY_PERSIST_PERMISSION_ERROR\", function() { return FORM_TEMPORARY_PERSIST_PERMISSION_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_CODE_ADBLOCKER_ACTIVE\", function() { return ERROR_CODE_ADBLOCKER_ACTIVE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_AUTHENTICATE\", function() { return PERMISSION_AUTHENTICATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_SETUP\", function() { return PERMISSION_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_POSTS_INSIGHTS\", function() { return PERMISSION_VIEW_POSTS_INSIGHTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_DASHBOARD\", function() { return PERMISSION_VIEW_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_SHARED_DASHBOARD\", function() { return PERMISSION_VIEW_SHARED_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_VIEW_MODULE_DETAILS\", function() { return PERMISSION_VIEW_MODULE_DETAILS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_MANAGE_OPTIONS\", function() { return PERMISSION_MANAGE_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_READ_SHARED_MODULE_DATA\", function() { return PERMISSION_READ_SHARED_MODULE_DATA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_MANAGE_MODULE_SHARING_OPTIONS\", function() { return PERMISSION_MANAGE_MODULE_SHARING_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT\", function() { return PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PERMISSION_UPDATE_PLUGINS\", function() { return PERMISSION_UPDATE_PLUGINS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT\", function() { return KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE\", function() { return KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_LEAST_ENGAGING_PAGES\", function() { return KM_ANALYTICS_LEAST_ENGAGING_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_NEW_VISITORS\", function() { return KM_ANALYTICS_NEW_VISITORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_POPULAR_AUTHORS\", function() { return KM_ANALYTICS_POPULAR_AUTHORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_POPULAR_CONTENT\", function() { return KM_ANALYTICS_POPULAR_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_POPULAR_PRODUCTS\", function() { return KM_ANALYTICS_POPULAR_PRODUCTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_RETURNING_VISITORS\", function() { return KM_ANALYTICS_RETURNING_VISITORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES\", function() { return KM_ANALYTICS_TOP_CITIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS\", function() { return KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART\", function() { return KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES\", function() { return KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES\", function() { return KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE\", function() { return KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_COUNTRIES\", function() { return KM_ANALYTICS_TOP_COUNTRIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS\", function() { return KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES\", function() { return KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES\", function() { return KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_PAGES_PER_VISIT\", function() { return KM_ANALYTICS_PAGES_PER_VISIT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_VISIT_LENGTH\", function() { return KM_ANALYTICS_VISIT_LENGTH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES\", function() { return KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_SEARCH_CONSOLE_POPULAR_KEYWORDS\", function() { return KM_SEARCH_CONSOLE_POPULAR_KEYWORDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_VISITS_PER_VISITOR\", function() { return KM_ANALYTICS_VISITS_PER_VISITOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_MOST_ENGAGING_PAGES\", function() { return KM_ANALYTICS_MOST_ENGAGING_PAGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_ANALYTICS_TOP_CATEGORIES\", function() { return KM_ANALYTICS_TOP_CATEGORIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"keyMetricsGA4Widgets\", function() { return keyMetricsGA4Widgets; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"allKeyMetricsTileWidgets\", function() { return allKeyMetricsTileWidgets; });\n/**\n * `core/user` data store: constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar CORE_USER = 'core/user';\nvar DISCONNECTED_REASON_CONNECTED_URL_MISMATCH = 'connected_url_mismatch';\nvar GLOBAL_SURVEYS_TIMEOUT_SLUG = '__global';\nvar FORM_TEMPORARY_PERSIST_PERMISSION_ERROR = 'temporary_persist_permission_error';\nvar ERROR_CODE_ADBLOCKER_ACTIVE = 'adblocker_active';\n\n// Permissions list.\nvar PERMISSION_AUTHENTICATE = 'googlesitekit_authenticate';\nvar PERMISSION_SETUP = 'googlesitekit_setup';\nvar PERMISSION_VIEW_POSTS_INSIGHTS = 'googlesitekit_view_posts_insights';\nvar PERMISSION_VIEW_DASHBOARD = 'googlesitekit_view_dashboard';\nvar PERMISSION_VIEW_SHARED_DASHBOARD = 'googlesitekit_view_shared_dashboard';\nvar PERMISSION_VIEW_MODULE_DETAILS = 'googlesitekit_view_module_details';\nvar PERMISSION_MANAGE_OPTIONS = 'googlesitekit_manage_options';\nvar PERMISSION_READ_SHARED_MODULE_DATA = 'googlesitekit_read_shared_module_data';\nvar PERMISSION_MANAGE_MODULE_SHARING_OPTIONS = 'googlesitekit_manage_module_sharing_options';\nvar PERMISSION_DELEGATE_MODULE_SHARING_MANAGEMENT = 'googlesitekit_delegate_module_sharing_management';\nvar PERMISSION_UPDATE_PLUGINS = 'googlesitekit_update_plugins';\n\n// Key Metrics Widgets\nvar KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT = 'kmAnalyticsAdSenseTopEarningContent';\nvar KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE = 'kmAnalyticsEngagedTrafficSource';\nvar KM_ANALYTICS_LEAST_ENGAGING_PAGES = 'kmAnalyticsLeastEngagingPages';\nvar KM_ANALYTICS_NEW_VISITORS = 'kmAnalyticsNewVisitors';\nvar KM_ANALYTICS_POPULAR_AUTHORS = 'kmAnalyticsPopularAuthors';\nvar KM_ANALYTICS_POPULAR_CONTENT = 'kmAnalyticsPopularContent';\nvar KM_ANALYTICS_POPULAR_PRODUCTS = 'kmAnalyticsPopularProducts';\nvar KM_ANALYTICS_RETURNING_VISITORS = 'kmAnalyticsReturningVisitors';\nvar KM_ANALYTICS_TOP_CITIES = 'kmAnalyticsTopCities';\nvar KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS = 'kmAnalyticsTopCitiesDrivingLeads';\nvar KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART = 'kmAnalyticsTopCitiesDrivingAddToCart';\nvar KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES = 'kmAnalyticsTopCitiesDrivingPurchases';\nvar KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES = 'kmAnalyticsTopDeviceDrivingPurchases';\nvar KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE = 'kmAnalyticsTopConvertingTrafficSource';\nvar KM_ANALYTICS_TOP_COUNTRIES = 'kmAnalyticsTopCountries';\nvar KM_ANALYTICS_TOP_PAGES_DRIVING_LEADS = 'kmAnalyticsTopPagesDrivingLeads';\nvar KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES = 'kmAnalyticsTopRecentTrendingPages';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE = 'kmAnalyticsTopTrafficSource';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART = 'kmAnalyticsTopTrafficSourceDrivingAddToCart';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS = 'kmAnalyticsTopTrafficSourceDrivingLeads';\nvar KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_PURCHASES = 'kmAnalyticsTopTrafficSourceDrivingPurchases';\nvar KM_ANALYTICS_PAGES_PER_VISIT = 'kmAnalyticsPagesPerVisit';\nvar KM_ANALYTICS_VISIT_LENGTH = 'kmAnalyticsVisitLength';\nvar KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES = 'kmAnalyticsTopReturningVisitorPages';\nvar KM_SEARCH_CONSOLE_POPULAR_KEYWORDS = 'kmSearchConsolePopularKeywords';\nvar KM_ANALYTICS_VISITS_PER_VISITOR = 'kmAnalyticsVisitsPerVisitor';\nvar KM_ANALYTICS_MOST_ENGAGING_PAGES = 'kmAnalyticsMostEngagingPages';\nvar KM_ANALYTICS_TOP_CATEGORIES = 'kmAnalyticsTopCategories';\nvar keyMetricsGA4Widgets = [KM_ANALYTICS_ADSENSE_TOP_EARNING_CONTENT, KM_ANALYTICS_ENGAGED_TRAFFIC_SOURCE, KM_ANALYTICS_LEAST_ENGAGING_PAGES, KM_ANALYTICS_NEW_VISITORS, KM_ANALYTICS_POPULAR_AUTHORS, KM_ANALYTICS_POPULAR_CONTENT, KM_ANALYTICS_POPULAR_PRODUCTS, KM_ANALYTICS_RETURNING_VISITORS, KM_ANALYTICS_TOP_CATEGORIES, KM_ANALYTICS_TOP_CITIES, KM_ANALYTICS_TOP_CITIES_DRIVING_LEADS, KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_CART, KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES, KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES, KM_ANALYTICS_TOP_CONVERTING_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_COUNTRIES, KM_ANALYTICS_TOP_RECENT_TRENDING_PAGES, KM_ANALYTICS_TOP_TRAFFIC_SOURCE, KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART, KM_ANALYTICS_PAGES_PER_VISIT, KM_ANALYTICS_VISIT_LENGTH, KM_ANALYTICS_TOP_RETURNING_VISITOR_PAGES, KM_ANALYTICS_VISITS_PER_VISITOR, KM_ANALYTICS_MOST_ENGAGING_PAGES, KM_ANALYTICS_TOP_CATEGORIES];\nvar allKeyMetricsTileWidgets = [].concat(keyMetricsGA4Widgets, [KM_SEARCH_CONSOLE_POPULAR_KEYWORDS]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/user/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/create-info-store.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/modules/create-info-store.js ***!
  \*******************************************************/
/*! exports provided: createInfoStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createInfoStore\", function() { return createInfoStore; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/modules` data store: info.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * External dependencies\n */\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Actions\nvar WAIT_FOR_REAUTH_RESOLVERS = 'WAIT_FOR_REAUTH_RESOLVERS';\n\n/**\n * Creates a store object that has selectors for managing site info.\n *\n * @since 1.10.0\n * @private\n *\n * @param {string}  slug                 Slug of the module that the store is for.\n * @param {Object}  args                 Arguments to configure the store.\n * @param {number}  args.storeName       Store name to use.\n * @param {boolean} [args.requiresSetup] Optional. Store flag, for requires setup. Default is 'true'.\n * @return {Object} The info store object.\n */\nfunction createInfoStore(slug) {\n  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n    _ref$storeName = _ref.storeName,\n    storeName = _ref$storeName === void 0 ? undefined : _ref$storeName,\n    _ref$requiresSetup = _ref.requiresSetup,\n    requiresSetup = _ref$requiresSetup === void 0 ? true : _ref$requiresSetup;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(storeName, 'storeName is required.');\n  var initialState = {};\n  var actions = {};\n  var controls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, WAIT_FOR_REAUTH_RESOLVERS, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistryControl\"])(function (registry) {\n    return /*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee() {\n      var resolveSelect, _resolveSelect, getAuthentication, getConnectURL, _resolveSelect2, getSiteInfo;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              resolveSelect = registry.resolveSelect;\n              _resolveSelect = resolveSelect(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]), getAuthentication = _resolveSelect.getAuthentication, getConnectURL = _resolveSelect.getConnectURL;\n              _resolveSelect2 = resolveSelect(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]), getSiteInfo = _resolveSelect2.getSiteInfo;\n              _context.next = 5;\n              return Promise.all([\n              // Authentication is needed for checking `needsReauthentication`.\n              getAuthentication(),\n              // Site info is needed for the `adminURL`.\n              getSiteInfo(),\n              // `connectURL` is needed for the `reAuthURL` when reauthentication\n              // is needed.\n              getConnectURL()]);\n            case 5:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n  }));\n  function reducer(state) {\n    return state;\n  }\n  var resolvers = {\n    getAdminReauthURL: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getAdminReauthURL() {\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getAdminReauthURL$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return {\n                type: WAIT_FOR_REAUTH_RESOLVERS\n              };\n            case 2:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, getAdminReauthURL);\n    })\n  };\n  var selectors = {\n    /**\n     * Returns admin screen URL.\n     *\n     * @since 1.10.0\n     *\n     * @param {(Object|undefined)} queryArgs Query arguments to add to admin URL.\n     * @return {(string|undefined)} The admin screen URL.\n     */\n    getAdminScreenURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n      return function (state, queryArgs) {\n        return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getAdminURL('googlesitekit-dashboard', queryArgs);\n      };\n    }),\n    /**\n     * Returns admin reauthentication URL.\n     *\n     * @since 1.10.0\n     *\n     * @param {boolean} reAuth The module activation status. Default is true.\n     * @return {(string|undefined)} The admin reauthentication URL, or\n     *                              undefined if not loaded yet.\n     */\n    getAdminReauthURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n      return function (state) {\n        var reAuth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n        var needsReauthentication = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).needsReauthentication();\n        if (needsReauthentication === undefined) {\n          return undefined;\n        }\n        var noSetupQueryArgs = {};\n        if (!requiresSetup && reAuth === true) {\n          noSetupQueryArgs.notification = 'authentication_success';\n          noSetupQueryArgs.reAuth = undefined;\n        }\n        var redirectURL = select(storeName).getAdminScreenURL(_objectSpread({\n          slug: slug,\n          reAuth: reAuth\n        }, noSetupQueryArgs));\n        if (redirectURL === undefined) {\n          return undefined;\n        }\n        if (!needsReauthentication) {\n          return redirectURL;\n        }\n        var connectURL = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_USER\"]).getConnectURL({\n          redirectURL: redirectURL\n        });\n        return Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_4__[\"addQueryArgs\"])(connectURL, {\n          status: reAuth\n        });\n      };\n    })\n  };\n  return {\n    STORE_NAME: storeName,\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/create-info-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/create-module-store.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/modules/create-module-store.js ***!
  \*********************************************************/
/*! exports provided: createModuleStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createModuleStore\", function() { return createModuleStore; });\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _js_googlesitekit_data_create_notifications_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/data/create-notifications-store */ \"./js/googlesitekit/data/create-notifications-store.js\");\n/* harmony import */ var _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/data/create-settings-store */ \"./js/googlesitekit/data/create-settings-store.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _create_info_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./create-info-store */ \"./js/googlesitekit/modules/create-info-store.js\");\n/* harmony import */ var _create_submit_changes_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./create-submit-changes-store */ \"./js/googlesitekit/modules/create-submit-changes-store.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/**\n * Provides API functions to create a datastore for a module.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n/**\n * Creates a base store object for a Site Kit module.\n *\n * Every module that intends to register its own store must use this function\n * to get the base store. It can then combine the base module with its own\n * selectors and actions to individualize the store.\n *\n * The return object of this function also includes a `STORE_NAME` property,\n * the value of which must be used as the name when registering the store.\n *\n * @since 1.6.0\n *\n * @param {string}   slug                            Slug of the module that the store is for.\n * @param {Object}   args                            Arguments to consider for the store.\n * @param {number}   args.storeName                  Store name to use.\n * @param {Array}    [args.settingSlugs]             Optional. If the module store should support settings, this needs to be a list of the slugs that are part of the module and handled by the module's 'modules/{slug}/data/settings' API endpoint. Default is undefined.\n * @param {Array}    [args.ownedSettingsSlugs]       Optional. List of \"owned settings\" for this module, if they exist.\n * @param {Object}   [args.initialSettings]          Optional. An initial set of settings for the module as key-value pairs.\n * @param {boolean}  [args.requiresSetup]            Optional. Store flag for requires setup. Default is 'true'.\n * @param {Function} [args.submitChanges]            Optional. Submit settings changes handler.\n * @param {Function} [args.rollbackChanges]          Optional. Rollbacks settings changes handler.\n * @param {Function} [args.validateCanSubmitChanges] Optional. A function to validate whether module settings can be submitted.\n * @param {Function} [args.validateIsSetupBlocked]   Optional. A function to validate whether module setup is terminally blocked from continuing.\n * @return {Object} The base module store object, with additional `STORE_NAME` and\n *                  `initialState` properties.\n */\nfunction createModuleStore(slug) {\n  var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var storeName = args.storeName,\n    settingSlugs = args.settingSlugs,\n    _args$ownedSettingsSl = args.ownedSettingsSlugs,\n    ownedSettingsSlugs = _args$ownedSettingsSl === void 0 ? undefined : _args$ownedSettingsSl,\n    _args$initialSettings = args.initialSettings,\n    initialSettings = _args$initialSettings === void 0 ? undefined : _args$initialSettings,\n    _args$requiresSetup = args.requiresSetup,\n    requiresSetup = _args$requiresSetup === void 0 ? true : _args$requiresSetup,\n    submitChanges = args.submitChanges,\n    rollbackChanges = args.rollbackChanges,\n    _args$validateHaveSet = args.validateHaveSettingsChanged,\n    validateHaveSettingsChanged = _args$validateHaveSet === void 0 ? null : _args$validateHaveSet,\n    validateCanSubmitChanges = args.validateCanSubmitChanges,\n    _args$validateIsSetup = args.validateIsSetupBlocked,\n    validateIsSetupBlocked = _args$validateIsSetup === void 0 ? undefined : _args$validateIsSetup;\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(slug, 'slug is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(storeName, 'storeName is required.');\n  var notificationsStore = Object(_js_googlesitekit_data_create_notifications_store__WEBPACK_IMPORTED_MODULE_2__[\"createNotificationsStore\"])('modules', slug, 'notifications', {\n    storeName: storeName\n  });\n  var infoStore = Object(_create_info_store__WEBPACK_IMPORTED_MODULE_5__[\"createInfoStore\"])(slug, {\n    storeName: storeName,\n    requiresSetup: requiresSetup\n  });\n  var setupBlockedStore = {};\n  if (requiresSetup && validateIsSetupBlocked) {\n    var _createValidationSele = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_7__[\"createValidationSelector\"])(validateIsSetupBlocked, {\n        negate: true\n      }),\n      isSetupBlocked = _createValidationSele.safeSelector,\n      __dangerousIsSetupBlocked = _createValidationSele.dangerousSelector;\n    setupBlockedStore.selectors = {\n      isSetupBlocked: isSetupBlocked,\n      __dangerousIsSetupBlocked: __dangerousIsSetupBlocked\n    };\n  }\n  var combinedStore = {};\n  if ('undefined' !== typeof settingSlugs) {\n    var settingsStore = Object(_js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_3__[\"createSettingsStore\"])('modules', slug, 'settings', {\n      ownedSettingsSlugs: ownedSettingsSlugs,\n      storeName: storeName,\n      settingSlugs: settingSlugs,\n      initialSettings: initialSettings,\n      validateHaveSettingsChanged: validateHaveSettingsChanged || Object(_js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_3__[\"makeDefaultHaveSettingsChanged\"])()\n    });\n    var submitChangesStore = Object(_create_submit_changes_store__WEBPACK_IMPORTED_MODULE_6__[\"createSubmitChangesStore\"])({\n      submitChanges: submitChanges || Object(_js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_3__[\"makeDefaultSubmitChanges\"])(slug, storeName),\n      rollbackChanges: rollbackChanges || Object(_js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_3__[\"makeDefaultRollbackChanges\"])(storeName),\n      validateCanSubmitChanges: validateCanSubmitChanges || Object(_js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_3__[\"makeDefaultCanSubmitChanges\"])(storeName)\n    });\n\n    // To prevent duplication errors during combining stores, we don't need to combine\n    // commonStore here since settingsStore already uses commonActions and commonControls\n    // from the commonStore.\n    combinedStore = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"combineStores\"])(notificationsStore, settingsStore, submitChangesStore, infoStore, Object(_js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"createErrorStore\"])(storeName), setupBlockedStore);\n  } else {\n    combinedStore = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"combineStores\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"commonStore\"], notificationsStore, infoStore, setupBlockedStore, Object(_js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"createErrorStore\"])(storeName), Object(_create_submit_changes_store__WEBPACK_IMPORTED_MODULE_6__[\"createSubmitChangesStore\"])({\n      submitChanges: submitChanges,\n      validateCanSubmitChanges: validateCanSubmitChanges\n    }));\n  }\n  combinedStore.STORE_NAME = storeName;\n  return combinedStore;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/create-module-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/create-submit-changes-store.js":
/*!*****************************************************************!*\
  !*** ./js/googlesitekit/modules/create-submit-changes-store.js ***!
  \*****************************************************************/
/*! exports provided: createSubmitChangesStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createSubmitChangesStore\", function() { return createSubmitChangesStore; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n\n\n/**\n * API function to create submit changes store.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\n// Get access to error store action creators.\n// If the parent store doesn't include the error store,\n// yielded error actions will be a no-op.\nvar clearError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"actions\"].clearError,\n  receiveError = _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_4__[\"actions\"].receiveError; // Actions\nvar SUBMIT_CHANGES = 'SUBMIT_CHANGES';\nvar ROLLBACK_CHANGES = 'ROLLBACK_CHANGES';\nvar START_SUBMIT_CHANGES = 'START_SUBMIT_CHANGES';\nvar FINISH_SUBMIT_CHANGES = 'FINISH_SUBMIT_CHANGES';\n\n/**\n * Creates a store object implementing the necessary infrastructure for submitting module settings.\n *\n * @since 1.21.0\n *\n * @param {Object}   args                            Arguments for creating the submitChanges store.\n * @param {Function} [args.submitChanges]            Optional. Callback function to issue the submit changes request. Will be used inside the submit changes control.\n * @param {Function} [args.rollbackChanges]          Optional. Callback function to rollback module settings changes.\n * @param {Function} [args.validateCanSubmitChanges] Optional. A helper function to validate that settings can be submitted.\n * @return {Object} Partial store object with properties 'actions', 'controls', 'reducer', 'resolvers', and 'selectors'.\n */\nfunction createSubmitChangesStore(args) {\n  var _controls;\n  var _ref = args || {},\n    _ref$submitChanges = _ref.submitChanges,\n    submitChanges = _ref$submitChanges === void 0 ? function () {\n      return {};\n    } : _ref$submitChanges,\n    _ref$rollbackChanges = _ref.rollbackChanges,\n    rollbackChanges = _ref$rollbackChanges === void 0 ? function () {\n      return {};\n    } : _ref$rollbackChanges,\n    _ref$validateCanSubmi = _ref.validateCanSubmitChanges,\n    validateCanSubmitChanges = _ref$validateCanSubmi === void 0 ? function () {} : _ref$validateCanSubmi;\n  var initialState = {\n    isDoingSubmitChanges: false\n  };\n  var actions = {\n    /**\n     * Submits all changes currently present in the client, persisting them on the server.\n     *\n     * @since 1.21.0\n     *\n     * @return {Object} Empty object on success, object with `error` property on failure.\n     */\n    submitChanges: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function submitChanges() {\n      var result;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function submitChanges$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return clearError('submitChanges', []);\n            case 2:\n              _context.next = 4;\n              return {\n                type: START_SUBMIT_CHANGES,\n                payload: {}\n              };\n            case 4:\n              _context.next = 6;\n              return {\n                type: SUBMIT_CHANGES,\n                payload: {}\n              };\n            case 6:\n              result = _context.sent;\n              if (!(result === null || result === void 0 ? void 0 : result.error)) {\n                _context.next = 10;\n                break;\n              }\n              _context.next = 10;\n              return receiveError(result.error, 'submitChanges', []);\n            case 10:\n              _context.next = 12;\n              return {\n                type: FINISH_SUBMIT_CHANGES,\n                payload: {}\n              };\n            case 12:\n              return _context.abrupt(\"return\", result);\n            case 13:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, submitChanges);\n    }),\n    /**\n     * Rolls back changes.\n     *\n     * @since 1.45.0\n     *\n     * @return {Object} Empty object on success, object with `error` property on failure.\n     */\n    rollbackChanges: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function rollbackChanges() {\n      var result;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function rollbackChanges$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return {\n                type: ROLLBACK_CHANGES,\n                payload: {}\n              };\n            case 2:\n              result = _context2.sent;\n              return _context2.abrupt(\"return\", result);\n            case 4:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, rollbackChanges);\n    })\n  };\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createReducer\"])(function (state, _ref2) {\n    var type = _ref2.type;\n    switch (type) {\n      case START_SUBMIT_CHANGES:\n        state.isDoingSubmitChanges = true;\n        break;\n      case FINISH_SUBMIT_CHANGES:\n        state.isDoingSubmitChanges = false;\n        break;\n      default:\n        break;\n    }\n  });\n  var controls = (_controls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_controls, SUBMIT_CHANGES, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistryControl\"])(function (registry) {\n    return function () {\n      for (var _len = arguments.length, actionArgs = new Array(_len), _key = 0; _key < _len; _key++) {\n        actionArgs[_key] = arguments[_key];\n      }\n      return submitChanges.apply(void 0, [registry].concat(actionArgs));\n    };\n  })), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_controls, ROLLBACK_CHANGES, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createRegistryControl\"])(function (registry) {\n    return function () {\n      for (var _len2 = arguments.length, actionArgs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        actionArgs[_key2] = arguments[_key2];\n      }\n      return rollbackChanges.apply(void 0, [registry].concat(actionArgs));\n    };\n  })), _controls);\n  var resolvers = {};\n  var _createValidationSele = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_3__[\"createValidationSelector\"])(validateCanSubmitChanges),\n    canSubmitChanges = _createValidationSele.safeSelector,\n    __dangerousCanSubmitChanges = _createValidationSele.dangerousSelector;\n  var selectors = {\n    canSubmitChanges: canSubmitChanges,\n    __dangerousCanSubmitChanges: __dangerousCanSubmitChanges,\n    /**\n     * Checks whether changes are currently being submitted.\n     *\n     * @since 1.21.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {boolean} TRUE if submitting, otherwise FALSE.\n     */\n    isDoingSubmitChanges: function isDoingSubmitChanges(state) {\n      return !!state.isDoingSubmitChanges;\n    }\n  };\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer,\n    resolvers: resolvers,\n    selectors: selectors\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/create-submit-changes-store.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/constants.js":
/*!*********************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/constants.js ***!
  \*********************************************************/
/*! exports provided: CORE_MODULES, ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_MODULES\", function() { return CORE_MODULES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES\", function() { return ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES; });\n/**\n * `core/modules` data store: constants.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar CORE_MODULES = 'core/modules';\nvar ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES = 'insufficient_module_dependencies';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L21vZHVsZXMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbW9kdWxlcy9kYXRhc3RvcmUvY29uc3RhbnRzLmpzPzA3YjUiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgY29yZS9tb2R1bGVzYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgY29uc3QgQ09SRV9NT0RVTEVTID0gJ2NvcmUvbW9kdWxlcyc7XG5leHBvcnQgY29uc3QgRVJST1JfQ09ERV9JTlNVRkZJQ0lFTlRfTU9EVUxFX0RFUEVOREVOQ0lFUyA9XG5cdCdpbnN1ZmZpY2llbnRfbW9kdWxlX2RlcGVuZGVuY2llcyc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/index.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/index.js ***!
  \*****************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, selectors, registerStore, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerStore\", function() { return registerStore; });\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _settings_panel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./settings-panel */ \"./js/googlesitekit/modules/datastore/settings-panel.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./settings */ \"./js/googlesitekit/modules/datastore/settings.js\");\n/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules */ \"./js/googlesitekit/modules/datastore/modules.js\");\n/* harmony import */ var _sharing_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./sharing-settings */ \"./js/googlesitekit/modules/datastore/sharing-settings.js\");\n/* harmony import */ var _js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/data/create-error-store */ \"./js/googlesitekit/data/create-error-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/**\n * `core/modules` data store\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"combineStores\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"commonStore\"], _modules__WEBPACK_IMPORTED_MODULE_3__[\"default\"], Object(_js_googlesitekit_data_create_error_store__WEBPACK_IMPORTED_MODULE_5__[\"createErrorStore\"])(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"]), _settings_panel__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _settings__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _sharing_settings__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\nfunction registerStore(registry) {\n  registry.registerStore(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_MODULES\"], store);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L21vZHVsZXMvZGF0YXN0b3JlL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9tb2R1bGVzL2RhdGFzdG9yZS9pbmRleC5qcz80NWNk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RVMsIHN0b3JlICk7XG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0b3JlO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFTQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/index.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/modules.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/modules.js ***!
  \*******************************************************/
/*! exports provided: baseControls, initialState, actions, controls, reducer, resolvers, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseControls\", function() { return baseControls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolvers\", function() { return resolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_components_settings_DefaultSettingsSetupIncomplete__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/components/settings/DefaultSettingsSetupIncomplete */ \"./js/components/settings/DefaultSettingsSetupIncomplete.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n\n\n\n\nvar _baseControls;\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(waitForModules),\n  _marked2 = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(waitForModulesInlineData);\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/modules` data store: module info.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * External dependencies\n */\n\n\n\n\n/**\n * WordPress dependencies\n */\n// This is used for JSDoc purposes.\n// eslint-disable-next-line no-unused-vars\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n// Actions.\nvar REFETCH_AUTHENTICATION = 'REFETCH_AUTHENTICATION';\nvar SELECT_MODULE_REAUTH_URL = 'SELECT_MODULE_REAUTH_URL';\nvar REGISTER_MODULE = 'REGISTER_MODULE';\nvar RECEIVE_CHECK_REQUIREMENTS_ERROR = 'RECEIVE_CHECK_REQUIREMENTS_ERROR';\nvar RECEIVE_CHECK_REQUIREMENTS_SUCCESS = 'RECEIVE_CHECK_REQUIREMENTS_SUCCESS';\nvar RECEIVE_RECOVERABLE_MODULES = 'RECEIVE_RECOVERABLE_MODULES';\nvar RECEIVE_SHARED_OWNERSHIP_MODULES = 'RECEIVE_SHARED_OWNERSHIP_MODULES';\nvar CLEAR_RECOVERED_MODULES = 'CLEAR_RECOVERED_MODULES';\nvar RECEIVE_INLINE_MODULES_DATA = 'RECEIVE_INLINE_MODULES_DATA';\nvar moduleDefaults = {\n  slug: '',\n  storeName: null,\n  name: '',\n  description: '',\n  homepage: null,\n  internal: false,\n  active: false,\n  connected: false,\n  dependencies: [],\n  dependants: [],\n  order: 10,\n  features: [],\n  Icon: null,\n  SettingsEditComponent: null,\n  SettingsViewComponent: null,\n  SettingsSetupIncompleteComponent: _js_components_settings_DefaultSettingsSetupIncomplete__WEBPACK_IMPORTED_MODULE_16__[\"default\"],\n  SetupComponent: null,\n  onCompleteSetup: undefined,\n  checkRequirements: function checkRequirements() {\n    return true;\n  },\n  DashboardMainEffectComponent: null,\n  DashboardEntityEffectComponent: null\n};\nvar normalizeModules = memize__WEBPACK_IMPORTED_MODULE_4___default()(function (serverDefinitions, clientDefinitions) {\n  // Module properties in `clientDefinitions` will overwrite `serverDefinitions`\n  // but only for keys whose values are not `undefined`.\n  var modules = Object(lodash__WEBPACK_IMPORTED_MODULE_6__[\"merge\"])({}, serverDefinitions, clientDefinitions);\n  return Object.keys(modules).map(function (slug) {\n    var module = _objectSpread(_objectSpread({}, modules[slug]), {}, {\n      slug: slug\n    });\n    // Fill any `undefined` values with defaults.\n    Object(lodash__WEBPACK_IMPORTED_MODULE_6__[\"defaults\"])(module, {\n      name: slug\n    }, moduleDefaults);\n    return module;\n  }).sort(function (a, b) {\n    var _a$name;\n    return a.order - b.order || ((_a$name = a.name) === null || _a$name === void 0 ? void 0 : _a$name.localeCompare(b.name));\n  }).reduce(function (acc, module) {\n    return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, module.slug, module));\n  }, {});\n});\n\n/**\n * Gets a memoized object mapping recoverable module slugs to their corresponding\n * module objects.\n *\n * @since 1.78.0\n *\n * @param {Object} modules            Module definitions.\n * @param {Array}  recoverableModules Array of recoverable module slugs.\n * @return {Object} Map of recoverable module slugs to their corresponding module objects.\n */\nvar calculateRecoverableModules = memize__WEBPACK_IMPORTED_MODULE_4___default()(function (modules, recoverableModules) {\n  return Object.values(modules).reduce(function (recoverable, module) {\n    if (recoverableModules.includes(module.slug)) {\n      return _objectSpread(_objectSpread({}, recoverable), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, module.slug, module));\n    }\n    return recoverable;\n  }, {});\n});\nvar fetchGetModulesStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'getModules',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_9__[\"get\"])('core', 'modules', 'list', null, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createReducer\"])(function (state, modules) {\n    state.isAwaitingModulesRefresh = false;\n    state.serverDefinitions = modules.reduce(function (acc, module) {\n      return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, module.slug, module));\n    }, {});\n  })\n});\nvar fetchSetModuleActivationStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'setModuleActivation',\n  controlCallback: function controlCallback(_ref) {\n    var slug = _ref.slug,\n      active = _ref.active;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_9__[\"set\"])('core', 'modules', 'activation', {\n      slug: slug,\n      active: active\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createReducer\"])(function (state) {\n    // Updated module activation state is handled by re-fetching module\n    // data instead, so this reducer just sets the below flag.\n    state.isAwaitingModulesRefresh = true;\n  }),\n  argsToParams: function argsToParams(slug, active) {\n    return {\n      slug: slug,\n      active: active\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      slug = _ref2.slug,\n      active = _ref2.active;\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(active !== undefined, 'active is required.');\n  }\n});\nvar fetchCheckModuleAccessStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'checkModuleAccess',\n  controlCallback: function controlCallback(_ref3) {\n    var slug = _ref3.slug;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_9__[\"set\"])('core', 'modules', 'check-access', {\n      slug: slug\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createReducer\"])(function (state, _ref4, _ref5) {\n    var access = _ref4.access;\n    var slug = _ref5.slug;\n    state.moduleAccess[slug] = access;\n  }),\n  argsToParams: function argsToParams(slug) {\n    return {\n      slug: slug\n    };\n  },\n  validateParams: function validateParams(_ref6) {\n    var slug = _ref6.slug;\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required.');\n  }\n});\nvar fetchRecoverModulesStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_14__[\"createFetchStore\"])({\n  baseName: 'recoverModules',\n  controlCallback: function controlCallback(_ref7) {\n    var slugs = _ref7.slugs;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_9__[\"set\"])('core', 'modules', 'recover-modules', {\n      slugs: slugs\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createReducer\"])(function (state, recoveredModules) {\n    state.recoveredModules = recoveredModules;\n  }),\n  argsToParams: function argsToParams(slugs) {\n    return {\n      slugs: slugs\n    };\n  },\n  validateParams: function validateParams(_ref8) {\n    var slugs = _ref8.slugs;\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slugs, 'slugs is required.');\n  }\n});\nvar baseInitialState = {\n  clientDefinitions: {},\n  serverDefinitions: undefined,\n  // This value is to indicate that modules data needs to be refreshed after\n  // a module activation update, since the activation is technically complete\n  // before this data has been refreshed.\n  isAwaitingModulesRefresh: false,\n  checkRequirementsResults: {},\n  moduleAccess: {},\n  recoverableModules: undefined,\n  sharedOwnershipModules: undefined,\n  recoveredModules: undefined,\n  inlineModulesData: undefined\n};\nvar baseActions = {\n  /**\n   * Activates a module on the server.\n   *\n   * Activate a module (based on the slug provided).\n   *\n   * @since 1.8.0\n   *\n   * @param {string} slug Slug of the module to activate.\n   * @return {Object} Object with `{response, error}`. On success, `response.moduleReauthURL`\n   *                  is set to redirect the user to the corresponding module setup or OAuth\n   *                  consent screen.\n   */\n  activateModule: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function activateModule(slug) {\n    var _yield$baseActions$se, response, error, moduleReauthURL;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function activateModule$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return baseActions.setModuleActivation(slug, true);\n          case 2:\n            _yield$baseActions$se = _context.sent;\n            response = _yield$baseActions$se.response;\n            error = _yield$baseActions$se.error;\n            if (!((response === null || response === void 0 ? void 0 : response.success) === true)) {\n              _context.next = 10;\n              break;\n            }\n            _context.next = 8;\n            return {\n              payload: {\n                slug: slug\n              },\n              type: SELECT_MODULE_REAUTH_URL\n            };\n          case 8:\n            moduleReauthURL = _context.sent;\n            return _context.abrupt(\"return\", {\n              response: _objectSpread(_objectSpread({}, response), {}, {\n                moduleReauthURL: moduleReauthURL\n              }),\n              error: error\n            });\n          case 10:\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 11:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, activateModule);\n  }),\n  /**\n   * Deactivates a module on the server.\n   *\n   * Deactivate a module (based on the slug provided).\n   *\n   * @since 1.8.0\n   *\n   * @param {string} slug Slug of the module to activate.\n   * @return {Object}      Object with `{response, error}`.\n   */\n  deactivateModule: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function deactivateModule(slug) {\n    var _yield$baseActions$se2, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function deactivateModule$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return baseActions.setModuleActivation(slug, false);\n          case 2:\n            _yield$baseActions$se2 = _context2.sent;\n            response = _yield$baseActions$se2.response;\n            error = _yield$baseActions$se2.error;\n            return _context2.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 6:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, deactivateModule);\n  }),\n  /**\n   * (De)activates a module on the server.\n   *\n   * POSTs to the `core/modules/activation` endpoint to set the `active` status\n   * supplied for the give `slug`.\n   *\n   * @since 1.8.0\n   * @private\n   *\n   * @param {string}  slug   Slug of the module to activate/deactivate.\n   * @param {boolean} active `true` to activate; `false` to deactivate.\n   * @return {Object}         Object with `{response, error}`.\n   */\n  setModuleActivation: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_17__[\"createValidatedAction\"])(function (slug, active) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(active !== undefined, 'active is required.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee(slug, active) {\n    var _yield$fetchSetModule, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return fetchSetModuleActivationStore.actions.fetchSetModuleActivation(slug, active);\n          case 2:\n            _yield$fetchSetModule = _context3.sent;\n            response = _yield$fetchSetModule.response;\n            error = _yield$fetchSetModule.error;\n            if (!((response === null || response === void 0 ? void 0 : response.success) === true)) {\n              _context3.next = 8;\n              break;\n            }\n            _context3.next = 8;\n            return {\n              payload: {},\n              type: REFETCH_AUTHENTICATION\n            };\n          case 8:\n            return _context3.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 9:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, _callee);\n  })),\n  /**\n   * Registers a module.\n   *\n   * @since 1.13.0\n   * @since 1.20.0 Introduced the ability to register settings and setup components.\n   * @since 1.22.0 Introduced the ability to add a checkRequirements function.\n   * @since 1.23.0 Introduced the ability to register an Icon component.\n   * @since 1.24.0 Introduced the ability to explictly define a module store name.\n   *\n   * @param {string}         slug                                        Module slug.\n   * @param {Object}         [settings]                                  Optional. Module settings.\n   * @param {string}         [settings.storeName]                        Optional. Module storeName. If none is provided we assume no store exists for this module.\n   * @param {string}         [settings.name]                             Optional. Module name. Default is the slug.\n   * @param {string}         [settings.description]                      Optional. Module description. Default empty string.\n   * @param {Array.<string>} [settings.features]                         Optional. Module features. Default empty array.\n   * @param {WPComponent}    [settings.Icon]                             Optional. React component to render module icon. Default none.\n   * @param {number}         [settings.order]                            Optional. Numeric indicator for module order. Default 10.\n   * @param {string}         [settings.homepage]                         Optional. Module homepage URL. Default empty string.\n   * @param {WPComponent}    [settings.SettingsEditComponent]            Optional. React component to render the settings edit panel. Default none.\n   * @param {WPComponent}    [settings.SettingsViewComponent]            Optional. React component to render the settings view panel. Default none.\n   * @param {WPComponent}    [settings.SettingsSetupIncompleteComponent] Optional. React component to render the incomplete settings panel. Default none.\n   * @param {WPComponent}    [settings.SetupComponent]                   Optional. React component to render the setup panel. Default none.\n   * @param {boolean}        [settings.overrideSetupSuccessNotification] Optional. Flag to denote whether to render a custom setup success notification. Default `false`.\n   * @param {Function}       [settings.onCompleteSetup]                  Optional. Function to use as a complete CTA callback. Default `undefined`.\n   * @param {Function}       [settings.checkRequirements]                Optional. Function to check requirements for the module. Throws a WP error object for error or returns on success.\n   * @param {WPComponent}    [settings.DashboardMainEffectComponent]     Optional. React component to render the effects on main dashboard. Default none.\n   * @param {WPComponent}    [settings.DashboardEntityEffectComponent]   Optional. React component to render the effects on entity dashboard. Default none.\n   */\n  registerModule: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_17__[\"createValidatedAction\"])(function (slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'module slug is required');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee2(slug) {\n    var _ref9,\n      storeName,\n      name,\n      description,\n      features,\n      Icon,\n      order,\n      homepage,\n      SettingsEditComponent,\n      SettingsViewComponent,\n      SettingsSetupIncompleteComponent,\n      SetupComponent,\n      _ref9$overrideSetupSu,\n      overrideSetupSuccessNotification,\n      onCompleteSetup,\n      checkRequirements,\n      DashboardMainEffectComponent,\n      DashboardEntityEffectComponent,\n      settings,\n      registry,\n      _args4 = arguments;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee2$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _ref9 = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}, storeName = _ref9.storeName, name = _ref9.name, description = _ref9.description, features = _ref9.features, Icon = _ref9.Icon, order = _ref9.order, homepage = _ref9.homepage, SettingsEditComponent = _ref9.SettingsEditComponent, SettingsViewComponent = _ref9.SettingsViewComponent, SettingsSetupIncompleteComponent = _ref9.SettingsSetupIncompleteComponent, SetupComponent = _ref9.SetupComponent, _ref9$overrideSetupSu = _ref9.overrideSetupSuccessNotification, overrideSetupSuccessNotification = _ref9$overrideSetupSu === void 0 ? false : _ref9$overrideSetupSu, onCompleteSetup = _ref9.onCompleteSetup, checkRequirements = _ref9.checkRequirements, DashboardMainEffectComponent = _ref9.DashboardMainEffectComponent, DashboardEntityEffectComponent = _ref9.DashboardEntityEffectComponent;\n            settings = {\n              storeName: storeName,\n              name: name,\n              description: description,\n              features: features,\n              Icon: Icon,\n              order: order,\n              homepage: homepage,\n              SettingsEditComponent: SettingsEditComponent,\n              SettingsViewComponent: SettingsViewComponent,\n              SettingsSetupIncompleteComponent: SettingsSetupIncompleteComponent,\n              SetupComponent: SetupComponent,\n              overrideSetupSuccessNotification: overrideSetupSuccessNotification,\n              onCompleteSetup: onCompleteSetup,\n              checkRequirements: checkRequirements,\n              DashboardMainEffectComponent: DashboardMainEffectComponent,\n              DashboardEntityEffectComponent: DashboardEntityEffectComponent\n            };\n            _context4.next = 4;\n            return {\n              payload: {\n                settings: settings,\n                slug: slug\n              },\n              type: REGISTER_MODULE\n            };\n          case 4:\n            _context4.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 6:\n            registry = _context4.sent;\n            // As we can specify a custom checkRequirements function here, we're\n            // invalidating the resolvers for activation checks.\n            registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).invalidateResolution('canActivateModule', [slug]);\n            registry.dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).invalidateResolution('getCheckRequirementsError', [slug]);\n          case 9:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, _callee2);\n  })),\n  /**\n   * Receives the check requirements error map for specified modules modules.\n   *\n   * @since 1.22.0\n   * @private\n   *\n   * @param {string} slug  Module slug.\n   * @param {Object} error WordPress Error object containing code, message and data properties.\n   * @return {Object} Action for RECEIVE_CHECK_REQUIREMENTS_ERROR.\n   */\n  receiveCheckRequirementsError: function receiveCheckRequirementsError(slug, error) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required');\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_6__[\"isPlainObject\"])(error), 'error is required and must be an object');\n    return {\n      payload: {\n        slug: slug,\n        error: error\n      },\n      type: RECEIVE_CHECK_REQUIREMENTS_ERROR\n    };\n  },\n  /**\n   * Receives the check requirements success for a module.\n   *\n   * @since 1.22.0\n   * @private\n   *\n   * @param {string} slug Success for a module slug.\n   * @return {Object} Action for RECEIVE_CHECK_REQUIREMENTS_SUCCESS.\n   */\n  receiveCheckRequirementsSuccess: function receiveCheckRequirementsSuccess(slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required');\n    return {\n      payload: {\n        slug: slug\n      },\n      type: RECEIVE_CHECK_REQUIREMENTS_SUCCESS\n    };\n  },\n  /**\n   * Receives the recoverable modules for dashboard sharing.\n   * Stores recoverable modules in the datastore.\n   *\n   * @since 1.74.0\n   * @private\n   *\n   * @param {Object} recoverableModules List of recoverable modules.\n   * @return {Object} Action for RECEIVE_RECOVERABLE_MODULES.\n   */\n  receiveRecoverableModules: function receiveRecoverableModules(recoverableModules) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(recoverableModules, 'recoverableModules is required.');\n    return {\n      payload: {\n        recoverableModules: recoverableModules\n      },\n      type: RECEIVE_RECOVERABLE_MODULES\n    };\n  },\n  /**\n   * Recovers multiple modules on the server.\n   *\n   * Recovers multiple modules (based on the slugs provided).\n   *\n   * @since 1.77.0\n   *\n   * @param {Array.<string>} slugs Array of slugs of the modules to recover.\n   * @return {Object} Object with `{response, error}`.\n   */\n  recoverModules: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_17__[\"createValidatedAction\"])(function (slugs) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(Array.isArray(slugs), 'slugs must be an array');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee3(slugs) {\n    var _yield$commonActions$, dispatch, select, _yield$fetchRecoverMo, response, success, successfulRecoveries, _iterator, _step, slug, storeName;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee3$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context5.sent;\n            dispatch = _yield$commonActions$.dispatch;\n            select = _yield$commonActions$.select;\n            _context5.next = 7;\n            return fetchRecoverModulesStore.actions.fetchRecoverModules(slugs);\n          case 7:\n            _yield$fetchRecoverMo = _context5.sent;\n            response = _yield$fetchRecoverMo.response;\n            success = response.success;\n            successfulRecoveries = Object.keys(success).filter(function (slug) {\n              return !!success[slug];\n            });\n            _iterator = _createForOfIteratorHelper(successfulRecoveries);\n            _context5.prev = 12;\n            _iterator.s();\n          case 14:\n            if ((_step = _iterator.n()).done) {\n              _context5.next = 21;\n              break;\n            }\n            slug = _step.value;\n            storeName = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModuleStoreName(slug); // Reload the module's settings from the server.\n            _context5.next = 19;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(dispatch(storeName).fetchGetSettings());\n          case 19:\n            _context5.next = 14;\n            break;\n          case 21:\n            _context5.next = 26;\n            break;\n          case 23:\n            _context5.prev = 23;\n            _context5.t0 = _context5[\"catch\"](12);\n            _iterator.e(_context5.t0);\n          case 26:\n            _context5.prev = 26;\n            _iterator.f();\n            return _context5.finish(26);\n          case 29:\n            if (!successfulRecoveries.length) {\n              _context5.next = 35;\n              break;\n            }\n            _context5.next = 32;\n            return fetchGetModulesStore.actions.fetchGetModules();\n          case 32:\n            // Having reloaded the modules from the server, ensure the list of recoverable modules is also refreshed,\n            // as the recoverable modules list is derived from the main list of modules.\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).invalidateResolution('getRecoverableModules', []);\n\n            // Refresh user capabilities from the server.\n            _context5.next = 35;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_USER\"]).refreshCapabilities());\n          case 35:\n            return _context5.abrupt(\"return\", {\n              response: response\n            });\n          case 36:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, _callee3, null, [[12, 23, 26, 29]]);\n  })),\n  /**\n   * Receives the shared ownership modules for dashboard sharing.\n   * Stores shared ownership modules in the datastore.\n   *\n   * Because this is frequently-accessed data, this is usually sourced\n   * from a global variable (`_googlesitekitDashboardSharingData`), set by PHP\n   * in the `before_print` callback for `googlesitekit-datastore-site`.\n   *\n   * @since 1.77.0\n   * @private\n   *\n   * @param {Object} sharedOwnershipModules Shared ownership modules, usually supplied via a global variable from PHP.\n   * @return {Object} Action for RECEIVE_SHARED_OWNERSHIP_MODULES.\n   */\n  receiveSharedOwnershipModules: function receiveSharedOwnershipModules(sharedOwnershipModules) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(sharedOwnershipModules, 'sharedOwnershipModules is required.');\n    return {\n      payload: {\n        sharedOwnershipModules: sharedOwnershipModules\n      },\n      type: RECEIVE_SHARED_OWNERSHIP_MODULES\n    };\n  },\n  /**\n   * Clears the recoveredModules in the state.\n   *\n   * @since 1.87.0\n   *\n   * @return {Object} Action for RECEIVE_SHARED_OWNERSHIP_MODULES.\n   */\n  clearRecoveredModules: function clearRecoveredModules() {\n    return {\n      payload: {},\n      type: CLEAR_RECOVERED_MODULES\n    };\n  },\n  /**\n   * Receives inline modules data.\n   * Stores inline modules data in the datastore.\n   *\n   * Because this is frequently-accessed data, this is usually sourced\n   * from a global variable (`_googlesitekitModulesData`), set by PHP\n   * in the `before_print` callback for `googlesitekit-modules`.\n   *\n   * @since n.e.x.t\n   * @private\n   *\n   * @param {Object} inlineModulesData Inline modules data, usually supplied via a global variable from PHP.\n   * @return {Object} Action for RECEIVE_INLINE_MODULES_DATA.\n   */\n  receiveInlineModulesData: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_17__[\"createValidatedAction\"])(function (inlineModulesData) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(inlineModulesData, 'inlineModulesData is required');\n  }, function (inlineModulesData) {\n    return {\n      payload: {\n        inlineModulesData: inlineModulesData\n      },\n      type: RECEIVE_INLINE_MODULES_DATA\n    };\n  })\n};\nvar baseControls = (_baseControls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_baseControls, REFETCH_AUTHENTICATION, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistryControl\"])(function (_ref10) {\n  var dispatch = _ref10.dispatch;\n  return function () {\n    return dispatch(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_USER\"]).fetchGetAuthentication();\n  };\n})), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()(_baseControls, SELECT_MODULE_REAUTH_URL, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistryControl\"])(function (_ref11) {\n  var select = _ref11.select,\n    resolveSelect = _ref11.resolveSelect;\n  return /*#__PURE__*/function () {\n    var _ref13 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee4(_ref12) {\n      var _select;\n      var payload, slug, storeName;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee4$(_context6) {\n        while (1) {\n          switch (_context6.prev = _context6.next) {\n            case 0:\n              payload = _ref12.payload;\n              slug = payload.slug; // Ensure the module is loaded before selecting the store name.\n              _context6.next = 4;\n              return resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n            case 4:\n              storeName = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModuleStoreName(slug); // If a storeName wasn't specified on registerModule we assume there is no store for this module\n              if (storeName) {\n                _context6.next = 7;\n                break;\n              }\n              return _context6.abrupt(\"return\", null);\n            case 7:\n              if (!((_select = select(storeName)) === null || _select === void 0 ? void 0 : _select.getAdminReauthURL)) {\n                _context6.next = 11;\n                break;\n              }\n              _context6.next = 10;\n              return resolveSelect(storeName).getAdminReauthURL();\n            case 10:\n              return _context6.abrupt(\"return\", _context6.sent);\n            case 11:\n              return _context6.abrupt(\"return\", select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]).getAdminURL('googlesitekit-dashboard'));\n            case 12:\n            case \"end\":\n              return _context6.stop();\n          }\n        }\n      }, _callee4);\n    }));\n    return function (_x) {\n      return _ref13.apply(this, arguments);\n    };\n  }();\n})), _baseControls);\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createReducer\"])(function (state, _ref14) {\n  var type = _ref14.type,\n    payload = _ref14.payload;\n  switch (type) {\n    case REGISTER_MODULE:\n      {\n        var slug = payload.slug,\n          settings = payload.settings;\n        if (!!state.clientDefinitions[slug]) {\n          global.console.warn(\"Could not register module with slug \\\"\".concat(slug, \"\\\". Module \\\"\").concat(slug, \"\\\" is already registered.\"));\n          return;\n        }\n        state.clientDefinitions[slug] = settings;\n        break;\n      }\n    case RECEIVE_CHECK_REQUIREMENTS_ERROR:\n      {\n        var _slug = payload.slug,\n          error = payload.error;\n        state.checkRequirementsResults[_slug] = error;\n        break;\n      }\n    case RECEIVE_CHECK_REQUIREMENTS_SUCCESS:\n      {\n        var _slug2 = payload.slug;\n        state.checkRequirementsResults[_slug2] = true;\n        break;\n      }\n    case RECEIVE_RECOVERABLE_MODULES:\n      {\n        var recoverableModules = payload.recoverableModules;\n        state.recoverableModules = recoverableModules;\n        break;\n      }\n    case RECEIVE_SHARED_OWNERSHIP_MODULES:\n      {\n        var sharedOwnershipModules = payload.sharedOwnershipModules;\n        state.sharedOwnershipModules = sharedOwnershipModules;\n        break;\n      }\n    case CLEAR_RECOVERED_MODULES:\n      {\n        state.recoveredModules = undefined;\n        break;\n      }\n    case RECEIVE_INLINE_MODULES_DATA:\n      {\n        var inlineModulesData = payload.inlineModulesData;\n        state.inlineModulesData = inlineModulesData;\n        break;\n      }\n    default:\n      break;\n  }\n});\nfunction waitForModules() {\n  var _yield$commonActions$2, resolveSelect;\n  return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function waitForModules$(_context7) {\n    while (1) {\n      switch (_context7.prev = _context7.next) {\n        case 0:\n          _context7.next = 2;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n        case 2:\n          _yield$commonActions$2 = _context7.sent;\n          resolveSelect = _yield$commonActions$2.resolveSelect;\n          _context7.next = 6;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules());\n        case 6:\n        case \"end\":\n          return _context7.stop();\n      }\n    }\n  }, _marked);\n}\nfunction waitForModulesInlineData() {\n  var _yield$commonActions$3, resolveSelect;\n  return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function waitForModulesInlineData$(_context8) {\n    while (1) {\n      switch (_context8.prev = _context8.next) {\n        case 0:\n          _context8.next = 2;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n        case 2:\n          _yield$commonActions$3 = _context8.sent;\n          resolveSelect = _yield$commonActions$3.resolveSelect;\n          _context8.next = 6;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getInlineModulesData());\n        case 6:\n        case \"end\":\n          return _context8.stop();\n      }\n    }\n  }, _marked2);\n}\nvar baseResolvers = {\n  getModules: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function getModules() {\n    var registry, existingModules;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function getModules$(_context9) {\n      while (1) {\n        switch (_context9.prev = _context9.next) {\n          case 0:\n            _context9.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context9.sent;\n            existingModules = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n            if (existingModules) {\n              _context9.next = 7;\n              break;\n            }\n            _context9.next = 7;\n            return fetchGetModulesStore.actions.fetchGetModules();\n          case 7:\n          case \"end\":\n            return _context9.stop();\n        }\n      }\n    }, getModules);\n  }),\n  canActivateModule: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function canActivateModule(slug) {\n    var registry, select, resolveSelect, module, inactiveModules, messageTemplate, errorMessage;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function canActivateModule$(_context10) {\n      while (1) {\n        switch (_context10.prev = _context10.next) {\n          case 0:\n            _context10.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context10.sent;\n            select = registry.select, resolveSelect = registry.resolveSelect;\n            _context10.next = 6;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug));\n          case 6:\n            module = _context10.sent;\n            if (module) {\n              _context10.next = 9;\n              break;\n            }\n            return _context10.abrupt(\"return\");\n          case 9:\n            inactiveModules = [];\n            module.dependencies.forEach(function (dependencySlug) {\n              var dependedentModule = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(dependencySlug);\n              if (!(dependedentModule === null || dependedentModule === void 0 ? void 0 : dependedentModule.active)) {\n                inactiveModules.push(dependedentModule.name);\n              }\n            });\n\n            // If we have inactive dependencies, there's no need to check if we can\n            // activate the module until the dependencies have been activated.\n            if (!inactiveModules.length) {\n              _context10.next = 18;\n              break;\n            }\n            /* translators: Error message text. 1: A flattened list of module names. 2: A module name. */\n            messageTemplate = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__[\"__\"])('You need to set up %1$s to gain access to %2$s.', 'google-site-kit');\n            errorMessage = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__[\"sprintf\"])(messageTemplate, Object(_js_util__WEBPACK_IMPORTED_MODULE_15__[\"listFormat\"])(inactiveModules), module.name);\n            _context10.next = 16;\n            return baseActions.receiveCheckRequirementsError(slug, {\n              code: _constants__WEBPACK_IMPORTED_MODULE_11__[\"ERROR_CODE_INSUFFICIENT_MODULE_DEPENDENCIES\"],\n              message: errorMessage,\n              data: {\n                inactiveModules: inactiveModules\n              }\n            });\n          case 16:\n            _context10.next = 29;\n            break;\n          case 18:\n            _context10.prev = 18;\n            _context10.next = 21;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(module.checkRequirements(registry));\n          case 21:\n            _context10.next = 23;\n            return baseActions.receiveCheckRequirementsSuccess(slug);\n          case 23:\n            _context10.next = 29;\n            break;\n          case 25:\n            _context10.prev = 25;\n            _context10.t0 = _context10[\"catch\"](18);\n            _context10.next = 29;\n            return baseActions.receiveCheckRequirementsError(slug, _context10.t0);\n          case 29:\n          case \"end\":\n            return _context10.stop();\n        }\n      }\n    }, canActivateModule, null, [[18, 25]]);\n  }),\n  hasModuleAccess: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function hasModuleAccess(slug) {\n    var registry, existingCheckAccess;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function hasModuleAccess$(_context11) {\n      while (1) {\n        switch (_context11.prev = _context11.next) {\n          case 0:\n            _context11.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context11.sent;\n            existingCheckAccess = registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).hasModuleAccess(slug);\n            if (!(existingCheckAccess === undefined)) {\n              _context11.next = 7;\n              break;\n            }\n            _context11.next = 7;\n            return fetchCheckModuleAccessStore.actions.fetchCheckModuleAccess(slug);\n          case 7:\n          case \"end\":\n            return _context11.stop();\n        }\n      }\n    }, hasModuleAccess);\n  }),\n  getRecoverableModules: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function getRecoverableModules() {\n    var registry, modules, recoverableModules;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function getRecoverableModules$(_context12) {\n      while (1) {\n        switch (_context12.prev = _context12.next) {\n          case 0:\n            _context12.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context12.sent;\n            _context12.next = 5;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].await(registry.resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules());\n          case 5:\n            modules = _context12.sent;\n            recoverableModules = Object.entries(modules || {}).reduce(function (moduleList, _ref15) {\n              var _ref16 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref15, 2),\n                moduleSlug = _ref16[0],\n                module = _ref16[1];\n              if (module.recoverable && !module.internal) {\n                moduleList.push(moduleSlug);\n              }\n              return moduleList;\n            }, []);\n            _context12.next = 9;\n            return baseActions.receiveRecoverableModules(recoverableModules);\n          case 9:\n          case \"end\":\n            return _context12.stop();\n        }\n      }\n    }, getRecoverableModules);\n  }),\n  getSharedOwnershipModules: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function getSharedOwnershipModules() {\n    var registry, sharedOwnershipModules;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function getSharedOwnershipModules$(_context13) {\n      while (1) {\n        switch (_context13.prev = _context13.next) {\n          case 0:\n            _context13.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context13.sent;\n            if (!registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getSharedOwnershipModules()) {\n              _context13.next = 5;\n              break;\n            }\n            return _context13.abrupt(\"return\");\n          case 5:\n            if (global._googlesitekitDashboardSharingData) {\n              _context13.next = 8;\n              break;\n            }\n            global.console.error('Could not load core/modules dashboard sharing.');\n            return _context13.abrupt(\"return\");\n          case 8:\n            sharedOwnershipModules = global._googlesitekitDashboardSharingData.sharedOwnershipModules;\n            _context13.next = 11;\n            return baseActions.receiveSharedOwnershipModules(sharedOwnershipModules);\n          case 11:\n          case \"end\":\n            return _context13.stop();\n        }\n      }\n    }, getSharedOwnershipModules);\n  }),\n  getInlineModulesData: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function getInlineModulesData() {\n    var registry;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function getInlineModulesData$(_context14) {\n      while (1) {\n        switch (_context14.prev = _context14.next) {\n          case 0:\n            _context14.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context14.sent;\n            if (!registry.select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getInlineModulesData()) {\n              _context14.next = 5;\n              break;\n            }\n            return _context14.abrupt(\"return\");\n          case 5:\n            if (global._googlesitekitModulesData) {\n              _context14.next = 7;\n              break;\n            }\n            return _context14.abrupt(\"return\");\n          case 7:\n            _context14.next = 9;\n            return baseActions.receiveInlineModulesData(global._googlesitekitModulesData);\n          case 9:\n          case \"end\":\n            return _context14.stop();\n        }\n      }\n    }, getInlineModulesData);\n  }),\n  getModule: waitForModules,\n  getModuleInlineData: waitForModulesInlineData,\n  isModuleActive: waitForModules,\n  isModuleConnected: waitForModules\n};\nvar baseSelectors = {\n  /**\n   * Gets the list of modules registered for use with Site Kit.\n   *\n   * A module is a section of Site Kit that relates to a particular service,\n   * like Google Analytics or Google PageSpeed modules. They can provide\n   * admin-only features (like PageSpeed Insights), frontend-only features,\n   * or both (eg. Analytics, which can install Analytics <script> tags in the\n   * frontend, and show dashboards in the WordPress Admin).\n   *\n   * Returns an Object/map of objects, keyed by slug, with the following shape when successful:\n   * ```\n   * slug: {\n   *   \"slug\": \"tagmanager\",\n   *   \"name\": \"Tag Manager\",\n   *   \"description\": \"Tag Manager creates an easy to manage way to create tags on your site without updating code.\",\n   *   \"homepage\": \"https://tagmanager.google.com/\",\n   *   \"internal\": false,\n   *   \"active\": false,\n   *   \"connected\": false,\n   *   \"dependencies\": [],\n   *   \"dependents\": []\n   * }\n   * ```\n   *\n   * @since 1.8.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Modules available on the site.\n   */\n  getModules: function getModules(state) {\n    var clientDefinitions = state.clientDefinitions,\n      serverDefinitions = state.serverDefinitions; // Return `undefined` if modules haven't been loaded yet.\n    if (serverDefinitions === undefined) {\n      return undefined;\n    }\n\n    // `normalizeModules` must be called with stable arguments directly from state.\n    // Redefining/spreading these will undermine the memoization!\n    return normalizeModules(serverDefinitions, clientDefinitions);\n  },\n  /**\n   * Gets a specific module by slug.\n   *\n   * Returns a specific module by its slug.\n   * Returns `undefined` if state is still loading or if said module doesn't exist.\n   *\n   * @since 1.8.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(Object|undefined)} A specific module object; `undefined` if state is still loading or if said module doesn't exist.\n   */\n  getModule: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n\n      // Return `undefined` if modules haven't been loaded yet.\n      if (modules === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found; return `null` to signify the\n      // \"not found\" state.\n      if (modules[slug] === undefined) {\n        return null;\n      }\n\n      // This module exists, so let's return it.\n      return modules[slug];\n    };\n  }),\n  /**\n   * Gets a specific module icon by slug.\n   *\n   * Returns a specific module icon by its slug.\n   * Returns `null` if state is still loading or if said module doesn't exist or doesn't have an icon.\n   *\n   * @since 1.23.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(WPComponent|undefined|null)} A specific module's icon; `undefined` if state is still loading; `null` if said module doesn't exist or doesn't have an icon.\n   */\n  getModuleIcon: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n      // Return `undefined` if module with this slug isn't loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found or the icon is not found for the module; return `null` to signify the\n      // \"module not found\" or \"icon not found\" state\n      if (module === null || module.Icon === null) {\n        return null;\n      }\n\n      // This module and the icon exists, so let's return it.\n      return module.Icon;\n    };\n  }),\n  /**\n   * Gets module dependency names by slug.\n   *\n   * Returns a list of modules that depend on this module.\n   * Returns `undefined` if state is still loading or if said module doesn't exist.\n   *\n   * @since 1.20.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(Array|undefined)} An array of dependency module names; `undefined` if state is still loading.\n   */\n  getModuleDependencyNames: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n\n      // Return `undefined` if module with this slug isn't loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found; return `[]` to signify the\n      // \"not found\" state.\n      if (module === null) {\n        return [];\n      }\n\n      // Module is found, return the names of the dependencies\n      // Modules are already resolved after we getModule() so they can't be undefined.\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n      return module.dependencies.map(function (dependencySlug) {\n        var _modules$dependencySl;\n        return ((_modules$dependencySl = modules[dependencySlug]) === null || _modules$dependencySl === void 0 ? void 0 : _modules$dependencySl.name) || dependencySlug;\n      });\n    };\n  }),\n  /**\n   * Gets module dependant names by slug.\n   *\n   * Returns a list of modules on which this module depends.\n   * Returns `undefined` if state is still loading or if said module doesn't exist.\n   *\n   * @since 1.20.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(Array|undefined)} An array of dependant module names; `undefined` if state is still loading.\n   */\n  getModuleDependantNames: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n\n      // Return `undefined` if module with this slug isn't loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found; return `[]` to signify the\n      // \"not found\" state.\n      if (module === null) {\n        return [];\n      }\n\n      // Module is found, return the names of the dependants\n      // Modules are already resolved after we getModule() so they can't be undefined.\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n      return module.dependants.map(function (dependantSlug) {\n        var _modules$dependantSlu;\n        return ((_modules$dependantSlu = modules[dependantSlug]) === null || _modules$dependantSlu === void 0 ? void 0 : _modules$dependantSlu.name) || dependantSlug;\n      });\n    };\n  }),\n  /**\n   * Gets module store name by slug.\n   *\n   * Returns the store name if preset or null if there is no store name for this module.\n   * Returns `undefined` if state is still loading or if said module doesn't exist.\n   *\n   * @since 1.24.0\n   *\n   * @param {string} slug Module slug.\n   * @return {(string|null|undefined)} `string` of the store name if a name has been set for this module.\n   * \t\t\t\t\t\t\t\t\t `null` if no store name was set.\n   * \t\t\t\t\t\t\t\t\t `undefined` if state is still loading.\n   */\n  getModuleStoreName: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n\n      // Return `undefined` if module with this slug isn't loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // Return null if no store name was set\n      if (module === null) {\n        return null;\n      }\n      return module.storeName;\n    };\n  }),\n  /**\n   * Checks a module's availability status.\n   *\n   * Note that an otherwise valid module may be removed from the list of available modules\n   * by making use of the the googlesitekit_available_modules filter in PHP.\n   *\n   * Returns `true` if the module is available.\n   * Returns `false` if the module is not available.\n   * Returns `undefined` if state is still loading.\n   *\n   * @since 1.85.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|undefined)} `true` when the module is available.\n   * \t\t\t\t\t\t\t\t\t  `false` when the module is not available.\n   * \t\t\t\t\t\t\t\t\t  `undefined` if state is still loading.\n   */\n  isModuleAvailable: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n\n      // Return `undefined` if modules haven't been loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found; return `false` to signify the\n      // unavailable state.\n      if (module === null) {\n        return false;\n      }\n\n      // Otherwise, the module exists and is available.\n      return true;\n    };\n  }),\n  /**\n   * Checks a module's activation status.\n   *\n   * Returns `true` if the module exists and is active.\n   * Returns `false` if the module exists but is not active.\n   * Returns `undefined` if state is still loading or if no module with that slug exists.\n   *\n   * @since 1.8.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|null|undefined)} `true` when the module exists and is active.\n   * \t\t\t\t\t\t\t\t\t  `undefined` if state is still loading.\n   * \t\t\t\t\t\t\t\t\t  `null` if said module doesn't exist.\n   */\n  isModuleActive: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n\n      // Return `undefined` if modules haven't been loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found; return `null` to signify the\n      // \"not found\" state.\n      if (module === null) {\n        return null;\n      }\n      return module.active;\n    };\n  }),\n  /**\n   * Checks whether a module is connected or not.\n   *\n   * Returns `true` if the module exists, is active and connected.\n   * Returns `false` if the module exists but is either not active or not connected.\n   * Returns `undefined` if state is still loading or if no module with that slug exists.\n   *\n   * @since 1.16.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|null|undefined)} `true` when the module exists, is active and connected, otherwise `false`.\n   * \t\t\t\t\t\t\t\t\t  `undefined` if state is still loading.\n   * \t\t\t\t\t\t\t\t\t  `null` if said module doesn't exist.\n   */\n  isModuleConnected: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n\n      // Return `undefined` if modules haven't been loaded yet.\n      if (module === undefined) {\n        return undefined;\n      }\n\n      // A module with this slug couldn't be found; return `null` to signify the\n      // \"not found\" state.\n      if (module === null) {\n        return null;\n      }\n      return module.active && module.connected;\n    };\n  }),\n  /**\n   * Checks if a module's status is changing.\n   *\n   * Returns `true` if the module exists and is changing its `active` flag.\n   * Returns `false` if the module exists but is not changing its `active` flag.\n   * Returns `undefined` if state is still loading or if no module with that slug exists.\n   *\n   * @since 1.8.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|undefined)} Activation change status; `undefined` if state is still loading or if no module with that slug exists.\n   */\n  isDoingSetModuleActivation: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      // Return undefined if modules not loaded or invalid slug.\n      if (!select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug)) {\n        return undefined;\n      }\n\n      // Check if the module is being activated.\n      if (select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).isFetchingSetModuleActivation(slug, true)) {\n        return true;\n      }\n\n      // Check if the module is being deactivated.\n      if (select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).isFetchingSetModuleActivation(slug, false)) {\n        return true;\n      }\n\n      // Check if modules data still needs to be refreshed after activation\n      // update.\n      return state.isAwaitingModulesRefresh;\n    };\n  }),\n  /**\n   * Checks if we can activate a module with a given slug.\n   *\n   * Returns `true` if the module can be activated.\n   * Returns `false` if the module can not be activated.\n   * Returns `undefined` if slug can not be found in state.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|undefined)} Can activate module status; `undefined` if state is still loading or if no module with that slug exists.\n   */\n  canActivateModule: function canActivateModule(state, slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required');\n    var moduleRequirements = state.checkRequirementsResults[slug];\n    if (moduleRequirements === undefined) {\n      return undefined;\n    }\n    return moduleRequirements === true || (moduleRequirements === null || moduleRequirements === void 0 ? void 0 : moduleRequirements.canActivate) === true;\n  },\n  /**\n   * Gets the module activation error for a given slug.\n   *\n   * Returns `null` if the module can be activated and there is no error.\n   * Returns `object` containing code, message and optional data property if there is an activation error for a slug.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(null|Object)} Activation error for a module slug; `null` if there is no error or an error object if we cannot activate a given module.\n   */\n  getCheckRequirementsError: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      invariant__WEBPACK_IMPORTED_MODULE_5___default()(slug, 'slug is required.');\n      var checkRequirementsResults = state.checkRequirementsResults;\n      var canActivate =\n      // Need to use registry selector here to ensure resolver is invoked.\n      select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).canActivateModule(slug);\n      if (canActivate === undefined || checkRequirementsResults[slug] === true) {\n        return null;\n      }\n      return checkRequirementsResults[slug];\n    };\n  }),\n  /**\n   * Gets the module's list of features.\n   *\n   * Returns a list of features of this module.\n   *\n   * @since 1.30.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(Array|undefined)} An array of features for the module; `undefined` if state is still loading.\n   */\n  getModuleFeatures: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var _modules$slug;\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n\n      // Return `undefined` if modules haven't been loaded yet.\n      if (modules === undefined) {\n        return undefined;\n      }\n      return Array.isArray((_modules$slug = modules[slug]) === null || _modules$slug === void 0 ? void 0 : _modules$slug.features) ? modules[slug].features : [];\n    };\n  }),\n  /**\n   * Checks if the given module has access.\n   *\n   * @since 1.70.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|undefined)} `boolean` if the module has check access. If the state is still being resolved, returns `undefined`.\n   */\n  hasModuleAccess: function hasModuleAccess(state, slug) {\n    return state.moduleAccess[slug];\n  },\n  /**\n   * Checks if current user has ownership of the given module.\n   *\n   * @since 1.148.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|null|undefined)} `true` if the user has ownership.\n   *                               \t    `false` if the user doesn't have ownership.\n   *                               \t    `null` if the module doesn't exist.\n   *                               \t    `undefined` If the state is still being resolved.\n   */\n  hasModuleOwnership: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, moduleSlug) {\n      var moduleStoreName = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModuleStoreName(moduleSlug);\n      if (moduleStoreName === undefined) {\n        return undefined;\n      }\n\n      // A store with this name doesn't exist, so the user can't have access to it.\n      // This is either caused by a module not being loaded or an incorrect module\n      // name being used.\n      if (select(moduleStoreName) === null) {\n        return null;\n      }\n      var moduleOwnerID = select(moduleStoreName).getOwnerID();\n      var loggedInUserID = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_USER\"]).getID();\n      if (moduleOwnerID === undefined || loggedInUserID === undefined) {\n        return undefined;\n      }\n      if (moduleOwnerID === loggedInUserID) {\n        return true;\n      }\n      return false;\n    };\n  }),\n  /**\n   * Checks if current user has ownership or access to the given module.\n   *\n   * @since 1.92.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(boolean|undefined)} `true` if the user has ownership or access.\n   *                               `false` if the user doesn't have ownership or access.\n   *                               `undefined` If the state is still being resolved.\n   */\n  hasModuleOwnershipOrAccess: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, moduleSlug) {\n      var hasOwnership = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).hasModuleOwnership(moduleSlug);\n      if (hasOwnership === true) {\n        return true;\n      }\n      if (hasOwnership === undefined) {\n        return undefined;\n      }\n\n      // If the module doesn't exist, the user can't have ownership or access.\n      if (hasOwnership === null) {\n        return false;\n      }\n      return select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).hasModuleAccess(moduleSlug);\n    };\n  }),\n  /**\n   * Gets the list of recoverable modules for dashboard sharing.\n   *\n   * Returns an Object/map of objects, keyed by slug as same as `getModules`.\n   *\n   * @since 1.74.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Recoverable modules available on the site; `undefined` if not loaded.\n   */\n  getRecoverableModules: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n\n      // Return `undefined` if modules OR recoverableModules haven't been loaded yet.\n      if (state.recoverableModules === undefined || modules === undefined) {\n        return undefined;\n      }\n      return calculateRecoverableModules(modules, state.recoverableModules);\n    };\n  }),\n  /**\n   * Checks if there are any recoverable modules for dashboard sharing.\n   *\n   * @since 1.133.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(boolean|undefined)} `true` if there are recoverable modules.\n   * \t\t\t\t\t\t\t\t `false` if there are none.\n   * \t\t\t\t\t\t\t\t `undefined` if not loaded.\n   */\n  hasRecoverableModules: function hasRecoverableModules(state) {\n    // Return `undefined` if recoverableModules haven't been loaded yet.\n    if (state.recoverableModules === undefined) {\n      return undefined;\n    }\n    return Object.keys(state.recoverableModules).length > 0;\n  },\n  /**\n   * Gets the list of shared ownership modules for dashboard sharing.\n   *\n   * Returns an Object/map of objects, keyed by slug as same as `getModules`.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Shared ownership modules available on the site; `undefined` if not loaded.\n   */\n  getSharedOwnershipModules: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n\n      // Return `undefined` if modules OR sharedOwnershipModules haven't been loaded yet.\n      if (state.sharedOwnershipModules === undefined || modules === undefined) {\n        return undefined;\n      }\n      return Object.values(modules).reduce(function (sharedOwnershipModules, module) {\n        if (state.sharedOwnershipModules.includes(module.slug)) {\n          return _objectSpread(_objectSpread({}, sharedOwnershipModules), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, module.slug, module));\n        }\n        return sharedOwnershipModules;\n      }, {});\n    };\n  }),\n  /**\n   * Gets the list of non-internal shareable modules for dashboard sharing.\n   *\n   * Returns an Object/map of objects, keyed by slug as same as `getModules`.\n   *\n   * @since 1.95.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Non-internal shareable modules available on the site; `undefined` if not loaded.\n   */\n  getShareableModules: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var modules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModules();\n\n      // Return early if modules are not loaded.\n      if (modules === undefined) {\n        return undefined;\n      }\n      return Object.keys(modules).reduce(function (acc, slug) {\n        if (modules[slug].shareable) {\n          return _objectSpread(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, slug, modules[slug]), acc);\n        }\n        return acc;\n      }, {});\n    };\n  }),\n  /**\n   * Gets recovery errors for recoverable modules.\n   *\n   * Returns an object keyed by module slug, containing error details and module name,\n   * for all recoverable modules that have a corresponding recovery error.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state Data store's state (unused in this selector).\n   * @return {(Object|undefined)} Object of recovery errors keyed by module slug,\n   *                              or `undefined` if recoverable modules are not yet available.\n   */\n  getRecoveryErrors: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var recoverableModules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getRecoverableModules();\n      if (!recoverableModules) {\n        return undefined;\n      }\n      var recoveredModules = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getRecoveredModules();\n      if (!recoveredModules) {\n        return {};\n      }\n      var modules = Object.keys(recoverableModules);\n      function getRecoveryError(module) {\n        var _recoveredModules$err;\n        return recoveredModules === null || recoveredModules === void 0 ? void 0 : (_recoveredModules$err = recoveredModules.error) === null || _recoveredModules$err === void 0 ? void 0 : _recoveredModules$err[module];\n      }\n      return modules.filter(function (module) {\n        return !!getRecoveryError(module);\n      }).reduce(function (acc, module) {\n        return _objectSpread(_objectSpread({}, acc), {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3___default()({}, module, _objectSpread({\n          name: recoverableModules[module].name\n        }, getRecoveryError(module))));\n      }, {});\n    };\n  }),\n  /**\n   * Gets the list of recoverable module slugs the current user has access to.\n   *\n   * Returns an array of module slugs from `getRecoverableModules` that the user\n   * has access to based on `hasModuleAccess`.\n   *\n   * @since 1.157.0\n   *\n   * @param {Object} state Data store's state (unused in this selector).\n   * @return {(Array<string>|undefined)} Array of accessible recoverable module slugs,\n   *                                     or `undefined` if data is not ready.\n   */\n  getUserRecoverableModuleSlugs: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var _select2 = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]),\n        getRecoverableModules = _select2.getRecoverableModules,\n        hasModuleAccess = _select2.hasModuleAccess;\n      var modules = getRecoverableModules();\n      if (modules === undefined) {\n        return undefined;\n      }\n      var slugAccessEntries = Object.keys(modules).map(function (slug) {\n        return [slug, hasModuleAccess(slug)];\n      });\n      if (slugAccessEntries.some(function (_ref17) {\n        var _ref18 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref17, 2),\n          hasAccess = _ref18[1];\n        return hasAccess === undefined;\n      })) {\n        return undefined;\n      }\n      return slugAccessEntries.filter(function (_ref19) {\n        var _ref20 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref19, 2),\n          hasAccess = _ref20[1];\n        return hasAccess;\n      }).map(function (_ref21) {\n        var _ref22 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref21, 1),\n          slug = _ref22[0];\n        return slug;\n      });\n    };\n  }),\n  getRecoveredModules: function getRecoveredModules(state) {\n    return state.recoveredModules;\n  },\n  /**\n   * Gets the details link URL for a module.\n   *\n   * Returns the module homepage by default. This can be overwritten by a\n   * custom selector of the same name in the module store implementation.\n   *\n   * @since 1.144.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(string|null|undefined)} Details link URL; `null` if module is not available, or does not have a homepage. `undefined` if data is still loading.\n   */\n  getDetailsLinkURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var module = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModule(slug);\n      if (module === undefined) {\n        return undefined;\n      }\n      if (module === null) {\n        return null;\n      }\n      var storeName = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n      var _ref23 = select(storeName) || {},\n        getDetailsLinkURL = _ref23.getDetailsLinkURL;\n      if (typeof getDetailsLinkURL === 'function') {\n        return getDetailsLinkURL();\n      }\n      if (!module.homepage) {\n        return null;\n      }\n      return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_13__[\"CORE_USER\"]).getAccountChooserURL(module.homepage);\n    };\n  }),\n  /**\n   * Gets inline modules data.\n   *\n   * Returns all inline modules data that was loaded from the global variable.\n   *\n   * @since n.e.x.t\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Inline modules data object; `undefined` if not loaded.\n   */\n  getInlineModulesData: function getInlineModulesData(state) {\n    return state.inlineModulesData;\n  },\n  /**\n   * Gets inline data for a specific module.\n   *\n   * Returns inline data for the specified module slug.\n   *\n   * @since n.e.x.t\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {(Object|undefined)} Module inline data object; `undefined` if not loaded.\n   */\n  getModuleInlineData: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var inlineModulesData = select(_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).getInlineModulesData();\n      if (inlineModulesData === undefined) {\n        return undefined;\n      }\n      return inlineModulesData[slug];\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_10__[\"combineStores\"])(fetchGetModulesStore, fetchSetModuleActivationStore, fetchCheckModuleAccessStore, fetchRecoverModulesStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar controls = store.controls;\nvar reducer = store.reducer;\nvar resolvers = store.resolvers;\nvar selectors = store.selectors;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/modules.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/settings-panel.js":
/*!**************************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/settings-panel.js ***!
  \**************************************************************/
/*! exports provided: initialState, actions, reducer, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__);\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/modules` data store settings panel\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n// Actions\nvar SET_MODULE_SETTINGS_PANEL_STATE = 'SET_MODULE_SETTINGS_PANEL_STATE';\nvar initialState = {\n  settingsPanel: {\n    currentModule: null,\n    isEditing: false\n  }\n};\nvar actions = {\n  /**\n   * Sets the module settings panel state for a given module.\n   *\n   * @since 1.22.0\n   *\n   * @param {string} slug  Module slug.\n   * @param {string} value New setting for module, one of: closed, edit, view.\n   * @return {Object} Action for SET_MODULE_SETTINGS_PANEL_STATE.\n   */\n  setModuleSettingsPanelState: function setModuleSettingsPanelState(slug, value) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'slug is required.');\n    var validValues = ['closed', 'edit', 'view'];\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(validValues.includes(value), \"value should be one of \".concat(validValues.join(), \" \"));\n    return {\n      payload: {\n        slug: slug,\n        value: value\n      },\n      type: SET_MODULE_SETTINGS_PANEL_STATE\n    };\n  }\n};\nvar reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"createReducer\"])(function (state, _ref) {\n  var type = _ref.type,\n    payload = _ref.payload;\n  switch (type) {\n    case SET_MODULE_SETTINGS_PANEL_STATE:\n      {\n        var slug = payload.slug,\n          value = payload.value;\n        var settingsPanel = _objectSpread({}, state.settingsPanel);\n        settingsPanel.currentModule = 'closed' === value ? null : slug;\n        settingsPanel.isEditing = 'edit' === value;\n        state.settingsPanel = settingsPanel;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar selectors = {\n  /**\n   * Gets the settings panel state for a given module.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {string} Module settings panel state for a given module as one of: 'view', 'edit', or 'closed'.\n   */\n  getModuleSettingsPanelState: function getModuleSettingsPanelState(state, slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'slug is required.');\n    var _state$settingsPanel = state.settingsPanel,\n      currentModule = _state$settingsPanel.currentModule,\n      isEditing = _state$settingsPanel.isEditing;\n    if (currentModule === slug) {\n      return isEditing ? 'edit' : 'view';\n    }\n    return 'closed';\n  },\n  /**\n   * Checks whether the module settings panel is open for a given module.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {boolean} Whether or not the module settings panel is open for the module.\n   */\n  isModuleSettingsPanelOpen: function isModuleSettingsPanelOpen(state, slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'slug is required.');\n    return slug === state.settingsPanel.currentModule;\n  },\n  /**\n   * Checks whether the module settings panel is closed for a given module.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {boolean} Whether or not the module settings panel is closed for the module.\n   */\n  isModuleSettingsPanelClosed: function isModuleSettingsPanelClosed(state, slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'slug is required.');\n    return slug !== state.settingsPanel.currentModule;\n  },\n  /**\n   * Checks whether the module settings panel is in edit state for a given module.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {boolean} Whether or not the module settings panel is in edit state for the module.\n   */\n  isModuleSettingsPanelEdit: function isModuleSettingsPanelEdit(state, slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'slug is required.');\n    var _state$settingsPanel2 = state.settingsPanel,\n      currentModule = _state$settingsPanel2.currentModule,\n      isEditing = _state$settingsPanel2.isEditing;\n    return slug === currentModule && isEditing;\n  },\n  /**\n   * Checks whether the module settings panel is locked for a given module.\n   *\n   * @since 1.22.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} slug  Module slug.\n   * @return {boolean} Whether or not the module settings panel is locked for the module.\n   */\n  isModuleSettingsPanelLocked: function isModuleSettingsPanelLocked(state, slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(slug, 'slug is required.');\n    var _state$settingsPanel3 = state.settingsPanel,\n      currentModule = _state$settingsPanel3.currentModule,\n      isEditing = _state$settingsPanel3.isEditing;\n    return slug !== currentModule && isEditing;\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  actions: actions,\n  initialState: initialState,\n  reducer: reducer,\n  selectors: selectors\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/settings-panel.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/settings.js":
/*!********************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/settings.js ***!
  \********************************************************/
/*! exports provided: actions, controls, selectors, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"controls\", function() { return controls; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n\n\nvar _controls;\n/**\n * `core/modules` data store settings\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nvar SUBMIT_MODULE_CHANGES = 'SUBMIT_MODULE_CHANGES';\nvar ROLLBACK_MODULE_CHANGES = 'ROLLBACK_MODULE_CHANGES';\nvar actions = {\n  /**\n   * Submits all changes for a module.\n   *\n   * @since 1.20.0\n   *\n   * @param {string} slug Slug for module store.\n   * @return {Object} Module's submitChanges response object if it exists, otherwise object with `error` property if it doesn't.\n   */\n  submitChanges: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_5__[\"createValidatedAction\"])(function (slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(slug, 'slug is required.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee(slug) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return {\n              type: SUBMIT_MODULE_CHANGES,\n              payload: {\n                slug: slug\n              }\n            };\n          case 2:\n            return _context.abrupt(\"return\", _context.sent);\n          case 3:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })),\n  /**\n   * Rolls back all changes for a module.\n   *\n   * @since 1.45.0\n   *\n   * @param {string} slug Slug for module store.\n   * @return {Object} Module's rollbackChanges results.\n   */\n  rollbackChanges: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_5__[\"createValidatedAction\"])(function (slug) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(slug, 'slug is required.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function _callee2(slug) {\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return {\n              type: ROLLBACK_MODULE_CHANGES,\n              payload: {\n                slug: slug\n              }\n            };\n          case 2:\n            return _context2.abrupt(\"return\", _context2.sent);\n          case 3:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  }))\n};\nvar controls = (_controls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_controls, SUBMIT_MODULE_CHANGES, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistryControl\"])(function (registry) {\n  return function (_ref) {\n    var payload = _ref.payload;\n    var slug = payload.slug;\n    var storeName = registry.select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n    if (!storeName) {\n      return {\n        error: \"The module '\".concat(slug, \"' does not have a store.\")\n      };\n    }\n    var _registry$dispatch = registry.dispatch(storeName),\n      submitChanges = _registry$dispatch.submitChanges;\n    if (!submitChanges) {\n      return {\n        error: \"The module '\".concat(slug, \"' does not have a submitChanges() action.\")\n      };\n    }\n    return submitChanges(slug);\n  };\n})), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_controls, ROLLBACK_MODULE_CHANGES, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistryControl\"])(function (registry) {\n  return function (_ref2) {\n    var payload = _ref2.payload;\n    var slug = payload.slug;\n    var storeName = registry.select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n    if (!storeName) {\n      return {\n        error: \"The module '\".concat(slug, \"' does not have a store.\")\n      };\n    }\n    var _registry$dispatch2 = registry.dispatch(storeName),\n      rollbackChanges = _registry$dispatch2.rollbackChanges;\n    if (rollbackChanges) {\n      return rollbackChanges(slug);\n    }\n    return {\n      error: \"The module '\".concat(slug, \"' does not support rollbackChanges().\")\n    };\n  };\n})), _controls);\nvar selectors = {\n  /**\n   * Checks whether settings edit dependencies are currently loading for a module.\n   *\n   * @since 1.144.0\n   *\n   * @param {string} slug Module slug.\n   * @return {boolean?} Whether or not settings edit dependencies are currently loading for the module,\n   *                    or `undefined` if the store doesn't exist.\n   */\n  areSettingsEditDependenciesLoaded: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(slug, 'slug is required.');\n      var storeName = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n      var moduleSelectors = select(storeName);\n      if (!moduleSelectors) {\n        return undefined;\n      }\n      return (\n        // If the module doesn't implement the selector, consider dependencies loaded,\n        !moduleSelectors.areSettingsEditDependenciesLoaded ||\n        // otherwise defer to the result of the selector.\n        !!moduleSelectors.areSettingsEditDependenciesLoaded()\n      );\n    };\n  }),\n  /**\n   * Checks whether changes are currently being submitted for a module.\n   *\n   * @since 1.20.0\n   *\n   * @param {string} slug Slug for module store.\n   * @return {Object} Module's submitChanges response object if it exists, otherwise object with `error` property if it doesn't.\n   */\n  isDoingSubmitChanges: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var _select, _select$isDoingSubmit;\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(slug, 'slug is required.');\n      var storeName = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n      return !!((_select = select(storeName)) === null || _select === void 0 ? void 0 : (_select$isDoingSubmit = _select.isDoingSubmitChanges) === null || _select$isDoingSubmit === void 0 ? void 0 : _select$isDoingSubmit.call(_select));\n    };\n  }),\n  /**\n   * Checks whether we can submit changes for a module.\n   *\n   * @since 1.20.0\n   *\n   * @param {string} slug Slug for module store.\n   * @return {boolean} Whether the module supports submitting changes.\n   */\n  canSubmitChanges: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var _select2, _select2$canSubmitCha;\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(slug, 'slug is required.');\n      var storeName = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n      return !!((_select2 = select(storeName)) === null || _select2 === void 0 ? void 0 : (_select2$canSubmitCha = _select2.canSubmitChanges) === null || _select2$canSubmitCha === void 0 ? void 0 : _select2$canSubmitCha.call(_select2));\n    };\n  }),\n  /**\n   * Checks whether there are changes to save for a module.\n   *\n   * @since 1.125.0\n   *\n   * @param {string} slug Slug for module store.\n   * @return {boolean} Whether changes have been made in the settings form.\n   */\n  haveSettingsChanged: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, slug) {\n      var _select3, _select3$haveSettings;\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(slug, 'slug is required.');\n      var storeName = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n      return !!((_select3 = select(storeName)) === null || _select3 === void 0 ? void 0 : (_select3$haveSettings = _select3.haveSettingsChanged) === null || _select3$haveSettings === void 0 ? void 0 : _select3$haveSettings.call(_select3));\n    };\n  })\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  actions: actions,\n  controls: controls,\n  selectors: selectors\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/settings.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/datastore/sharing-settings.js":
/*!****************************************************************!*\
  !*** ./js/googlesitekit/modules/datastore/sharing-settings.js ***!
  \****************************************************************/
/*! exports provided: INVARIANT_DOING_SUBMIT_SHARING_CHANGES, INVARIANT_SHARING_SETTINGS_NOT_CHANGED, initialState, actions, selectors, reducer, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_DOING_SUBMIT_SHARING_CHANGES\", function() { return INVARIANT_DOING_SUBMIT_SHARING_CHANGES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_SHARING_SETTINGS_NOT_CHANGED\", function() { return INVARIANT_SHARING_SETTINGS_NOT_CHANGED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"initialState\", function() { return initialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"actions\", function() { return actions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"selectors\", function() { return selectors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return reducer; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ \"../node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js\");\n/* harmony import */ var _babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-data */ \"googlesitekit-data\");\n/* harmony import */ var googlesitekit_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * `core/modules` data store: module sharing settings\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n// Actions\nvar SET_SHARING_MANAGEMENT = 'SET_SHARING_MANAGEMENT';\nvar SET_SHARED_ROLES = 'SET_SHARED_ROLES';\nvar RECEIVE_GET_SHARING_SETTINGS = 'RECEIVE_GET_SHARING_SETTINGS';\nvar RECEIVE_SHAREABLE_ROLES = 'RECEIVE_SHAREABLE_ROLES';\nvar START_SUBMIT_SHARING_CHANGES = 'START_SUBMIT_SHARING_CHANGES';\nvar FINISH_SUBMIT_SHARING_CHANGES = 'FINISH_SUBMIT_SHARING_CHANGES';\nvar ROLLBACK_SHARING_SETTINGS = 'ROLLBACK_SHARING_SETTINGS';\nvar RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS = 'RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS';\n\n// Invariant error messages.\nvar INVARIANT_DOING_SUBMIT_SHARING_CHANGES = 'cannot submit sharing changes while submitting changes';\nvar INVARIANT_SHARING_SETTINGS_NOT_CHANGED = 'cannot submit changes if sharing settings have not changed';\nvar validManagementValues = ['all_admins', 'owner'];\nvar baseInitialState = {\n  sharingSettings: undefined,\n  savedSharingSettings: undefined,\n  shareableRoles: undefined,\n  isDoingSubmitSharingChanges: undefined,\n  defaultSharedOwnershipModuleSettings: undefined\n};\nvar fetchSaveSharingSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'saveSharingSettings',\n  controlCallback: function controlCallback(_ref) {\n    var savedSharingSettings = _ref.savedSharingSettings;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__[\"set\"])('core', 'modules', 'sharing-settings', savedSharingSettings);\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, _ref2) {\n    var settings = _ref2.settings;\n    state.savedSharingSettings = settings;\n    state.sharingSettings = settings;\n  }),\n  argsToParams: function argsToParams(savedSharingSettings) {\n    return {\n      savedSharingSettings: savedSharingSettings\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      savedSharingSettings = _ref3.savedSharingSettings;\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(savedSharingSettings, 'savedSharingSettings is required.');\n  }\n});\nvar fetchResetSharingSettingsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'resetSharingSettings',\n  controlCallback: function controlCallback(_ref4) {\n    _babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_3___default()(_ref4);\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_6__[\"set\"])('core', 'modules', 'sharing-settings', {}, {\n      method: 'DELETE'\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state) {\n    state.savedSharingSettings = {};\n    state.sharingSettings = {};\n  })\n});\nvar baseActions = {\n  /**\n   * Sets the sharing settings management of a given module.\n   *\n   * @since 1.77.0\n   *\n   * @param {string} moduleSlug Module slug.\n   * @param {string} management New management for a module, one of all_admins | owner.\n   * @return {Object} Action for SET_SHARING_MANAGEMENT.\n   */\n  setSharingManagement: function setSharingManagement(moduleSlug, management) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(moduleSlug, 'moduleSlug is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(validManagementValues.includes(management), \"management must be one of: \".concat(validManagementValues.join(', '), \".\"));\n    return {\n      payload: {\n        moduleSlug: moduleSlug,\n        management: management\n      },\n      type: SET_SHARING_MANAGEMENT\n    };\n  },\n  /**\n   * Sets the sharing settings shared roles of a given module.\n   *\n   * @since 1.77.0\n   *\n   * @param {string}   moduleSlug Module slug.\n   * @param {string[]} roles      List of roles the module is shared with.\n   * @return {Object} Action for SET_SHARED_ROLES.\n   */\n  setSharedRoles: function setSharedRoles(moduleSlug, roles) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(moduleSlug, 'moduleSlug is required.');\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(Array.isArray(roles) && roles.every(function (role) {\n      return typeof role === 'string';\n    }), 'roles must be an array of strings.');\n    return {\n      payload: {\n        moduleSlug: moduleSlug,\n        roles: roles\n      },\n      type: SET_SHARED_ROLES\n    };\n  },\n  /**\n   * Saves sharingSettings for dashboard sharing.\n   *\n   * Save sharingSettings for dashboard sharing.\n   * Update ownerID from the response for the modules in the sharingSettings state.\n   *\n   * @since 1.77.0\n   *\n   * @return {Object} Object with `{response, error}`.\n   */\n  saveSharingSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function saveSharingSettings() {\n    var registry, sharingSettings, _yield$fetchSaveShari, response, error, _i, _Object$entries, _Object$entries$_i, slug, ownerID, storeName;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function saveSharingSettings$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context.sent;\n            _context.next = 5;\n            return {\n              type: START_SUBMIT_SHARING_CHANGES,\n              payload: {}\n            };\n          case 5:\n            sharingSettings = registry.select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getSharingSettings();\n            _context.next = 8;\n            return fetchSaveSharingSettingsStore.actions.fetchSaveSharingSettings(sharingSettings);\n          case 8:\n            _yield$fetchSaveShari = _context.sent;\n            response = _yield$fetchSaveShari.response;\n            error = _yield$fetchSaveShari.error;\n            // Update module owner IDs in the sharing settings modules.\n            if (!error && Object.keys(response.newOwnerIDs).length) {\n              for (_i = 0, _Object$entries = Object.entries(response.newOwnerIDs); _i < _Object$entries.length; _i++) {\n                _Object$entries$_i = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_Object$entries[_i], 2), slug = _Object$entries$_i[0], ownerID = _Object$entries$_i[1];\n                storeName = registry.select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getModuleStoreName(slug);\n                registry.dispatch(storeName).setOwnerID(ownerID);\n              }\n            }\n            _context.next = 14;\n            return {\n              type: FINISH_SUBMIT_SHARING_CHANGES,\n              payload: {}\n            };\n          case 14:\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 15:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, saveSharingSettings);\n  }),\n  /**\n   * Resets sharingSettings for dashboard sharing.\n   *\n   * Reset sharingSettings for dashboard sharing.\n   *\n   * @since 1.84.0\n   *\n   * @return {Object} Object with `{response, error}`.\n   */\n  resetSharingSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function resetSharingSettings() {\n    var _yield$fetchResetShar, response, error;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function resetSharingSettings$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return {\n              type: START_SUBMIT_SHARING_CHANGES,\n              payload: {}\n            };\n          case 2:\n            _context2.next = 4;\n            return fetchResetSharingSettingsStore.actions.fetchResetSharingSettings();\n          case 4:\n            _yield$fetchResetShar = _context2.sent;\n            response = _yield$fetchResetShar.response;\n            error = _yield$fetchResetShar.error;\n            _context2.next = 9;\n            return {\n              type: FINISH_SUBMIT_SHARING_CHANGES,\n              payload: {}\n            };\n          case 9:\n            return _context2.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 10:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, resetSharingSettings);\n  }),\n  /**\n   * Receives sharingSettings for dashboard sharing.\n   * Stores sharingSettings in the datastore.\n   *\n   * Because this is frequently-accessed data, this is usually sourced\n   * from a global variable (`_googlesitekitDashboardSharingData`), set by PHP\n   * in the `before_print` callback for `googlesitekit-datastore-site`.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} sharingSettings Sharing settings for modules with `management` and `sharedRoles` properties.\n   * @return {Object} Action for RECEIVE_GET_SHARING_SETTINGS.\n   */\n  receiveGetSharingSettings: function receiveGetSharingSettings(sharingSettings) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(sharingSettings, 'sharingSettings is required.');\n    return {\n      payload: {\n        sharingSettings: sharingSettings\n      },\n      type: RECEIVE_GET_SHARING_SETTINGS\n    };\n  },\n  /**\n   * Receives shareableRoles for dashboard sharing.\n   * Stores shareableRoles in the datastore.\n   *\n   * Because this is frequently-accessed data, this is usually sourced\n   * from a global variable (`_googlesitekitDashboardSharingData`), set by PHP\n   * in the `before_print` callback for `googlesitekit-datastore-site`.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} shareableRoles Shareable Roles for modules with `management` and `sharedRoles` properties.\n   * @return {Object} Action for RECEIVE_SHAREABLE_ROLES.\n   */\n  receiveShareableRoles: function receiveShareableRoles(shareableRoles) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(shareableRoles, 'shareableRoles is required.');\n    return {\n      payload: {\n        shareableRoles: shareableRoles\n      },\n      type: RECEIVE_SHAREABLE_ROLES\n    };\n  },\n  /**\n   * Restores the sharing settings to the currently saved values.\n   *\n   * @since 1.78.0\n   *\n   * @return {Object} Action for ROLLBACK_SHARING_SETTINGS.\n   */\n  rollbackSharingSettings: function rollbackSharingSettings() {\n    return {\n      payload: {},\n      type: ROLLBACK_SHARING_SETTINGS\n    };\n  },\n  /**\n   * Receives defaultSharedOwnershipModuleSettings for dashboard sharing.\n   * Stores defaultSharedOwnershipModuleSettings in the datastore.\n   *\n   * Because this is frequently-accessed data, this is usually sourced\n   * from a global variable (`_googlesitekitDashboardSharingData`), set by PHP\n   * in the `before_print` callback for `googlesitekit-datastore-site`.\n   *\n   * @since 1.85.0\n   *\n   * @param {Object} defaultSharedOwnershipModuleSettings Default sharing settings for the shared ownership modules.\n   * @return {Object} Action for RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS.\n   */\n  receiveDefaultSharedOwnershipModuleSettings: function receiveDefaultSharedOwnershipModuleSettings(defaultSharedOwnershipModuleSettings) {\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(defaultSharedOwnershipModuleSettings, 'defaultSharedOwnershipModuleSettings is required.');\n    return {\n      payload: {\n        defaultSharedOwnershipModuleSettings: defaultSharedOwnershipModuleSettings\n      },\n      type: RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS\n    };\n  }\n};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createReducer\"])(function (state, _ref5) {\n  var type = _ref5.type,\n    payload = _ref5.payload;\n  switch (type) {\n    case SET_SHARING_MANAGEMENT:\n      {\n        var moduleSlug = payload.moduleSlug,\n          management = payload.management;\n        state.sharingSettings[moduleSlug] = _objectSpread(_objectSpread({}, state.sharingSettings[moduleSlug]), {}, {\n          management: management\n        });\n        break;\n      }\n    case SET_SHARED_ROLES:\n      {\n        var _moduleSlug = payload.moduleSlug,\n          roles = payload.roles;\n        state.sharingSettings[_moduleSlug] = _objectSpread(_objectSpread({}, state.sharingSettings[_moduleSlug]), {}, {\n          sharedRoles: roles\n        });\n        break;\n      }\n    case RECEIVE_GET_SHARING_SETTINGS:\n      {\n        var sharingSettings = payload.sharingSettings;\n        state.sharingSettings = sharingSettings;\n        state.savedSharingSettings = sharingSettings;\n        break;\n      }\n    case RECEIVE_SHAREABLE_ROLES:\n      {\n        var shareableRoles = payload.shareableRoles;\n        state.shareableRoles = shareableRoles;\n        break;\n      }\n    case START_SUBMIT_SHARING_CHANGES:\n      {\n        state.isDoingSubmitSharingChanges = true;\n        break;\n      }\n    case FINISH_SUBMIT_SHARING_CHANGES:\n      {\n        state.isDoingSubmitSharingChanges = false;\n        break;\n      }\n    case ROLLBACK_SHARING_SETTINGS:\n      {\n        state.sharingSettings = state.savedSharingSettings;\n        break;\n      }\n    case RECEIVE_DEFAULT_SHARED_OWNERSHIP_MODULE_SETTINGS:\n      {\n        var defaultSharedOwnershipModuleSettings = payload.defaultSharedOwnershipModuleSettings;\n        state.defaultSharedOwnershipModuleSettings = defaultSharedOwnershipModuleSettings;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar baseResolvers = {\n  getSharingSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getSharingSettings() {\n    var registry, settings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getSharingSettings$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context3.sent;\n            if (!registry.select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getSharingSettings()) {\n              _context3.next = 5;\n              break;\n            }\n            return _context3.abrupt(\"return\");\n          case 5:\n            if (global._googlesitekitDashboardSharingData) {\n              _context3.next = 8;\n              break;\n            }\n            global.console.error('Could not load core/modules dashboard sharing settings.');\n            return _context3.abrupt(\"return\");\n          case 8:\n            settings = global._googlesitekitDashboardSharingData.settings;\n            _context3.next = 11;\n            return actions.receiveGetSharingSettings(settings);\n          case 11:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, getSharingSettings);\n  }),\n  getShareableRoles: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getShareableRoles() {\n    var registry, roles;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getShareableRoles$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _context4.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context4.sent;\n            if (!registry.select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getShareableRoles()) {\n              _context4.next = 5;\n              break;\n            }\n            return _context4.abrupt(\"return\");\n          case 5:\n            if (global._googlesitekitDashboardSharingData) {\n              _context4.next = 8;\n              break;\n            }\n            global.console.error('Could not load core/modules dashboard sharing roles.');\n            return _context4.abrupt(\"return\");\n          case 8:\n            roles = global._googlesitekitDashboardSharingData.roles;\n            _context4.next = 11;\n            return actions.receiveShareableRoles(roles);\n          case 11:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, getShareableRoles);\n  }),\n  getDefaultSharedOwnershipModuleSettings: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getDefaultSharedOwnershipModuleSettings() {\n    var registry, defaultSharedOwnershipModuleSettings;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getDefaultSharedOwnershipModuleSettings$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"commonActions\"].getRegistry();\n          case 2:\n            registry = _context5.sent;\n            if (!registry.select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getDefaultSharedOwnershipModuleSettings()) {\n              _context5.next = 5;\n              break;\n            }\n            return _context5.abrupt(\"return\");\n          case 5:\n            if (global._googlesitekitDashboardSharingData) {\n              _context5.next = 8;\n              break;\n            }\n            global.console.error('Could not load core/modules dashboard sharing.');\n            return _context5.abrupt(\"return\");\n          case 8:\n            defaultSharedOwnershipModuleSettings = global._googlesitekitDashboardSharingData.defaultSharedOwnershipModuleSettings;\n            _context5.next = 11;\n            return baseActions.receiveDefaultSharedOwnershipModuleSettings(defaultSharedOwnershipModuleSettings);\n          case 11:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, getDefaultSharedOwnershipModuleSettings);\n  })\n};\nfunction validateCanSubmitSharingChanges(select) {\n  var strictSelect = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_10__[\"createStrictSelect\"])(select);\n  var _strictSelect = strictSelect(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]),\n    isDoingSubmitSharingChanges = _strictSelect.isDoingSubmitSharingChanges,\n    haveSharingSettingsChanged = _strictSelect.haveSharingSettingsChanged;\n  invariant__WEBPACK_IMPORTED_MODULE_4___default()(!isDoingSubmitSharingChanges(), INVARIANT_DOING_SUBMIT_SHARING_CHANGES);\n  invariant__WEBPACK_IMPORTED_MODULE_4___default()(haveSharingSettingsChanged(), INVARIANT_SHARING_SETTINGS_NOT_CHANGED);\n}\nvar _createValidationSele = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_10__[\"createValidationSelector\"])(validateCanSubmitSharingChanges),\n  canSubmitSharingChanges = _createValidationSele.safeSelector,\n  __dangerousCanSubmitSharingChanges = _createValidationSele.dangerousSelector;\nvar baseSelectors = {\n  canSubmitSharingChanges: canSubmitSharingChanges,\n  __dangerousCanSubmitSharingChanges: __dangerousCanSubmitSharingChanges,\n  /**\n   * Gets the current dashboard sharing settings.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Sharing Settings object. Returns undefined if it is not loaded yet.\n   */\n  getSharingSettings: function getSharingSettings(state) {\n    var sharingSettings = state.sharingSettings;\n    return sharingSettings;\n  },\n  /**\n   * Gets the current dashboard shareable roles.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Shareable Roles object. Returns undefined if it is not loaded yet.\n   */\n  getShareableRoles: function getShareableRoles(state) {\n    var shareableRoles = state.shareableRoles;\n    return shareableRoles;\n  },\n  /**\n   * Gets the dashboard sharing management for the given module.\n   *\n   * Returns the module's sharing management string.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} moduleSlug Module slug.\n   * @return {(string|null|undefined)} The module's sharing management string, null if there is none,\n   *                                   undefined if not loaded yet.\n   */\n  getSharingManagement: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, moduleSlug) {\n      var _sharingSettings$modu;\n      invariant__WEBPACK_IMPORTED_MODULE_4___default()(moduleSlug, 'moduleSlug is required.');\n      var sharingSettings = select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getSharingSettings();\n      if (sharingSettings === undefined) {\n        return undefined;\n      }\n      return ((_sharingSettings$modu = sharingSettings[moduleSlug]) === null || _sharingSettings$modu === void 0 ? void 0 : _sharingSettings$modu.management) || null;\n    };\n  }),\n  /**\n   * Gets the shared roles for the given module.\n   *\n   * Returns the module's shared roles list.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state      Data store's state.\n   * @param {string} moduleSlug Module slug.\n   * @return {(Array|null|undefined)} The module's shared roles array, null if there is none,\n   *                                   undefined if not loaded yet.\n   */\n  getSharedRoles: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"createRegistrySelector\"])(function (select) {\n    return function (state, moduleSlug) {\n      var _sharingSettings$modu2;\n      invariant__WEBPACK_IMPORTED_MODULE_4___default()(moduleSlug, 'moduleSlug is required.');\n      var sharingSettings = select(_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_MODULES\"]).getSharingSettings();\n      if (sharingSettings === undefined) {\n        return undefined;\n      }\n      return ((_sharingSettings$modu2 = sharingSettings[moduleSlug]) === null || _sharingSettings$modu2 === void 0 ? void 0 : _sharingSettings$modu2.sharedRoles) || null;\n    };\n  }),\n  /**\n   * Indicates whether the current sharing settings have changed from what is saved.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object}     state Data store's state.\n   * @param {Array|null} keys  Sharing Settings keys to check; if not provided, all sharing settings are checked.\n   * @return {boolean} True if the sharing settings have changed, false otherwise.\n   */\n  haveSharingSettingsChanged: function haveSharingSettingsChanged(state) {\n    var keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n    var sharingSettings = state.sharingSettings,\n      savedSharingSettings = state.savedSharingSettings;\n    if (keys) {\n      return !Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isEqual\"])(Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"pick\"])(sharingSettings, keys), Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"pick\"])(savedSharingSettings, keys));\n    }\n    return !Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isEqual\"])(sharingSettings, savedSharingSettings);\n  },\n  /**\n   * Compares current sharing settings management OR sharedRoles have changed from what is saved.\n   *\n   * @since 1.78.0\n   *\n   * @param {Object} state Data store's state.\n   * @param {string} key   Sharing Settings property key to check; one of `management` | `sharedRoles`.\n   * @return {boolean|undefined} True if the sharing settings have changed, false otherwise, `undefined` if not yet loaded.\n   */\n  haveSharingSettingsExpanded: function haveSharingSettingsExpanded(state, key) {\n    var validKeys = ['management', 'sharedRoles'];\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(validKeys.includes(key), \"key must be one of: \".concat(validKeys.join(', '), \".\"));\n    var sharingSettings = state.sharingSettings,\n      savedSharingSettings = state.savedSharingSettings;\n    if (sharingSettings === undefined || savedSharingSettings === undefined) {\n      return undefined;\n    }\n\n    // Return `true` if the management setting for any module has been\n    // changed from `owner` to `all_admins`.\n    if (key === 'management') {\n      return Object.keys(sharingSettings).some(function (moduleSlug) {\n        var _savedSharingSettings, _sharingSettings$modu3, _sharingSettings$modu4;\n        var hasInitialManagementChanged = ((_savedSharingSettings = savedSharingSettings[moduleSlug]) === null || _savedSharingSettings === void 0 ? void 0 : _savedSharingSettings.management) !== ((_sharingSettings$modu3 = sharingSettings[moduleSlug]) === null || _sharingSettings$modu3 === void 0 ? void 0 : _sharingSettings$modu3.management);\n        return hasInitialManagementChanged && ((_sharingSettings$modu4 = sharingSettings[moduleSlug]) === null || _sharingSettings$modu4 === void 0 ? void 0 : _sharingSettings$modu4.management) === 'all_admins';\n      });\n    }\n\n    // Return `true` if sharing settings for any module contain roles\n    // that haven't been previously selected.\n    if (key === 'sharedRoles') {\n      return Object.keys(sharingSettings).some(function (moduleSlug) {\n        var _sharingSettings$modu5, _sharingSettings$modu6;\n        return ((_sharingSettings$modu5 = sharingSettings[moduleSlug]) === null || _sharingSettings$modu5 === void 0 ? void 0 : (_sharingSettings$modu6 = _sharingSettings$modu5.sharedRoles) === null || _sharingSettings$modu6 === void 0 ? void 0 : _sharingSettings$modu6.filter(function (currentRole) {\n          var _savedSharingSettings2, _savedSharingSettings3;\n          return !((_savedSharingSettings2 = savedSharingSettings[moduleSlug]) === null || _savedSharingSettings2 === void 0 ? void 0 : (_savedSharingSettings3 = _savedSharingSettings2.sharedRoles) === null || _savedSharingSettings3 === void 0 ? void 0 : _savedSharingSettings3.includes(currentRole));\n        }).length) > 0;\n      });\n    }\n    return false;\n  },\n  /**\n   * Indicates whether the current sharing settings have changed from what is saved for the given module.\n   *\n   * @since 1.80.0\n   *\n   * @param {Object}     state      Data store's state.\n   * @param {string}     moduleSlug Module slug.\n   * @param {Array|null} keys       Sharing Settings keys to check; if not provided, all sharing settings are checked.\n   * @return {boolean|undefined} True if the given module's sharing settings have changed; false otherwise; `undefined` if not yet loaded.\n   */\n  haveModuleSharingSettingsChanged: function haveModuleSharingSettingsChanged(state, moduleSlug) {\n    var keys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n    invariant__WEBPACK_IMPORTED_MODULE_4___default()(moduleSlug, 'moduleSlug is required.');\n    var sharingSettings = state.sharingSettings,\n      savedSharingSettings = state.savedSharingSettings;\n    if (sharingSettings === undefined || savedSharingSettings === undefined) {\n      return undefined;\n    }\n    if (keys) {\n      return !Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isEqual\"])(Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"pick\"])(sharingSettings[moduleSlug], keys), Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"pick\"])(savedSharingSettings[moduleSlug], keys));\n    }\n    return !Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isEqual\"])(sharingSettings[moduleSlug], savedSharingSettings[moduleSlug]);\n  },\n  /**\n   * Checks whether sharing settings changes are currently being submitted.\n   *\n   * @since 1.77.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} TRUE if submitting, otherwise FALSE.\n   */\n  isDoingSubmitSharingChanges: function isDoingSubmitSharingChanges(state) {\n    return !!state.isDoingSubmitSharingChanges;\n  },\n  /**\n   * Gets the default sharing settings for shared ownership modules.\n   *\n   * @since 1.85.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {(Object|undefined)} Sharing Settings object. Returns undefined if it is not loaded yet.\n   */\n  getDefaultSharedOwnershipModuleSettings: function getDefaultSharedOwnershipModuleSettings(state) {\n    var defaultSharedOwnershipModuleSettings = state.defaultSharedOwnershipModuleSettings;\n    return defaultSharedOwnershipModuleSettings;\n  },\n  /**\n   * Indicates whether the sharing settings have updated from default.\n   *\n   * @since 1.85.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if the sharing settings have updated, false otherwise.\n   */\n  haveSharingSettingsUpdated: function haveSharingSettingsUpdated(state) {\n    var savedSharingSettings = state.savedSharingSettings,\n      sharedOwnershipModules = state.sharedOwnershipModules;\n    if (Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isEmpty\"])(savedSharingSettings) || Object(lodash__WEBPACK_IMPORTED_MODULE_5__[\"isEmpty\"])(sharedOwnershipModules)) {\n      return false;\n    }\n    return Object.keys(savedSharingSettings).some(function (moduleSlug) {\n      var _savedSharingSettings4 = savedSharingSettings[moduleSlug],\n        sharedRoles = _savedSharingSettings4.sharedRoles,\n        management = _savedSharingSettings4.management;\n      var isSharedOwnershipModule = sharedOwnershipModules.includes(moduleSlug);\n      var defaultManagement = isSharedOwnershipModule ? 'all_admins' : 'owner';\n      return sharedRoles.length > 0 || management !== defaultManagement;\n    });\n  }\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"combineStores\"])(fetchSaveSharingSettingsStore, fetchResetSharingSettingsStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  selectors: baseSelectors,\n  reducer: baseReducer,\n  resolvers: baseResolvers\n});\nvar initialState = store.initialState;\nvar actions = store.actions;\nvar selectors = store.selectors;\nvar reducer = store.reducer;\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/sharing-settings.js\n");

/***/ }),

/***/ "./js/googlesitekit/modules/index.js":
/*!*******************************************!*\
  !*** ./js/googlesitekit/modules/index.js ***!
  \*******************************************/
/*! exports provided: registerStore, createModules */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createModules\", function() { return createModules; });\n/* harmony import */ var _create_module_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create-module-store */ \"./js/googlesitekit/modules/create-module-store.js\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _datastore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./datastore */ \"./js/googlesitekit/modules/datastore/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"registerStore\", function() { return _datastore__WEBPACK_IMPORTED_MODULE_2__[\"registerStore\"]; });\n\n/**\n * Modules API.\n *\n * Provides API functions to manage modules.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Internal dependencies\n */\n\n\n\n\n/**\n * Creates a new instance of Modules.\n *\n * @since 1.26.0\n *\n * @param {Object}   registry          Datastore registry.\n * @param {Function} registry.dispatch Registry dispatch function.\n * @return {Object} Modules instance.\n */\nfunction createModules(_ref) {\n  var dispatch = _ref.dispatch;\n  var Modules = {\n    createModuleStore: _create_module_store__WEBPACK_IMPORTED_MODULE_0__[\"createModuleStore\"],\n    /**\n     * Activates a module on the server.\n     *\n     * Activate a module (based on the slug provided).\n     *\n     * @since 1.8.0\n     *\n     * @param {string} slug Slug of the module to activate.\n     * @return {Promise} The dispatched action.\n     */\n    activateModule: function activateModule(slug) {\n      return dispatch(_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_MODULES\"]).activateModule(slug);\n    },\n    /**\n     * Deactivates a module on the server.\n     *\n     * Deactivate a module (based on the slug provided).\n     *\n     * @since 1.8.0\n     *\n     * @param {string} slug Slug of the module to activate.\n     * @return {Promise} The dispatched action.\n     */\n    deactivateModule: function deactivateModule(slug) {\n      return dispatch(_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_MODULES\"]).deactivateModule(slug);\n    },\n    /**\n     * Registers a module.\n     *\n     * @since 1.13.0\n     * @since 1.20.0 Introduced the ability to register settings and setup components.\n     * @since 1.22.0 Introduced the ability to add a checkRequirements function.\n     * @since 1.23.0 Introduced the ability to register an Icon component.\n     * @since 1.35.0 Introduced a registry parameter for checkRequirements.\n     * @since 1.132.0 Introduced dashboard effect components.\n     *\n     * @param {string}      slug                                      Module slug.\n     * @param {Object}      [settings]                                Optional. Module settings.\n     * @param {string}      [settings.name]                           Optional. Module name. Default is the slug.\n     * @param {string}      [settings.description]                    Optional. Module description. Default empty string.\n     * @param {WPComponent} [settings.Icon]                           Optional. React component to render module icon. Default none.\n     * @param {number}      [settings.order]                          Optional. Numeric indicator for module order. Default 10.\n     * @param {string}      [settings.homepage]                       Optional. Module homepage URL. Default empty string.\n     * @param {WPComponent} [settings.SettingsEditComponent]          Optional. React component to render the settings edit panel. Default none.\n     * @param {WPComponent} [settings.SettingsViewComponent]          Optional. React component to render the settings view panel. Default none.\n     * @param {WPComponent} [settings.SetupComponent]                 Optional. React component to render the setup panel. Default none.\n     * @param {WPComponent} [settings.DashboardMainEffectComponent]   Optional. React component to render the effects on main dashboard. Default none.\n     * @param {WPComponent} [settings.DashboardEntityEffectComponent] Optional. React component to render the effects on entity dashboard. Default none.\n     * @return {Promise} The dispatched action.\n     */\n    registerModule: function registerModule(slug, settings) {\n      return dispatch(_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_MODULES\"]).registerModule(slug, settings);\n    }\n  };\n  return Modules;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/index.js\n");

/***/ }),

/***/ "./js/material-components/layout/Cell.js":
/*!***********************************************!*\
  !*** ./js/material-components/layout/Cell.js ***!
  \***********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Cell; });\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n/**\n * Material UI > Layout > Cell component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\nfunction Cell(props) {\n  var _classnames;\n  var className = props.className,\n    alignTop = props.alignTop,\n    alignMiddle = props.alignMiddle,\n    alignBottom = props.alignBottom,\n    alignRight = props.alignRight,\n    alignLeft = props.alignLeft,\n    smAlignRight = props.smAlignRight,\n    mdAlignRight = props.mdAlignRight,\n    lgAlignRight = props.lgAlignRight,\n    smSize = props.smSize,\n    smStart = props.smStart,\n    smOrder = props.smOrder,\n    mdSize = props.mdSize,\n    mdStart = props.mdStart,\n    mdOrder = props.mdOrder,\n    lgSize = props.lgSize,\n    lgStart = props.lgStart,\n    lgOrder = props.lgOrder,\n    size = props.size,\n    children = props.children,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(props, [\"className\", \"alignTop\", \"alignMiddle\", \"alignBottom\", \"alignRight\", \"alignLeft\", \"smAlignRight\", \"mdAlignRight\", \"lgAlignRight\", \"smSize\", \"smStart\", \"smOrder\", \"mdSize\", \"mdStart\", \"mdOrder\", \"lgSize\", \"lgStart\", \"lgOrder\", \"size\", \"children\"]);\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, otherProps, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(className, 'mdc-layout-grid__cell', (_classnames = {\n      'mdc-layout-grid__cell--align-top': alignTop,\n      'mdc-layout-grid__cell--align-middle': alignMiddle,\n      'mdc-layout-grid__cell--align-bottom': alignBottom,\n      'mdc-layout-grid__cell--align-right': alignRight,\n      'mdc-layout-grid__cell--align-left': alignLeft,\n      'mdc-layout-grid__cell--align-right-phone': smAlignRight,\n      'mdc-layout-grid__cell--align-right-tablet': mdAlignRight,\n      'mdc-layout-grid__cell--align-right-desktop': lgAlignRight\n    }, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(size), 12 >= size && size > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(lgSize, \"-desktop\"), 12 >= lgSize && lgSize > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--start-\".concat(lgStart, \"-desktop\"), 12 >= lgStart && lgStart > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--order-\".concat(lgOrder, \"-desktop\"), 12 >= lgOrder && lgOrder > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(mdSize, \"-tablet\"), 8 >= mdSize && mdSize > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--start-\".concat(mdStart, \"-tablet\"), 8 >= mdStart && mdStart > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--order-\".concat(mdOrder, \"-tablet\"), 8 >= mdOrder && mdOrder > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--span-\".concat(smSize, \"-phone\"), 4 >= smSize && smSize > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--start-\".concat(smStart, \"-phone\"), 4 >= smStart && smStart > 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"mdc-layout-grid__cell--order-\".concat(smOrder, \"-phone\"), 4 >= smOrder && smOrder > 0), _classnames))\n  }), children);\n}\nCell.propTypes = {\n  smSize: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  smStart: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  smOrder: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  mdSize: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  mdStart: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  mdOrder: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  lgSize: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  lgStart: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  lgOrder: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  size: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.number,\n  alignTop: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignMiddle: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignBottom: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  alignLeft: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  smAlignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  mdAlignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  lgAlignRight: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node\n};\nCell.defaultProps = {\n  className: '',\n  size: 0,\n  smSize: 0,\n  smStart: 0,\n  smOrder: 0,\n  mdSize: 0,\n  mdStart: 0,\n  mdOrder: 0,\n  lgSize: 0,\n  lgStart: 0,\n  lgOrder: 0\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/material-components/layout/Cell.js\n");

/***/ }),

/***/ "./js/material-components/layout/Grid.js":
/*!***********************************************!*\
  !*** ./js/material-components/layout/Grid.js ***!
  \***********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * Material UI > Layout > Grid component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar Grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var alignLeft = _ref.alignLeft,\n    fill = _ref.fill,\n    className = _ref.className,\n    children = _ref.children,\n    collapsed = _ref.collapsed,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"alignLeft\", \"fill\", \"className\", \"children\", \"collapsed\"]);\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('mdc-layout-grid', className, {\n      'mdc-layout-grid--align-left': alignLeft,\n      'mdc-layout-grid--collapsed': collapsed,\n      'mdc-layout-grid--fill': fill\n    })\n  }, otherProps, {\n    ref: ref\n  }), children);\n});\nGrid.displayName = 'Grid';\nGrid.propTypes = {\n  alignLeft: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  fill: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  collapsed: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.bool,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\nGrid.defaultProps = {\n  className: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Grid);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=ut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UeXBlcy5ib29sLFxuXHRmaWxsOiBQcm9wVHlwZXMuYm9vbCxcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRjb2xsYXBzZWQ6IFByb3BUeXBlcy5ib29sLFxuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG59O1xuXG5HcmlkLmRlZmF1bHRQcm9wcyA9IHtcblx0Y2xhc3NOYW1lOiAnJyxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEdyaWQ7XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFGQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBR0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBS0E7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/material-components/layout/Grid.js\n");

/***/ }),

/***/ "./js/material-components/layout/Row.js":
/*!**********************************************!*\
  !*** ./js/material-components/layout/Row.js ***!
  \**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n/**\n * Material UI > Layout > Row component.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar Row = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var className = _ref.className,\n    children = _ref.children,\n    otherProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"className\", \"children\"]);\n  return /*#__PURE__*/React.createElement(\"div\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('mdc-layout-grid__inner', className)\n  }, otherProps), children);\n});\nRow.displayName = 'Row';\nRow.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\nRow.defaultProps = {\n  className: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Row);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9Sb3cuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9Sb3cuanM/NTY1MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIE1hdGVyaWFsIFVJID4gTGF5b3V0ID4gUm93IGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heS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cdFx0cmVmPXsgcmVmIH1cblx0XHRcdGNsYXNzTmFtZT17IGNsYXNzbmFtZXMoICdtZGMtbGF5b3V0LWdyaWRfX2lubmVyJywgY2xhc3NOYW1lICkgfVxuXHRcdFx0eyAuLi5vdGhlclByb3BzIH1cblx0XHQ+XG5cdFx0XHR7IGNoaWxkcmVuIH1cblx0XHQ8L2Rpdj5cblx0KTtcbn0gKTtcblxuUm93LmRpc3BsYXlOYW1lID0gJ1Jvdyc7XG5cblJvdy5wcm9wVHlwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLFxufTtcblxuUm93LmRlZmF1bHRQcm9wcyA9IHtcblx0Y2xhc3NOYW1lOiAnJyxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFJvdztcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQU1BO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/material-components/layout/Row.js\n");

/***/ }),

/***/ "./js/material-components/layout/index.js":
/*!************************************************!*\
  !*** ./js/material-components/layout/index.js ***!
  \************************************************/
/*! exports provided: Cell, Row, Grid */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Cell__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Cell */ \"./js/material-components/layout/Cell.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Cell\", function() { return _Cell__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _Row__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Row */ \"./js/material-components/layout/Row.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Row\", function() { return _Row__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Grid */ \"./js/material-components/layout/Grid.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Grid\", function() { return _Grid__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * Material UI > Layout components.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tYXRlcmlhbC1jb21wb25lbnRzL2xheW91dC9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21hdGVyaWFsLWNvbXBvbmVudHMvbGF5b3V0L2luZGV4LmpzPzA1OTEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBNYXRlcmlhbCBVSSA+IExheW91dCBjb21wb25lbnRzLlxuICpcbiAqIFNpdGUg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E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/material-components/layout/index.js\n");

/***/ }),

/***/ "./js/util/chart.js":
/*!**************************!*\
  !*** ./js/util/chart.js ***!
  \**************************/
/*! exports provided: getChartDifferenceArrow, isSingleSlice, calculateDifferenceBetweenChartValues */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getChartDifferenceArrow\", function() { return getChartDifferenceArrow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSingleSlice\", function() { return isSingleSlice; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calculateDifferenceBetweenChartValues\", function() { return calculateDifferenceBetweenChartValues; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var _js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/ChangeArrow */ \"./js/components/ChangeArrow.js\");\n\n/**\n * Utility functions for charts.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Gets the up/down SVG arrow for Google Chart tooltips.\n *\n * @since 1.30.0\n *\n * @param {number}  difference            The difference which can be positive or negative.\n * @param {string}  [options]             Options to be passed to the ChangeArrow component.\n * @param {boolean} [options.invertColor] Whether we need to reverse the +/- colors of the arrow.\n * @return {string} SVG for the +/- difference.\n */\nfunction getChartDifferenceArrow(difference) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  if (Number.isNaN(Number(difference))) {\n    return '';\n  }\n  var _options$invertColor = options.invertColor,\n    invertColor = _options$invertColor === void 0 ? false : _options$invertColor;\n  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"renderToString\"])(/*#__PURE__*/React.createElement(_js_components_ChangeArrow__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    direction: difference > 0 ? 'up' : 'down',\n    invertColor: invertColor\n  }));\n}\n\n/**\n * Checks if there is a single row of data or one row is contributing 100% of the total for a given dimension.\n *\n * @since 1.31.0\n *\n * @param {Array.<Object>} report An array of report data objects.\n * @return {(boolean|undefined)} Returns undefined if report is undefined, true/false for the above conditions.\n */\nfunction isSingleSlice(report) {\n  var _report$, _report$$data, _report$$data$rows, _report$2, _report$2$data, _report$2$data$rows, _report$2$data$rows$, _report$2$data$rows$$, _report$2$data$rows$$2, _report$2$data$rows$$3, _report$3, _report$3$data, _report$3$data$totals, _report$3$data$totals2, _report$3$data$totals3;\n  if (report === undefined) {\n    return undefined;\n  }\n  if ((report === null || report === void 0 ? void 0 : (_report$ = report[0]) === null || _report$ === void 0 ? void 0 : (_report$$data = _report$.data) === null || _report$$data === void 0 ? void 0 : (_report$$data$rows = _report$$data.rows) === null || _report$$data$rows === void 0 ? void 0 : _report$$data$rows.length) === 1 || (report === null || report === void 0 ? void 0 : (_report$2 = report[0]) === null || _report$2 === void 0 ? void 0 : (_report$2$data = _report$2.data) === null || _report$2$data === void 0 ? void 0 : (_report$2$data$rows = _report$2$data.rows) === null || _report$2$data$rows === void 0 ? void 0 : (_report$2$data$rows$ = _report$2$data$rows[0]) === null || _report$2$data$rows$ === void 0 ? void 0 : (_report$2$data$rows$$ = _report$2$data$rows$.metrics) === null || _report$2$data$rows$$ === void 0 ? void 0 : (_report$2$data$rows$$2 = _report$2$data$rows$$[0]) === null || _report$2$data$rows$$2 === void 0 ? void 0 : (_report$2$data$rows$$3 = _report$2$data$rows$$2.values) === null || _report$2$data$rows$$3 === void 0 ? void 0 : _report$2$data$rows$$3[0]) === (report === null || report === void 0 ? void 0 : (_report$3 = report[0]) === null || _report$3 === void 0 ? void 0 : (_report$3$data = _report$3.data) === null || _report$3$data === void 0 ? void 0 : (_report$3$data$totals = _report$3$data.totals) === null || _report$3$data$totals === void 0 ? void 0 : (_report$3$data$totals2 = _report$3$data$totals[0]) === null || _report$3$data$totals2 === void 0 ? void 0 : (_report$3$data$totals3 = _report$3$data$totals2.values) === null || _report$3$data$totals3 === void 0 ? void 0 : _report$3$data$totals3[0])) {\n    return true;\n  }\n  return false;\n}\n\n/**\n * Calculates difference between two chart values.\n *\n * @since 1.48.0\n *\n * @param {number} currentValue  Current chart value.\n * @param {number} previousValue Previous chart value.\n * @return {number} The difference.\n */\nfunction calculateDifferenceBetweenChartValues(currentValue, previousValue) {\n  if (currentValue > 0 && previousValue > 0) {\n    return currentValue / previousValue - 1;\n  }\n  if (currentValue > 0) {\n    return 1;\n  }\n  if (previousValue > 0) {\n    return -1;\n  }\n  return 0;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/chart.js\n");

/***/ }),

/***/ "./js/util/convert-time.js":
/*!*********************************!*\
  !*** ./js/util/convert-time.js ***!
  \*********************************/
/*! exports provided: convertSecondsToArray, convertDateStringToUNIXTimestamp */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convertSecondsToArray\", function() { return convertSecondsToArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convertDateStringToUNIXTimestamp\", function() { return convertDateStringToUNIXTimestamp; });\n/**\n * Time related utility functions.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Converts seconds into an array with the following values [HH, MM, SS, MS] as described below.\n * HH: hours.\n * MM: minutes.\n * SS: seconds.\n * MS: milliseconds.\n *\n * For example, passing 196.385 returns [ 0, 3, 16, 385 ].\n *\n * @since 1.27.0\n *\n * @param {number} seconds The number of seconds.\n * @return {Array} Array containing the hours, minutes, seconds and milliseconds.\n */\nfunction convertSecondsToArray(seconds) {\n  seconds = parseFloat(seconds);\n  if (isNaN(seconds) || 0 === seconds) {\n    return [0, 0, 0, 0];\n  }\n  return [Math.floor(seconds / 60 / 60), Math.floor(seconds / 60 % 60), Math.floor(seconds % 60), Math.floor(seconds * 1000) - Math.floor(seconds) * 1000];\n}\n\n/**\n * Converts Date time string into UNIX timestamp in milliseconds.\n *\n * For example, passing \"2014-10-02T15:01:23Z\" returns 1412262083000.\n *\n * @since 1.116.0\n *\n * @param {string} dateStringValue The date time string.\n * @return {number} UNIX timestamp in milliseconds.\n */\nfunction convertDateStringToUNIXTimestamp(dateStringValue) {\n  var unixTimestamp = dateStringValue && !Number.isInteger(dateStringValue) ?\n  // Valid use of `new Date()` with an argument, because this should only\n  // be passed full time strings, not `YYYY-MM-DD` style dates.\n  //\n  // See: https://github.com/google/site-kit-wp/pull/9459#discussion_r1790660073\n  // eslint-disable-next-line sitekit/no-direct-date\n  new Date(dateStringValue).getTime() : dateStringValue;\n  if (isNaN(unixTimestamp) || !unixTimestamp) {\n    return 0;\n  }\n  return unixTimestamp;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2NvbnZlcnQtdGltZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvY29udmVydC10aW1lLmpzPzJlOTMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaW1lIHJlbGF0ZWQgdXRpbGl0eSBmdW5jdGlvbnMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1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IGh0dHBzOi8vZ2l0aHViLmNvbS9nb29nbGUvc2l0ZS1raXQtd3AvcHVsbC85NDU5I2Rpc2N1c3Npb25fcjE3OTA2NjAwNzNcblx0XHRcdCAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIHNpdGVraXQvbm8tZGlyZWN0LWRhdGVcblx0XHRcdCAgbmV3IERhdGUoIGRhdGVTdHJpbmdWYWx1ZSApLmdldFRpbWUoKVxuXHRcdFx0OiBkYXRlU3RyaW5nVmFsdWU7XG5cblx0aWYgKCBpc05hTiggdW5peFRpbWVzdGFtcCApIHx8ICEgdW5peFRpbWVzdGFtcCApIHtcblx0XHRyZXR1cm4gMDtcblx0fVxuXG5cdHJldHVybiB1bml4VGltZXN0YW1wO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBTUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/convert-time.js\n");

/***/ }),

/***/ "./js/util/dates.js":
/*!**************************!*\
  !*** ./js/util/dates.js ***!
  \**************************/
/*! exports provided: INVALID_DATE_INSTANCE_ERROR, INVALID_DATE_STRING_ERROR, INVALID_DATE_RANGE_ERROR, MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, MONTH_IN_SECONDS, getAvailableDateRanges, getCurrentDateRangeDayCount, isValidDateString, getDateString, stringToDate, getPreviousDate, isValidDateRange, dateSub */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_INSTANCE_ERROR\", function() { return INVALID_DATE_INSTANCE_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_STRING_ERROR\", function() { return INVALID_DATE_STRING_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_RANGE_ERROR\", function() { return INVALID_DATE_RANGE_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MINUTE_IN_SECONDS\", function() { return MINUTE_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HOUR_IN_SECONDS\", function() { return HOUR_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DAY_IN_SECONDS\", function() { return DAY_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WEEK_IN_SECONDS\", function() { return WEEK_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MONTH_IN_SECONDS\", function() { return MONTH_IN_SECONDS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getAvailableDateRanges\", function() { return getAvailableDateRanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCurrentDateRangeDayCount\", function() { return getCurrentDateRangeDayCount; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDateString\", function() { return isValidDateString; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getDateString\", function() { return getDateString; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stringToDate\", function() { return stringToDate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getPreviousDate\", function() { return getPreviousDate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDateRange\", function() { return isValidDateRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dateSub\", function() { return dateSub; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);\n\n/**\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\nvar INVALID_DATE_INSTANCE_ERROR = 'Date param must construct to a valid date instance or be a valid date instance itself.';\nvar INVALID_DATE_STRING_ERROR = 'Invalid dateString parameter, it must be a string.';\nvar INVALID_DATE_RANGE_ERROR = 'Invalid date range, it must be a string with the format \"last-x-days\".';\nvar MINUTE_IN_SECONDS = 60;\nvar HOUR_IN_SECONDS = 60 * MINUTE_IN_SECONDS;\nvar DAY_IN_SECONDS = 24 * HOUR_IN_SECONDS;\nvar WEEK_IN_SECONDS = 7 * DAY_IN_SECONDS;\nvar MONTH_IN_SECONDS = 30 * DAY_IN_SECONDS;\n\n/**\n * Gets the hash of available date ranges.\n *\n * @since 1.12.0\n *\n * @return {Object} The object hash where every key is a date range slug, and the value is an object with the date range slug and its translation.\n */\nfunction getAvailableDateRanges() {\n  function label(days) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"sprintf\"])(/* translators: %s: number of days */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"_n\"])('Last %s day', 'Last %s days', days, 'google-site-kit'), days);\n  }\n  return {\n    'last-7-days': {\n      slug: 'last-7-days',\n      label: label(7),\n      days: 7\n    },\n    'last-14-days': {\n      slug: 'last-14-days',\n      label: label(14),\n      days: 14\n    },\n    'last-28-days': {\n      slug: 'last-28-days',\n      label: label(28),\n      days: 28\n    },\n    'last-90-days': {\n      slug: 'last-90-days',\n      label: label(90),\n      days: 90\n    }\n  };\n}\n\n/**\n * Gets the current dateRange day count.\n *\n * @since 1.19.0\n * @since 1.26.0 `dateRange` is now a required argument.\n *\n * @param {string} dateRange The date range slug.\n * @return {number} The number of days in the range.\n */\nfunction getCurrentDateRangeDayCount(dateRange) {\n  var daysMatch = dateRange.match(/last-(\\d+)-days/);\n  if (daysMatch && daysMatch[1]) {\n    return parseInt(daysMatch[1], 10);\n  }\n  throw new Error('Unrecognized date range slug.');\n}\n\n/**\n * Asserts whether a given date string is valid or invalid.\n *\n * @since 1.18.0\n *\n * @param {string} dateString Date string to be asserted against. Defaults to an empty string.\n * @return {boolean}          True if the given date string is valid.\n */\nfunction isValidDateString() {\n  var dateString = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  if (!Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isString\"])(dateString)) {\n    return false;\n  }\n  var dateArray = dateString.split('-');\n  if (dateArray.length !== 3) {\n    return false;\n  }\n\n  // Valid use of `new Date()`, constructing a new date from the string.\n  // eslint-disable-next-line sitekit/no-direct-date\n  var date = new Date(dateString);\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(date) && !isNaN(date);\n}\n\n/**\n * Parses the given Date instance and returns a date string (YYYY-MM-DD).\n *\n * @since 1.18.0\n * @since 1.85.0 Updated the function signature to only accept a Date argument.\n *\n * @param {Date} date Date to parse into a string.\n * @return {string}                 The parsed date string (YYYY-MM-DD).\n */\nfunction getDateString(date) {\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(date) && !isNaN(date), INVALID_DATE_INSTANCE_ERROR);\n  var month = \"\".concat(date.getMonth() + 1);\n  var day = \"\".concat(date.getDate());\n  var year = date.getFullYear();\n  return [year, month.length < 2 ? \"0\".concat(month) : month, day.length < 2 ? \"0\".concat(day) : day].join('-');\n}\n\n/**\n * Converts a valid date string to a Date instance.\n *\n * @since 1.38.0\n *\n * @param {string} dateString The date string to parse.\n * @return {Date} Date instance.\n */\nfunction stringToDate(dateString) {\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidDateString(dateString), INVALID_DATE_STRING_ERROR);\n\n  /**\n   * Split date into explicit parts rather than pass directly into date constructor\n   * to avoid timezone issues caused by parsing as UTC. Ensures date is accurate for\n   * the user's local time, otherwise has a chance to return a different day than was\n   * passed in depending on timezone.\n   */\n  var _dateString$split = dateString.split('-'),\n    _dateString$split2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_dateString$split, 3),\n    year = _dateString$split2[0],\n    month = _dateString$split2[1],\n    day = _dateString$split2[2];\n  return new Date(year, month - 1, day);\n}\n\n/**\n * Parses the given date and returns the previous date (daysBefore).\n *\n * @since 1.18.0\n *\n * @param {string} relativeDate Date string (YYYY-MM-DD) to subtract days from.\n * @param {number} daysBefore   Number of days to subtract from relativeDate.\n * @return {string}             The date string (YYYY-MM-DD) for the previous date.\n */\nfunction getPreviousDate(relativeDate, daysBefore) {\n  return getDateString(dateSub(relativeDate, daysBefore * DAY_IN_SECONDS));\n}\n\n/**\n * Asserts whether a given dateRange string is valid or invalid.\n *\n * @since 1.18.0\n *\n * @param {string} dateRange Date string to be asserted against. Defaults to an empty string.\n * @return {boolean}          True if the given dateRange string is valid.\n */\nfunction isValidDateRange(dateRange) {\n  var parts = dateRange.split('-');\n  return parts.length === 3 && parts[0] === 'last' && !Number.isNaN(parts[1]) && !Number.isNaN(parseFloat(parts[1])) && parts[2] === 'days';\n}\n\n/**\n * Subtracts duration from the prodived date and returns it.\n *\n * @since 1.132.0\n *\n * @param {Date|string} relativeDate Date string (YYYY-MM-DD) or date object to subtract duration from.\n * @param {number}      duration     The duration in seconds to subtract from relativeDate.\n * @return {Date} Resulting date.\n */\nfunction dateSub(relativeDate, duration) {\n  invariant__WEBPACK_IMPORTED_MODULE_1___default()(isValidDateString(relativeDate) || Object(lodash__WEBPACK_IMPORTED_MODULE_2__[\"isDate\"])(relativeDate) && !isNaN(relativeDate), INVALID_DATE_STRING_ERROR);\n  var timestamp = isValidDateString(relativeDate) ? Date.parse(relativeDate) : relativeDate.getTime();\n\n  // Valid use of `new Date()` using calculations.\n  // eslint-disable-next-line sitekit/no-direct-date\n  return new Date(timestamp - duration * 1000);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/dates.js\n");

/***/ }),

/***/ "./js/util/i18n.js":
/*!*************************!*\
  !*** ./js/util/i18n.js ***!
  \*************************/
/*! exports provided: createDurationFormat, prepareForReadableLargeNumber, readableLargeNumber, expandNumFmtOptions, numFmt, numberFormat, listFormat, getLocale */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createDurationFormat\", function() { return createDurationFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"prepareForReadableLargeNumber\", function() { return prepareForReadableLargeNumber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"readableLargeNumber\", function() { return readableLargeNumber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"expandNumFmtOptions\", function() { return expandNumFmtOptions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numFmt\", function() { return numFmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numberFormat\", function() { return numberFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"listFormat\", function() { return listFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocale\", function() { return getLocale; });\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ \"../node_modules/@babel/runtime/helpers/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Internationalization Utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Converts seconds to a display ready string indicating\n * the number of hours, minutes and seconds that have elapsed.\n *\n * For example, passing 65 returns '1m 5s'.\n *\n * @since 1.0.0\n * @since 1.28.0 Refactored and renamed to improve localization.\n * @private\n *\n * @param {number}                     durationInSeconds The number of seconds.\n * @param {(Intl.NumberFormatOptions)} [options]         Optional formatting options.\n * @return {string} Human readable string indicating time elapsed.\n */\nfunction durationFormat(durationInSeconds) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _createDurationFormat = createDurationFormat(durationInSeconds, options),\n    formatUnit = _createDurationFormat.formatUnit,\n    formatDecimal = _createDurationFormat.formatDecimal;\n  try {\n    // Some browsers, e.g. Safari, throw a RangeError when options.style is\n    // not one of decimal, percent, or currency.\n    return formatUnit();\n  } catch (_unused) {\n    // Fallback to XXh YYm ZZs using localized decimals with hardcoded units.\n    return formatDecimal();\n  }\n}\n\n/**\n * Converts seconds to a display ready string indicating\n * the number of hours, minutes and seconds that have elapsed\n * in ISO format - HH:mm:ss.\n *\n * If the duration is less than an hour, the HH part of the string\n * is truncated.\n * For example, passing 65 returns '01:05'.\n * Passing 5400 returns '01:30:00'.\n *\n * @since 1.111.0\n * @private\n *\n * @param {number} durationInSeconds The number of seconds.\n * @return {string} Human readable string indicating time elapsed.\n */\nfunction durationISOFormat(durationInSeconds) {\n  var _parseDuration = parseDuration(durationInSeconds),\n    hours = _parseDuration.hours,\n    minutes = _parseDuration.minutes,\n    seconds = _parseDuration.seconds;\n  seconds = ('0' + seconds).slice(-2);\n  minutes = ('0' + minutes).slice(-2);\n  hours = ('0' + hours).slice(-2);\n  return hours === '00' ? \"\".concat(minutes, \":\").concat(seconds) : \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n}\n\n/**\n * Parses the duration in seconds into hours, minutes and seconds.\n *\n * @since 1.111.0\n * @private\n *\n * @param {number} durationInSeconds The number of seconds.\n * @return {Object} Number of hours, minutes and seconds equivalent\n * to the given duration in seconds.\n */\nfunction parseDuration(durationInSeconds) {\n  durationInSeconds = parseInt(durationInSeconds, 10);\n  if (Number.isNaN(durationInSeconds)) {\n    durationInSeconds = 0;\n  }\n  var hours = Math.floor(durationInSeconds / 60 / 60);\n  var minutes = Math.floor(durationInSeconds / 60 % 60);\n  var seconds = Math.floor(durationInSeconds % 60);\n  return {\n    hours: hours,\n    minutes: minutes,\n    seconds: seconds\n  };\n}\n\n/**\n * Creates duration formatting utilities.\n *\n * Not intended to be used directly.\n * Use `numFmt( number, { style: 'duration' } )` instead.\n *\n * @since 1.29.0\n * @private\n *\n * @param {number} durationInSeconds Duration to format.\n * @param {Object} [options]         Formatting options.\n * @return {Object} Formatting functions.\n */\nfunction createDurationFormat(durationInSeconds) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _parseDuration2 = parseDuration(durationInSeconds),\n    hours = _parseDuration2.hours,\n    minutes = _parseDuration2.minutes,\n    seconds = _parseDuration2.seconds;\n  return {\n    hours: hours,\n    minutes: minutes,\n    seconds: seconds,\n    formatUnit: function formatUnit() {\n      var _options$unitDisplay = options.unitDisplay,\n        unitDisplay = _options$unitDisplay === void 0 ? 'short' : _options$unitDisplay,\n        restOptions = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(options, [\"unitDisplay\"]);\n      var commonOptions = _objectSpread(_objectSpread({\n        unitDisplay: unitDisplay\n      }, restOptions), {}, {\n        style: 'unit'\n      });\n      if (durationInSeconds === 0) {\n        return numberFormat(seconds, _objectSpread(_objectSpread({}, commonOptions), {}, {\n          unit: 'second'\n        }));\n      }\n      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('%3$s %2$s %1$s', 'duration of time: hh mm ss', 'google-site-kit'), seconds ? numberFormat(seconds, _objectSpread(_objectSpread({}, commonOptions), {}, {\n        unit: 'second'\n      })) : '', minutes ? numberFormat(minutes, _objectSpread(_objectSpread({}, commonOptions), {}, {\n        unit: 'minute'\n      })) : '', hours ? numberFormat(hours, _objectSpread(_objectSpread({}, commonOptions), {}, {\n        unit: 'hour'\n      })) : '').trim();\n    },\n    /**\n     * Formats the duration using integers and translatable strings.\n     * This is only used as a fallback when the above `formatUnit` fails.\n     *\n     * @since 1.29.0\n     *\n     * @return {string} Formatted duration.\n     */\n    formatDecimal: function formatDecimal() {\n      var formattedSeconds = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n      // translators: %s: number of seconds with \"s\" as the abbreviated unit.\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%ds', 'google-site-kit'), seconds);\n      if (durationInSeconds === 0) {\n        return formattedSeconds;\n      }\n      var formattedMinutes = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n      // translators: %s: number of minutes with \"m\" as the abbreviated unit.\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%dm', 'google-site-kit'), minutes);\n      var formattedHours = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n      // translators: %s: number of hours with \"h\" as the abbreviated unit.\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%dh', 'google-site-kit'), hours);\n      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */\n      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"_x\"])('%3$s %2$s %1$s', 'duration of time: hh mm ss', 'google-site-kit'), seconds ? formattedSeconds : '', minutes ? formattedMinutes : '', hours ? formattedHours : '').trim();\n    }\n  };\n}\n\n/**\n * Prepares a number to be used in readableLargeNumber.\n *\n * @since 1.7.0\n *\n * @param {number} number The large number to prepare.\n * @return {number} The prepared number.\n */\nfunction prepareForReadableLargeNumber(number) {\n  if (1000000 <= number) {\n    return Math.round(number / 100000) / 10;\n  }\n  if (10000 <= number) {\n    return Math.round(number / 1000);\n  }\n  if (1000 <= number) {\n    return Math.round(number / 100) / 10;\n  }\n  return number;\n}\n\n/**\n * Formats a large number for shortened display.\n *\n * @since 1.0.0\n *\n * @param {number} number The large number to format.\n * @return {string} The formatted number.\n */\nfunction readableLargeNumber(number) {\n  var withSingleDecimal = {\n    minimumFractionDigits: 1,\n    maximumFractionDigits: 1\n  };\n\n  // Numbers over 1,000,000 round normally and display a single decimal unless the decimal is 0.\n  if (1000000 <= number) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n    // translators: %s: an abbreviated number in millions.\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%sM', 'google-site-kit'), numberFormat(prepareForReadableLargeNumber(number), number % 10 === 0 ? {} : withSingleDecimal));\n  }\n\n  // Numbers between 10,000 and 1,000,000 round normally and have no decimals\n  if (10000 <= number) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n    // translators: %s: an abbreviated number in thousands.\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%sK', 'google-site-kit'), numberFormat(prepareForReadableLargeNumber(number)));\n  }\n\n  // Numbers between 1,000 and 10,000 round normally and display a single decimal unless the decimal is 0.\n  if (1000 <= number) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"sprintf\"])(\n    // translators: %s: an abbreviated number in thousands.\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])('%sK', 'google-site-kit'), numberFormat(prepareForReadableLargeNumber(number), number % 10 === 0 ? {} : withSingleDecimal));\n  }\n  return numberFormat(number, {\n    signDisplay: 'never',\n    maximumFractionDigits: 1\n  });\n}\n\n/**\n * Parses formatting options and returns an object with options for selected formatting.\n *\n * @since 1.103.0\n *\n * @param {(Intl.NumberFormatOptions|string)} options Formatting options or unit shorthand. Possible shorthand values are '%', 's', or a currency code.\n * @return {Object} Formatting options.\n */\nfunction expandNumFmtOptions(options) {\n  var formatOptions = {};\n\n  // Expand shorthand values for units.\n  if ('%' === options) {\n    formatOptions = {\n      style: 'percent',\n      maximumFractionDigits: 2\n    };\n  } else if ('s' === options) {\n    formatOptions = {\n      style: 'duration',\n      unitDisplay: 'narrow'\n    };\n  } else if (!!options && typeof options === 'string') {\n    formatOptions = {\n      style: 'currency',\n      currency: options\n    };\n  } else if (Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isPlainObject\"])(options)) {\n    formatOptions = _objectSpread({}, options);\n  }\n  return formatOptions;\n}\n\n/**\n * Formats a number with unit using the JS Internationalization Number Format API.\n *\n * In addition to the supported 'style' values of the lower-level `numberFormat` function, this function\n * supports two additional 'style' values 'metric' and 'duration' (expects a number in seconds).\n *\n * Another differentiation in behavior is that by default the function will use 'metric' formatting instead\n * of 'decimal' formatting.\n *\n * @since 1.24.0\n *\n * @param {number|string}                     number    The number to format.\n * @param {(Intl.NumberFormatOptions|string)} [options] Formatting options or unit shorthand.\n *                                                      Possible shorthand values are '%', 's',\n *                                                      or a currency code.\n * @return {string} The formatted number.\n */\nfunction numFmt(number) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  // Cast parsable values to numeric types.\n  number = Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isFinite\"])(number) ? number : Number(number);\n  if (!Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"isFinite\"])(number)) {\n    // eslint-disable-next-line no-console\n    console.warn('Invalid number', number, _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default()(number));\n    number = 0;\n  }\n  var formatOptions = expandNumFmtOptions(options);\n  var _formatOptions$style = formatOptions.style,\n    style = _formatOptions$style === void 0 ? 'metric' : _formatOptions$style; // Note: `metric` is our custom, default style.\n  if ('metric' === style) {\n    return readableLargeNumber(number);\n  }\n  if ('duration' === style) {\n    return durationFormat(number, formatOptions);\n  }\n  if ('durationISO' === style) {\n    return durationISOFormat(number);\n  }\n  return numberFormat(number, formatOptions);\n}\n\n// Warn once for a given message.\nvar warnOnce = memize__WEBPACK_IMPORTED_MODULE_5___default()(console.warn); // eslint-disable-line no-console\n\n/**\n * Formats a number using the JS Internationalization Number Format API.\n *\n * @since 1.8.0\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/NumberFormat|`options` parameter} For all available formatting options.\n *\n * @param {number}                   number           The number to format.\n * @param {Intl.NumberFormatOptions} [options]        Formatting options.\n * @param {string}                   [options.locale] Locale to use for formatting. Defaults to current locale used by Site Kit.\n * @return {string} The formatted number.\n */\nfunction numberFormat(number) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _options$locale = options.locale,\n    locale = _options$locale === void 0 ? getLocale() : _options$locale,\n    formatOptions = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(options, [\"locale\"]);\n  try {\n    /**\n     * Per https://github.com/google/site-kit-wp/issues/3255 there have been issues with some versions of Safari\n     * on some operating systems throwing issues with some parameters in the formatOptions.\n     *\n     * If an error is thrown, we remove some troublesome params from the formatOptions object and fallback to no formatting.\n     *\n     * This allows us to degrade somewhat gracefully without breaking the dashboard for users of unaffected browsers.\n     */\n    return new Intl.NumberFormat(locale, formatOptions).format(number);\n  } catch (error) {\n    warnOnce(\"Site Kit numberFormat error: Intl.NumberFormat( \".concat(JSON.stringify(locale), \", \").concat(JSON.stringify(formatOptions), \" ).format( \").concat(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_1___default()(number), \" )\"), error.message);\n  }\n\n  // Remove these key/values from formatOptions.\n  var unstableFormatOptionValues = {\n    currencyDisplay: 'narrow',\n    currencySign: 'accounting',\n    style: 'unit'\n  };\n\n  // Remove these keys from formatOptions irrespective of value.\n  var unstableFormatOptions = ['signDisplay', 'compactDisplay'];\n  var reducedFormatOptions = {};\n  for (var _i = 0, _Object$entries = Object.entries(formatOptions); _i < _Object$entries.length; _i++) {\n    var _Object$entries$_i = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_Object$entries[_i], 2),\n      key = _Object$entries$_i[0],\n      value = _Object$entries$_i[1];\n    if (unstableFormatOptionValues[key] && value === unstableFormatOptionValues[key]) {\n      continue;\n    }\n    if (unstableFormatOptions.includes(key)) {\n      continue;\n    }\n    reducedFormatOptions[key] = value;\n  }\n  try {\n    return new Intl.NumberFormat(locale, reducedFormatOptions).format(number);\n  } catch (_unused2) {\n    return new Intl.NumberFormat(locale).format(number);\n  }\n}\n\n/**\n * Flattens an array of strings into a string using the JS Internationalization List Format API.\n *\n * @since 1.23.0\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat|`options` parameter} For all available options.\n *\n * @param {Array}  list             The list to flatten.\n * @param {Object} [options]        Formatting options.\n * @param {string} [options.locale] Locale to use for formatting. Defaults to current locale used by Site Kit.\n * @param {string} [options.style]  Length of the formatted message. Defaults to long.\n * @param {string} [options.type]   Type of list. Defaults to 'conjunction' (A, B, and C).\n *                                  Also available 'disjunction' (A, B, or C)\n *                                  Also available 'unit' (5 pounds, 12 ounces)\n * @return {string} The flattened list.\n */\nfunction listFormat(list) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _options$locale2 = options.locale,\n    locale = _options$locale2 === void 0 ? getLocale() : _options$locale2,\n    _options$style = options.style,\n    style = _options$style === void 0 ? 'long' : _options$style,\n    _options$type = options.type,\n    type = _options$type === void 0 ? 'conjunction' : _options$type; // Not all browsers support Intl.Listformat per\n  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#Browser_compatibility\n  // We've seen that the built versions don't polyfill for the unsupported browsers (iOS/safari) so we provide a fallback.\n  if (Intl.ListFormat) {\n    var formatter = new Intl.ListFormat(locale, {\n      style: style,\n      type: type\n    });\n    return formatter.format(list);\n  }\n\n  /* translators: used between list items, there is a space after the comma. */\n  var listSeparator = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_6__[\"__\"])(', ', 'google-site-kit');\n  return list.join(listSeparator);\n}\n\n/**\n * Gets the current locale for use with browser APIs.\n *\n * @since 1.8.0\n *\n * @param {Object} _global The global window object.\n * @return {string} Current Site Kit locale if set, otherwise the current language set by the browser.\n *                  E.g. `en-US` or `de-DE`\n */\nfunction getLocale() {\n  var _global = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : global;\n  var siteKitLocale = Object(lodash__WEBPACK_IMPORTED_MODULE_4__[\"get\"])(_global, ['_googlesitekitLegacyData', 'locale']);\n  if (siteKitLocale) {\n    var matches = siteKitLocale.match(/^(\\w{2})?(_)?(\\w{2})/);\n    if (matches && matches[0]) {\n      return matches[0].replace(/_/g, '-');\n    }\n  }\n  return _global.navigator.language;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/i18n.js\n");

/***/ }),

/***/ "./js/util/index.js":
/*!**************************!*\
  !*** ./js/util/index.js ***!
  \**************************/
/*! exports provided: trackEvent, trackEventOnce, sanitizeHTML, untrailingslashit, stringifyObject, storageAvailable, getStorage, createDurationFormat, prepareForReadableLargeNumber, readableLargeNumber, expandNumFmtOptions, numFmt, numberFormat, listFormat, getLocale, markdownToHTML, convertSecondsToArray, convertDateStringToUNIXTimestamp, INVALID_DATE_INSTANCE_ERROR, INVALID_DATE_STRING_ERROR, INVALID_DATE_RANGE_ERROR, MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, MONTH_IN_SECONDS, getAvailableDateRanges, getCurrentDateRangeDayCount, isValidDateString, getDateString, stringToDate, getPreviousDate, isValidDateRange, dateSub, getChartDifferenceArrow, isSingleSlice, calculateDifferenceBetweenChartValues, getURLPath, getFullURL, normalizeURL, isHashOnly, shortenURL, isValidNumericID, isNumeric, safelySort, partitionReport, calculateChange, validateJSON, decodeHTMLEntity */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"calculateChange\", function() { return calculateChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateJSON\", function() { return validateJSON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeHTMLEntity\", function() { return decodeHTMLEntity; });\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tracking__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tracking */ \"./js/util/tracking/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackEvent\", function() { return _tracking__WEBPACK_IMPORTED_MODULE_1__[\"trackEvent\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"trackEventOnce\", function() { return _tracking__WEBPACK_IMPORTED_MODULE_1__[\"trackEventOnce\"]; });\n\n/* harmony import */ var _sanitize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sanitize */ \"./js/util/sanitize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sanitizeHTML\", function() { return _sanitize__WEBPACK_IMPORTED_MODULE_2__[\"sanitizeHTML\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"untrailingslashit\", function() { return _sanitize__WEBPACK_IMPORTED_MODULE_2__[\"untrailingslashit\"]; });\n\n/* harmony import */ var _stringify__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./stringify */ \"./js/util/stringify.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"stringifyObject\", function() { return _stringify__WEBPACK_IMPORTED_MODULE_3__[\"stringifyObject\"]; });\n\n/* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./storage */ \"./js/util/storage.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"storageAvailable\", function() { return _storage__WEBPACK_IMPORTED_MODULE_4__[\"storageAvailable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getStorage\", function() { return _storage__WEBPACK_IMPORTED_MODULE_4__[\"getStorage\"]; });\n\n/* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./i18n */ \"./js/util/i18n.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createDurationFormat\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"createDurationFormat\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"prepareForReadableLargeNumber\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"prepareForReadableLargeNumber\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"readableLargeNumber\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"readableLargeNumber\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"expandNumFmtOptions\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"expandNumFmtOptions\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"numFmt\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"numFmt\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"numberFormat\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"numberFormat\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"listFormat\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"listFormat\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getLocale\", function() { return _i18n__WEBPACK_IMPORTED_MODULE_5__[\"getLocale\"]; });\n\n/* harmony import */ var _markdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./markdown */ \"./js/util/markdown.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"markdownToHTML\", function() { return _markdown__WEBPACK_IMPORTED_MODULE_6__[\"markdownToHTML\"]; });\n\n/* harmony import */ var _convert_time__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./convert-time */ \"./js/util/convert-time.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"convertSecondsToArray\", function() { return _convert_time__WEBPACK_IMPORTED_MODULE_7__[\"convertSecondsToArray\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"convertDateStringToUNIXTimestamp\", function() { return _convert_time__WEBPACK_IMPORTED_MODULE_7__[\"convertDateStringToUNIXTimestamp\"]; });\n\n/* harmony import */ var _dates__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dates */ \"./js/util/dates.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_INSTANCE_ERROR\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"INVALID_DATE_INSTANCE_ERROR\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_STRING_ERROR\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"INVALID_DATE_STRING_ERROR\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"INVALID_DATE_RANGE_ERROR\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"INVALID_DATE_RANGE_ERROR\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MINUTE_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"MINUTE_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"HOUR_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"HOUR_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DAY_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"DAY_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WEEK_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"WEEK_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MONTH_IN_SECONDS\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"MONTH_IN_SECONDS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getAvailableDateRanges\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getAvailableDateRanges\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getCurrentDateRangeDayCount\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getCurrentDateRangeDayCount\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidDateString\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"isValidDateString\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getDateString\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getDateString\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"stringToDate\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"stringToDate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getPreviousDate\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"getPreviousDate\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidDateRange\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"isValidDateRange\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"dateSub\", function() { return _dates__WEBPACK_IMPORTED_MODULE_8__[\"dateSub\"]; });\n\n/* harmony import */ var _chart__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chart */ \"./js/util/chart.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getChartDifferenceArrow\", function() { return _chart__WEBPACK_IMPORTED_MODULE_9__[\"getChartDifferenceArrow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isSingleSlice\", function() { return _chart__WEBPACK_IMPORTED_MODULE_9__[\"isSingleSlice\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"calculateDifferenceBetweenChartValues\", function() { return _chart__WEBPACK_IMPORTED_MODULE_9__[\"calculateDifferenceBetweenChartValues\"]; });\n\n/* harmony import */ var _urls__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./urls */ \"./js/util/urls.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getURLPath\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"getURLPath\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getFullURL\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"getFullURL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"normalizeURL\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"normalizeURL\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isHashOnly\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"isHashOnly\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"shortenURL\", function() { return _urls__WEBPACK_IMPORTED_MODULE_10__[\"shortenURL\"]; });\n\n/* harmony import */ var _is_valid_numeric_id__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./is-valid-numeric-id */ \"./js/util/is-valid-numeric-id.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidNumericID\", function() { return _is_valid_numeric_id__WEBPACK_IMPORTED_MODULE_11__[\"isValidNumericID\"]; });\n\n/* harmony import */ var _isnumeric__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./isnumeric */ \"./js/util/isnumeric.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isNumeric\", function() { return _isnumeric__WEBPACK_IMPORTED_MODULE_12__[\"isNumeric\"]; });\n\n/* harmony import */ var _safely_sort__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./safely-sort */ \"./js/util/safely-sort.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"safelySort\", function() { return _safely_sort__WEBPACK_IMPORTED_MODULE_13__[\"safelySort\"]; });\n\n/* harmony import */ var _partition_report__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./partition-report */ \"./js/util/partition-report.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partitionReport\", function() { return _partition_report__WEBPACK_IMPORTED_MODULE_14__[\"partitionReport\"]; });\n\n/**\n * Utility functions.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Calculates the change between two values.\n *\n * @since 1.24.0\n *\n * @param {number} previous The previous value.\n * @param {number} current  The current value.\n * @return {(number|null)} The percent change. Null if the input or output is invalid.\n */\nfunction calculateChange(previous, current) {\n  function isZero(value) {\n    return value === '0' || value === 0;\n  }\n\n  // Prevent null result when both values are legitimately zero.\n  if (isZero(previous) && isZero(current)) {\n    return 0;\n  }\n\n  // Prevent divide by zero errors.\n  if (isZero(previous) || Number.isNaN(previous)) {\n    return null;\n  }\n\n  // Avoid NaN at all costs.\n  var change = (current - previous) / previous;\n  if (Number.isNaN(change) || !Number.isFinite(change)) {\n    return null;\n  }\n  return change;\n}\n\n/**\n * Verifies whether JSON is valid.\n *\n * @since 1.0.0\n *\n * @param {string} stringToValidate The string to validate.\n * @return {boolean} Indicates JSON is valid.\n */\nfunction validateJSON(stringToValidate) {\n  try {\n    return JSON.parse(stringToValidate) && !!stringToValidate;\n  } catch (e) {\n    return false;\n  }\n}\n\n/**\n * Converts HTML text into an HTML entity.\n *\n * _.unescape doesn't seem to decode some entities for admin bar titles.\n * adding combination in this helper as a workaround.\n *\n * @since 1.0.0\n *\n * @param {string} str The string to decode.\n * @return {string} Decoded HTML entity.\n */\nfunction decodeHTMLEntity(str) {\n  if (!str) {\n    return '';\n  }\n  var decoded = str.replace(/&#(\\d+);/g, function (match, dec) {\n    return String.fromCharCode(dec);\n  }).replace(/(\\\\)/g, '');\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"unescape\"])(decoded);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/index.js\n");

/***/ }),

/***/ "./js/util/is-valid-numeric-id.js":
/*!****************************************!*\
  !*** ./js/util/is-valid-numeric-id.js ***!
  \****************************************/
/*! exports provided: isValidNumericID */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidNumericID\", function() { return isValidNumericID; });\n/**\n * Utility function related to checking if a given value is numeric.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Checks the given value to see if it is a positive integer.\n *\n * @since 1.11.0 Function introduced.\n * @since 1.90.0 Moved outside Tag Manager to a generic utility function.\n *\n * @param {*} input Value to check.\n * @return {boolean} Validity.\n */\nfunction isValidNumericID(input) {\n  var id = parseFloat(input) || 0;\n  if (!Number.isInteger(id)) {\n    return false;\n  }\n  return id > 0;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzLXZhbGlkLW51bWVyaWMtaWQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL2lzLXZhbGlkLW51bWVyaWMtaWQuanM/MjU1NiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFV0aWxpdHkgZnVuY3Rpb24gcmVsYXRlZCB0byBjaGVja2luZyBpZiBhIGdpdmVuIHZhbHVlIGlzIG51bWVyaWMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKT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51bWVyaWNJRCggaW5wdXQgKSB7XG5cdGNvbnN0IGlkID0gcGFyc2VGbG9hdCggaW5wdXQgKSB8fCAwO1xuXG5cdGlmICggISBOdW1iZXIuaXNJbnRlZ2VyKCBpZCApICkge1xuXHRcdHJldHVybiBmYWxzZTtcblx0fVxuXG5cdHJldHVybiBpZCA+IDA7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/is-valid-numeric-id.js\n");

/***/ }),

/***/ "./js/util/isnumeric.js":
/*!******************************!*\
  !*** ./js/util/isnumeric.js ***!
  \******************************/
/*! exports provided: isNumeric */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumeric\", function() { return isNumeric; });\n/**\n * Utility function related to checking if a given value is numeric.\n *\n * Site Kit by Google, Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Checks if a given value is numeric.\n *\n * @since 1.80.0\n *\n * @param {*} value The value to check.\n * @return {boolean} TRUE if a value is numeric FALSE otherwise.\n */\nfunction isNumeric(value) {\n  if (typeof value === 'number') {\n    return true;\n  }\n  var string = (value || '').toString();\n  if (!string) {\n    return false;\n  }\n  return !isNaN(string);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzbnVtZXJpYy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaXNudW1lcmljLmpzPzliNDkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXR5IGZ1bmN0aW9uIHJlbGF0ZWQgdG8gY2hlY2tpbmcgaWYgYSBnaXZlbiB2YWx1ZSBpcyBudW1lcmljLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT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9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/isnumeric.js\n");

/***/ }),

/***/ "./js/util/markdown.js":
/*!*****************************!*\
  !*** ./js/util/markdown.js ***!
  \*****************************/
/*! exports provided: markdownToHTML */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"markdownToHTML\", function() { return markdownToHTML; });\n/**\n * Markdown utility.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Replaces markdown links with its HTML equivalents.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownLinks(text) {\n  return text.replace(new RegExp('\\\\[([^\\\\]]+)\\\\]\\\\((https?://[^/]+\\\\.\\\\w+/?.*?)\\\\)', 'gi'), '<a href=\"$2\" target=\"_blank\" rel=\"noopener noreferrer\">$1</a>');\n}\n\n/**\n * Adds paragraphs to the text.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownParagraphs(text) {\n  return \"<p>\".concat(text.replace(/\\n{2,}/g, '</p><p>'), \"</p>\");\n}\n\n/**\n * Replaces line breaks in the text.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} Text with HTML links.\n */\nfunction markdownBreaks(text) {\n  return text.replace(/\\n/gi, '<br>');\n}\n\n/**\n * Converts markdown to HTML.\n *\n * @since 1.22.0\n *\n * @param {string} text Markdown text.\n * @return {string} HTML version of the markdown text.\n */\nfunction markdownToHTML(text) {\n  var rules = [markdownLinks, markdownParagraphs, markdownBreaks];\n  var html = text;\n  for (var _i = 0, _rules = rules; _i < _rules.length; _i++) {\n    var rule = _rules[_i];\n    html = rule(html);\n  }\n  return html;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL21hcmtkb3duLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9tYXJrZG93bi5qcz9kYjAyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWFya2Rvd24gdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAq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QTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/markdown.js\n");

/***/ }),

/***/ "./js/util/partition-report.js":
/*!*************************************!*\
  !*** ./js/util/partition-report.js ***!
  \*************************************/
/*! exports provided: partitionReport */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partitionReport\", function() { return partitionReport; });\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! invariant */ \"../node_modules/invariant/browser.js\");\n/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Report partitioning utility.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Splits report data into segments for current and comparison ranges.\n *\n * @since 1.33.0\n * @since 1.34.0 Updated to support incomplete `report` arrays.\n *\n * @param {Array}  report               Report rows.\n * @param {Object} args                 Additional arguments.\n * @param {number} args.dateRangeLength Date range length of report segments.\n * @return {Object} Object with keys for `compareRange` and `currentRange`.\n */\nfunction partitionReport(report, _ref) {\n  var dateRangeLength = _ref.dateRangeLength;\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Array.isArray(report), 'report must be an array to partition.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Number.isInteger(dateRangeLength) && dateRangeLength > 0, 'dateRangeLength must be a positive integer.');\n\n  // Use a negative date range length for reverse slicing.\n  var _dateRangeLength = -1 * dateRangeLength;\n  return {\n    // The current range should always be sliced from the end.\n    currentRange: report.slice(_dateRangeLength),\n    // The compare range continues from where the current left off (slicing towards the start),\n    // and may be shorter (where older data is not available yet) which is fine.\n    compareRange: report.slice(_dateRangeLength * 2, _dateRangeLength)\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3BhcnRpdGlvbi1yZXBvcnQuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL3BhcnRpdGlvbi1yZXBvcnQuanM/NTk4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBwYXJ0aXRpb25pbmcgdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vc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b21wYXJlUmFuZ2U6IHJlcG9ydC5zbGljZSggX2RhdGVSYW5nZUxlbmd0aCAqIDIsIF9kYXRlUmFuZ2VMZW5ndGggKSxcblx0fTtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUlBO0FBQ0E7QUFJQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/partition-report.js\n");

/***/ }),

/***/ "./js/util/purify.js":
/*!***************************!*\
  !*** ./js/util/purify.js ***!
  \***************************/
/*! exports provided: purify */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"purify\", function() { return purify; });\n/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dompurify */ \"../node_modules/dompurify/dist/purify.js\");\n/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * External dependencies\n */\n\nvar purify = dompurify__WEBPACK_IMPORTED_MODULE_0___default()(global);\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3B1cmlmeS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvcHVyaWZ5LmpzPzgxMWIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFeHRlcm5hbCBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0IGNyZWF0ZURPTVB1cmlmeSBmcm9tICdkb21wdXJpZnknO1xuXG5leHBvcnQgY29uc3QgcHVyaWZ5ID0gY3JlYXRlRE9NUHVyaWZ5KCBnbG9iYWwgKTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/purify.js\n");

/***/ }),

/***/ "./js/util/safely-sort.js":
/*!********************************!*\
  !*** ./js/util/safely-sort.js ***!
  \********************************/
/*! exports provided: safelySort */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"safelySort\", function() { return safelySort; });\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);\n\n/**\n * `safelySort` utility function.\n *\n * Site Kit by Google, Copyright 2024 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Sorts an array without causing the mutation if the given parameter is an array.\n * If the parameter is not an array, it returns the parameter as is.\n *\n * @since 1.110.0\n * @since 1.128.0 Moved to the common utility directory from the key metrics directory.\n *\n * @param {Array|*} arr Param to be sorted.\n * @return {Array|*} \tSafely sorted array without mutation.\n */\nfunction safelySort(arr) {\n  return Array.isArray(arr) ? _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(arr).sort() : arr;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3NhZmVseS1zb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYWZlbHktc29ydC5qcz8zMzQ3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHNhZmVseVNvcnRgIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU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PyBbIC4uLmFyciBdLnNvcnQoKSA6IGFycjtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/util/safely-sort.js\n");

/***/ }),

/***/ "./js/util/sanitize.js":
/*!*****************************!*\
  !*** ./js/util/sanitize.js ***!
  \*****************************/
/*! exports provided: sanitizeHTML, untrailingslashit */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sanitizeHTML\", function() { return sanitizeHTML; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"untrailingslashit\", function() { return untrailingslashit; });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _purify__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./purify */ \"./js/util/purify.js\");\n\n/**\n * Internal dependencies\n */\n\nfunction sanitizeHTML(unsafeHTML) {\n  var domPurifyConfig = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  return {\n    __html: _purify__WEBPACK_IMPORTED_MODULE_1__[\"purify\"].sanitize(unsafeHTML, domPurifyConfig)\n  };\n}\n\n/**\n * Takes a string or an URL object, removes the trailing slash if any and returns it.\n *\n * @since 1.20.0\n * @private\n *\n * @param {Object|string} url A string with or without trailing slash or an URL object.\n * @return {string|undefined} The URL string after removing the trailing slash.\n */\nfunction untrailingslashit(url) {\n  var _originalURL$replace;\n  var originalURL = _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(url) === 'object' ? url.toString() : url;\n  return originalURL === null || originalURL === void 0 ? void 0 : (_originalURL$replace = originalURL.replace) === null || _originalURL$replace === void 0 ? void 0 : _originalURL$replace.call(originalURL, /\\/+$/, '');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3Nhbml0aXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYW5pdGl6ZS5qcz8yZmFkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW50ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCB7IHB1cmlmeSB9IGZyb20gJy4vcHVyaWZ5JztcblxuZXhwb3J0IGZ1bmN0aW9uIHNhbml0aXplSFRNTCggdW5zYWZlSFRNTCwgZG9tUHVyaWZ5Q29uZmlnID0ge30gKSB7XG5cdHJldHVybiB7XG5cdFx0X19odG1sOiBwdXJpZnkuc2FuaXRpemUoIHVuc2FmZUhUTUwsIGRvbVB1cmlmeUNvbmZpZyApLFxuXHR9O1xufVxuXG4vKipcbiAqIFRha2VzIGEgc3RyaW5nIG9yIGFuIFVSTCBvYmplY3QsIHJlbW92ZXMgdGhlIHRyYWlsaW5nIHNsYXNoIGlmIGFueSBhbmQgcmV0dXJucyBpdC5cbiAqXG4gKiBAc2luY2UgMS4yMC4wXG4gKiBAcHJpdmF0ZVxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fHN0cmluZ30gdXJsIEEgc3RyaW5nIHdpdGggb3Igd2l0aG91dCB0cmFpbGluZyBzbGFzaCBvciBhbiBVUkwgb2JqZWN0LlxuICogQHJldHVybiB7c3RyaW5nfHVuZGVmaW5lZH0gVGhlIFVSTCBzdHJpbmcgYWZ0ZXIgcmVtb3ZpbmcgdGhlIHRyYWlsaW5nIHNsYXNoLlxuICovXG5leHBvcnQgZnVuY3Rpb24gdW50cmFpbGluZ3NsYXNoaXQoIHVybCApIHtcblx0Y29uc3Qgb3JpZ2luYWxVUkwgPSB0eXBlb2YgdXJsID09PSAnb2JqZWN0JyA/IHVybC50b1N0cmluZygpIDogdXJsO1xuXHRyZXR1cm4gb3JpZ2luYWxVUkw/LnJlcGxhY2U/LiggL1xcLyskLywgJycgKTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/sanitize.js\n");

/***/ }),

/***/ "./js/util/storage.js":
/*!****************************!*\
  !*** ./js/util/storage.js ***!
  \****************************/
/*! exports provided: storageAvailable, getStorage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"storageAvailable\", function() { return storageAvailable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStorage\", function() { return getStorage; });\n/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ \"../node_modules/@babel/runtime/helpers/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ \"../node_modules/@babel/runtime/helpers/createClass.js\");\n/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__);\n\n\n/**\n * Storage abstraction.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Detects whether browser storage is both supported and available.\n *\n * @since 1.0.0\n *\n * @param {string} type Browser storage to test. ex localStorage or sessionStorage.\n * @return {boolean} True if the given storage is available, false otherwise.\n */\nfunction storageAvailable(type) {\n  var storage = global[type];\n  if (!storage) {\n    return false;\n  }\n  try {\n    var x = '__storage_test__';\n    storage.setItem(x, x);\n    storage.removeItem(x);\n    return true;\n  } catch (e) {\n    return e instanceof DOMException && (\n    // everything except Firefox\n    22 === e.code ||\n    // Firefox\n    1014 === e.code ||\n    // test name field too, because code might not be present\n    // everything except Firefox\n    'QuotaExceededError' === e.name ||\n    // Firefox\n    'NS_ERROR_DOM_QUOTA_REACHED' === e.name) &&\n    // acknowledge QuotaExceededError only if there's something already stored\n    0 !== storage.length;\n  }\n}\n\n// Custom no-op implementation of window.Storage.\nvar NullStorage = /*#__PURE__*/function () {\n  function NullStorage() {\n    _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, NullStorage);\n  }\n  _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(NullStorage, [{\n    key: \"key\",\n    value: function key() {\n      return null;\n    }\n  }, {\n    key: \"getItem\",\n    value: function getItem() {\n      return null;\n    }\n  }, {\n    key: \"setItem\",\n    value: function setItem() {\n      // Empty method body.\n    }\n  }, {\n    key: \"removeItem\",\n    value: function removeItem() {\n      // Empty method body.\n    }\n  }, {\n    key: \"clear\",\n    value: function clear() {\n      // Empty method body.\n    }\n  }, {\n    key: \"length\",\n    get: function get() {\n      return 0;\n    }\n  }]);\n  return NullStorage;\n}();\nvar storageObj;\n\n/**\n * Gets the storage object to use.\n *\n * @since 1.0.0\n *\n * @return {Storage} Either window.sessionStorage, window.localStorage', or a\n *                   no-op implementation if neither is available.\n */\nfunction getStorage() {\n  // Only run the logic to determine the storage object once.\n  if (!storageObj) {\n    if (storageAvailable('sessionStorage')) {\n      storageObj = global.sessionStorage;\n    } else if (storageAvailable('localStorage')) {\n      storageObj = global.localStorage;\n    } else {\n      storageObj = new NullStorage();\n    }\n  }\n  return storageObj;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/storage.js\n");

/***/ }),

/***/ "./js/util/stringify.js":
/*!******************************!*\
  !*** ./js/util/stringify.js ***!
  \******************************/
/*! exports provided: stringifyObject */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stringifyObject\", function() { return stringifyObject; });\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ \"../node_modules/@babel/runtime/helpers/typeof.js\");\n/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! md5 */ \"../node_modules/md5/md5.js\");\n/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_1__);\n\n/**\n * Stringify function.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Transforms an object into a hash string.\n *\n * This function can be used to e.g. generate cache keys, based on the given\n * object. Object properties are sorted, so even if they are provided in\n * different order, the hash will match. The function furthermore supports\n * nested objects.\n *\n * @since 1.7.0\n *\n * @param {Object} obj The object to stringify.\n * @return {string} Hash for the object.\n */\nfunction stringifyObject(obj) {\n  return md5__WEBPACK_IMPORTED_MODULE_1___default()(JSON.stringify(sortObjectProperties(obj)));\n}\nfunction sortObjectProperties(obj) {\n  var orderedData = {};\n  Object.keys(obj).sort().forEach(function (key) {\n    var val = obj[key];\n    if (val && 'object' === _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(val) && !Array.isArray(val)) {\n      val = sortObjectProperties(val);\n    }\n    orderedData[key] = val;\n  });\n  return orderedData;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=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dmFsICkgKSB7XG5cdFx0XHRcdHZhbCA9IHNvcnRPYmplY3RQcm9wZXJ0aWVzKCB2YWwgKTtcblx0XHRcdH1cblx0XHRcdG9yZGVyZWREYXRhWyBrZXkgXSA9IHZhbDtcblx0XHR9ICk7XG5cdHJldHVybiBvcmRlcmVkRGF0YTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/stringify.js\n");

/***/ }),

/***/ "./js/util/tracking/constants.js":
/*!***************************************!*\
  !*** ./js/util/tracking/constants.js ***!
  \***************************************/
/*! exports provided: DATA_LAYER, SCRIPT_IDENTIFIER */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATA_LAYER\", function() { return DATA_LAYER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SCRIPT_IDENTIFIER\", function() { return SCRIPT_IDENTIFIER; });\n/**\n * Constants related to event tracking.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Data layer global used for internal/private Site Kit data.\n *\n * @since 1.8.0\n * @private\n */\nvar DATA_LAYER = '_googlesitekitDataLayer';\n\n/**\n * The `gtag` `<script>` identifier.\n *\n * @since 1.8.0\n * @private\n */\nvar SCRIPT_IDENTIFIER = 'data-googlesitekit-gtag';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvdHJhY2tpbmcvY29uc3RhbnRzLmpzPzJkNjgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb25zdGFudHMgcmVsYXRlZCB0byBldmVudCB0cmFja2luZy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YX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n//# sourceURL=webpack-internal:///./js/util/tracking/constants.js\n");

/***/ }),

/***/ "./js/util/tracking/createDataLayerPush.js":
/*!*************************************************!*\
  !*** ./js/util/tracking/createDataLayerPush.js ***!
  \*************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createDataLayerPush; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./js/util/tracking/constants.js\");\n/**\n * Internal dependencies\n */\n\n\n/**\n * Returns a function which, when invoked will initialize the dataLayer and push data onto it.\n *\n * @since 1.3.0\n *\n * @param {Object} target Object to enhance with dataLayer data.\n * @return {Function} Function that pushes data onto the dataLayer.\n */\nfunction createDataLayerPush(target) {\n  /**\n   * Pushes data onto the data layer.\n   *\n   * Must push an instance of Arguments to the target.\n   * Using an ES6 spread operator (i.e. `...args`) will cause tracking events to\n   * _silently_ fail.\n   *\n   * @since 1.0.0\n   * @see {@link https://github.com/google/site-kit-wp/issues/1181}\n   */\n  return function dataLayerPush() {\n    target[_constants__WEBPACK_IMPORTED_MODULE_0__[\"DATA_LAYER\"]] = target[_constants__WEBPACK_IMPORTED_MODULE_0__[\"DATA_LAYER\"]] || [];\n    target[_constants__WEBPACK_IMPORTED_MODULE_0__[\"DATA_LAYER\"]].push(arguments);\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NyZWF0ZURhdGFMYXllclB1c2guanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL3RyYWNraW5nL2NyZWF0ZURhdGFMYXllclB1c2guanM/ZTAyZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc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QVlFUiBdLnB1c2goIGFyZ3VtZW50cyApO1xuXHR9O1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/util/tracking/createDataLayerPush.js\n");

/***/ }),

/***/ "./js/util/tracking/createInitializeSnippet.js":
/*!*****************************************************!*\
  !*** ./js/util/tracking/createInitializeSnippet.js ***!
  \*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createInitializeSnippet; });\n/* harmony import */ var _createDataLayerPush__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createDataLayerPush */ \"./js/util/tracking/createDataLayerPush.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./js/util/tracking/constants.js\");\n/* harmony import */ var _js_features_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/features/index */ \"./js/features/index.js\");\n/**\n * Internal dependencies\n */\n\n\n\n\n/**\n * Returns a function which, when invoked injects the gtag script if necessary.\n *\n * @since 1.44.0\n *\n * @param {Object} config          Tracking configuration.\n * @param {Object} dataLayerTarget Data layer parent object.\n * @return {Function} Function that injects gtag script if it isn't yet present.\n */\nfunction createInitializeSnippet(config, dataLayerTarget) {\n  var dataLayerPush = Object(_createDataLayerPush__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(dataLayerTarget);\n  var hasInsertedTag;\n  var activeModules = config.activeModules,\n    referenceSiteURL = config.referenceSiteURL,\n    userIDHash = config.userIDHash,\n    _config$userRoles = config.userRoles,\n    userRoles = _config$userRoles === void 0 ? [] : _config$userRoles,\n    isAuthenticated = config.isAuthenticated,\n    pluginVersion = config.pluginVersion;\n  /**\n   * Injects the necessary script tag if not present.\n   *\n   * @since 1.118.0\n   *\n   * @return {boolean|Object} Tag src as scriptTagSrc property.\n   */\n  return function initializeSnippet() {\n    var _global = global,\n      document = _global.document;\n    if (undefined === hasInsertedTag) {\n      hasInsertedTag = !!document.querySelector(\"script[\".concat(_constants__WEBPACK_IMPORTED_MODULE_1__[\"SCRIPT_IDENTIFIER\"], \"]\"));\n    }\n    if (hasInsertedTag) {\n      return false;\n    }\n    hasInsertedTag = true;\n\n    // Sometimes the user roles returned by Site Kit/WordPress is not an\n    // array, as expected, so we guard against it here.\n    //\n    // See: https://github.com/google/site-kit-wp/issues/8266\n    var userRolesAsString = (userRoles === null || userRoles === void 0 ? void 0 : userRoles.length) ? userRoles.join(',') : '';\n\n    // We should use the real time, and not the reference date, when\n    // measuring when we initialized tracking.\n    dataLayerPush('js', new Date()); // eslint-disable-line sitekit/no-direct-date\n    dataLayerPush('config', config.trackingID, {\n      groups: 'site_kit',\n      send_page_view: config.isSiteKitScreen,\n      domain: referenceSiteURL,\n      plugin_version: pluginVersion || '',\n      enabled_features: Array.from(_js_features_index__WEBPACK_IMPORTED_MODULE_2__[\"enabledFeatures\"]).join(','),\n      active_modules: activeModules.join(','),\n      authenticated: isAuthenticated ? '1' : '0',\n      user_properties: {\n        user_roles: userRolesAsString,\n        user_identifier: userIDHash\n      }\n    });\n\n    // If not present, inject it and initialize dataLayer.\n    var scriptTag = document.createElement('script');\n    scriptTag.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"SCRIPT_IDENTIFIER\"], '');\n    scriptTag.async = true;\n    scriptTag.src = \"https://www.googletagmanager.com/gtag/js?id=\".concat(config.trackingID, \"&l=\").concat(_constants__WEBPACK_IMPORTED_MODULE_1__[\"DATA_LAYER\"]);\n    document.head.appendChild(scriptTag);\n    return {\n      scriptTagSrc: \"https://www.googletagmanager.com/gtag/js?id=\".concat(config.trackingID, \"&l=\").concat(_constants__WEBPACK_IMPORTED_MODULE_1__[\"DATA_LAYER\"])\n    };\n  };\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tracking/createInitializeSnippet.js\n");

/***/ }),

/***/ "./js/util/tracking/createTrackEvent.js":
/*!**********************************************!*\
  !*** ./js/util/tracking/createTrackEvent.js ***!
  \**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createTrackEvent; });\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ \"../node_modules/@babel/runtime/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ \"../node_modules/@babel/runtime/helpers/asyncToGenerator.js\");\n/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _createDataLayerPush__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createDataLayerPush */ \"./js/util/tracking/createDataLayerPush.js\");\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Internal dependencies\n */\n\n\n/**\n * Returns a function which, when invoked tracks a single event.\n *\n * @since 1.3.0\n *\n * @param {Object}   config            Tracking configuration.\n * @param {Object}   dataLayerTarget   Data layer parent object.\n * @param {Function} initializeSnippet Function to initialize tracking.\n * @param {Object}   _global           The global window object.\n * @return {Function} Function that tracks an event.\n */\nfunction createTrackEvent(config, dataLayerTarget, initializeSnippet, _global) {\n  var dataLayerPush = Object(_createDataLayerPush__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(dataLayerTarget);\n\n  /**\n   * Send an Analytics tracking event.\n   *\n   * @since 1.3.0\n   *\n   * @param {string} category The category of the event.\n   * @param {string} action   The action name of the event.\n   * @param {string} [label]  Optional. The label of the event.\n   * @param {number} [value]  Optional. A non-negative integer that will appear as the event value.\n   * @return {Promise} Promise that always resolves.\n   */\n  // eslint-disable-next-line require-await\n  return /*#__PURE__*/function () {\n    var _trackEvent = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(category, action, label, value) {\n      var trackingEnabled, eventData;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              trackingEnabled = config.trackingEnabled;\n              if (trackingEnabled) {\n                _context.next = 3;\n                break;\n              }\n              return _context.abrupt(\"return\", null);\n            case 3:\n              initializeSnippet();\n              eventData = {\n                send_to: 'site_kit',\n                event_category: category,\n                event_label: label,\n                value: value\n              };\n              return _context.abrupt(\"return\", new Promise(function (resolve) {\n                var _global$_gaUserPrefs, _global$_gaUserPrefs$;\n                // This timeout ensures a tracking event does not block the user\n                // event if it is not sent (in time).\n                // If the event beacon fails, it shouldn't reject the promise since event\n                // tracking should not result in user-facing errors. It will just\n                // trigger a console warning.\n                function failCallback() {\n                  _global.console.warn(\"Tracking event \\\"\".concat(action, \"\\\" (category \\\"\").concat(category, \"\\\") took too long to fire.\"));\n                  resolve();\n                }\n                var failTimeout = setTimeout(failCallback, 1000);\n                // eslint-disable-next-line camelcase\n                function event_callback() {\n                  clearTimeout(failTimeout);\n                  resolve();\n                }\n                dataLayerPush('event', action, _objectSpread(_objectSpread({}, eventData), {}, {\n                  event_callback: event_callback\n                }));\n\n                // If the client-side opt-out is present, the event_callback will never be called\n                // so we call it here to prevent the warning and added delay.\n                if ((_global$_gaUserPrefs = _global._gaUserPrefs) === null || _global$_gaUserPrefs === void 0 ? void 0 : (_global$_gaUserPrefs$ = _global$_gaUserPrefs.ioo) === null || _global$_gaUserPrefs$ === void 0 ? void 0 : _global$_gaUserPrefs$.call(_global$_gaUserPrefs)) {\n                  event_callback();\n                }\n              }));\n            case 6:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee);\n    }));\n    function trackEvent(_x, _x2, _x3, _x4) {\n      return _trackEvent.apply(this, arguments);\n    }\n    return trackEvent;\n  }();\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tracking/createTrackEvent.js\n");

/***/ }),

/***/ "./js/util/tracking/createTracking.js":
/*!********************************************!*\
  !*** ./js/util/tracking/createTracking.js ***!
  \********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return createTracking; });\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"../node_modules/@babel/runtime/helpers/defineProperty.js\");\n/* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ \"../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _createInitializeSnippet__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createInitializeSnippet */ \"./js/util/tracking/createInitializeSnippet.js\");\n/* harmony import */ var _createTrackEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./createTrackEvent */ \"./js/util/tracking/createTrackEvent.js\");\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n/**\n * Site Kit by Google, Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\nvar DEFAULT_CONFIG = {\n  activeModules: [],\n  isAuthenticated: false,\n  referenceSiteURL: '',\n  trackingEnabled: false,\n  trackingID: '',\n  userIDHash: '',\n  userRoles: []\n};\n\n/**\n * Initializes tracking.\n *\n * @since 1.3.0\n *\n * @param {Object} newConfig       New configuration.\n * @param {Object} dataLayerTarget Data layer parent object.\n * @param {Object} _global         The global window object.\n * @return {Object} Tracking config.\n */\nfunction createTracking(newConfig) {\n  var dataLayerTarget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : global;\n  var _global = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : global;\n  var config = _objectSpread(_objectSpread({}, DEFAULT_CONFIG), newConfig);\n  // Remove any trailing slash from the reference URL.\n  if (config.referenceSiteURL) {\n    config.referenceSiteURL = config.referenceSiteURL.toString().replace(/\\/+$/, '');\n  }\n  var initializeSnippet = Object(_createInitializeSnippet__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(config, dataLayerTarget);\n  var trackEvent = Object(_createTrackEvent__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(config, dataLayerTarget, initializeSnippet, _global);\n  var onceTrackedEventsMap = {};\n  function trackEventOnce() {\n    for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {\n      params[_key] = arguments[_key];\n    }\n    var key = JSON.stringify(params);\n    if (!onceTrackedEventsMap[key]) {\n      onceTrackedEventsMap[key] = Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"once\"])(trackEvent);\n    }\n    onceTrackedEventsMap[key].apply(onceTrackedEventsMap, params);\n  }\n  return {\n    enableTracking: function enableTracking() {\n      config.trackingEnabled = true;\n    },\n    disableTracking: function disableTracking() {\n      config.trackingEnabled = false;\n    },\n    initializeSnippet: initializeSnippet,\n    isTrackingEnabled: function isTrackingEnabled() {\n      return !!config.trackingEnabled;\n    },\n    trackEvent: trackEvent,\n    trackEventOnce: trackEventOnce\n  };\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tracking/createTracking.js\n");

/***/ }),

/***/ "./js/util/tracking/index.js":
/*!***********************************!*\
  !*** ./js/util/tracking/index.js ***!
  \***********************************/
/*! exports provided: enableTracking, disableTracking, isTrackingEnabled, toggleTracking, trackEvent, trackEventOnce */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enableTracking\", function() { return enableTracking; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"disableTracking\", function() { return disableTracking; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isTrackingEnabled\", function() { return isTrackingEnabled; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toggleTracking\", function() { return toggleTracking; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trackEvent\", function() { return trackEvent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trackEventOnce\", function() { return trackEventOnce; });\n/* harmony import */ var _createTracking__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTracking */ \"./js/util/tracking/createTracking.js\");\n/**\n * Event tracking utilities.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable sitekit/jsdoc-no-unnamed-boolean-params */\n\n/**\n * Internal dependencies\n */\n\nvar _ref = global._googlesitekitTrackingData || {},\n  _ref$activeModules = _ref.activeModules,\n  activeModules = _ref$activeModules === void 0 ? [] : _ref$activeModules,\n  isSiteKitScreen = _ref.isSiteKitScreen,\n  trackingEnabled = _ref.trackingEnabled,\n  trackingID = _ref.trackingID,\n  referenceSiteURL = _ref.referenceSiteURL,\n  userIDHash = _ref.userIDHash,\n  isAuthenticated = _ref.isAuthenticated,\n  userRoles = _ref.userRoles;\nvar _global = global,\n  pluginVersion = \"1.161.0\";\nvar initialConfig = {\n  activeModules: activeModules,\n  trackingEnabled: trackingEnabled,\n  trackingID: trackingID,\n  referenceSiteURL: referenceSiteURL,\n  userIDHash: userIDHash,\n  isSiteKitScreen: isSiteKitScreen,\n  userRoles: userRoles,\n  isAuthenticated: isAuthenticated,\n  pluginVersion: pluginVersion\n};\nvar _createTracking = Object(_createTracking__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(initialConfig),\n  enableTracking = _createTracking.enableTracking,\n  disableTracking = _createTracking.disableTracking,\n  isTrackingEnabled = _createTracking.isTrackingEnabled,\n  initializeSnippet = _createTracking.initializeSnippet,\n  trackEvent = _createTracking.trackEvent,\n  trackEventOnce = _createTracking.trackEventOnce;\n/**\n * Changes the active state of tracking.\n *\n * @since 1.3.0\n *\n * @param {boolean} activeStatus The new state to set.\n */\nfunction toggleTracking(activeStatus) {\n  if (!!activeStatus) {\n    enableTracking();\n  } else {\n    disableTracking();\n  }\n}\n\n// Bootstrap on import if tracking is allowed.\nif (isSiteKitScreen && trackingEnabled) {\n  initializeSnippet();\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\")))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC90cmFja2luZy9pbmRleC5qcz82YTc3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXZlbnQgdHJhY2tpbmcgdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKH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YWNraW5nIGlzIGFsbG93ZWQuXG5pZiAoIGlzU2l0ZUtpdFNjcmVlbiAmJiB0cmFja2luZ0VuYWJsZWQgKSB7XG5cdGluaXRpYWxpemVTbmlwcGV0KCk7XG59XG5cbmV4cG9ydCB7XG5cdGVuYWJsZVRyYWNraW5nLFxuXHRkaXNhYmxlVHJhY2tpbmcsXG5cdGlzVHJhY2tpbmdFbmFibGVkLFxuXHR0b2dnbGVUcmFja2luZyxcblx0dHJhY2tFdmVudCxcblx0dHJhY2tFdmVudE9uY2UsXG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFXQTtBQVJBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/tracking/index.js\n");

/***/ }),

/***/ "./js/util/urls.js":
/*!*************************!*\
  !*** ./js/util/urls.js ***!
  \*************************/
/*! exports provided: getURLPath, getFullURL, normalizeURL, isHashOnly, shortenURL */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getURLPath\", function() { return getURLPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getFullURL\", function() { return getFullURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizeURL\", function() { return normalizeURL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isHashOnly\", function() { return isHashOnly; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"shortenURL\", function() { return shortenURL; });\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\n/**\n * URL pathname getter utility function.\n *\n * Site Kit by Google, Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * WordPress dependencies\n */\n\n\n/**\n * Returns the path from a URL, omitting its protocol, hostname, query params, and hash.\n *\n * @since 1.24.0\n *\n * @param {string} url The URL to get the path from.\n * @return {string} The URL path.\n */\nfunction getURLPath(url) {\n  try {\n    return new URL(url).pathname;\n  } catch (_unused) {}\n  return null;\n}\n\n/**\n * Returns the absolute URL from a path including the siteURL.\n *\n * @since 1.32.0\n *\n * @param {string} siteURL The siteURL fo the WordPress install.\n * @param {string} path    The path.\n * @return {string} The URL path.\n */\nfunction getFullURL(siteURL, path) {\n  try {\n    return new URL(path, siteURL).href;\n  } catch (_unused2) {}\n  return (typeof siteURL === 'string' ? siteURL : '') + (typeof path === 'string' ? path : '');\n}\n\n/**\n * Normalizes URL by removing protocol, www subdomain and trailing slash.\n *\n * @since 1.33.0\n *\n * @param {string} incomingURL The original URL.\n * @return {string} Normalized URL.\n */\nfunction normalizeURL(incomingURL) {\n  if (typeof incomingURL !== 'string') {\n    return incomingURL;\n  }\n  return incomingURL\n  // Remove protocol and optional \"www.\" prefix from the URL.\n  .replace(/^https?:\\/\\/(www\\.)?/i, '')\n  // Remove trailing slash.\n  .replace(/\\/$/, '');\n}\n\n/**\n * Checks if a string is not a full URL and simply a hash / anchor link.\n *\n * @since 1.49.0\n *\n * @param {string} url The URL or Hash string to test.\n * @return {boolean} Returns true if the string is only a hash and not a full URL.\n */\nfunction isHashOnly(url) {\n  return /^#\\w[A-Za-z0-9-_]*$/.test(url);\n}\n\n/**\n * Shortens a URL to fit a given length.\n *\n * @since 1.49.0\n *\n * @param {string} url      The original URL to shorten.\n * @param {number} maxChars The maximum length of the URL.\n * @return {string} The shortened URL.\n */\nfunction shortenURL(url, maxChars) {\n  if (!Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__[\"isURL\"])(url)) {\n    return url;\n  }\n  if (url.length <= maxChars) {\n    return url;\n  }\n  var urlObject = new URL(url);\n  var shortenedURL = url.replace(urlObject.origin, '');\n  if (shortenedURL.length < maxChars) {\n    return shortenedURL;\n  }\n  var extraChars = shortenedURL.length - Math.floor(maxChars) + 1; // 1 is the length of \"…\".\n  return '…' + shortenedURL.substr(extraChars);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/urls.js\n");

/***/ }),

/***/ "./svg/icons/arrow-inverse.svg":
/*!*************************************!*\
  !*** ./svg/icons/arrow-inverse.svg ***!
  \*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  fill: \"none\",\n  fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n  fill: \"#FFF\",\n  cx: 6.5,\n  cy: 6.5,\n  r: 6.5\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z\",\n  fill: \"currentColor\"\n}), \".\");\nfunction SvgArrowInverse(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 13 13\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgArrowInverse);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXJyb3ctaW52ZXJzZS5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvYXJyb3ctaW52ZXJzZS5zdmc/ZjkyYiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY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sb3JcIlxufSksIFwiLlwiKTtcbmZ1bmN0aW9uIFN2Z0Fycm93SW52ZXJzZShwcm9wcykge1xuICByZXR1cm4gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJzdmdcIiwgX2V4dGVuZHMoe1xuICAgIHZpZXdCb3g6IFwiMCAwIDEzIDEzXCJcbiAgfSwgcHJvcHMpLCBfcmVmKTtcbn1cbmV4cG9ydCBkZWZhdWx0IFN2Z0Fycm93SW52ZXJzZTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/arrow-inverse.svg\n");

/***/ }),

/***/ "./svg/icons/arrow.svg":
/*!*****************************!*\
  !*** ./svg/icons/arrow.svg ***!
  \*****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"g\", {\n  fill: \"none\",\n  fillRule: \"evenodd\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"circle\", {\n  fill: \"currentColor\",\n  cx: 6.5,\n  cy: 6.5,\n  r: 6.5\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z\",\n  fill: \"#FFF\"\n}), \".\");\nfunction SvgArrow(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 13 13\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgArrow);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXJyb3cuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Fycm93LnN2Zz9lNGNjIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmc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O0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/arrow.svg\n");

/***/ }),

/***/ "./svg/icons/back.svg":
/*!****************************!*\
  !*** ./svg/icons/back.svg ***!
  \****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z\"\n});\nfunction SvgBack(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"currentColor\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgBack);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYmFjay5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvYmFjay5zdmc/NWY3MCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTEyIDIwbC04LTggOC04IDEuNDI1IDEuNC01LjYgNS42SDIwdjJINy44MjVsNS42IDUuNkwxMiAyMHpcIlxufSk7XG5mdW5jdGlvbiBTdmdCYWNrKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIixcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdCYWNrOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/back.svg\n");

/***/ }),

/***/ "./svg/icons/check-fill.svg":
/*!**********************************!*\
  !*** ./svg/icons/check-fill.svg ***!
  \**********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  fillRule: \"evenodd\",\n  clipRule: \"evenodd\",\n  d: \"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z\",\n  fill: \"currentColor\"\n});\nfunction SvgCheckFill(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgCheckFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvY2hlY2stZmlsbC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvY2hlY2stZmlsbC5zdmc/ODdlYiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5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7XG5mdW5jdGlvbiBTdmdDaGVja0ZpbGwocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdDaGVja0ZpbGw7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/check-fill.svg\n");

/***/ }),

/***/ "./svg/icons/external-rounded.svg":
/*!****************************************!*\
  !*** ./svg/icons/external-rounded.svg ***!
  \****************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2\",\n  stroke: \"currentColor\",\n  strokeWidth: 1.5\n});\nfunction SvgExternalRounded(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 13 14\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgExternalRounded);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXh0ZXJuYWwtcm91bmRlZC5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvaWNvbnMvZXh0ZXJuYWwtcm91bmRlZC5zdmc/ZjMzNyJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwicGF0aFwiLCB7XG4gIGQ6IFwiTTQuNSAxLjVIM2EyIDIgMCAwMC0yIDJ2N2EyIDIgMCAwMDIgMmg3YTIgMiAwIDAwMi0yVjlNNyAxLjVoNXY1TTUgOC41TDExLjUgMlwiLFxuICBzdHJva2U6IFwiY3VycmVudENvbG9yXCIsXG4gIHN0cm9rZVdpZHRoOiAxLjVcbn0pO1xuZnVuY3Rpb24gU3ZnRXh0ZXJuYWxSb3VuZGVkKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMTMgMTRcIixcbiAgICBmaWxsOiBcIm5vbmVcIlxuICB9LCBwcm9wcyksIF9yZWYpO1xufVxuZXhwb3J0IGRlZmF1bHQgU3ZnRXh0ZXJuYWxSb3VuZGVkOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/external-rounded.svg\n");

/***/ }),

/***/ "./svg/icons/external.svg":
/*!********************************!*\
  !*** ./svg/icons/external.svg ***!
  \********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z\"\n});\nfunction SvgExternal(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"currentColor\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgExternal);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXh0ZXJuYWwuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2V4dGVybmFsLnN2Zz8yNzhhIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNNSAyMWExLjk5IDEuOTkgMCAwMS0xLjQyNS0uNTc1QTEuOTkgMS45OSAwIDAxMyAxOVY1YzAtLjU1LjE5Mi0xLjAxNy41NzUtMS40LjQtLjQuODc1LS42IDEuNDI1LS42aDd2Mkg1djE0aDE0di03aDJ2N2MwIC41NS0uMiAxLjAyNS0uNiAxLjQyNS0uMzgzLjM4My0uODUuNTc1LTEuNC41NzVINXptNC43LTUuM2wtMS40LTEuNEwxNy42IDVIMTRWM2g3djdoLTJWNi40bC05LjMgOS4zelwiXG59KTtcbmZ1bmN0aW9uIFN2Z0V4dGVybmFsKHByb3BzKSB7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInN2Z1wiLCBfZXh0ZW5kcyh7XG4gICAgdmlld0JveDogXCIwIDAgMjQgMjRcIixcbiAgICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdFeHRlcm5hbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/external.svg\n");

/***/ }),

/***/ "./svg/icons/star-fill.svg":
/*!*********************************!*\
  !*** ./svg/icons/star-fill.svg ***!
  \*********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M5.825 22l2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3 5.825 22z\",\n  fill: \"currentColor\"\n});\nfunction SvgStarFill(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgStarFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvc3Rhci1maWxsLnN2Zy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3N2Zy9pY29ucy9zdGFyLWZpbGwuc3ZnP2EzN2QiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2V4dGVuZHMoKSB7IF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChzb3VyY2UsIGtleSkpIHsgdGFyZ2V0W2tleV0gPSBzb3VyY2Vba2V5XTsgfSB9IH0gcmV0dXJuIHRhcmdldDsgfTsgcmV0dXJuIF9leHRlbmRzLmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7IH1cbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gXCJyZWFjdFwiO1xudmFyIF9yZWYgPSAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk01LjgyNSAyMmwyLjMyNS03LjZMMiAxMGg3LjZMMTIgMmwyLjQgOEgyMmwtNi4xNSA0LjQgMi4zMjUgNy42TDEyIDE3LjMgNS44MjUgMjJ6XCIsXG4gIGZpbGw6IFwiY3VycmVudENvbG9yXCJcbn0pO1xuZnVuY3Rpb24gU3ZnU3RhckZpbGwocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdTdGFyRmlsbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/icons/star-fill.svg\n");

/***/ }),

/***/ "./svg/icons/warning-notice.svg":
/*!**************************************!*\
  !*** ./svg/icons/warning-notice.svg ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar _ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm0 14a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm-1-2h2V6h-2v7z\",\n  fill: \"currentColor\"\n});\nfunction SvgWarningNotice(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 24 24\",\n    fill: \"none\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgWarningNotice);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvd2FybmluZy1ub3RpY2Uuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL3dhcm5pbmctbm90aWNlLnN2Zz8xYjMxIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJwYXRoXCIsIHtcbiAgZDogXCJNMTIgMWM2LjA3NSAwIDExIDQuOTI1IDExIDExcy00LjkyNSAxMS0xMSAxMVMxIDE4LjA3NSAxIDEyIDUuOTI1IDEgMTIgMXptMCAxNGExLjUgMS41IDAgMTAwIDMgMS41IDEuNSAwIDAwMC0zem0tMS0yaDJWNmgtMnY3elwiLFxuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiXG59KTtcbmZ1bmN0aW9uIFN2Z1dhcm5pbmdOb3RpY2UocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAyNCAyNFwiLFxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdXYXJuaW5nTm90aWNlOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/warning-notice.svg\n");

/***/ }),

/***/ "@wordpress/i18n":
/*!*****************************************!*\
  !*** external ["googlesitekit","i18n"] ***!
  \*****************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"i18n\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQHdvcmRwcmVzcy9pMThuLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImkxOG5cIl0/YTFhZCJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJpMThuXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///@wordpress/i18n\n");

/***/ }),

/***/ "googlesitekit-api":
/*!****************************************!*\
  !*** external ["googlesitekit","api"] ***!
  \****************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"api\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1hcGkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vZXh0ZXJuYWwgW1wiZ29vZ2xlc2l0ZWtpdFwiLFwiYXBpXCJdPzMyYmUiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBnb29nbGVzaXRla2l0W1wiYXBpXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-api\n");

/***/ }),

/***/ "googlesitekit-components":
/*!***********************************************!*\
  !*** external ["googlesitekit","components"] ***!
  \***********************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"components\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1jb21wb25lbnRzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImNvbXBvbmVudHNcIl0/ZmZlYiJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJjb21wb25lbnRzXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-components\n");

/***/ }),

/***/ "googlesitekit-data":
/*!*****************************************!*\
  !*** external ["googlesitekit","data"] ***!
  \*****************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = googlesitekit[\"data\"];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlc2l0ZWtpdC1kYXRhLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2V4dGVybmFsIFtcImdvb2dsZXNpdGVraXRcIixcImRhdGFcIl0/NzIwYyJdLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IGdvb2dsZXNpdGVraXRbXCJkYXRhXCJdOyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///googlesitekit-data\n");

/***/ })

},[["./js/googlesitekit-modules.js","runtime","googlesitekit-vendor"]]]);