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

/***/ "./js/api-fetch-shim.js":
/*!******************************!*\
  !*** ./js/api-fetch-shim.js ***!
  \******************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/api-fetch__non-shim */ \"../node_modules/@wordpress/api-fetch/build/index.js\");\n/* harmony import */ var _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _googlesitekit_api_middleware_preloading_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./googlesitekit/api/middleware/preloading.js */ \"./js/googlesitekit/api/middleware/preloading.js\");\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/**\n * API Fetch Shim.\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\nvar _ref = global._googlesitekitAPIFetchData || {},\n  nonce = _ref.nonce,\n  nonceEndpoint = _ref.nonceEndpoint,\n  preloadedData = _ref.preloadedData,\n  rootURL = _ref.rootURL;\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.nonceEndpoint = nonceEndpoint;\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.nonceMiddleware = _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.createNonceMiddleware(nonce);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.rootURLMiddleware = _wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.createRootURLMiddleware(rootURL);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.preloadingMiddleware = Object(_googlesitekit_api_middleware_preloading_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(preloadedData);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.nonceMiddleware);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.mediaUploadMiddleware);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.rootURLMiddleware);\n_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.use(_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a.preloadingMiddleware);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_wordpress_api_fetch_non_shim__WEBPACK_IMPORTED_MODULE_0___default.a);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9hcGktZmV0Y2gtc2hpbS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2FwaS1mZXRjaC1zaGltLmpzPzMzYTYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBUEkgRmV0Y2ggU2hpbS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9uc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vYWRpbmdNaWRkbGV3YXJlICk7XG5cbmV4cG9ydCAqIGZyb20gJ0B3b3JkcHJlc3MvYXBpLWZldGNoX19ub24tc2hpbSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFwaUZldGNoO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/api-fetch-shim.js\n");

/***/ }),

/***/ "./js/components/AccessibleWarningIcon.js":
/*!************************************************!*\
  !*** ./js/components/AccessibleWarningIcon.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 AccessibleWarningIcon; });\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 _VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _svg_icons_warning_v2_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/svg/icons/warning-v2.svg */ \"./svg/icons/warning-v2.svg\");\n\n/**\n * AccessibleWarningIcon 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\nfunction AccessibleWarningIcon(_ref) {\n  var _ref$height = _ref.height,\n    height = _ref$height === void 0 ? 12 : _ref$height,\n    _ref$screenReaderText = _ref.screenReaderText,\n    screenReaderText = _ref$screenReaderText === void 0 ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Error', 'google-site-kit') : _ref$screenReaderText,\n    _ref$width = _ref.width,\n    width = _ref$width === void 0 ? 14 : _ref$width;\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_VisuallyHidden__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, screenReaderText), /*#__PURE__*/React.createElement(_svg_icons_warning_v2_svg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    width: width,\n    height: height\n  }));\n}\nAccessibleWarningIcon.propTypes = {\n  height: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,\n  screenReaderText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  width: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0FjY2Vzc2libGVXYXJuaW5nSWNvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvQWNjZXNzaWJsZVdhcm5pbmdJY29uLmpzP2YzNWYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBY2Nlc3NpYmxlV2FybmluZ0ljb24gY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3Jl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nbWVudD5cblx0XHRcdDxWaXN1YWxseUhpZGRlbj57IHNjcmVlblJlYWRlclRleHQgfTwvVmlzdWFsbHlIaWRkZW4+XG5cdFx0XHQ8V2FybmluZ0ljb24gd2lkdGg9eyB3aWR0aCB9IGhlaWdodD17IGhlaWdodCB9IC8+XG5cdFx0PC9GcmFnbWVudD5cblx0KTtcbn1cblxuQWNjZXNzaWJsZVdhcm5pbmdJY29uLnByb3BUeXBlcyA9IHtcblx0aGVpZ2h0OiBQcm9wVHlwZXMubnVtYmVyLFxuXHRzY3JlZW5SZWFkZXJUZXh0OiBQcm9wVHlwZXMuc3RyaW5nLFxuXHR3aWR0aDogUHJvcFR5cGVzLm51bWJlcixcbn07XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFIQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUFBO0FBQUE7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/AccessibleWarningIcon.js\n");

/***/ }),

/***/ "./js/components/Badge.js":
/*!********************************!*\
  !*** ./js/components/Badge.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\n\n\n/**\n * Badge 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 Badge = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__[\"forwardRef\"])(function (_ref, ref) {\n  var label = _ref.label,\n    className = _ref.className,\n    _ref$hasLeftSpacing = _ref.hasLeftSpacing,\n    hasLeftSpacing = _ref$hasLeftSpacing === void 0 ? false : _ref$hasLeftSpacing,\n    rest = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"label\", \"className\", \"hasLeftSpacing\"]);\n  return /*#__PURE__*/React.createElement(\"span\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    ref: ref\n  }, rest, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-badge', className, {\n      'googlesitekit-badge--has-left-spacing': hasLeftSpacing\n    })\n  }), label);\n});\nBadge.displayName = 'Badge';\nBadge.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string.isRequired,\n  hasLeftSpacing: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Badge);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0JhZGdlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9CYWRnZS5qcz8zN2ZlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQmFkZ2UgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1x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VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/Badge.js\n");

/***/ }),

/***/ "./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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0NoYW5nZUFycm93LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9DaGFuZ2VBcnJvdy5qcz9iNjAwIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXh0ZXJuYWwgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tICdjbGFzc25hbWVzJztcblxuZnVuY3Rpb24gQ2hhbmdlQXJyb3coIHsgZGlyZWN0aW9uLCBpbnZlcnRDb2xvciwgd2lkdGgsIGhlaWdodCB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxzdmdcblx0XHRcdGNsYXNzTmFtZT17IGNsYXNzbmFtZXMoXG5cdFx0XHRcdCdnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdycsXG5cdFx0XHRcdGBnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJvdy0tJHsgZGlyZWN0aW9uIH1gLFxuXHRcdFx0XHR7ICdnb29nbGVzaXRla2l0LWNoYW5nZS1hcnJv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QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/ChangeArrow.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BLANK_SPACE\", function() { return BLANK_SPACE; });\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * DisplaySetting 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\nvar BLANK_SPACE = \"\\xA0\";\nfunction DisplaySetting(_ref) {\n  var value = _ref.value;\n  return value || BLANK_SPACE;\n}\nDisplaySetting.propTypes = {\n  value: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number])\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (DisplaySetting);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0Rpc3BsYXlTZXR0aW5nLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9EaXNwbGF5U2V0dGluZy5qcz83MDQ0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRGlzcGxheVNldHRpbmcgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGNvbnN0IEJMQU5LX1NQQUNFID0gJ1xcdTAwQTAnO1xuXG5mdW5jdGlvbiBEaXNwbGF5U2V0dGluZyggeyB2YWx1ZSB9ICkge1xuXHRyZXR1cm4gdmFsdWUgfHwgQkxBTktfU1BBQ0U7XG59XG5cbkRpc3BsYXlTZXR0aW5nLnByb3BUeXBlcyA9IHtcblx0dmFsdWU6IFByb3BUeXBlcy5vbmVPZlR5cGUoIFtcblx0XHRQcm9wVHlwZXMuc3RyaW5nLFxuXHRcdFByb3BUeXBlcy5ib29sLFxuXHRcdFByb3BUeXBlcy5udW1iZXIsXG5cdF0gKSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IERpc3BsYXlTZXR0aW5nO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFLQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/DisplaySetting.js\n");

/***/ }),

/***/ "./js/components/ErrorNotice.js":
/*!**************************************!*\
  !*** ./js/components/ErrorNotice.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 ErrorNotice; });\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 _wordpress_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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 _js_util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _Notice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Notice */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n/**\n * ErrorNotice 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/**\n * Internal dependencies\n */\n\n\n\n\nfunction ErrorNotice(_ref) {\n  var _error$data;\n  var className = _ref.className,\n    error = _ref.error,\n    _ref$hasButton = _ref.hasButton,\n    hasButton = _ref$hasButton === void 0 ? false : _ref$hasButton,\n    storeName = _ref.storeName,\n    _ref$message = _ref.message,\n    message = _ref$message === void 0 ? error.message : _ref$message,\n    _ref$noPrefix = _ref.noPrefix,\n    noPrefix = _ref$noPrefix === void 0 ? false : _ref$noPrefix,\n    skipRetryMessage = _ref.skipRetryMessage,\n    _ref$hideIcon = _ref.hideIcon,\n    hideIcon = _ref$hideIcon === void 0 ? false : _ref$hideIcon;\n  var dispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])();\n  var selectorData = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (!storeName) {\n      return null;\n    }\n    return select(storeName).getSelectorDataForError(error);\n  });\n  var handleRetry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    dispatch(selectorData.storeName).invalidateResolution(selectorData.name, selectorData.args);\n  }, [dispatch, selectorData]);\n\n  // Do not display if there is no error and no direct message text is passed as a direct prop.\n  // Also do not display if the error is for missing scopes as these are handled by a popup modal.\n  if (!message || Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isPermissionScopeError\"])(error)) {\n    return null;\n  }\n  var shouldDisplayRetry = hasButton && Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isErrorRetryable\"])(error, selectorData);\n\n  /**\n   * Error message to display to the user. Sometimes we append a retry message\n   * or a reconnect URL, so we create a new variable for the message to display.\n   */\n  var errorMessageWithModifications = message;\n\n  // Append \"Try again\" messaging if no retry button is present.\n  if (!hasButton && !skipRetryMessage) {\n    errorMessageWithModifications = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Error message from Google API. */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%s (Please try again.)', 'google-site-kit'), errorMessageWithModifications);\n  }\n  if (!noPrefix) {\n    errorMessageWithModifications = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: $%s: Error message */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Error: %s', 'google-site-kit'), errorMessageWithModifications);\n  }\n  var reconnectURL = error === null || error === void 0 ? void 0 : (_error$data = error.data) === null || _error$data === void 0 ? void 0 : _error$data.reconnectURL;\n  if (reconnectURL && Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"isURL\"])(reconnectURL)) {\n    /**\n     * This error message uses HTML tags without using\n     * `createInterpolateElement` because the error messages\n     * that come from the server/API can also contain HTML (eg. links)\n     * we want to render.\n     *\n     * Instead of creating a React node using `createInterpolateElement`,\n     * we use `dangerouslySetInnerHTML` to allow the HTML we create and from\n     * the server/API to be rendered as-intended.\n     */\n    errorMessageWithModifications = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: Original error message 2: Reconnect URL */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%1$s To fix this, <a href=\"%2$s\">redo the plugin setup</a>.', 'google-site-kit'), errorMessageWithModifications, reconnectURL);\n  }\n  var sanitizeArgs = {\n    ALLOWED_TAGS: ['a'],\n    ALLOWED_ATTR: ['href']\n  };\n  return /*#__PURE__*/React.createElement(_Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    className: className,\n    type: _Notice__WEBPACK_IMPORTED_MODULE_6__[\"default\"].TYPES.ERROR,\n    description:\n    /*#__PURE__*/\n    // The error messages that come from the server/API can contain\n    // HTML (eg. links), so we use `dangerouslySetInnerHTML` and sanitize\n    // the HTML to render these links.\n    //\n    // We tried to use `createInterpolateElement` but it does not work\n    // with HTML tags that come from the server/API.\n    React.createElement(\"span\", {\n      dangerouslySetInnerHTML: Object(_js_util__WEBPACK_IMPORTED_MODULE_7__[\"sanitizeHTML\"])(errorMessageWithModifications, sanitizeArgs)\n    }),\n    ctaButton: shouldDisplayRetry ? {\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Retry', 'google-site-kit'),\n      onClick: handleRetry\n    } : undefined,\n    hideIcon: hideIcon\n  });\n}\nErrorNotice.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  error: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({\n    message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string\n  }),\n  hasButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  storeName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  message: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,\n  noPrefix: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  skipRetryMessage: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  hideIcon: 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, \n//# sourceURL=webpack-internal:///./js/components/ErrorNotice.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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_features__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/features */ \"./js/features/index.js\");\n/**\n * Feature Flags context for React 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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\nvar FeaturesContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createContext\"])(_js_features__WEBPACK_IMPORTED_MODULE_1__[\"enabledFeatures\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (FeaturesContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ZlYXR1cmVzUHJvdmlkZXIvRmVhdHVyZXNDb250ZXh0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9GZWF0dXJlc1Byb3ZpZGVyL0ZlYXR1cmVzQ29udGV4dC5qcz8wNmNiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRmVhdHVyZSBGbGFncyBjb250ZXh0IGZvciBSZWFjdCBjb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dHVyZXMgfSBmcm9tICdAL2pzL2ZlYXR1cmVzJztcblxuY29uc3QgRmVhdHVyZXNDb250ZXh0ID0gY3JlYXRlQ29udGV4dCggZW5hYmxlZEZlYXR1cmVzICk7XG5cbmV4cG9ydCBkZWZhdWx0IEZlYXR1cmVzQ29udGV4dDtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/FeaturesProvider/FeaturesContext.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL0ljb25XcmFwcGVyLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9JY29uV3JhcHBlci5qcz82NzBlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSWNvbldyYXBwZXIgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjMgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiB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RcdDwvc3Bhbj5cblx0KTtcbn1cblxuSWNvbldyYXBwZXIucHJvcFR5cGVzID0ge1xuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUuaXNSZXF1aXJlZCxcblx0bWFyZ2luTGVmdDogUHJvcFR5cGVzLm51bWJlcixcblx0bWFyZ2luUmlnaHQ6IFByb3BUeXBlcy5udW1iZXIsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\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/NDQ1NCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbi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UNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQVFBO0FBTkE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9EZXNjcmlwdGlvbi5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvTm90aWNlL0Rlc2NyaXB0aW9uLmpzPzA0YmMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW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NyaXB0aW9uLnByb3BUeXBlcyA9IHtcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFHQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\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,eyJ2ZXJzaW9u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tBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUlBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9JY29uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Ob3RpY2UvSWNvbi5qcz81OWQ1Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJ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IFdhcm5pbmdTVkcsXG5cdFsgVFlQRVMuRVJST1IgXTogV2FybmluZ1NWRyxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIEljb24oIHsgdHlwZSB9ICkge1xuXHRjb25zdCBJY29uQ29tcG9uZW50ID0gdHlwZUljb25NYXBbIHR5cGUgXSB8fCBXYXJuaW5nU1ZHO1xuXG5cdHJldHVybiA8SWNvbkNvbXBvbmVudCB3aWR0aD17IDI0IH0gaGVpZ2h0PXsgMjQgfSAvPjtcbn1cblxuSWNvbi5wcm9wVHlwZXMgPSB7XG5cdHR5cGU6IFByb3BUeXBlcy5vbmVPZiggT2JqZWN0LnZhbHVlcyggVFlQRVMgKSApLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBUUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9UaXRsZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL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Xhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gVGl0bGUoIHsgY2xhc3NOYW1lLCBjaGlsZHJlbiB9ICkge1xuXHRyZXR1cm4gKFxuXHRcdDxwIGNsYXNzTmFtZT17IGNsYXNzbmFtZXMoICdnb29nbGVzaXRla2l0LW5vdGljZV9fdGl0bGUnLCBjbGFzc05hbWUgKSB9PlxuXHRcdFx0eyBjaGlsZHJlbiB9XG5cdFx0PC9wPlxuXHQpO1xufVxuXG5UaXRsZS5wcm9wVHlwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0Y2hpbGRyZW46IFByb3BUeXBlcy5ub2RlLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL05vdGljZS9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL05vdGljZS9jb25zdGFudHMuanM/YTA4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IFRZUEVTID0ge1xuXHRORVc6ICduZXcnLFxuXHRTVUNDRVNTOiAnc3VjY2VzcycsXG5cdFdBUk5JTkc6ICd3YXJuaW5nJyxcblx0SU5GTzogJ2luZm8nLFxuXHRFUlJPUjogJ2Vycm9yJyxcbn07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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/Root/ViewContextContext.js":
/*!**************************************************!*\
  !*** ./js/components/Root/ViewContextContext.js ***!
  \**************************************************/
/*! exports provided: Consumer, Provider, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Consumer\", function() { return Consumer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Provider\", function() { return Provider; });\n/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/**\n * View Context context for React 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 * WordPress dependencies\n */\n\nvar ViewContextContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createContext\"])('');\nvar Consumer = ViewContextContext.Consumer,\n  Provider = ViewContextContext.Provider;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (ViewContextContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Jvb3QvVmlld0NvbnRleHRDb250ZXh0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9Sb290L1ZpZXdDb250ZXh0Q29udGV4dC5qcz9iYjZmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmlldyBDb250ZXh0IGNvbnRleHQgZm9yIFJlYWN0IGNvbXBvbmVudHMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuIC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");

/***/ }),

/***/ "./js/components/StoreErrorNotices.js":
/*!********************************************!*\
  !*** ./js/components/StoreErrorNotices.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 StoreErrorNotices; });\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 _ErrorNotice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ErrorNotice */ \"./js/components/ErrorNotice.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 _js_util_errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/insufficient-permissions-error-description */ \"./js/util/insufficient-permissions-error-description.js\");\n\n/**\n * StoreErrorNotices 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\n\nfunction StoreErrorNotices(_ref) {\n  var _ref$hasButton = _ref.hasButton,\n    hasButton = _ref$hasButton === void 0 ? false : _ref$hasButton,\n    moduleSlug = _ref.moduleSlug,\n    storeName = _ref.storeName;\n  var errors = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(storeName).getErrors();\n  });\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_MODULES\"]).getModule(moduleSlug);\n  });\n  var existingErrorMessages = [];\n  return errors.filter(function (error) {\n    if (!(error === null || error === void 0 ? void 0 : error.message) || existingErrorMessages.includes(error.message)) {\n      return false;\n    }\n    existingErrorMessages.push(error.message);\n    return true;\n  }).map(function (error, key) {\n    var message = error.message;\n    if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_5__[\"isInsufficientPermissionsError\"])(error)) {\n      message = Object(_js_util_insufficient_permissions_error_description__WEBPACK_IMPORTED_MODULE_6__[\"getInsufficientPermissionsErrorDescription\"])(message, module);\n    }\n    return /*#__PURE__*/React.createElement(_ErrorNotice__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      key: key,\n      error: error,\n      hasButton: hasButton,\n      storeName: storeName,\n      message: message\n    });\n  });\n}\nStoreErrorNotices.propTypes = {\n  hasButton: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,\n  storeName: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  moduleSlug: 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1N0b3JlRXJyb3JOb3RpY2VzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9TdG9yZUVycm9yTm90aWNlcy5qcz81ODRiIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogU3RvcmVFcnJvck5vdGljZXMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG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vcj17IGVycm9yIH1cblx0XHRcdFx0XHRoYXNCdXR0b249eyBoYXNCdXR0b24gfVxuXHRcdFx0XHRcdHN0b3JlTmFtZT17IHN0b3JlTmFtZSB9XG5cdFx0XHRcdFx0bWVzc2FnZT17IG1lc3NhZ2UgfVxuXHRcdFx0XHQvPlxuXHRcdFx0KTtcblx0XHR9ICk7XG59XG5cblN0b3JlRXJyb3JOb3RpY2VzLnByb3BUeXBlcyA9IHtcblx0aGFzQnV0dG9uOiBQcm9wVHlwZXMuYm9vbCxcblx0c3RvcmVOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG5cdG1vZHVsZVNsdWc6IFByb3BUeXBlcy5zdHJpbmcsXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBSUE7QUFIQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFHQTtBQUVBO0FBRUE7QUFJQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBRUE7QUFHQTtBQUNBO0FBSUE7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/StoreErrorNotices.js\n");

/***/ }),

/***/ "./js/components/Typography/P.js":
/*!***************************************!*\
  !*** ./js/components/Typography/P.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 P; });\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_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 _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/hooks/useBreakpoint */ \"./js/hooks/useBreakpoint.js\");\n/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! . */ \"./js/components/Typography/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/Typography/constants.js\");\n\n\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\nfunction P(_ref) {\n  var _ref$type = _ref.type,\n    type = _ref$type === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_6__[\"TYPE_BODY\"] : _ref$type,\n    size = _ref.size,\n    children = _ref.children,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"type\", \"size\", \"children\"]);\n  var breakpoint = Object(_js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"useBreakpoint\"])();\n  return /*#__PURE__*/React.createElement(___WEBPACK_IMPORTED_MODULE_5__[\"default\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    as: \"p\",\n    type: type,\n    size: size || (breakpoint === _js_hooks_useBreakpoint__WEBPACK_IMPORTED_MODULE_4__[\"BREAKPOINT_SMALL\"] ? _constants__WEBPACK_IMPORTED_MODULE_6__[\"SIZE_SMALL\"] : _constants__WEBPACK_IMPORTED_MODULE_6__[\"SIZE_MEDIUM\"])\n  }, props), children);\n}\nP.propTypes = {\n  type: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_TYPES\"]),\n  size: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_SIZES\"])\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvUC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9QLmpzPzE2MjkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJta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VFlQRVMgKSxcblx0c2l6ZTogUHJvcFR5cGVzLm9uZU9mKCBWQUxJRF9TSVpFUyApLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBUUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBTUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Typography/P.js\n");

/***/ }),

/***/ "./js/components/Typography/constants.js":
/*!***********************************************!*\
  !*** ./js/components/Typography/constants.js ***!
  \***********************************************/
/*! exports provided: TYPE_DISPLAY, TYPE_HEADLINE, TYPE_TITLE, TYPE_BODY, TYPE_LABEL, VALID_TYPES, SIZE_SMALL, SIZE_MEDIUM, SIZE_LARGE, VALID_SIZES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_DISPLAY\", function() { return TYPE_DISPLAY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_HEADLINE\", function() { return TYPE_HEADLINE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_TITLE\", function() { return TYPE_TITLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_BODY\", function() { return TYPE_BODY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TYPE_LABEL\", function() { return TYPE_LABEL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VALID_TYPES\", function() { return VALID_TYPES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIZE_SMALL\", function() { return SIZE_SMALL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIZE_MEDIUM\", function() { return SIZE_MEDIUM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIZE_LARGE\", function() { return SIZE_LARGE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VALID_SIZES\", function() { return VALID_SIZES; });\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 TYPE_DISPLAY = 'display';\nvar TYPE_HEADLINE = 'headline';\nvar TYPE_TITLE = 'title';\nvar TYPE_BODY = 'body';\nvar TYPE_LABEL = 'label';\nvar VALID_TYPES = [TYPE_BODY, TYPE_DISPLAY, TYPE_HEADLINE, TYPE_LABEL, TYPE_TITLE];\nvar SIZE_SMALL = 'small';\nvar SIZE_MEDIUM = 'medium';\nvar SIZE_LARGE = 'large';\nvar VALID_SIZES = [SIZE_SMALL, SIZE_MEDIUM, SIZE_LARGE];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9UeXBvZ3JhcGh5L2NvbnN0YW50cy5qcz85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k9EWSA9ICdib2R5JztcbmV4cG9ydCBjb25zdCBUWVBFX0xBQkVMID0gJ2xhYmVsJztcblxuZXhwb3J0IGNvbnN0IFZBTElEX1RZUEVTID0gW1xuXHRUWVBFX0JPRFksXG5cdFRZUEVfRElTUExBWSxcblx0VFlQRV9IRUFETElORSxcblx0VFlQRV9MQUJFTCxcblx0VFlQRV9USVRMRSxcbl07XG5cbmV4cG9ydCBjb25zdCBTSVpFX1NNQUxMID0gJ3NtYWxsJztcbmV4cG9ydCBjb25zdCBTSVpFX01FRElVTSA9ICdtZWRpdW0nO1xuZXhwb3J0IGNvbnN0IFNJWkVfTEFSR0UgPSAnbGFyZ2UnO1xuXG5leHBvcnQgY29uc3QgVkFMSURfU0laRVMgPSBbIFNJWkVfU01BTEwsIFNJWkVfTUVESVVNLCBTSVpFX0xBUkdFIF07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQVFBO0FBQ0E7QUFDQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/Typography/constants.js\n");

/***/ }),

/***/ "./js/components/Typography/index.js":
/*!*******************************************!*\
  !*** ./js/components/Typography/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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Typography; });\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/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/components/Typography/constants.js\");\n\n\n\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/**\n * Internal dependencies\n */\n\nfunction Typography(_ref) {\n  var _classnames;\n  var className = _ref.className,\n    type = _ref.type,\n    size = _ref.size,\n    _ref$as = _ref.as,\n    Component = _ref$as === void 0 ? 'span' : _ref$as,\n    children = _ref.children,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref, [\"className\", \"type\", \"size\", \"as\", \"children\"]);\n  return /*#__PURE__*/React.createElement(Component, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()('googlesitekit-typography', className, (_classnames = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"googlesitekit-typography--\".concat(type), type && _constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_TYPES\"].includes(type)), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classnames, \"googlesitekit-typography--\".concat(size), size && _constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_SIZES\"].includes(size)), _classnames))\n  }, props), children);\n}\nTypography.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string,\n  type: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_TYPES\"]),\n  size: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOf(_constants__WEBPACK_IMPORTED_MODULE_6__[\"VALID_SIZES\"]),\n  as: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.elementType])\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL1R5cG9ncmFwaHkvaW5kZXguanM/ZDA3OSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZG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NpdGVraXQtdHlwb2dyYXBoeS0tJHsgc2l6ZSB9YCBdOlxuXHRcdFx0XHRcdHNpemUgJiYgVkFMSURfU0laRVMuaW5jbHVkZXMoIHNpemUgKSxcblx0XHRcdH0gKSB9XG5cdFx0XHR7IC4uLnByb3BzIH1cblx0XHQ+XG5cdFx0XHR7IGNoaWxkcmVuIH1cblx0XHQ8L0NvbXBvbmVudD5cblx0KTtcbn1cblxuVHlwb2dyYXBoeS5wcm9wVHlwZXMgPSB7XG5cdGNsYXNzTmFtZTogUHJvcFR5cGVzLnN0cmluZyxcblx0dHlwZTogUHJvcFR5cGVzLm9uZU9mKCBWQUxJRF9UWVBFUyApLFxuXHRzaXplOiBQcm9wVHlwZXMub25lT2YoIFZBTElEX1NJWkVTICksXG5cdGFzOiBQcm9wVHlwZXMub25lT2ZUeXBlKCBbIFByb3BUeXBlcy5zdHJpbmcsIFByb3BUeXBlcy5lbGVtZW50VHlwZSBdICksXG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFPQTtBQUFBO0FBTEE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUtBO0FBTUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/Typography/index.js\n");

/***/ }),

/***/ "./js/components/VisuallyHidden.js":
/*!*****************************************!*\
  !*** ./js/components/VisuallyHidden.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 * Visually Hidden component, mainly used for screen-reader text.\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 VisuallyHidden(_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  if (!children) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"span\", _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, otherProps, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('screen-reader-text', className)\n  }), children);\n}\nVisuallyHidden.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.string,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.node\n};\nVisuallyHidden.defaultProps = {\n  className: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (VisuallyHidden);\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL1Zpc3VhbGx5SGlkZGVuLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvY29tcG9uZW50cy9WaXN1YWxseUhpZGRlbi5qcz9kODE4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVmlzdWFsbHkgSGlkZGVuIGNvbXBvbmVudCwgbWFpbmx5IHVzZWQgZm9yIHNjcmVlbi1yZWFkZXIgdGV4dC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlya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KSB7XG5cdFx0cmV0dXJuIG51bGw7XG5cdH1cblxuXHRyZXR1cm4gKFxuXHRcdDxzcGFuXG5cdFx0XHR7IC4uLm90aGVyUHJvcHMgfVxuXHRcdFx0Y2xhc3NOYW1lPXsgY2xhc3NuYW1lcyggJ3NjcmVlbi1yZWFkZXItdGV4dCcsIGNsYXNzTmFtZSApIH1cblx0XHQ+XG5cdFx0XHR7IGNoaWxkcmVuIH1cblx0XHQ8L3NwYW4+XG5cdCk7XG59XG5cblZpc3VhbGx5SGlkZGVuLnByb3BUeXBlcyA9IHtcblx0Y2xhc3NOYW1lOiBQcm9wVHlwZXMuc3RyaW5nLFxuXHRjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUsXG59O1xuXG5WaXN1YWxseUhpZGRlbi5kZWZhdWx0UHJvcHMgPSB7XG5cdGNsYXNzTmFtZTogJycsXG59O1xuXG5leHBvcnQgZGVmYXVsdCBWaXN1YWxseUhpZGRlbjtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBR0E7QUFBQTtBQUtBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/components/VisuallyHidden.js\n");

/***/ }),

/***/ "./js/components/google-tag-gateway/GoogleTagGatewayToggle.js":
/*!********************************************************************!*\
  !*** ./js/components/google-tag-gateway/GoogleTagGatewayToggle.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 GoogleTagGatewayToggle; });\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 react_use__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\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_components_Badge__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Badge */ \"./js/components/Badge.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/util/withIntersectionObserver */ \"./js/util/withIntersectionObserver.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n\n/**\n * Google Tag Gateway Toggle 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/**\n * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\nvar SubtleNotificationWithIntersectionObserver = Object(_js_util_withIntersectionObserver__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_js_components_Notice__WEBPACK_IMPORTED_MODULE_12__[\"default\"]);\nfunction GoogleTagGatewayToggle(_ref) {\n  var className = _ref.className;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var isGoogleTagGatewayEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isGoogleTagGatewayEnabled();\n  });\n  var isLoading = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isFetchingGetGTGServerRequirementStatus();\n  });\n  var hasMetServerRequirements = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]),\n      isGTGHealthy = _select.isGTGHealthy,\n      isScriptAccessEnabled = _select.isScriptAccessEnabled;\n    return isGTGHealthy() !== false && isScriptAccessEnabled() !== false;\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]),\n    fetchGetGTGServerRequirementStatus = _useDispatch.fetchGetGTGServerRequirementStatus,\n    setGoogleTagGatewayEnabled = _useDispatch.setGoogleTagGatewayEnabled;\n  var learnMoreURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getDocumentationLinkURL('google-tag-gateway-introduction');\n  });\n  var serverRequirementsLearnMoreURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getDocumentationLinkURL('google-tag-gateway-server-requirements');\n  });\n\n  // Fetch the server requirement status on mount.\n  Object(react_use__WEBPACK_IMPORTED_MODULE_2__[\"useMount\"])(fetchGetGTGServerRequirementStatus);\n  var handleClick = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    var action = isGoogleTagGatewayEnabled ? 'deactivate_google_tag_gateway' : 'activate_google_tag_gateway';\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle\"), action).finally(function () {\n      setGoogleTagGatewayEnabled(!isGoogleTagGatewayEnabled);\n    });\n  }, [isGoogleTagGatewayEnabled, setGoogleTagGatewayEnabled, viewContext]);\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('googlesitekit-google-tag-gateway-toggle', className)\n  }, isLoading && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"ProgressBar\"], {\n    className: \"googlesitekit-google-tag-gateway-toggle__progress\",\n    small: true\n  }), !isLoading && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-module-settings-group__switch\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Switch\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Google tag gateway for advertisers', 'google-site-kit'),\n    checked: !!isGoogleTagGatewayEnabled && hasMetServerRequirements,\n    disabled: !hasMetServerRequirements,\n    onClick: handleClick,\n    hideLabel: false\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-google-tag-gateway-toggle__switch-badge\"\n  }, /*#__PURE__*/React.createElement(_js_components_Badge__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    className: \"googlesitekit-badge--beta\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Beta', 'google-site-kit'),\n    hasLeftSpacing: true\n  }))), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-module-settings-group__helper-text\"\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Your tag data will be sent through your own domain to improve data quality and help you recover measurement signals. <a>Learn more</a>', 'google-site-kit'), {\n    a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      href: learnMoreURL,\n      onClick: function onClick() {\n        Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle\"), 'click_learn_more_link');\n      },\n      \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn more about Google tag gateway for advertisers', 'google-site-kit'),\n      external: true\n    })\n  })), !isLoading && !hasMetServerRequirements && /*#__PURE__*/React.createElement(SubtleNotificationWithIntersectionObserver, {\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_12__[\"default\"].TYPES.WARNING,\n    title: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Your server’s current settings prevent Google tag gateway for advertisers from working. To enable it, please contact your hosting provider and request access to external resources and plugin files. <a>Learn more</a>', 'google-site-kit'), {\n      a: /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n        href: serverRequirementsLearnMoreURL,\n        onClick: function onClick() {\n          Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle-disabled\"), 'click_learn_more_link');\n        },\n        \"aria-label\": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Learn more about Google tag gateway for advertisers server requirements', 'google-site-kit'),\n        external: true\n      })\n    }),\n    variant: \"warning\",\n    onInView: function onInView() {\n      Object(_js_util__WEBPACK_IMPORTED_MODULE_10__[\"trackEvent\"])(\"\".concat(viewContext, \"_gtg-settings-toggle-disabled\"), 'view_notice');\n    }\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, \n//# sourceURL=webpack-internal:///./js/components/google-tag-gateway/GoogleTagGatewayToggle.js\n");

/***/ }),

/***/ "./js/components/settings/SettingsGroup.js":
/*!*************************************************!*\
  !*** ./js/components/settings/SettingsGroup.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 SettingsGroup; });\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 _js_components_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * SettingsInactiveModules 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\nfunction SettingsGroup(_ref) {\n  var title = _ref.title,\n    children = _ref.children;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-module-settings-group\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    as: \"h4\",\n    size: \"medium\",\n    type: \"title\"\n  }, title), children);\n}\nSettingsGroup.propTypes = {\n  title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzR3JvdXAuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzR3JvdXAuanM/MzYyNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNldHRpbmdzSW5hY3RpdmVNb2R1bGVzIGNvbXBvbmVudC5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI0IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZS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x0XHQ8L1R5cG9ncmFwaHk+XG5cdFx0XHR7IGNoaWxkcmVuIH1cblx0XHQ8L2Rpdj5cblx0KTtcbn1cblxuU2V0dGluZ3NHcm91cC5wcm9wVHlwZXMgPSB7XG5cdHRpdGxlOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWQsXG5cdGNoaWxkcmVuOiBQcm9wVHlwZXMubm9kZS5pc1JlcXVpcmVkLFxufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQU1BO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/components/settings/SettingsGroup.js\n");

/***/ }),

/***/ "./js/components/settings/SettingsStatuses.js":
/*!****************************************************!*\
  !*** ./js/components/settings/SettingsStatuses.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 SettingsStatuses; });\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/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * SettingsStatuses 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 * Internal dependencies\n */\n\n\nfunction SettingsStatuses(_ref) {\n  var statuses = _ref.statuses;\n  if (!statuses || statuses.length === 0) {\n    return null;\n  }\n  function renderStatus(status) {\n    if (status === undefined) {\n      return /*#__PURE__*/React.createElement(\"div\", {\n        className: \"googlesitekit-settings-module__meta-item-data\"\n      }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"ProgressBar\"], null));\n    }\n    return /*#__PURE__*/React.createElement(\"p\", {\n      className: \"googlesitekit-settings-module__meta-item-data\"\n    }, status ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Enabled', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Disabled', 'google-site-kit'));\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, statuses.map(function (_ref2) {\n    var label = _ref2.label,\n      status = _ref2.status;\n    return /*#__PURE__*/React.createElement(\"div\", {\n      key: label,\n      className: \"googlesitekit-settings-module__meta-item\"\n    }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      as: \"h5\",\n      size: \"medium\",\n      type: \"label\",\n      className: \"googlesitekit-settings-module__meta-item-type\"\n    }, label), renderStatus(status));\n  }));\n}\nSettingsStatuses.propTypes = {\n  statuses: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.shape({\n    label: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,\n    status: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([undefined, true, false])\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzU3RhdHVzZXMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9jb21wb25lbnRzL3NldHRpbmdzL1NldHRpbmdzU3RhdHVzZXMuanM/NzQ2MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFNldHRpbmdzU3RhdHVzZXMgY29tcG9uZW50LlxuICpcbiAqIFNpdGUgS2l0IGJ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BQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBSUE7QUFDQTtBQUNBO0FBQUE7QUFNQTtBQUVBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUVBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUlBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/components/settings/SettingsStatuses.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9mZWF0dXJlcy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2ZlYXR1cmVzL2luZGV4LmpzPzgyM2MiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBGZWF0dXJlIGZsYWdzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5I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FyYW0ge1NldH0gICAgW19lbmFibGVkRmVhdHVyZXNdIE9wdGlvbmFsLiBUaGUgc2V0IG9mIGVuYWJsZWQgZmVhdHVyZXMuIFVzZXMgYGVuYWJsZWRGZWF0dXJlc2Agc2V0IGJ5IHRoZSBzZXJ2ZXIgaW4gYSBnbG9iYWwgSlMgdmFyaWFibGUsIGJ5IGRlZmF1bHQuXG4gKiBAcmV0dXJuIHtib29sZWFufSBgdHJ1ZWAgaWYgYSBmZWF0dXJlIGlzIGVuYWJsZWQ7IGBmYWxzZWAgb3RoZXJ3aXNlLlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNGZWF0dXJlRW5hYmxlZChcblx0ZmVhdHVyZSxcblx0X2VuYWJsZWRGZWF0dXJlcyA9IGVuYWJsZWRGZWF0dXJlc1xuKSB7XG5cdGlmICggISAoIF9lbmFibGVkRmVhdHVyZXMgaW5zdGFuY2VvZiBTZXQgKSApIHtcblx0XHRyZXR1cm4gZmFsc2U7XG5cdH1cblx0cmV0dXJuIF9lbmFibGVkRmVhdHVyZXMuaGFzKCBmZWF0dXJlICk7XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/features/index.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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 googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! googlesitekit-modules */ \"googlesitekit-modules\");\n/* harmony import */ var googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _modules_tagmanager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules/tagmanager */ \"./js/modules/tagmanager/index.js\");\n/**\n * Tag Manager module entrypoint.\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\nObject(_modules_tagmanager__WEBPACK_IMPORTED_MODULE_2__[\"registerStore\"])(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0___default.a);\nObject(_modules_tagmanager__WEBPACK_IMPORTED_MODULE_2__[\"registerModule\"])(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_1___default.a);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0LW1vZHVsZXMtdGFnbWF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4gKi9cbmltcG9ydCBEYXRhIGZyb20gJ2dvb2dsZXNpdGVraXQtZGF0YSc7XG5pbXBvcnQgTW9kdWxlcyBmcm9tICdnb29nbGVzaXRla2l0LW1vZHVsZXMnO1xuaW1wb3J0IHsgcmVnaXN0ZXJTdG9yZSwgcmVnaXN0ZXJNb2R1bGUgfSBmcm9tICcuL21vZHVsZXMvdGFnbWFuYWdlcic7XG5cbnJlZ2lzdGVyU3RvcmUoIERhdGEgKTtcbnJlZ2lzdGVyTW9kdWxlKCBNb2R1bGVzICk7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit-modules-tagmanager.js\n");

/***/ }),

/***/ "./js/googlesitekit/api/cache.js":
/*!***************************************!*\
  !*** ./js/googlesitekit/api/cache.js ***!
  \***************************************/
/*! exports provided: STORAGE_KEY_PREFIX_ROOT, STORAGE_KEY_PREFIX, setSelectedStorageBackend, setStorageOrder, resetDefaultStorageOrder, isStorageAvailable, getStorage, getItem, setItem, deleteItem, getKeys, clearCache */
/***/ (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__, \"STORAGE_KEY_PREFIX_ROOT\", function() { return STORAGE_KEY_PREFIX_ROOT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"STORAGE_KEY_PREFIX\", function() { return STORAGE_KEY_PREFIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setSelectedStorageBackend\", function() { return setSelectedStorageBackend; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setStorageOrder\", function() { return setStorageOrder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resetDefaultStorageOrder\", function() { return resetDefaultStorageOrder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isStorageAvailable\", function() { return isStorageAvailable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStorage\", function() { return getStorage; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getItem\", function() { return getItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setItem\", function() { return setItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"deleteItem\", function() { return deleteItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getKeys\", function() { return getKeys; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"clearCache\", function() { return clearCache; });\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_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_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ \"../node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n\n\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; }\n/**\n * Caching functions and cache management for API requests.\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 * Prefix used for all Site Kit keys.\n *\n * Anything not using this prefix should not be touched by this library.\n *\n * @since 1.96.0\n * @private\n */\nvar STORAGE_KEY_PREFIX_ROOT = 'googlesitekit_';\n\n/**\n * Prefix used for all Site Kit keys for the current Site Kit version.\n *\n * Anything not using this key should not be touched by this library.\n *\n * @since 1.5.0\n * @since 1.92.0 Updated to include a user, session, and blog-specific hash.\n * @since 1.96.0 Updated to make use of the new STORAGE_KEY_PREFIX_ROOT constant.\n * @private\n */\nvar STORAGE_KEY_PREFIX = \"\".concat(STORAGE_KEY_PREFIX_ROOT).concat(\"1.161.0\", \"_\").concat(global._googlesitekitBaseData.storagePrefix, \"_\");\nvar defaultOrder = ['sessionStorage', 'localStorage'];\nvar storageBackend;\nvar storageOrder = [].concat(defaultOrder);\n\n/**\n * Overrides the storage backend.\n *\n * Largely used for tests. Should not be used directly.\n *\n * @since 1.5.0\n * @private\n *\n * @param {*} backend Backend to set for the cache.\n */\nfunction setSelectedStorageBackend(backend) {\n  storageBackend = backend;\n}\n\n/**\n * Overrides the priority of storage mechanisms.\n *\n * Largely used for tests. Implicitly resets the selected storage backend,\n * causing `_getStorage` to re-run its checks for the best available\n * storage backend.\n *\n * @since 1.5.0\n * @private\n *\n * @param {Array} order Ordered array of storage backends to use.\n */\nfunction setStorageOrder(order) {\n  storageOrder = _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default()(order);\n  setSelectedStorageBackend(undefined);\n}\n\n/**\n * Resets the storage mechanism order.\n *\n * Largely used for tests. Implicitly resets the selected storage backend,\n * causing `_getStorage` to re-run its checks for the best available\n * storage backend.\n *\n * @since 1.5.0\n * @private\n */\nfunction resetDefaultStorageOrder() {\n  storageOrder = [].concat(defaultOrder);\n  setSelectedStorageBackend(undefined);\n}\n\n/**\n * Detects whether browser storage is both supported and available.\n *\n * @since 1.5.0\n * @private\n *\n * @param {string} type Browser storage to test. Should be one of `localStorage` or `sessionStorage`.\n * @return {boolean} True if the given storage is available, false otherwise.\n */\n// eslint-disable-next-line require-await\nfunction isStorageAvailable(_x) {\n  return _isStorageAvailable.apply(this, arguments);\n}\n\n/**\n * Gets the storage object to use.\n *\n * @since 1.5.0\n * @private\n *\n * @return {Storage|null} A storage mechanism (`localStorage` or `sessionStorage`) if available; otherwise returns `null`.\n */\nfunction _isStorageAvailable() {\n  _isStorageAvailable = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(type) {\n    var storage, x;\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            storage = global[type];\n            if (storage) {\n              _context.next = 3;\n              break;\n            }\n            return _context.abrupt(\"return\", false);\n          case 3:\n            _context.prev = 3;\n            x = '__storage_test__';\n            storage.setItem(x, x);\n            storage.removeItem(x);\n            return _context.abrupt(\"return\", true);\n          case 10:\n            _context.prev = 10;\n            _context.t0 = _context[\"catch\"](3);\n            return _context.abrupt(\"return\", _context.t0 instanceof DOMException && (\n            // everything except Firefox\n            22 === _context.t0.code ||\n            // Firefox\n            1014 === _context.t0.code ||\n            // test name field too, because code might not be present\n            // everything except Firefox\n            'QuotaExceededError' === _context.t0.name ||\n            // Firefox\n            'NS_ERROR_DOM_QUOTA_REACHED' === _context.t0.name) &&\n            // acknowledge QuotaExceededError only if there's something already stored\n            0 !== storage.length);\n          case 13:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee, null, [[3, 10]]);\n  }));\n  return _isStorageAvailable.apply(this, arguments);\n}\nfunction getStorage() {\n  return _getStorage.apply(this, arguments);\n}\n\n/**\n * Gets cached data.\n *\n * Get cached data from the persistent storage cache.\n *\n * @since 1.5.0\n *\n * @param {string} key Name of cache key.\n * @return {Promise} A promise returned, containing an object with the cached value (if found) and whether or not there was a cache hit.\n */\nfunction _getStorage() {\n  _getStorage = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n    var _iterator, _step, backend;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            if (!(storageBackend !== undefined)) {\n              _context2.next = 2;\n              break;\n            }\n            return _context2.abrupt(\"return\", storageBackend);\n          case 2:\n            // Only run the logic to determine the storage object once.\n            _iterator = _createForOfIteratorHelper(storageOrder);\n            _context2.prev = 3;\n            _iterator.s();\n          case 5:\n            if ((_step = _iterator.n()).done) {\n              _context2.next = 15;\n              break;\n            }\n            backend = _step.value;\n            if (!storageBackend) {\n              _context2.next = 9;\n              break;\n            }\n            return _context2.abrupt(\"continue\", 13);\n          case 9:\n            _context2.next = 11;\n            return isStorageAvailable(backend);\n          case 11:\n            if (!_context2.sent) {\n              _context2.next = 13;\n              break;\n            }\n            storageBackend = global[backend];\n          case 13:\n            _context2.next = 5;\n            break;\n          case 15:\n            _context2.next = 20;\n            break;\n          case 17:\n            _context2.prev = 17;\n            _context2.t0 = _context2[\"catch\"](3);\n            _iterator.e(_context2.t0);\n          case 20:\n            _context2.prev = 20;\n            _iterator.f();\n            return _context2.finish(20);\n          case 23:\n            if (storageBackend === undefined) {\n              storageBackend = null;\n            }\n            return _context2.abrupt(\"return\", storageBackend);\n          case 25:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2, null, [[3, 17, 20, 23]]);\n  }));\n  return _getStorage.apply(this, arguments);\n}\nfunction getItem(_x2) {\n  return _getItem.apply(this, arguments);\n}\n\n/**\n * Sets cached data using a key.\n *\n * Save data to the relevant local storage mechanism, if available.\n * By default, data is saved with a one hour (60 minute) TTL.\n *\n * @since 1.5.0\n *\n * @param {string}  key              Name of cache key.\n * @param {*}       value            Value to store in the cache.\n * @param {Object}  args             Optional object containing ttl, timestamp and isError keys.\n * @param {number}  [args.ttl]       Optional. Validity of the cached item in seconds.\n * @param {number}  [args.timestamp] Optional. Timestamp when the cached item was created.\n * @param {boolean} [args.isError]   Optional. Whether the cached item is an error.\n * @return {Promise} A promise: resolves to `true` if the value was saved; `false` if not (usually because no storage method was available).\n */\nfunction _getItem() {\n  _getItem = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(key) {\n    var storage, cachedData, parsedData, timestamp, ttl, value, isError;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context3.sent;\n            if (!storage) {\n              _context3.next = 10;\n              break;\n            }\n            cachedData = storage.getItem(\"\".concat(STORAGE_KEY_PREFIX).concat(key));\n            if (!cachedData) {\n              _context3.next = 10;\n              break;\n            }\n            parsedData = JSON.parse(cachedData);\n            timestamp = parsedData.timestamp, ttl = parsedData.ttl, value = parsedData.value, isError = parsedData.isError; // Ensure a timestamp is found, otherwise this isn't a valid cache hit.\n            // (We don't check for a truthy `value`, because it could be legitimately\n            // false-y if `0`, `null`, etc.)\n            if (!(timestamp && (!ttl ||\n            // Ensure the cached data isn't too old.\n            // The cache dates shouldn't rely on reference\n            // dates for cache expiration. This is a case\n            // where we actually want to rely on\n            // the _actual_ date/time the data was set.\n            Math.round(Date.now() / 1000) - timestamp < ttl) // eslint-disable-line sitekit/no-direct-date\n            )) {\n              _context3.next = 10;\n              break;\n            }\n            return _context3.abrupt(\"return\", {\n              cacheHit: true,\n              value: value,\n              isError: isError\n            });\n          case 10:\n            return _context3.abrupt(\"return\", {\n              cacheHit: false,\n              value: undefined\n            });\n          case 11:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, _callee3);\n  }));\n  return _getItem.apply(this, arguments);\n}\nfunction setItem(_x3, _x4) {\n  return _setItem.apply(this, arguments);\n}\n\n/**\n * Removes cached data by key.\n *\n * Remove one piece of cached data from the persistent storage cache, by key.\n *\n * @since 1.5.0\n *\n * @param {string} key Name of cache key.\n * @return {Promise} A promise: resolves to `true` if the value was deleted; `false` if not (usually because no storage method was available).\n */\nfunction _setItem() {\n  _setItem = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee4(key, value) {\n    var _ref,\n      _ref$ttl,\n      ttl,\n      _ref$timestamp,\n      timestamp,\n      _ref$isError,\n      isError,\n      storage,\n      _args4 = arguments;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee4$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            _ref = _args4.length > 2 && _args4[2] !== undefined ? _args4[2] : {}, _ref$ttl = _ref.ttl, ttl = _ref$ttl === void 0 ? _js_util__WEBPACK_IMPORTED_MODULE_3__[\"HOUR_IN_SECONDS\"] : _ref$ttl, _ref$timestamp = _ref.timestamp, timestamp = _ref$timestamp === void 0 ? Math.round(Date.now() / 1000) : _ref$timestamp, _ref$isError = _ref.isError, isError = _ref$isError === void 0 ? false : _ref$isError;\n            _context4.next = 3;\n            return getStorage();\n          case 3:\n            storage = _context4.sent;\n            if (!storage) {\n              _context4.next = 14;\n              break;\n            }\n            _context4.prev = 5;\n            storage.setItem(\"\".concat(STORAGE_KEY_PREFIX).concat(key), JSON.stringify({\n              timestamp: timestamp,\n              ttl: ttl,\n              value: value,\n              isError: isError\n            }));\n            return _context4.abrupt(\"return\", true);\n          case 10:\n            _context4.prev = 10;\n            _context4.t0 = _context4[\"catch\"](5);\n            global.console.warn('Encountered an unexpected storage error:', _context4.t0);\n            return _context4.abrupt(\"return\", false);\n          case 14:\n            return _context4.abrupt(\"return\", false);\n          case 15:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, _callee4, null, [[5, 10]]);\n  }));\n  return _setItem.apply(this, arguments);\n}\nfunction deleteItem(_x5) {\n  return _deleteItem.apply(this, arguments);\n}\n\n/**\n * Gets all cache keys created by Site Kit.\n *\n * @since 1.5.0\n *\n * @return {Promise} A promise: resolves to an array of all keys.\n */\nfunction _deleteItem() {\n  _deleteItem = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee5(key) {\n    var storage, fullKey;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee5$(_context5) {\n      while (1) {\n        switch (_context5.prev = _context5.next) {\n          case 0:\n            _context5.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context5.sent;\n            if (!storage) {\n              _context5.next = 14;\n              break;\n            }\n            _context5.prev = 4;\n            fullKey = key.startsWith(STORAGE_KEY_PREFIX_ROOT) ? key : \"\".concat(STORAGE_KEY_PREFIX).concat(key);\n            storage.removeItem(fullKey);\n            return _context5.abrupt(\"return\", true);\n          case 10:\n            _context5.prev = 10;\n            _context5.t0 = _context5[\"catch\"](4);\n            global.console.warn('Encountered an unexpected storage error:', _context5.t0);\n            return _context5.abrupt(\"return\", false);\n          case 14:\n            return _context5.abrupt(\"return\", false);\n          case 15:\n          case \"end\":\n            return _context5.stop();\n        }\n      }\n    }, _callee5, null, [[4, 10]]);\n  }));\n  return _deleteItem.apply(this, arguments);\n}\nfunction getKeys() {\n  return _getKeys.apply(this, arguments);\n}\n\n/**\n * Removes the entire cache created by Site Kit.\n *\n * @since 1.5.0\n *\n * @return {Promise} A promise: resolves to `true` if the cache was cleared; `false` if there was an error.\n */\nfunction _getKeys() {\n  _getKeys = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee6() {\n    var storage, keys, i, itemKey;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee6$(_context6) {\n      while (1) {\n        switch (_context6.prev = _context6.next) {\n          case 0:\n            _context6.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context6.sent;\n            if (!storage) {\n              _context6.next = 14;\n              break;\n            }\n            _context6.prev = 4;\n            keys = [];\n            for (i = 0; i < storage.length; i++) {\n              itemKey = storage.key(i);\n              if (itemKey.indexOf(STORAGE_KEY_PREFIX_ROOT) === 0) {\n                keys.push(itemKey);\n              }\n            }\n            return _context6.abrupt(\"return\", keys);\n          case 10:\n            _context6.prev = 10;\n            _context6.t0 = _context6[\"catch\"](4);\n            global.console.warn('Encountered an unexpected storage error:', _context6.t0);\n            return _context6.abrupt(\"return\", []);\n          case 14:\n            return _context6.abrupt(\"return\", []);\n          case 15:\n          case \"end\":\n            return _context6.stop();\n        }\n      }\n    }, _callee6, null, [[4, 10]]);\n  }));\n  return _getKeys.apply(this, arguments);\n}\nfunction clearCache() {\n  return _clearCache.apply(this, arguments);\n}\nfunction _clearCache() {\n  _clearCache = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee7() {\n    var storage, keys, _iterator2, _step2, key;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee7$(_context7) {\n      while (1) {\n        switch (_context7.prev = _context7.next) {\n          case 0:\n            _context7.next = 2;\n            return getStorage();\n          case 2:\n            storage = _context7.sent;\n            if (!storage) {\n              _context7.next = 25;\n              break;\n            }\n            _context7.next = 6;\n            return getKeys();\n          case 6:\n            keys = _context7.sent;\n            _iterator2 = _createForOfIteratorHelper(keys);\n            _context7.prev = 8;\n            _iterator2.s();\n          case 10:\n            if ((_step2 = _iterator2.n()).done) {\n              _context7.next = 16;\n              break;\n            }\n            key = _step2.value;\n            _context7.next = 14;\n            return deleteItem(key);\n          case 14:\n            _context7.next = 10;\n            break;\n          case 16:\n            _context7.next = 21;\n            break;\n          case 18:\n            _context7.prev = 18;\n            _context7.t0 = _context7[\"catch\"](8);\n            _iterator2.e(_context7.t0);\n          case 21:\n            _context7.prev = 21;\n            _iterator2.f();\n            return _context7.finish(21);\n          case 24:\n            return _context7.abrupt(\"return\", true);\n          case 25:\n            return _context7.abrupt(\"return\", false);\n          case 26:\n          case \"end\":\n            return _context7.stop();\n        }\n      }\n    }, _callee7, null, [[8, 18, 21, 24]]);\n  }));\n  return _clearCache.apply(this, arguments);\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/googlesitekit/api/cache.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/api-fetch/build/middlewares/preloading */ \"../node_modules/@wordpress/api-fetch/build/middlewares/preloading.js\");\n/* harmony import */ var _wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Custom preloading middleware.\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 * Creates a preloading middleware.\n *\n * Based on preloadMiddleware from from @wordpress/api-fetch, this middle is a single-use per-endpoint and provides cached\n * data for the first request only and any subsequent requests reach the server.\n *\n * @since 1.13.0\n *\n * @param {Object} preloadedData Preloaded data paths.\n * @return {Function} Function.\n */\nfunction createPreloadingMiddleware(preloadedData) {\n  var cache = Object.keys(preloadedData).reduce(function (result, path) {\n    result[Object(_wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__[\"getStablePath\"])(path)] = preloadedData[path];\n    return result;\n  }, {});\n  var cacheHasExpired = false;\n  return function (options, next) {\n    if (cacheHasExpired) {\n      return next(options);\n    }\n    setTimeout(function () {\n      cacheHasExpired = true;\n    }, 3000);\n    var _options$parse = options.parse,\n      parse = _options$parse === void 0 ? true : _options$parse;\n    var uri = options.path;\n    if (typeof options.path === 'string') {\n      var _options$method;\n      var method = ((_options$method = options.method) === null || _options$method === void 0 ? void 0 : _options$method.toUpperCase()) || 'GET';\n      var path = Object(_wordpress_api_fetch_build_middlewares_preloading__WEBPACK_IMPORTED_MODULE_0__[\"getStablePath\"])(uri);\n      if (parse && 'GET' === method && cache[path]) {\n        var result = Promise.resolve(cache[path].body);\n        delete cache[path];\n        return result;\n      } else if ('OPTIONS' === method && cache[method] && cache[method][path]) {\n        var _result = Promise.resolve(cache[method][path]);\n        delete cache[method][path];\n        return _result;\n      }\n    }\n    return next(options);\n  };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (createPreloadingMiddleware);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2FwaS9taWRkbGV3YXJlL3ByZWxvYWRpbmcuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2FwaS9taWRkbGV3YXJlL3ByZWxvYWRpbmcuanM/ZmNhNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEN1c3RvbSBwcmVsb2FkaW5nIG1pZGRsZXdhcmUuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxu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");

/***/ }),

/***/ "./js/googlesitekit/constants.js":
/*!***************************************!*\
  !*** ./js/googlesitekit/constants.js ***!
  \***************************************/
/*! exports provided: VIEW_CONTEXT_MAIN_DASHBOARD, VIEW_CONTEXT_ENTITY_DASHBOARD, VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_POSTS_LIST, VIEW_CONTEXT_USER_INPUT, VIEW_CONTEXT_ACTIVATION, VIEW_CONTEXT_SPLASH, VIEW_CONTEXT_ADMIN_BAR, VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY, VIEW_CONTEXT_SETTINGS, VIEW_CONTEXT_AD_BLOCKING_RECOVERY, VIEW_CONTEXT_MODULE, VIEW_CONTEXT_WP_DASHBOARD, VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_MODULE_SETUP, VIEW_CONTEXT_METRIC_SELECTION, VIEW_CONTEXT_WP_BLOCK_EDITOR, ANCHOR_ID_KEY_METRICS, ANCHOR_ID_TRAFFIC, ANCHOR_ID_CONTENT, ANCHOR_ID_SPEED, ANCHOR_ID_MONETIZATION, SITE_KIT_VIEW_CONTEXTS, SITE_KIT_VIEW_ONLY_CONTEXTS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MAIN_DASHBOARD\", function() { return VIEW_CONTEXT_MAIN_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ENTITY_DASHBOARD\", function() { return VIEW_CONTEXT_ENTITY_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\", function() { return VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\", function() { return VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_POSTS_LIST\", function() { return VIEW_CONTEXT_POSTS_LIST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_USER_INPUT\", function() { return VIEW_CONTEXT_USER_INPUT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ACTIVATION\", function() { return VIEW_CONTEXT_ACTIVATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_SPLASH\", function() { return VIEW_CONTEXT_SPLASH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ADMIN_BAR\", function() { return VIEW_CONTEXT_ADMIN_BAR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY\", function() { return VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_SETTINGS\", function() { return VIEW_CONTEXT_SETTINGS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_AD_BLOCKING_RECOVERY\", function() { return VIEW_CONTEXT_AD_BLOCKING_RECOVERY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MODULE\", function() { return VIEW_CONTEXT_MODULE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_WP_DASHBOARD\", function() { return VIEW_CONTEXT_WP_DASHBOARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY\", function() { return VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_MODULE_SETUP\", function() { return VIEW_CONTEXT_MODULE_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_METRIC_SELECTION\", function() { return VIEW_CONTEXT_METRIC_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEW_CONTEXT_WP_BLOCK_EDITOR\", function() { return VIEW_CONTEXT_WP_BLOCK_EDITOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_KEY_METRICS\", function() { return ANCHOR_ID_KEY_METRICS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_TRAFFIC\", function() { return ANCHOR_ID_TRAFFIC; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_CONTENT\", function() { return ANCHOR_ID_CONTENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_SPEED\", function() { return ANCHOR_ID_SPEED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANCHOR_ID_MONETIZATION\", function() { return ANCHOR_ID_MONETIZATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_KIT_VIEW_CONTEXTS\", function() { return SITE_KIT_VIEW_CONTEXTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_KIT_VIEW_ONLY_CONTEXTS\", function() { return SITE_KIT_VIEW_ONLY_CONTEXTS; });\n/**\n * Core 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 VIEW_CONTEXT_MAIN_DASHBOARD = 'mainDashboard';\nvar VIEW_CONTEXT_ENTITY_DASHBOARD = 'entityDashboard';\nvar VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY = 'mainDashboardViewOnly';\nvar VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY = 'entityDashboardViewOnly';\nvar VIEW_CONTEXT_POSTS_LIST = 'postsList';\nvar VIEW_CONTEXT_USER_INPUT = 'userInput';\nvar VIEW_CONTEXT_ACTIVATION = 'activation';\nvar VIEW_CONTEXT_SPLASH = 'splash';\nvar VIEW_CONTEXT_ADMIN_BAR = 'adminBar';\nvar VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY = 'adminBarViewOnly';\nvar VIEW_CONTEXT_SETTINGS = 'settings';\nvar VIEW_CONTEXT_AD_BLOCKING_RECOVERY = 'adBlockingRecovery';\nvar VIEW_CONTEXT_MODULE = 'module';\nvar VIEW_CONTEXT_WP_DASHBOARD = 'wpDashboard';\nvar VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY = 'wpDashboardViewOnly';\nvar VIEW_CONTEXT_MODULE_SETUP = 'moduleSetup';\nvar VIEW_CONTEXT_METRIC_SELECTION = 'metricSelection';\nvar VIEW_CONTEXT_WP_BLOCK_EDITOR = 'wpBlockEditor';\n\n// Anchor ID Constants\nvar ANCHOR_ID_KEY_METRICS = 'key-metrics';\nvar ANCHOR_ID_TRAFFIC = 'traffic';\nvar ANCHOR_ID_CONTENT = 'content';\nvar ANCHOR_ID_SPEED = 'speed';\nvar ANCHOR_ID_MONETIZATION = 'monetization';\n\n// Site Kit only view contexts\nvar SITE_KIT_VIEW_CONTEXTS = [VIEW_CONTEXT_MAIN_DASHBOARD, VIEW_CONTEXT_ENTITY_DASHBOARD, VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_USER_INPUT, VIEW_CONTEXT_SPLASH, VIEW_CONTEXT_SETTINGS, VIEW_CONTEXT_MODULE_SETUP, VIEW_CONTEXT_METRIC_SELECTION];\n\n// Site Kit view-only contexts\nvar SITE_KIT_VIEW_ONLY_CONTEXTS = [VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY, VIEW_CONTEXT_ADMIN_BAR_VIEW_ONLY, VIEW_CONTEXT_WP_DASHBOARD_VIEW_ONLY];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/constants.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-existing-tag-store.js":
/*!************************************************************!*\
  !*** ./js/googlesitekit/data/create-existing-tag-store.js ***!
  \************************************************************/
/*! exports provided: createExistingTagStore */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createExistingTagStore\", function() { return createExistingTagStore; });\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 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 _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_util_tag__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/tag */ \"./js/util/tag.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; }\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; }\n/**\n * Provides a datastore for getting existing tags\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// Actions\nvar FETCH_GET_EXISTING_TAG = 'FETCH_GET_EXISTING_TAG';\nvar RECEIVE_GET_EXISTING_TAG = 'RECEIVE_GET_EXISTING_TAG';\n\n/**\n * Creates a store object that includes actions and selectors for getting existing tags.\n *\n * @since 1.13.0\n * @private\n *\n * @param {Object}   args             Arguments for the store generation.\n * @param {string}   args.storeName   Store name to use.\n * @param {Array}    args.tagMatchers The tag matchers used to extract tags from HTML.\n * @param {Function} args.isValidTag  Function to test whether a tag is valid or not.\n * @return {Object} The existing tag store object, with additional `STORE_NAME` and\n * initialState` properties.\n */\nfunction createExistingTagStore() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    STORE_NAME = _ref.storeName,\n    isValidTag = _ref.isValidTag,\n    tagMatchers = _ref.tagMatchers;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()('string' === typeof STORE_NAME && STORE_NAME, 'storeName is required.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()('function' === typeof isValidTag, 'isValidTag must be a function.');\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(Array.isArray(tagMatchers), 'tagMatchers must be an Array.');\n  var initialState = {\n    existingTag: undefined\n  };\n  var actions = {\n    fetchGetExistingTag: function fetchGetExistingTag() {\n      return {\n        payload: {},\n        type: FETCH_GET_EXISTING_TAG\n      };\n    },\n    receiveGetExistingTag: function receiveGetExistingTag(existingTag) {\n      invariant__WEBPACK_IMPORTED_MODULE_3___default()(existingTag === null || 'string' === typeof existingTag, 'existingTag must be a tag string or null.');\n      return {\n        payload: {\n          existingTag: isValidTag(existingTag) ? existingTag : null\n        },\n        type: RECEIVE_GET_EXISTING_TAG\n      };\n    }\n  };\n  var controls = _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, FETCH_GET_EXISTING_TAG, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"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 homeURL, ampMode, existingTagURLs, _registry$resolveSele, getHTMLForURL, _iterator, _step, url, html, tagFound;\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              homeURL = registry.select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getHomeURL();\n              ampMode = registry.select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]).getAMPMode();\n              _context.next = 4;\n              return Object(_js_util_tag__WEBPACK_IMPORTED_MODULE_6__[\"getExistingTagURLs\"])({\n                homeURL: homeURL,\n                ampMode: ampMode\n              });\n            case 4:\n              existingTagURLs = _context.sent;\n              _registry$resolveSele = registry.resolveSelect(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]), getHTMLForURL = _registry$resolveSele.getHTMLForURL;\n              _iterator = _createForOfIteratorHelper(existingTagURLs);\n              _context.prev = 7;\n              _iterator.s();\n            case 9:\n              if ((_step = _iterator.n()).done) {\n                _context.next = 19;\n                break;\n              }\n              url = _step.value;\n              _context.next = 13;\n              return getHTMLForURL(url);\n            case 13:\n              html = _context.sent;\n              tagFound = Object(_js_util_tag__WEBPACK_IMPORTED_MODULE_6__[\"extractExistingTag\"])(html, tagMatchers);\n              if (!tagFound) {\n                _context.next = 17;\n                break;\n              }\n              return _context.abrupt(\"return\", tagFound);\n            case 17:\n              _context.next = 9;\n              break;\n            case 19:\n              _context.next = 24;\n              break;\n            case 21:\n              _context.prev = 21;\n              _context.t0 = _context[\"catch\"](7);\n              _iterator.e(_context.t0);\n            case 24:\n              _context.prev = 24;\n              _iterator.f();\n              return _context.finish(24);\n            case 27:\n              return _context.abrupt(\"return\", null);\n            case 28:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee, null, [[7, 21, 24, 27]]);\n    }));\n  }));\n  var reducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, _ref3) {\n    var type = _ref3.type,\n      payload = _ref3.payload;\n    switch (type) {\n      case RECEIVE_GET_EXISTING_TAG:\n        {\n          var existingTag = payload.existingTag;\n          state.existingTag = existingTag;\n          break;\n        }\n    }\n  });\n  var resolvers = {\n    getExistingTag: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.mark(function getExistingTag() {\n      var registry, existingTag;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default.a.wrap(function getExistingTag$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n            case 2:\n              registry = _context2.sent;\n              if (!(registry.select(STORE_NAME).getExistingTag() === undefined)) {\n                _context2.next = 8;\n                break;\n              }\n              _context2.next = 6;\n              return actions.fetchGetExistingTag();\n            case 6:\n              existingTag = _context2.sent;\n              registry.dispatch(STORE_NAME).receiveGetExistingTag(existingTag);\n            case 8:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, getExistingTag);\n    })\n  };\n  var selectors = {\n    /**\n     * Gets the existing tag, if any.\n     *\n     * @since 1.13.0\n     *\n     * @param {Object} state Data store's state.\n     * @return {(string|null|undefined)} The existing tag `string` if present, `null` if not present, or `undefined` if not loaded yet.\n     */\n    getExistingTag: function getExistingTag(state) {\n      return state.existingTag;\n    },\n    /**\n     * Checks whether or not an existing tag is present.\n     *\n     * @since 1.13.0\n     *\n     * @return {(boolean|undefined)} Boolean if tag is present, `undefined` if tag presence has not been resolved yet.\n     */\n    hasExistingTag: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        var existingTag = select(STORE_NAME).getExistingTag();\n        if (existingTag === undefined) {\n          return undefined;\n        }\n        return !!existingTag;\n      };\n    })\n  };\n  var store = {\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-existing-tag-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-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/create-snapshot-store.js":
/*!********************************************************!*\
  !*** ./js/googlesitekit/data/create-snapshot-store.js ***!
  \********************************************************/
/*! exports provided: createSnapshotStore, getStoresWithSnapshots, snapshotAllStores, restoreAllSnapshots */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createSnapshotStore\", function() { return createSnapshotStore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStoresWithSnapshots\", function() { return getStoresWithSnapshots; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"snapshotAllStores\", function() { return snapshotAllStores; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"restoreAllSnapshots\", function() { return restoreAllSnapshots; });\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"../node_modules/@babel/runtime/helpers/objectWithoutProperties.js\");\n/* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__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_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 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 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 _js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n\n\n\n/**\n * Provides a datastore for snapshotting and restoring state.\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// Actions\nvar CREATE_SNAPSHOT = 'CREATE_SNAPSHOT';\nvar DELETE_SNAPSHOT = 'DELETE_SNAPSHOT';\nvar RESTORE_SNAPSHOT = 'RESTORE_SNAPSHOT';\nvar SET_STATE_FROM_SNAPSHOT = 'SET_STATE_FROM_SNAPSHOT';\n\n/**\n * Creates a store object that includes actions and controls for restoring/creating state snapshots.\n *\n * @since 1.9.0\n * @private\n *\n * @param {string} storeName The name of the store to snapshot in the cache.\n * @return {Object} The snapshot store object.\n */\nfunction createSnapshotStore(storeName) {\n  var _controls;\n  invariant__WEBPACK_IMPORTED_MODULE_3___default()(storeName, 'storeName is required to create a snapshot store.');\n  var initialState = {};\n  var actions = {\n    /**\n     * Deletes a snapshot of state for a storeName, using our cache API.\n     *\n     * @since 1.9.0\n     * @private\n     *\n     * @return {boolean} Cache deletion response.\n     */\n    deleteSnapshot: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function deleteSnapshot() {\n      var cacheResult;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function deleteSnapshot$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return {\n                payload: {},\n                type: DELETE_SNAPSHOT\n              };\n            case 2:\n              cacheResult = _context.sent;\n              return _context.abrupt(\"return\", cacheResult);\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, deleteSnapshot);\n    }),\n    /**\n     * Restores a snapshot of state for a storeName, if available, using our cache API.\n     *\n     * @since 1.9.0\n     * @private\n     *\n     * @param {Object}  [options]                   Options object.\n     * @param {boolean} [options.clearAfterRestore] Whether or not to delete snapshot after restore. Default: true.\n     * @return {boolean} Cache restoration response.\n     */\n    restoreSnapshot: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function restoreSnapshot() {\n      var options,\n        _options$clearAfterRe,\n        clearAfterRestore,\n        _yield$payload$type,\n        cacheHit,\n        value,\n        _args2 = arguments;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function restoreSnapshot$(_context2) {\n        while (1) {\n          switch (_context2.prev = _context2.next) {\n            case 0:\n              options = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};\n              _options$clearAfterRe = options.clearAfterRestore, clearAfterRestore = _options$clearAfterRe === void 0 ? true : _options$clearAfterRe;\n              _context2.next = 4;\n              return {\n                payload: {},\n                type: RESTORE_SNAPSHOT\n              };\n            case 4:\n              _yield$payload$type = _context2.sent;\n              cacheHit = _yield$payload$type.cacheHit;\n              value = _yield$payload$type.value;\n              if (!cacheHit) {\n                _context2.next = 13;\n                break;\n              }\n              _context2.next = 10;\n              return {\n                payload: {\n                  snapshot: value\n                },\n                type: SET_STATE_FROM_SNAPSHOT\n              };\n            case 10:\n              if (!clearAfterRestore) {\n                _context2.next = 13;\n                break;\n              }\n              _context2.next = 13;\n              return {\n                payload: {},\n                type: DELETE_SNAPSHOT\n              };\n            case 13:\n              return _context2.abrupt(\"return\", cacheHit);\n            case 14:\n            case \"end\":\n              return _context2.stop();\n          }\n        }\n      }, restoreSnapshot);\n    }),\n    /**\n     * Creates a snapshot of the current state of this store, using our cache API.\n     *\n     * @since 1.9.0\n     * @private\n     *\n     * @return {boolean} Cache write response.\n     */\n    createSnapshot: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function createSnapshot() {\n      var cacheResult;\n      return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function createSnapshot$(_context3) {\n        while (1) {\n          switch (_context3.prev = _context3.next) {\n            case 0:\n              _context3.next = 2;\n              return {\n                payload: {},\n                type: CREATE_SNAPSHOT\n              };\n            case 2:\n              cacheResult = _context3.sent;\n              return _context3.abrupt(\"return\", cacheResult);\n            case 4:\n            case \"end\":\n              return _context3.stop();\n          }\n        }\n      }, createSnapshot);\n    })\n  };\n  var controls = (_controls = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_controls, DELETE_SNAPSHOT, function () {\n    return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"deleteItem\"])(\"datastore::cache::\".concat(storeName));\n  }), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_controls, CREATE_SNAPSHOT, Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistryControl\"])(function (registry) {\n    return function () {\n      return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"setItem\"])(\"datastore::cache::\".concat(storeName), registry.stores[storeName].store.getState());\n    };\n  })), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_controls, RESTORE_SNAPSHOT, function () {\n    // Only get snapshots made within the last hour.\n    return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"datastore::cache::\".concat(storeName), _js_util__WEBPACK_IMPORTED_MODULE_6__[\"HOUR_IN_SECONDS\"]);\n  }), _controls);\n  function reducer() {\n    var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n    var _ref = arguments.length > 1 ? arguments[1] : undefined,\n      type = _ref.type,\n      payload = _ref.payload;\n    // eslint-disable-line no-shadow\n    switch (type) {\n      case SET_STATE_FROM_SNAPSHOT:\n        {\n          var snapshot = payload.snapshot; // Exclude any top-level errors from the restored state.\n          // eslint-disable-next-line no-unused-vars\n          var error = snapshot.error,\n            newState = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default()(snapshot, [\"error\"]);\n          return newState;\n        }\n      default:\n        {\n          return state;\n        }\n    }\n  }\n  return {\n    initialState: initialState,\n    actions: actions,\n    controls: controls,\n    reducer: reducer\n  };\n}\n\n/**\n * Inspects a registry to find all stores that support our snapshot features.\n *\n * @since 1.9.0\n * @private\n *\n * @param {wp.data.registry} registry Optional. Registry object to inspect for stores that support state restoration. Defaults to `googlesitekit.data`.\n * @return {Object} The snapshot store object.\n */\nfunction getStoresWithSnapshots() {\n  var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default.a;\n  return Object.values(registry.stores).filter(function (store) {\n    return Object.keys(store.getActions()).includes('restoreSnapshot');\n  });\n}\n\n/**\n * Creates snapshots of all supporting stores.\n *\n * @since 1.9.0\n * @private\n *\n * @param {wp.data.registry} [registry] Optional. Registry object to inspect for stores that support state restoration. Defaults to `googlesitekit.data`.\n * @return {Promise} Promise resolves once all snapshots have been taken.\n */\nfunction snapshotAllStores() {\n  var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default.a;\n  return Promise.all(getStoresWithSnapshots(registry).map(function (store) {\n    return store.getActions().createSnapshot();\n  }));\n}\n\n/**\n * Restores state for all snapshots that support it.\n *\n * Only restores snapshots for stores that have `restoreSnapshot` action, and\n * clears the snapshot afterward, so more stores will not be restored unless\n * a snapshot was saved on the last pageview.\n *\n * @since 1.9.0\n * @private\n *\n * @param {wp.data.registry} [registry] Optional. Registry object to inspect for stores that support state restoration. Defaults to `googlesitekit.data`.\n * @return {Promise} Promise resolves once all snapshots have been restored.\n */\nfunction restoreAllSnapshots() {\n  var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : googlesitekit_data__WEBPACK_IMPORTED_MODULE_4___default.a;\n  return Promise.all(getStoresWithSnapshots(registry).map(function (store) {\n    return store.getActions().restoreSnapshot();\n  }));\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/googlesitekit/data/create-snapshot-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/ZTZkZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIERhdGEgc3RvcmUgdX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YW1lICkge1xuXHRyZXR1cm4gbmFtZVxuXHRcdC5zcGxpdCggJy0nIClcblx0XHQubWFwKCAoIHBhcnQgKSA9PiBwYXJ0LmNoYXJBdCggMCApLnRvVXBwZXJDYXNlKCkgKyBwYXJ0LnNsaWNlKCAxICkgKVxuXHRcdC5qb2luKCAnJyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\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/forms/constants.js":
/*!*******************************************************!*\
  !*** ./js/googlesitekit/datastore/forms/constants.js ***!
  \*******************************************************/
/*! exports provided: CORE_FORMS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_FORMS\", function() { return CORE_FORMS; });\n/**\n * `core/forms` 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_FORMS = 'core/forms';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9mb3Jtcy9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9mb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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/forms/constants.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_LOCATION\", function() { return CORE_LOCATION; });\n/**\n * `core/location` 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_LOCATION = 'core/location';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9sb2NhdGlvbi9jb25zdGFudHMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9sb2NhdGlvbi9jb25zdGFudHMuanM/OWE0NSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBjb3JlL2xvY2F0aW9uYCBkYXRhIHN0b3JlOiBjb25zdGFudHMuXG4gKlxuICogU2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QUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/datastore/location/constants.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L2RhdGFzdG9yZS9zaXRlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvZGF0YXN0b3JlL3NpdGUvY29uc3RhbnRzLmpzP2QxMjEiXSwic291cmNlc0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FQ09OREFSWSA9ICdzZWNvbmRhcnknO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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/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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L21vZHVsZXMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbW9kdWxlcy9kYXRhc3RvcmUvY29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fTU9EVUxFX0RFUEVOREVOQ0lFUyA9XG5cdCdpbnN1ZmZpY2llbnRfbW9kdWxlX2RlcGVuZGVuY2llcyc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/googlesitekit/modules/datastore/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/constants.js":
/*!*****************************************************!*\
  !*** ./js/googlesitekit/notifications/constants.js ***!
  \*****************************************************/
/*! exports provided: GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID, GTG_SETUP_CTA_BANNER_NOTIFICATION, PRIORITY, NOTIFICATION_AREAS, NOTIFICATION_GROUPS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID\", function() { return GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GTG_SETUP_CTA_BANNER_NOTIFICATION\", function() { return GTG_SETUP_CTA_BANNER_NOTIFICATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PRIORITY\", function() { return PRIORITY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_AREAS\", function() { return NOTIFICATION_AREAS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_GROUPS\", function() { return NOTIFICATION_GROUPS; });\n/**\n * Notifications API constants.\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\nvar GTG_HEALTH_CHECK_WARNING_NOTIFICATION_ID = 'warning-notification-gtg';\nvar GTG_SETUP_CTA_BANNER_NOTIFICATION = 'gtg-setup-cta';\nvar PRIORITY = {\n  ERROR_HIGH: 30,\n  ERROR_LOW: 60,\n  WARNING: 100,\n  INFO: 150,\n  SETUP_CTA_HIGH: 150,\n  SETUP_CTA_LOW: 200\n};\nvar NOTIFICATION_AREAS = {\n  HEADER: 'notification-area-header',\n  DASHBOARD_TOP: 'notification-area-dashboard-top',\n  OVERLAYS: 'notification-area-overlays'\n};\nvar NOTIFICATION_GROUPS = {\n  DEFAULT: 'default',\n  SETUP_CTAS: 'setup-ctas'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvZ29vZ2xlc2l0ZWtpdC9ub3RpZmljYXRpb25zL2NvbnN0YW50cy5qcz9iMGVlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTm90aWZpY2F0aW9ucyBBUEkgY29uc3RhbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjQgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3Ug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xcbn07XG5cbmV4cG9ydCBjb25zdCBOT1RJRklDQVRJT05fQVJFQVMgPSB7XG5cdEhFQURFUjogJ25vdGlmaWNhdGlvbi1hcmVhLWhlYWRlcicsXG5cdERBU0hCT0FSRF9UT1A6ICdub3RpZmljYXRpb24tYXJlYS1kYXNoYm9hcmQtdG9wJyxcblx0T1ZFUkxBWVM6ICdub3RpZmljYXRpb24tYXJlYS1vdmVybGF5cycsXG59O1xuXG5leHBvcnQgY29uc3QgTk9USUZJQ0FUSU9OX0dST1VQUyA9IHtcblx0REVGQVVMVDogJ2RlZmF1bHQnLFxuXHRTRVRVUF9DVEFTOiAnc2V0dXAtY3RhcycsXG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/constants.js\n");

/***/ }),

/***/ "./js/googlesitekit/notifications/datastore/constants.js":
/*!***************************************************************!*\
  !*** ./js/googlesitekit/notifications/datastore/constants.js ***!
  \***************************************************************/
/*! exports provided: CORE_NOTIFICATIONS, NOTIFICATION_VIEW_CONTEXTS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CORE_NOTIFICATIONS\", function() { return CORE_NOTIFICATIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOTIFICATION_VIEW_CONTEXTS\", function() { return NOTIFICATION_VIEW_CONTEXTS; });\n/* harmony import */ var _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/googlesitekit/constants */ \"./js/googlesitekit/constants.js\");\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\nvar CORE_NOTIFICATIONS = 'core/notifications';\nvar NOTIFICATION_VIEW_CONTEXTS = [_js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_SPLASH\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_MAIN_DASHBOARD_VIEW_ONLY\"], _js_googlesitekit_constants__WEBPACK_IMPORTED_MODULE_0__[\"VIEW_CONTEXT_ENTITY_DASHBOARD_VIEW_ONLY\"]];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9nb29nbGVzaXRla2l0L25vdGlmaWNhdGlvbnMvZGF0YXN0b3JlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2dvb2dsZXNpdGVraXQvbm90aWZpY2F0aW9ucy9kYXRhc3RvcmUvY29uc3RhbnRzL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EJPQVJEX1ZJRVdfT05MWSxcblx0VklFV19DT05URVhUX1NQTEFTSCxcbn0gZnJvbSAnQC9qcy9nb29nbGVzaXRla2l0L2NvbnN0YW50cyc7XG5cbmV4cG9ydCBjb25zdCBDT1JFX05PVElGSUNBVElPTlMgPSAnY29yZS9ub3RpZmljYXRpb25zJztcblxuZXhwb3J0IGNvbnN0IE5PVElGSUNBVElPTl9WSUVXX0NPTlRFWFRTID0gW1xuXHRWSUVXX0NPTlRFWFRfU1BMQVNILFxuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkQsXG5cdFZJRVdfQ09OVEVYVF9FTlRJVFlfREFTSEJPQVJELFxuXHRWSUVXX0NPTlRFWFRfTUFJTl9EQVNIQk9BUkRfVklFV19PTkxZLFxuXHRWSUVXX0NPTlRFWFRfRU5USVRZX0RBU0hCT0FSRF9WSUVXX09OTFksXG5dO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFRQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/googlesitekit/notifications/datastore/constants.js\n");

/***/ }),

/***/ "./js/hooks/useBreakpoint.js":
/*!***********************************!*\
  !*** ./js/hooks/useBreakpoint.js ***!
  \***********************************/
/*! exports provided: BREAKPOINT_XLARGE, BREAKPOINT_DESKTOP, BREAKPOINT_TABLET, BREAKPOINT_SMALL, useBreakpoint */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_XLARGE\", function() { return BREAKPOINT_XLARGE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_DESKTOP\", function() { return BREAKPOINT_DESKTOP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_TABLET\", function() { return BREAKPOINT_TABLET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_SMALL\", function() { return BREAKPOINT_SMALL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useBreakpoint\", function() { return useBreakpoint; });\n/* harmony import */ var _useWindowSize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useWindowSize */ \"./js/hooks/useWindowSize.js\");\n/**\n * `useBreakpoint` hook.\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\nvar BREAKPOINT_XLARGE = 'xlarge';\nvar BREAKPOINT_DESKTOP = 'desktop';\nvar BREAKPOINT_TABLET = 'tablet';\nvar BREAKPOINT_SMALL = 'small';\n\n/**\n * Retrieves the current breakpoint.\n *\n * @since 1.29.0\n *\n * @return {string} The current breakpoint according to the window size.\n */\nfunction useBreakpoint() {\n  var onlyWidth = Object(_useWindowSize__WEBPACK_IMPORTED_MODULE_0__[\"useWindowWidth\"])();\n  if (onlyWidth > 1280) {\n    return BREAKPOINT_XLARGE;\n  }\n  if (onlyWidth > 960) {\n    return BREAKPOINT_DESKTOP;\n  }\n  if (onlyWidth > 600) {\n    return BREAKPOINT_TABLET;\n  }\n  return BREAKPOINT_SMALL;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy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BQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useBreakpoint.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useFeature\", function() { return useFeature; });\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_FeaturesProvider_FeaturesContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/FeaturesProvider/FeaturesContext */ \"./js/components/FeaturesProvider/FeaturesContext.js\");\n/* harmony import */ var _js_features__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/features */ \"./js/features/index.js\");\n/**\n * Feature Flags hook.\n *\n * Site Kit by Google, Copyright 2020 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/**\n * Returns the enabled state of a feature flag.\n *\n * @since 1.25.0\n *\n * @param {string} feature The feature flag name to check enabled state for.\n * @return {boolean} `true` if the feature is enabled, `false` otherwise.\n */\nfunction useFeature(feature) {\n  var enabledFeatures = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_js_components_FeaturesProvider_FeaturesContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n  return Object(_js_features__WEBPACK_IMPORTED_MODULE_2__[\"isFeatureEnabled\"])(feature, enabledFeatures);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VGZWF0dXJlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlRmVhdHVyZS5qcz82MWJmIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRmVhdHVyZSBGbGFncyBob29rLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjAgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNl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gdXNlQ29udGV4dCggRmVhdHVyZXNDb250ZXh0ICk7XG5cblx0cmV0dXJuIGlzRmVhdHVyZUVuYWJsZWQoIGZlYXR1cmUsIGVuYWJsZWRGZWF0dXJlcyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/hooks/useFeature.js\n");

/***/ }),

/***/ "./js/hooks/useFormValue.js":
/*!**********************************!*\
  !*** ./js/hooks/useFormValue.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 useFormValue; });\n/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/data */ \"../node_modules/@wordpress/data/build-module/index.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/**\n * Form value hook.\n *\n * Site Kit by Google, Copyright 2020 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 * Returns the value of a form field.\n *\n * @since 1.160.0\n *\n * @param {string} formName The name of the form.\n * @param {string} key      The key of the form field.\n * @return {string|number|boolean|Array|Object|undefined} The value of the form field, or the default value if provided.\n */\nfunction useFormValue(formName, key) {\n  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__[\"useSelect\"])(function (select) {\n    var _select = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_1__[\"CORE_FORMS\"]),\n      getValue = _select.getValue;\n    return getValue(formName, key);\n  }, [formName, key]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VGb3JtVmFsdWUuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9ob29rcy91c2VGb3JtVmFsdWUuanM/OWZhMCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEZvcm0gdmFsdWUgaG9vay5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIwIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8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9IFRoZSB2YWx1ZSBvZiB0aGUgZm9ybSBmaWVsZCwgb3IgdGhlIGRlZmF1bHQgdmFsdWUgaWYgcHJvdmlkZWQuXG4gKi9cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHVzZUZvcm1WYWx1ZSggZm9ybU5hbWUsIGtleSApIHtcblx0cmV0dXJuIHVzZVNlbGVjdChcblx0XHQoIHNlbGVjdCApID0+IHtcblx0XHRcdGNvbnN0IHsgZ2V0VmFsdWUgfSA9IHNlbGVjdCggQ09SRV9GT1JNUyApO1xuXG5cdFx0XHRyZXR1cm4gZ2V0VmFsdWUoIGZvcm1OYW1lLCBrZXkgKTtcblx0XHR9LFxuXHRcdFsgZm9ybU5hbWUsIGtleSBdXG5cdCk7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFHQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/hooks/useFormValue.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/components/Root/ViewContextContext */ \"./js/components/Root/ViewContextContext.js\");\n/**\n * `useViewContext` hook.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Returns the current Site Kit viewing context, eg. \"dashboard\",\n * \"entity dashboard\", \"view-only dashboard\", etc.\n *\n * @since 1.74.0\n *\n * @return {string} The current \"viewing context\" value for the plugin.\n */\nfunction useViewContext() {\n  var viewContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useContext\"])(_js_components_Root_ViewContextContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n  return viewContext;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useViewContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VWaWV3Q29udGV4dC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL2hvb2tzL3VzZVZpZXdDb250ZXh0LmpzPzAzYjIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBgdXNlVmlld0NvbnRleHRgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMiBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJz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vbmx5IGRhc2hib2FyZFwiLCBldGMuXG4gKlxuICogQHNpbmNlIDEuNzQuMFxuICpcbiAqIEByZXR1cm4ge3N0cmluZ30gVGhlIGN1cnJlbnQgXCJ2aWV3aW5nIGNvbnRleHRcIiB2YWx1ZSBmb3IgdGhlIHBsdWdpbi5cbiAqL1xuZnVuY3Rpb24gdXNlVmlld0NvbnRleHQoKSB7XG5cdGNvbnN0IHZpZXdDb250ZXh0ID0gdXNlQ29udGV4dCggVmlld0NvbnRleHRDb250ZXh0ICk7XG5cblx0cmV0dXJuIHZpZXdDb250ZXh0O1xufVxuXG5leHBvcnQgZGVmYXVsdCB1c2VWaWV3Q29udGV4dDtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/hooks/useViewContext.js\n");

/***/ }),

/***/ "./js/hooks/useWindowSize.js":
/*!***********************************!*\
  !*** ./js/hooks/useWindowSize.js ***!
  \***********************************/
/*! exports provided: useWindowSize, useWindowHeight, useWindowWidth */
/***/ (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__, \"useWindowSize\", function() { return useWindowSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useWindowHeight\", function() { return useWindowHeight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useWindowWidth\", function() { return useWindowWidth; });\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 _react_hook_throttle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hook/throttle */ \"../node_modules/@react-hook/throttle/dist/module/index.js\");\n/* harmony import */ var _react_hook_event__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hook/event */ \"../node_modules/@react-hook/event/dist/module/index.js\");\n\n/**\n * `useWindowSize` hook.\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// Copied from https://github.com/jaredLunde/react-hook/blob/b8ac9515e26937e838a36a27001dc46c7f46a390/packages/window-size/throttled/src/index.tsx\n// Modified to use global.innerWidth and global.innerHeight instead of document.documentElement.clientWidth and document.documentElement.clientHeight.\n\n/**\n * External dependencies\n */\n\n\nvar emptyObj = {};\nvar win = typeof global === 'undefined' ? null : global;\nfunction getSize() {\n  return [global.innerWidth, global.innerHeight];\n}\nfunction useWindowSize() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : emptyObj;\n  var fps = options.fps,\n    leading = options.leading,\n    _options$initialWidth = options.initialWidth,\n    initialWidth = _options$initialWidth === void 0 ? 0 : _options$initialWidth,\n    _options$initialHeigh = options.initialHeight,\n    initialHeight = _options$initialHeigh === void 0 ? 0 : _options$initialHeigh;\n  var _useThrottle = Object(_react_hook_throttle__WEBPACK_IMPORTED_MODULE_1__[\"useThrottle\"])(/* istanbul ignore next */\n    typeof document === 'undefined' ? [initialWidth, initialHeight] : getSize, fps, leading),\n    _useThrottle2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_useThrottle, 2),\n    size = _useThrottle2[0],\n    setThrottledSize = _useThrottle2[1];\n  function setSize() {\n    return setThrottledSize(getSize);\n  }\n  Object(_react_hook_event__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(win, 'resize', setSize);\n  Object(_react_hook_event__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(win, 'orientationchange', setSize);\n  return size;\n}\nfunction useWindowHeight(options) {\n  return useWindowSize(options)[1];\n}\nfunction useWindowWidth(options) {\n  return useWindowSize(options)[0];\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9ob29rcy91c2VXaW5kb3dTaXplLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvaG9va3MvdXNlV2luZG93U2l6ZS5qcz8yZmZjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHVzZVdpbmRvd1NpemVgIGhvb2suXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXk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IHNpemU7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiB1c2VXaW5kb3dIZWlnaHQoIG9wdGlvbnMgKSB7XG5cdHJldHVybiB1c2VXaW5kb3dTaXplKCBvcHRpb25zIClbIDEgXTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIHVzZVdpbmRvd1dpZHRoKCBvcHRpb25zICkge1xuXHRyZXR1cm4gdXNlV2luZG93U2l6ZSggb3B0aW9ucyApWyAwIF07XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBR0E7QUFLQTtBQVBBO0FBQUE7QUFRQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/hooks/useWindowSize.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/constants.js":
/*!*********************************************!*\
  !*** ./js/modules/analytics-4/constants.js ***!
  \*********************************************/
/*! exports provided: ACTIVATION_STEP_REMINDER, ACTIVATION_STEP_SETUP, ACTIVATION_STEP_SUCCESS, ACTIVATION_STEP_IN_PROGRESS, ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY, GA4_ACTIVATION_BANNER_STATE_KEY, ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY, LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY, REPORT_ARGS_SELECTED_METRIC_KEY, REPORT_ARGS_SELECTED_DIMENSION_KEY, REPORT_ARGS_DATA_FILTERS_KEY, REPORT_ARGS_NAV_KEY, KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY, GA4_AUTO_SWITCH_DATE, MODULE_SLUG_ANALYTICS_4 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_REMINDER\", function() { return ACTIVATION_STEP_REMINDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_SETUP\", function() { return ACTIVATION_STEP_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_SUCCESS\", function() { return ACTIVATION_STEP_SUCCESS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_STEP_IN_PROGRESS\", function() { return ACTIVATION_STEP_IN_PROGRESS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY\", function() { return ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GA4_ACTIVATION_BANNER_STATE_KEY\", function() { return GA4_ACTIVATION_BANNER_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY\", function() { return ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY\", function() { return LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_SELECTED_METRIC_KEY\", function() { return REPORT_ARGS_SELECTED_METRIC_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_SELECTED_DIMENSION_KEY\", function() { return REPORT_ARGS_SELECTED_DIMENSION_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_DATA_FILTERS_KEY\", function() { return REPORT_ARGS_DATA_FILTERS_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"REPORT_ARGS_NAV_KEY\", function() { return REPORT_ARGS_NAV_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY\", function() { return KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GA4_AUTO_SWITCH_DATE\", function() { return GA4_AUTO_SWITCH_DATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULE_SLUG_ANALYTICS_4\", function() { return MODULE_SLUG_ANALYTICS_4; });\n/**\n * GA4 module constants.\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\nvar ACTIVATION_STEP_REMINDER = 0;\nvar ACTIVATION_STEP_SETUP = 1;\nvar ACTIVATION_STEP_SUCCESS = 2;\nvar ACTIVATION_STEP_IN_PROGRESS = 3;\nvar ACTIVATION_ACKNOWLEDGEMENT_TOOLTIP_STATE_KEY = 'activation-acknowledgement-tooltip-state';\nvar GA4_ACTIVATION_BANNER_STATE_KEY = 'ga4-activation-banner-state';\nvar ENHANCED_MEASUREMENT_ACTIVATION_BANNER_TOOLTIP_STATE_KEY = 'enhanced-measurement-activation-banner-tooltip-state';\nvar LEGACY_ENHANCED_MEASUREMENT_ACTIVATION_BANNER_DISMISSED_ITEM_KEY = 'enhanced-measurement-activation-banner-dismissed-item';\nvar REPORT_ARGS_SELECTED_METRIC_KEY = '_r.explorerCard..selmet';\nvar REPORT_ARGS_SELECTED_DIMENSION_KEY = '_r.explorerCard..seldim';\nvar REPORT_ARGS_DATA_FILTERS_KEY = '_r..dataFilters';\nvar REPORT_ARGS_NAV_KEY = '_r..nav';\nvar KM_CONNECT_GA4_CTA_WIDGET_DISMISSED_ITEM_KEY = 'key-metrics-connect-ga4-cta-widget';\n\n/**\n * Date that Site Kit will automatically switch to using GA4: September 25, 2023.\n *\n * With Site Kit's maximum date range being three months, once this period has passed since the UA cutoff date,\n * it will no longer be able to show any historical data for UA and will automatically switch to GA4.\n * For operational reasons, we automatically make the switch a few days before the three month cutoff point.\n *\n * @since 1.107.0\n * @see UA_CUTOFF_DATE.\n */\nvar GA4_AUTO_SWITCH_DATE = '2023-09-25';\nvar MODULE_SLUG_ANALYTICS_4 = 'analytics-4';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvYW5hbHl0aWNzLTQvY29uc3RhbnRzLmpzPzBlZWEiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHQTQgbW9kdWxlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcH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FBQ0E7QUFDQTtBQUVBO0FBR0E7QUFFQTtBQUVBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/datastore/constants.js":
/*!*******************************************************!*\
  !*** ./js/modules/analytics-4/datastore/constants.js ***!
  \*******************************************************/
/*! exports provided: MODULES_ANALYTICS_4, ACCOUNT_CREATE, PROPERTY_CREATE, WEBDATASTREAM_CREATE, FORM_SETUP, MAX_WEBDATASTREAMS_PER_BATCH, DATE_RANGE_OFFSET, GTM_SCOPE, ENHANCED_MEASUREMENT_FORM, ENHANCED_MEASUREMENT_ENABLED, ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER, FORM_ACCOUNT_CREATE, FORM_CUSTOM_DIMENSIONS_CREATE, PROVISIONING_SCOPE, EDIT_SCOPE, UI_DIMENSION_NAME, UI_DIMENSION_COLOR, UI_DIMENSION_VALUE, UI_ACTIVE_ROW_INDEX, UI_ALL_TRAFFIC_LOADED, CUSTOM_DIMENSION_DEFINITIONS, ENUM_CONVERSION_EVENTS, CONVERSION_REPORTING_LEAD_EVENTS, AUDIENCE_FILTER_CLAUSE_TYPE_ENUM, AUDIENCE_FILTER_SCOPE_ENUM, SITE_KIT_AUDIENCE_DEFINITIONS, AUDIENCE_SEGMENTATION_SETUP_FORM, AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE, AUDIENCE_TYPE_SORT_ORDER, AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX, RESOURCE_TYPE_AUDIENCE, RESOURCE_TYPE_CUSTOM_DIMENSION, RESOURCE_TYPE_PROPERTY, RESOURCE_TYPES */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_ANALYTICS_4\", function() { return MODULES_ANALYTICS_4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_CREATE\", function() { return ACCOUNT_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PROPERTY_CREATE\", function() { return PROPERTY_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WEBDATASTREAM_CREATE\", function() { return WEBDATASTREAM_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_SETUP\", function() { return FORM_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAX_WEBDATASTREAMS_PER_BATCH\", function() { return MAX_WEBDATASTREAMS_PER_BATCH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DATE_RANGE_OFFSET\", function() { return DATE_RANGE_OFFSET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GTM_SCOPE\", function() { return GTM_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_FORM\", function() { return ENHANCED_MEASUREMENT_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_ENABLED\", function() { return ENHANCED_MEASUREMENT_ENABLED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER\", function() { return ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_ACCOUNT_CREATE\", function() { return FORM_ACCOUNT_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_CUSTOM_DIMENSIONS_CREATE\", function() { return FORM_CUSTOM_DIMENSIONS_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PROVISIONING_SCOPE\", function() { return PROVISIONING_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EDIT_SCOPE\", function() { return EDIT_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_DIMENSION_NAME\", function() { return UI_DIMENSION_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_DIMENSION_COLOR\", function() { return UI_DIMENSION_COLOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_DIMENSION_VALUE\", function() { return UI_DIMENSION_VALUE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_ACTIVE_ROW_INDEX\", function() { return UI_ACTIVE_ROW_INDEX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UI_ALL_TRAFFIC_LOADED\", function() { return UI_ALL_TRAFFIC_LOADED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CUSTOM_DIMENSION_DEFINITIONS\", function() { return CUSTOM_DIMENSION_DEFINITIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENUM_CONVERSION_EVENTS\", function() { return ENUM_CONVERSION_EVENTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONVERSION_REPORTING_LEAD_EVENTS\", function() { return CONVERSION_REPORTING_LEAD_EVENTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_FILTER_CLAUSE_TYPE_ENUM\", function() { return AUDIENCE_FILTER_CLAUSE_TYPE_ENUM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_FILTER_SCOPE_ENUM\", function() { return AUDIENCE_FILTER_SCOPE_ENUM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SITE_KIT_AUDIENCE_DEFINITIONS\", function() { return SITE_KIT_AUDIENCE_DEFINITIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_SEGMENTATION_SETUP_FORM\", function() { return AUDIENCE_SEGMENTATION_SETUP_FORM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE\", function() { return AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_TYPE_SORT_ORDER\", function() { return AUDIENCE_TYPE_SORT_ORDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX\", function() { return AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPE_AUDIENCE\", function() { return RESOURCE_TYPE_AUDIENCE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPE_CUSTOM_DIMENSION\", function() { return RESOURCE_TYPE_CUSTOM_DIMENSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPE_PROPERTY\", function() { return RESOURCE_TYPE_PROPERTY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_TYPES\", function() { return RESOURCE_TYPES; });\n/**\n * `modules/analytics-4` 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 MODULES_ANALYTICS_4 = 'modules/analytics-4';\n\n// A special Account ID value used for the \"Set up a new account\" option.\nvar ACCOUNT_CREATE = 'account_create';\n\n// A special Property ID value used for the \"Set up a new property\" option.\nvar PROPERTY_CREATE = 'property_create';\nvar WEBDATASTREAM_CREATE = 'webdatastream_create';\nvar FORM_SETUP = 'analyticsSetup';\nvar MAX_WEBDATASTREAMS_PER_BATCH = 10;\n\n// Date range offset days for Analytics 4 report requests.\nvar DATE_RANGE_OFFSET = 1;\nvar GTM_SCOPE = 'https://www.googleapis.com/auth/tagmanager.readonly';\nvar ENHANCED_MEASUREMENT_FORM = 'enhanced-measurement-form';\nvar ENHANCED_MEASUREMENT_ENABLED = 'enhanced-measurement-enabled';\nvar ENHANCED_MEASUREMENT_SHOULD_DISMISS_ACTIVATION_BANNER = 'enhanced-measurement-should-dismiss-activation-banner';\n\n// Form ID for the account creation form.\nvar FORM_ACCOUNT_CREATE = 'analyticsAccountCreate';\nvar FORM_CUSTOM_DIMENSIONS_CREATE = 'analyticsCustomDimensionsCreate';\n\n// OAuth scope required for provisioning a Google Analytics account.\nvar PROVISIONING_SCOPE = 'https://www.googleapis.com/auth/analytics.provision';\nvar EDIT_SCOPE = 'https://www.googleapis.com/auth/analytics.edit';\n\n// Dashboard widget constants.\nvar UI_DIMENSION_NAME = 'dashboardAllTrafficWidgetDimensionName';\nvar UI_DIMENSION_COLOR = 'dashboardAllTrafficWidgetDimensionColor';\nvar UI_DIMENSION_VALUE = 'dashboardAllTrafficWidgetDimensionValue';\nvar UI_ACTIVE_ROW_INDEX = 'dashboardAllTrafficWidgetActiveRowIndex';\nvar UI_ALL_TRAFFIC_LOADED = 'dashboardAllTrafficWidgetLoaded';\n\n// Note: names and descriptions are not translated as these are not surfaced in Site Kit\n// and are also subject to hard limits on the length which would be unpredictable if translated.\n// See https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1beta/properties.customDimensions#CustomDimension\nvar CUSTOM_DIMENSION_DEFINITIONS = {\n  googlesitekit_post_date: {\n    parameterName: 'googlesitekit_post_date',\n    displayName: 'WordPress Post Date',\n    description: 'Created by Site Kit: Date when a post was published',\n    scope: 'EVENT'\n  },\n  googlesitekit_post_author: {\n    parameterName: 'googlesitekit_post_author',\n    displayName: 'WordPress Post Author',\n    description: 'Created by Site Kit: WordPress name of the post author',\n    scope: 'EVENT'\n  },\n  googlesitekit_post_categories: {\n    parameterName: 'googlesitekit_post_categories',\n    displayName: 'WordPress Post Categories',\n    description: 'Created by Site Kit: Names of categories assigned to a post',\n    scope: 'EVENT'\n  },\n  googlesitekit_post_type: {\n    parameterName: 'googlesitekit_post_type',\n    displayName: 'WordPress Post Type',\n    description: 'Created by Site Kit: Content type of a post',\n    scope: 'EVENT'\n  }\n};\nvar ENUM_CONVERSION_EVENTS = {\n  ADD_TO_CART: 'add_to_cart',\n  PURCHASE: 'purchase',\n  SUBMIT_LEAD_FORM: 'submit_lead_form',\n  GENERATE_LEAD: 'generate_lead',\n  CONTACT: 'contact'\n};\nvar CONVERSION_REPORTING_LEAD_EVENTS = [ENUM_CONVERSION_EVENTS.CONTACT, ENUM_CONVERSION_EVENTS.GENERATE_LEAD, ENUM_CONVERSION_EVENTS.SUBMIT_LEAD_FORM];\n\n// Audience enums.\nvar AUDIENCE_FILTER_CLAUSE_TYPE_ENUM = {\n  AUDIENCE_CLAUSE_TYPE_UNSPECIFIED: 'AUDIENCE_CLAUSE_TYPE_UNSPECIFIED',\n  INCLUDE: 'INCLUDE',\n  EXCLUDE: 'EXCLUDE'\n};\nvar AUDIENCE_FILTER_SCOPE_ENUM = {\n  AUDIENCE_FILTER_SCOPE_UNSPECIFIED: 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED',\n  AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT: 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT',\n  AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION: 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION',\n  AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS: 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS'\n};\nvar SITE_KIT_AUDIENCE_DEFINITIONS = {\n  'new-visitors': {\n    description: 'People who visited the site for the first time',\n    displayName: 'New visitors',\n    membershipDurationDays: -1,\n    // The longest duration, 540 days.\n    filterClauses: [{\n      clauseType: 'INCLUDE',\n      simpleFilter: {\n        scope: 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS',\n        filterExpression: {\n          andGroup: {\n            filterExpressions: [{\n              orGroup: {\n                filterExpressions: [{\n                  dimensionOrMetricFilter: {\n                    fieldName: 'newVsReturning',\n                    stringFilter: {\n                      matchType: 'EXACT',\n                      value: 'new'\n                    }\n                  }\n                }]\n              }\n            }, {\n              orGroup: {\n                filterExpressions: [{\n                  notExpression: {\n                    dimensionOrMetricFilter: {\n                      fieldName: 'groupId',\n                      stringFilter: {\n                        matchType: 'EXACT',\n                        value: 'created_by_googlesitekit:new_visitors'\n                      }\n                    }\n                  }\n                }]\n              }\n            }]\n          }\n        }\n      }\n    }]\n  },\n  'returning-visitors': {\n    description: 'People who have visited your site at least once before',\n    displayName: 'Returning visitors',\n    membershipDurationDays: -1,\n    // The longest duration, 540 days.\n    filterClauses: [{\n      clauseType: 'INCLUDE',\n      simpleFilter: {\n        scope: 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS',\n        filterExpression: {\n          andGroup: {\n            filterExpressions: [{\n              orGroup: {\n                filterExpressions: [{\n                  dimensionOrMetricFilter: {\n                    fieldName: 'newVsReturning',\n                    stringFilter: {\n                      matchType: 'EXACT',\n                      value: 'returning'\n                    }\n                  }\n                }]\n              }\n            }, {\n              orGroup: {\n                filterExpressions: [{\n                  notExpression: {\n                    dimensionOrMetricFilter: {\n                      fieldName: 'groupId',\n                      stringFilter: {\n                        matchType: 'EXACT',\n                        value: 'created_by_googlesitekit:returning_visitors'\n                      }\n                    }\n                  }\n                }]\n              }\n            }]\n          }\n        }\n      }\n    }]\n  }\n};\nvar AUDIENCE_SEGMENTATION_SETUP_FORM = 'audiencePermissionsSetup';\nvar AUDIENCE_TILE_CUSTOM_DIMENSION_CREATE = 'audienceTileCustomDimensionCreate';\nvar AUDIENCE_TYPE_SORT_ORDER = {\n  USER_AUDIENCE: 0,\n  SITE_KIT_AUDIENCE: 1,\n  DEFAULT_AUDIENCE: 2\n};\nvar AUDIENCE_ITEM_NEW_BADGE_SLUG_PREFIX = 'audience-selection-panel-expirable-new-badge-';\nvar RESOURCE_TYPE_AUDIENCE = 'audience';\nvar RESOURCE_TYPE_CUSTOM_DIMENSION = 'customDimension';\nvar RESOURCE_TYPE_PROPERTY = 'property';\nvar RESOURCE_TYPES = [RESOURCE_TYPE_AUDIENCE, RESOURCE_TYPE_CUSTOM_DIMENSION, RESOURCE_TYPE_PROPERTY];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/datastore/constants.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-normalization.js":
/*!**************************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-normalization.js ***!
  \**************************************************************/
/*! exports provided: normalizeReportOptions */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizeReportOptions\", function() { return normalizeReportOptions; });\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_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 memize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! memize */ \"../node_modules/memize/index.js\");\n/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(memize__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\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 * Analytics 4 report normalization utilities.\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 * Normalizes report options.\n *\n * @since 1.94.0\n *\n * @param {Object} options Report options object.\n * @return {Object} Normalized options object.\n */\nvar normalizeReportOptions = memize__WEBPACK_IMPORTED_MODULE_2___default()(function () {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    metrics = _ref.metrics,\n    dimensions = _ref.dimensions,\n    options = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"metrics\", \"dimensions\"]);\n  return _objectSpread({\n    metrics: normalizeMetrics(metrics),\n    dimensions: normalizeDimensions(dimensions)\n  }, options);\n});\nfunction normalizeMetrics(metrics) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"castArray\"])(metrics).map(function (metric) {\n    return typeof metric === 'string' ? {\n      name: metric\n    } : metric;\n  }).filter(function (metric) {\n    return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(metric);\n  });\n}\nfunction normalizeDimensions(dimensions) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"castArray\"])(dimensions).map(function (dimension) {\n    return typeof dimension === 'string' ? {\n      name: dimension\n    } : dimension;\n  }).filter(function (dimension) {\n    return Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isPlainObject\"])(dimension);\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL2FuYWx5dGljcy00L3V0aWxzL3JlcG9ydC1ub3JtYWxpemF0aW9uLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8v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5zaW9ucyApXG5cdFx0Lm1hcCggKCBkaW1lbnNpb24gKSA9PlxuXHRcdFx0dHlwZW9mIGRpbWVuc2lvbiA9PT0gJ3N0cmluZycgPyB7IG5hbWU6IGRpbWVuc2lvbiB9IDogZGltZW5zaW9uXG5cdFx0KVxuXHRcdC5maWx0ZXIoICggZGltZW5zaW9uICkgPT4gaXNQbGFpbk9iamVjdCggZGltZW5zaW9uICkgKTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFFQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFFQTtBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-normalization.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/report-validation.js":
/*!***********************************************************!*\
  !*** ./js/modules/analytics-4/utils/report-validation.js ***!
  \***********************************************************/
/*! exports provided: isValidMetrics, isValidDimensions, isValidDimensionFilters, isValidMetricFilters, isValidOrders */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidMetrics\", function() { return isValidMetrics; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDimensions\", function() { return isValidDimensions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDimensionFilters\", function() { return isValidDimensionFilters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidMetricFilters\", function() { return isValidMetricFilters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidOrders\", function() { return isValidOrders; });\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 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 _js_util_report_validation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/util/report-validation */ \"./js/util/report-validation.js\");\n\n/**\n * Analytics 4 reporting API validation utilities.\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/* eslint complexity: [ \"error\", 17 ] */\n\n/**\n * External dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n/**\n * Verifies that provided metrics match allowed values. Metrics can be a string,\n * an array of string, an array of objects or mix of strings and objects.\n * Objects must have a \"name\" property that matches the regex `/^[a-zA-Z0-9_]+$/`\n * to be valid. Objects can optionally include an \"expression\" property.\n *\n * When a single string is provided, it must be a metric name or a comma-separated\n * list of metric names.\n *\n * A metric name must match the regular expression `/^[a-zA-Z0-9_]+$/`.\n *\n * @since 1.94.0\n * @since 1.98.0 Added a regular expression to validate metric names, in keeping with the GA4 API.\n *\n * @param {string|string[]|Object|Object[]} metrics The metrics to check.\n * @return {boolean} TRUE if metrics are valid, otherwise FALSE.\n */\nfunction isValidMetrics(metrics) {\n  function isValidName(metricName) {\n    return typeof metricName === 'string' && /^[a-zA-Z0-9_]+$/.test(metricName);\n  }\n  if (typeof metrics === 'string') {\n    var metricNames = metrics.split(',');\n    return metricNames.every(isValidName);\n  }\n  return Object(_js_util_report_validation__WEBPACK_IMPORTED_MODULE_2__[\"isValidStringsOrObjects\"])(metrics, function (metric) {\n    var validName = metric.hasOwnProperty('name') && isValidName(metric.name);\n\n    // 'expression' is optional, so if it wasn't provided, we can\n    // return early.\n    if (!metric.hasOwnProperty('expression')) {\n      return validName;\n    }\n\n    // 'expression', if provided, must be a string.\n    var validExpression = typeof metric.expression === 'string';\n    return validName && validExpression;\n  }, isValidName);\n}\n\n/**\n * Verifies provided dimensions to make sure it matches allowed values. It can be a string,\n * array of strings, an object with \"name\" field, array of such objects or an array of strings\n * and objects.\n *\n * @since 1.94.0\n *\n * @param {string|string[]|Object|Object[]} dimensions The dimensions to check.\n * @return {boolean} TRUE if dimensions are valid, otherwise FALSE.\n */\nfunction isValidDimensions(dimensions) {\n  return Object(_js_util_report_validation__WEBPACK_IMPORTED_MODULE_2__[\"isValidStringsOrObjects\"])(dimensions, function (dimension) {\n    return dimension.hasOwnProperty('name') && typeof dimension.name === 'string';\n  });\n}\n\n/**\n * Verifies provided dimensionFilters to make sure they match allowed values found in dimensions.\n *\n * @since 1.94.0\n *\n * @param {Object} filters The dimension filters to check.\n * @return {boolean} TRUE if dimension filters are valid, otherwise FALSE.\n */\nfunction isValidDimensionFilters(filters) {\n  // Ensure every dimensionFilter key corresponds to a valid dimension.\n  var validType = ['string'];\n  return Object.keys(filters).every(function (dimension) {\n    if (validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(filters[dimension]))) {\n      return true;\n    }\n    if (Array.isArray(filters[dimension])) {\n      return filters[dimension].every(function (param) {\n        return validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(param));\n      });\n    }\n    if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(filters[dimension])) {\n      var props = Object.keys(filters[dimension]);\n      if (!props.includes('filterType')) {\n        return false;\n      }\n      if (filters[dimension].filterType !== 'emptyFilter' && !props.includes('value')) {\n        return false;\n      }\n      return true;\n    }\n    return false;\n  });\n}\n\n/**\n * Verifies provided metricFilters to make sure they match allowed values found in metrics and supported filters.\n *\n * @since 1.111.0\n *\n * @param {Object} filters The metric filters to check.\n * @return {boolean} TRUE if dimension filters are valid, otherwise FALSE.\n */\nfunction isValidMetricFilters(filters) {\n  var validType = ['string'];\n  var allowedFilterTypes = ['numericFilter', 'betweenFilter'];\n  return Object.values(filters).every(function (filter) {\n    if (validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(filter))) {\n      return true;\n    }\n    if (Array.isArray(filter)) {\n      return filter.every(function (param) {\n        return validType.includes(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(param));\n      });\n    }\n    if (!Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(filter)) {\n      return false;\n    }\n    var filterType = filter.filterType,\n      value = filter.value,\n      fromValue = filter.fromValue,\n      toValue = filter.toValue; // Validate filterType if present\n    if (filterType && !allowedFilterTypes.includes(filterType)) {\n      return false;\n    }\n    var props = Object.keys(filter);\n\n    // Numeric Filter (default if filterType is missing)\n    if (!filterType || filterType === 'numericFilter') {\n      return props.includes('operation') && props.includes('value') && (!Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(value) || 'int64Value' in value);\n    }\n\n    // Between Filter\n    if (filterType === 'betweenFilter') {\n      return props.includes('fromValue') && props.includes('toValue') && [fromValue, toValue].every(function (val) {\n        return !Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(val) || 'int64Value' in val;\n      });\n    }\n    return false;\n  });\n}\n\n/**\n * Verifies that order definitions are valid for a report. It should be an array\n * of objects where each object has either a \"metric\" or a \"dimension\" property,\n * and an optional \"desc\" property. The \"metric\" and \"dimension\" properties should\n * be objects with \"metricName\" and \"dimensionName\" properties respectively.\n *\n * @since 1.95.0\n *\n * @param {Object[]} orders The order definitions to check.\n * @return {boolean} TRUE if order definitions are valid, otherwise FALSE.\n */\nfunction isValidOrders(orders) {\n  if (!Array.isArray(orders)) {\n    return false;\n  }\n  return orders.every(function (order) {\n    if (!Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(order)) {\n      return false;\n    }\n    if (order.hasOwnProperty('desc') && typeof order.desc !== 'boolean') {\n      return false;\n    }\n    if (order.metric) {\n      var _order$metric;\n      return !order.dimension && typeof ((_order$metric = order.metric) === null || _order$metric === void 0 ? void 0 : _order$metric.metricName) === 'string';\n    }\n    if (order.dimension) {\n      var _order$dimension;\n      return typeof ((_order$dimension = order.dimension) === null || _order$dimension === void 0 ? void 0 : _order$dimension.dimensionName) === 'string';\n    }\n    return false;\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/report-validation.js\n");

/***/ }),

/***/ "./js/modules/analytics-4/utils/validation.js":
/*!****************************************************!*\
  !*** ./js/modules/analytics-4/utils/validation.js ***!
  \****************************************************/
/*! exports provided: isValidAccountSelection, isValidAccountID, isValidPropertyID, isValidPropertySelection, isValidWebDataStreamID, isValidWebDataStreamSelection, isValidWebDataStreamName, isValidMeasurementID, isValidGoogleTagID, isValidGoogleTagAccountID, isValidGoogleTagContainerID, validateReport, validateAudience */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountSelection\", function() { return isValidAccountSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidPropertyID\", function() { return isValidPropertyID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidPropertySelection\", function() { return isValidPropertySelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidWebDataStreamID\", function() { return isValidWebDataStreamID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidWebDataStreamSelection\", function() { return isValidWebDataStreamSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidWebDataStreamName\", function() { return isValidWebDataStreamName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidMeasurementID\", function() { return isValidMeasurementID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidGoogleTagID\", function() { return isValidGoogleTagID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidGoogleTagAccountID\", function() { return isValidGoogleTagAccountID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidGoogleTagContainerID\", function() { return isValidGoogleTagContainerID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateReport\", function() { return validateReport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateAudience\", function() { return validateAudience; });\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 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 _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountID\", function() { return _js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"]; });\n\n/* harmony import */ var _js_util_report_validation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/util/report-validation */ \"./js/util/report-validation.js\");\n/* harmony import */ var _report_normalization__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./report-normalization */ \"./js/modules/analytics-4/utils/report-normalization.js\");\n/* harmony import */ var _report_validation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./report-validation */ \"./js/modules/analytics-4/utils/report-validation.js\");\n/**\n * Validation 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 * Internal dependencies\n */\n\n\n\n\n\n\n/**\n * Checks if the given value is a valid selection for an Account.\n *\n * @since 1.119.0\n *\n * @param {?string} value Selected value.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidAccountSelection(value) {\n  if (value === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"ACCOUNT_CREATE\"]) {\n    return true;\n  }\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"])(value);\n}\n\n/**\n * Checks if the given account ID appears to be a valid Analytics account.\n *\n * @since 1.8.0\n * @since 1.121.0 Migrated from analytics to analytics-4.\n *\n * @param {(string|number)} accountID Account ID to test.\n * @return {boolean} Whether or not the given account ID is valid.\n */\n\n\n/**\n * Checks whether the given property ID appears to be valid.\n *\n * @since 1.31.0\n *\n * @param {*} propertyID Property ID to check.\n * @return {boolean} Whether or not the given property ID is valid.\n */\nfunction isValidPropertyID(propertyID) {\n  return typeof propertyID === 'string' && /^\\d+$/.test(propertyID);\n}\n\n/**\n * Checks if the given value is a valid selection for a Property.\n *\n * @since 1.31.0\n *\n * @param {?string} value Selected value.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidPropertySelection(value) {\n  if (value === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"PROPERTY_CREATE\"]) {\n    return true;\n  }\n  return isValidPropertyID(value);\n}\n\n/**\n * Checks whether the given web data stream ID appears to be valid.\n *\n * @since 1.33.0\n *\n * @param {*} webDataStreamID Web data stream ID to check.\n * @return {boolean} TRUE if the web data stream ID is valid, otherwise FALSE.\n */\nfunction isValidWebDataStreamID(webDataStreamID) {\n  return typeof webDataStreamID === 'string' && /^\\d+$/.test(webDataStreamID);\n}\n\n/**\n * Checks whether the given web data stream is a valid selection.\n *\n * @since 1.35.0\n *\n * @param {?string} webDataStreamID Web data stream to check.\n * @return {boolean} TRUE if the web data stream selection is valid, otherwise FALSE.\n */\nfunction isValidWebDataStreamSelection(webDataStreamID) {\n  if (webDataStreamID === _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"WEBDATASTREAM_CREATE\"]) {\n    return true;\n  }\n  return isValidWebDataStreamID(webDataStreamID);\n}\n\n/**\n * Checks if the given web data stream name appears to be valid.\n *\n * @since 1.124.0\n *\n * @param {string} value Web data stream name to test.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidWebDataStreamName(value) {\n  return typeof value === 'string' && value.trim().length > 0;\n}\n\n/**\n * Checks whether the given measurementID appears to be valid.\n *\n * @since 1.35.0\n *\n * @param {*} measurementID Web data stream measurementID to check.\n * @return {boolean} TRUE if the measurementID is valid, otherwise FALSE.\n */\nfunction isValidMeasurementID(measurementID) {\n  return typeof measurementID === 'string' && /^G-[a-zA-Z0-9]+$/.test(measurementID);\n}\n\n/**\n * Checks whether the given googleTagId appears to be valid.\n *\n * @since 1.90.0\n *\n * @param {*} googleTagID Google Tag ID to check.\n * @return {boolean} TRUE if the googleTagID is valid, otherwise FALSE.\n */\nfunction isValidGoogleTagID(googleTagID) {\n  return typeof googleTagID === 'string' && /^(G|GT|AW)-[a-zA-Z0-9]+$/.test(googleTagID);\n}\n\n/**\n * Checks whether the given googleTagAccountID appears to be valid.\n *\n * @since 1.90.0\n *\n * @param {*} googleTagAccountID Google Tag ID to check.\n * @return {boolean} TRUE if the googleTagAccountID is valid, otherwise FALSE.\n */\nfunction isValidGoogleTagAccountID(googleTagAccountID) {\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"])(googleTagAccountID);\n}\n\n/**\n * Checks whether the given googleTagContainerID appears to be valid.\n *\n * @since 1.90.0\n *\n * @param {*} googleTagContainerID Google Tag ID to check.\n * @return {boolean} TRUE if the googleTagContainerID is valid, otherwise FALSE.\n */\nfunction isValidGoogleTagContainerID(googleTagContainerID) {\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_3__[\"isValidNumericID\"])(googleTagContainerID);\n}\n\n/**\n * Checks whether a given report options object is valid.\n *\n * @since 1.130.0\n *\n * @param {Object} options The options for the report.\n */\nfunction validateReport(options) {\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(options), 'options for Analytics 4 report must be an object.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_js_util_report_validation__WEBPACK_IMPORTED_MODULE_4__[\"isValidDateRange\"])(options), 'Either date range or start/end dates must be provided for Analytics 4 report.');\n  var _normalizeReportOptio = Object(_report_normalization__WEBPACK_IMPORTED_MODULE_5__[\"normalizeReportOptions\"])(options),\n    metrics = _normalizeReportOptio.metrics,\n    dimensions = _normalizeReportOptio.dimensions,\n    dimensionFilters = _normalizeReportOptio.dimensionFilters,\n    metricFilters = _normalizeReportOptio.metricFilters,\n    orderby = _normalizeReportOptio.orderby;\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(metrics.length, 'Requests must specify at least one metric for an Analytics 4 report.');\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidMetrics\"])(metrics), 'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a \"name\" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.');\n  if (dimensions) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidDimensions\"])(dimensions), 'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a \"name\" property.');\n  }\n  if (dimensionFilters) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidDimensionFilters\"])(dimensionFilters), 'dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values.');\n  }\n  if (metricFilters) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidMetricFilters\"])(metricFilters), 'metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.');\n  }\n  if (orderby) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(_report_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidOrders\"])(orderby), 'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a \"metric\" or \"dimension\" property, and an optional \"desc\" property.');\n  }\n}\n\n/**\n * Checks whether the passed audience object is valid.\n *\n * @since 1.120.0\n *\n * @param {Object} audience Audience object to check.\n */\nfunction validateAudience(audience) {\n  var audienceFields = ['displayName', 'description', 'membershipDurationDays', 'eventTrigger', 'exclusionDurationMode', 'filterClauses'];\n  var audienceRequiredFields = ['displayName', 'description', 'membershipDurationDays', 'filterClauses'];\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isPlainObject\"])(audience), 'Audience must be an object.');\n  Object.keys(audience).forEach(function (key) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(audienceFields.includes(key), \"Audience object must contain only valid keys. Invalid key: \\\"\".concat(key, \"\\\"\"));\n  });\n  audienceRequiredFields.forEach(function (key) {\n    invariant__WEBPACK_IMPORTED_MODULE_0___default()(audience[key], \"Audience object must contain required keys. Missing key: \\\"\".concat(key, \"\\\"\"));\n  });\n  invariant__WEBPACK_IMPORTED_MODULE_0___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(audience.filterClauses), 'filterClauses must be an array with AudienceFilterClause objects.');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/analytics-4/utils/validation.js\n");

/***/ }),

/***/ "./js/modules/search-console/constants.js":
/*!************************************************!*\
  !*** ./js/modules/search-console/constants.js ***!
  \************************************************/
/*! exports provided: MODULE_SLUG_SEARCH_CONSOLE */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULE_SLUG_SEARCH_CONSOLE\", function() { return MODULE_SLUG_SEARCH_CONSOLE; });\n/**\n * Search Console module constants.\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 MODULE_SLUG_SEARCH_CONSOLE = 'search-console';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3NlYXJjaC1jb25zb2xlL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvc2VhcmNoLWNvbnNvbGUvY29uc3RhbnRzLmpzPzBkYmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBTZWFyY2ggQ29uc29sZSBtb2R1bGUgY29uc3RhbnRzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjUgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IGNvbnN0IE1PRFVMRV9TTFVHX1NFQVJDSF9DT05TT0xFID0gJ3NlYXJjaC1jb25zb2xlJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/search-console/constants.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/AMPContainerNameTextField.js":
/*!******************************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/AMPContainerNameTextField.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 AMPContainerNameTextField; });\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 react_use__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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 _wordpress_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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 _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\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_forms_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _ContainerNameTextField__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ContainerNameTextField */ \"./js/modules/tagmanager/components/common/ContainerNameTextField.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * AMPContainerNameTextField 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\n\nfunction AMPContainerNameTextField() {\n  var ampContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAMPContainerID();\n  });\n  var siteName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getSiteName();\n  });\n  var referenceSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getReferenceSiteURL();\n  });\n  var initialAMPContainerName = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_SETUP\"], 'ampContainerName');\n  var ampContainerName = siteName;\n  if (!ampContainerName && Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"isURL\"])(referenceSiteURL)) {\n    ampContainerName = new URL(referenceSiteURL).hostname;\n  }\n  ampContainerName += ' AMP';\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useMount\"])(function () {\n    if (!initialAMPContainerName) {\n      setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_SETUP\"], {\n        ampContainerName: ampContainerName\n      });\n    }\n  });\n  if (ampContainerID !== _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CONTAINER_CREATE\"]) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(_ContainerNameTextField__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    name: \"ampContainerName\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('AMP Container Name', 'google-site-kit')\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29tcG9uZW50cy9jb21tb24vQU1QQ29udGFpbmVyTmFtZVRleHRGaWVsZC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvdGFnbWFuYWdlci9jb21wb25lbnRzL2NvbW1vbi9BTVBDb250YWluZXJOYW1lVGV4dEZpZWxkLmpzPzNlYTIiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBBTVBDb250YWluZXJOYW1lVGV4dE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7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBS0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFDQTtBQUVBO0FBS0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUFBO0FBR0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/AMPContainerNameTextField.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/AMPContainerSelect.js":
/*!***********************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/AMPContainerSelect.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 AMPContainerSelect; });\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/* 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 _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\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 _ContainerSelect__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ContainerSelect */ \"./js/modules/tagmanager/components/common/ContainerSelect.js\");\n/* harmony import */ var _js_util_tracking__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Tag Manager AMP Container Select 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\n\n\nfunction AMPContainerSelect(_ref) {\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var ampContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAMPContainerID();\n  });\n  var ampContainers = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (hasModuleAccess === false) {\n      return null;\n    }\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAMPContainers(accountID);\n  });\n  var isAMP = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isAMP();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]),\n    setAMPContainerID = _useDispatch.setAMPContainerID,\n    setInternalAMPContainerID = _useDispatch.setInternalAMPContainerID;\n  var onSelect = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, item) {\n    var _item$dataset = item.dataset,\n      newContainerID = _item$dataset.value,\n      newInternalContainerID = _item$dataset.internalId;\n    if (ampContainerID !== newContainerID) {\n      var eventAction = newContainerID === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CONTAINER_CREATE\"] ? 'change_amp_container_new' : 'change_amp_container';\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_tagmanager\"), eventAction);\n      setAMPContainerID(newContainerID);\n      setInternalAMPContainerID(newInternalContainerID || '');\n    }\n  }, [ampContainerID, setAMPContainerID, setInternalAMPContainerID, viewContext]);\n  if (!isAMP) {\n    return null;\n  }\n  var label = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('AMP Container', 'google-site-kit');\n  if (hasModuleAccess === false) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Select\"], {\n      className: \"googlesitekit-tagmanager__select-container--amp\",\n      label: label,\n      value: ampContainerID,\n      enhanced: true,\n      outlined: true,\n      disabled: true\n    }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Option\"], {\n      value: ampContainerID\n    }, ampContainerID));\n  }\n  return /*#__PURE__*/React.createElement(_ContainerSelect__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    className: \"googlesitekit-tagmanager__select-container--amp\",\n    label: label,\n    value: ampContainerID,\n    containers: ampContainers,\n    onEnhancedChange: onSelect\n  });\n}\nAMPContainerSelect.propTypes = {\n  hasModuleAccess: 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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/AMPContainerSelect.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global, React) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return AccountCreate; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 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/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_util_tracking__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Tag Manager Account Create 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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction AccountCreate() {\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getAccounts');\n  });\n  var hasResolvedGetUser = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_USER\"]).hasFinishedResolution('getUser');\n  });\n  var createAccountURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getServiceURL({\n      path: 'admin/accounts/create'\n    });\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]),\n    resetAccounts = _useDispatch.resetAccounts;\n  var refetchAccountsHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    resetAccounts();\n  }, [resetAccounts]);\n  var createAccountHandler = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_tagmanager\"), 'create_account');\n\n    // Need to use window.open for this to allow for stubbing in E2E.\n    global.window.open(createAccountURL, '_blank');\n  }, [createAccountURL, viewContext]);\n  if (!hasResolvedAccounts || !hasResolvedGetUser) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"ProgressBar\"], null);\n  }\n  return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    moduleSlug: \"tagmanager\",\n    storeName: _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]\n  }), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('To create a new account, click the button below which will open the Google Tag Manager account creation screen in a new window.', 'google-site-kit')), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Once completed, click the link below to re-fetch your accounts to continue.', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__action\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: createAccountHandler\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Create an account', 'google-site-kit')), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__sub-action\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Button\"], {\n    onClick: refetchAccountsHandler,\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Re-fetch My Account', 'google-site-kit')))));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../node_modules/webpack/buildin/global.js */ \"../node_modules/webpack/buildin/global.js\"), __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/modules/tagmanager/components/common/AccountCreate.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/AccountSelect.js":
/*!******************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/AccountSelect.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 AccountSelect; });\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/* 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 _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_util_tracking__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Tag Manager Account Select 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 AccountSelect(_ref) {\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAccounts();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getAccounts');\n  });\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]),\n    selectAccount = _useDispatch.selectAccount;\n  var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, item) {\n    var newAccountID = item.dataset.value;\n    if (accountID !== newAccountID) {\n      var eventAction = newAccountID === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_CREATE\"] ? 'change_account_new' : 'change_account';\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_tagmanager\"), eventAction);\n      selectAccount(newAccountID);\n    }\n  }, [accountID, selectAccount, viewContext]);\n  if (!hasResolvedAccounts) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"ProgressBar\"], {\n      small: true\n    });\n  }\n  if (hasModuleAccess === false) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Select\"], {\n      className: \"googlesitekit-tagmanager__select-account\",\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Account', 'google-site-kit'),\n      value: accountID,\n      enhanced: true,\n      outlined: true,\n      disabled: true\n    }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Option\"], {\n      value: accountID\n    }, accountID));\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Select\"], {\n    className: \"googlesitekit-tagmanager__select-account\",\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Account', 'google-site-kit'),\n    value: accountID,\n    onEnhancedChange: onChange,\n    enhanced: true,\n    outlined: true\n  }, (accounts || []).concat({\n    accountId: _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"ACCOUNT_CREATE\"],\n    // eslint-disable-line sitekit/acronym-case\n    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Set up a new account', 'google-site-kit')\n  }).map(function (_ref2 // eslint-disable-line sitekit/acronym-case\n  ) {\n    var accountId = _ref2.accountId,\n      name = _ref2.name;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Option\"], {\n      key: accountId // eslint-disable-line sitekit/acronym-case\n      ,\n      value: accountId // eslint-disable-line sitekit/acronym-case\n    }, name);\n  }));\n}\nAccountSelect.propTypes = {\n  hasModuleAccess: 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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/AccountSelect.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/ContainerNameTextField.js":
/*!***************************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/ContainerNameTextField.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 ContainerNameTextField; });\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 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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);\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_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_components_AccessibleWarningIcon__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/AccessibleWarningIcon */ \"./js/components/AccessibleWarningIcon.js\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/tagmanager/util */ \"./js/modules/tagmanager/util/index.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n/**\n * ContainerNameTextField 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\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\nfunction ContainerNameTextField(_ref) {\n  var label = _ref.label,\n    name = _ref.name;\n  var containers = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useSelect\"])(function (select) {\n    var accountID = select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getAccountID();\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getContainers(accountID);\n  });\n  var containerName = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"FORM_SETUP\"], name);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"useCallback\"])(function (_ref2) {\n    var currentTarget = _ref2.currentTarget;\n    setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"FORM_SETUP\"], _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, name, currentTarget.value));\n  }, [name, setValues]);\n  var isUniqueName = Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_10__[\"isUniqueContainerName\"])(containerName, containers);\n  var helperText = containerName && !isUniqueName ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__[\"__\"])('A container with this name already exists', 'google-site-kit') : false;\n  var trailingIcon = containerName && !isUniqueName ? /*#__PURE__*/React.createElement(\"span\", {\n    className: \"googlesitekit-text-field-icon--error\"\n  }, /*#__PURE__*/React.createElement(_js_components_AccessibleWarningIcon__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null)) : false;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-tagmanager-containername', \"googlesitekit-tagmanager-\".concat(name))\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_9__[\"TextField\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()({\n      'mdc-text-field--error': !containerName || !isUniqueName\n    }),\n    label: label,\n    helperText: helperText,\n    trailingIcon: trailingIcon,\n    id: name,\n    name: name,\n    value: containerName,\n    onChange: onChange,\n    outlined: true\n  }));\n}\nContainerNameTextField.propTypes = {\n  label: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string.isRequired,\n  name: prop_types__WEBPACK_IMPORTED_MODULE_2___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/modules/tagmanager/components/common/ContainerNameTextField.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/ContainerNames.js":
/*!*******************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/ContainerNames.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 ContainerNames; });\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 _AMPContainerNameTextField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AMPContainerNameTextField */ \"./js/modules/tagmanager/components/common/AMPContainerNameTextField.js\");\n/* harmony import */ var _WebContainerNameTextField__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./WebContainerNameTextField */ \"./js/modules/tagmanager/components/common/WebContainerNameTextField.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n\n/**\n * Tag Manager container names 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\nfunction ContainerNames() {\n  var containerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainerID();\n  });\n  var ampContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getAMPContainerID();\n  });\n  if (containerID !== _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTAINER_CREATE\"] && ampContainerID !== _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTAINER_CREATE\"]) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--collapsed\"\n  }, containerID === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTAINER_CREATE\"] && /*#__PURE__*/React.createElement(_WebContainerNameTextField__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null), ampContainerID === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTAINER_CREATE\"] && /*#__PURE__*/React.createElement(_AMPContainerNameTextField__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null));\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29tcG9uZW50cy9jb21tb24vQ29udGFpbmVyTmFtZXMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29tcG9uZW50cy9jb21tb24vQ29udGFpbmVyTmFtZXMuanM/MjcwOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRhZyBNYW5hZ2VyIGNvbnRhaW5lciBuYW1lcyBjb21wb25lbnQuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2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js/modules/tagmanager/components/common/ContainerSelect.js":
/*!********************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/ContainerSelect.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 ContainerSelect; });\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_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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__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_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/tagmanager/util */ \"./js/modules/tagmanager/util/index.js\");\n\n\n\n/**\n * Container Select 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\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction ContainerSelect(_ref) {\n  var containers = _ref.containers,\n    className = _ref.className,\n    value = _ref.value,\n    props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"containers\", \"className\", \"value\"]);\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getAccounts');\n  });\n  var hasResolvedContainers = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_7__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getContainers', [accountID]);\n  });\n  if (!hasResolvedAccounts || !hasResolvedContainers) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"ProgressBar\"], {\n      small: true\n    });\n  }\n  return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Select\"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('googlesitekit-tagmanager__select-container', className),\n    disabled: !Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_9__[\"isValidAccountID\"])(accountID),\n    value: value,\n    enhanced: true,\n    outlined: true\n  }, props), (containers || []).concat({\n    // eslint-disable-next-line sitekit/acronym-case\n    publicId: _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTAINER_CREATE\"],\n    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Set up a new container', 'google-site-kit')\n  }).map(function (_ref2 // eslint-disable-line sitekit/acronym-case\n  ) {\n    var publicId = _ref2.publicId,\n      name = _ref2.name,\n      containerId = _ref2.containerId;\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_6__[\"Option\"], {\n      key: publicId // eslint-disable-line sitekit/acronym-case\n      ,\n      value: publicId // eslint-disable-line sitekit/acronym-case\n      ,\n      \"data-internal-id\": containerId // eslint-disable-line sitekit/acronym-case\n    }, publicId === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTAINER_CREATE\"] // eslint-disable-line sitekit/acronym-case\n    ? name : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"sprintf\"])(/* translators: 1: container name, 2: container ID */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"_x\"])('%1$s (%2$s)', 'Tag Manager container name and ID', 'google-site-kit'), name, publicId // eslint-disable-line sitekit/acronym-case\n    ));\n  }));\n}\nContainerSelect.propTypes = {\n  containers: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.object)\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/modules/tagmanager/components/common/ContainerSelect.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/FormInstructions.js":
/*!*********************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/FormInstructions.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 FormInstructions; });\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_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n\n/**\n * Tag Manager Form Instructions 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 * Internal dependencies\n */\n\n\n\n\n\n\nfunction FormInstructions(_ref) {\n  var isSetup = _ref.isSetup;\n  var isSecondaryAMP = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_4__[\"CORE_SITE\"]).isSecondaryAMP();\n  });\n  var analyticsModuleAvailable = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).isModuleAvailable(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var analyticsModuleActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_MODULES\"]).isModuleActive(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var currentGTMGoogleTagID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getCurrentGTMGoogleTagID();\n  });\n\n  // If the Analytics module is not active, and the selected container has a valid Google Tag ID,\n  // then recommend continuing with Analytics setup.\n  if (analyticsModuleAvailable && !analyticsModuleActive && currentGTMGoogleTagID) {\n    return /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Looks like you may be using Google Analytics within your Google Tag Manager configuration. Activate the Google Analytics module in Site Kit to see relevant insights in your dashboard.', 'google-site-kit'));\n  }\n  if (isSecondaryAMP) {\n    return /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null, isSetup ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Looks like your site is using paired AMP. Please select your Tag Manager account and relevant containers below. You can change these later in your settings.', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Looks like your site is using paired AMP. Please select your Tag Manager account and relevant containers below.', 'google-site-kit'));\n  }\n  return /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null, isSetup ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Please select your Tag Manager account and container below. You can change these later in your settings.', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Please select your Tag Manager account and container below', 'google-site-kit'));\n}\nFormInstructions.propTypes = {\n  isSetup: 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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/FormInstructions.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/TagCheckProgress.js":
/*!*********************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/TagCheckProgress.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 TagCheckProgress; });\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/* 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/* 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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n\n/**\n * Tag Check Progress Loader component.\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 * WordPress dependencies\n */\n\n\n/**\n * Internal dependencies\n */\n\n\n\nfunction TagCheckProgress(_ref) {\n  var className = _ref.className;\n  var isResolvingLiveContainerVersion = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    var accountID = select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getAccountID();\n    var internalContainerID = select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getInternalContainerID();\n    var internalAMPContainerID = select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getInternalAMPContainerID();\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).isResolving('getLiveContainerVersion', [accountID, internalContainerID]) || select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).isResolving('getLiveContainerVersion', [accountID, internalAMPContainerID]);\n  });\n  if (!isResolvingLiveContainerVersion) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(className)\n  }, /*#__PURE__*/React.createElement(\"small\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__[\"__\"])('Checking tags…', 'google-site-kit')), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_5__[\"ProgressBar\"], {\n    small: true,\n    compress: true\n  }));\n}\nTagCheckProgress.propTypes = {\n  className: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.string\n};\nTagCheckProgress.defaultProps = {\n  className: ''\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29tcG9uZW50cy9jb21tb24vVGFnQ2hlY2tQcm9ncmVzcy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvdGFnbWFuYWdlci9jb21wb25lbnRzL2NvbW1vbi9UYWdDaGVja1Byb2dyZXNzLmpzP2RkZTciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUYWcgQ2hlY2sgUHJvZ3Jlc3MgTG9hZGVy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dBO0FBR0E7QUFVQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFBQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/TagCheckProgress.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/UseSnippetSwitch.js":
/*!*********************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/UseSnippetSwitch.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 UseSnippetSwitch; });\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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Tag Manager Use Snippet Switch 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 UseSnippetSwitch(_ref) {\n  var description = _ref.description;\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getUseSnippet();\n  });\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"])();\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]),\n    setUseSnippet = _useDispatch.setUseSnippet;\n  var onChange = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function () {\n    var newUseSnippet = !useSnippet;\n    setUseSnippet(newUseSnippet);\n    Object(_js_util__WEBPACK_IMPORTED_MODULE_6__[\"trackEvent\"])(\"\".concat(viewContext, \"_tagmanager\"), newUseSnippet ? 'enable_tag' : 'disable_tag');\n  }, [setUseSnippet, useSnippet, viewContext]);\n  if (useSnippet === undefined) {\n    return null;\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-tagmanager-usesnippet\"\n  }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"Switch\"], {\n    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Let Site Kit place code on your site', 'google-site-kit'),\n    checked: useSnippet,\n    onClick: onChange,\n    hideLabel: false\n  }), description);\n}\nUseSnippetSwitch.propTypes = {\n  description: prop_types__WEBPACK_IMPORTED_MODULE_1___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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29tcG9uZW50cy9jb21tb24vVXNlU25pcHBldFN3aXRjaC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvdGFnbWFuYWdlci9jb21wb25lbnRzL2NvbW1vbi9Vc2VTbmlwcGV0U3dpdGNoLmpzP2E4NzgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqX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QUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBR0E7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFJQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUVBO0FBSUE7QUFDQTtBQUNBO0FBQUE7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/UseSnippetSwitch.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/WebContainerNameTextField.js":
/*!******************************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/WebContainerNameTextField.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 WebContainerNameTextField; });\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 react_use__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\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 _wordpress_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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 _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\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_forms_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _ContainerNameTextField__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ContainerNameTextField */ \"./js/modules/tagmanager/components/common/ContainerNameTextField.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n/**\n * WebContainerNameTextField 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\n\nfunction WebContainerNameTextField() {\n  var containerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getContainerID();\n  });\n  var siteName = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getSiteName();\n  });\n  var isAMP = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isAMP();\n  });\n  var referenceSiteURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).getReferenceSiteURL();\n  });\n  var initialContainerName = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_SETUP\"], 'containerName');\n  var containerName = siteName;\n  if (!containerName && Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_3__[\"isURL\"])(referenceSiteURL)) {\n    containerName = new URL(referenceSiteURL).hostname;\n  }\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_7__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  Object(react_use__WEBPACK_IMPORTED_MODULE_1__[\"useMount\"])(function () {\n    if (!initialContainerName) {\n      setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"FORM_SETUP\"], {\n        containerName: containerName\n      });\n    }\n  });\n  if (containerID !== _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CONTAINER_CREATE\"]) {\n    return null;\n  }\n  var label = isAMP ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Web Container Name', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Container Name', 'google-site-kit');\n  return /*#__PURE__*/React.createElement(_ContainerNameTextField__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    name: \"containerName\",\n    label: label\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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/WebContainerNameTextField.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/WebContainerSelect.js":
/*!***********************************************************************!*\
  !*** ./js/modules/tagmanager/components/common/WebContainerSelect.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 WebContainerSelect; });\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/* 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 _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\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 _ContainerSelect__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ContainerSelect */ \"./js/modules/tagmanager/components/common/ContainerSelect.js\");\n/* harmony import */ var _js_util_tracking__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/util/tracking */ \"./js/util/tracking/index.js\");\n/* harmony import */ var _js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/hooks/useViewContext */ \"./js/hooks/useViewContext.js\");\n\n/**\n * Tag Manager Web Container Select 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\n\n\nfunction WebContainerSelect(_ref) {\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var viewContext = Object(_js_hooks_useViewContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var containerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getContainerID();\n  });\n  var containers = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    if (hasModuleAccess === false) {\n      return null;\n    }\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getWebContainers(accountID);\n  });\n  var isAMP = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_SITE\"]).isAMP();\n  });\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]),\n    setContainerID = _useDispatch.setContainerID,\n    setInternalContainerID = _useDispatch.setInternalContainerID;\n  var onSelect = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useCallback\"])(function (index, item) {\n    var _item$dataset = item.dataset,\n      newContainerID = _item$dataset.value,\n      newInternalContainerID = _item$dataset.internalId;\n    if (containerID !== newContainerID) {\n      var eventAction = newContainerID === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"CONTAINER_CREATE\"] ? 'change_container_new' : 'change_container';\n      Object(_js_util_tracking__WEBPACK_IMPORTED_MODULE_8__[\"trackEvent\"])(\"\".concat(viewContext, \"_tagmanager\"), eventAction);\n      setContainerID(newContainerID);\n      setInternalContainerID(newInternalContainerID || '');\n    }\n  }, [containerID, setContainerID, setInternalContainerID, viewContext]);\n  var label = isAMP ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Web Container', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Container', 'google-site-kit');\n  if (hasModuleAccess === false) {\n    return /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Select\"], {\n      className: \"googlesitekit-tagmanager__select-container--web\",\n      label: label,\n      value: containerID,\n      enhanced: true,\n      outlined: true,\n      disabled: true\n    }, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_3__[\"Option\"], {\n      value: containerID\n    }, containerID));\n  }\n  return /*#__PURE__*/React.createElement(_ContainerSelect__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    className: \"googlesitekit-tagmanager__select-container--web\",\n    label: label,\n    value: containerID,\n    containers: containers,\n    onEnhancedChange: onSelect\n  });\n}\nWebContainerSelect.propTypes = {\n  hasModuleAccess: 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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/WebContainerSelect.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/common/index.js":
/*!**********************************************************!*\
  !*** ./js/modules/tagmanager/components/common/index.js ***!
  \**********************************************************/
/*! exports provided: AccountCreate, AccountSelect, AMPContainerNameTextField, AMPContainerSelect, ContainerNames, ContainerNameTextField, ContainerSelect, FormInstructions, TagCheckProgress, UseSnippetSwitch, WebContainerNameTextField, WebContainerSelect */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _AccountCreate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccountCreate */ \"./js/modules/tagmanager/components/common/AccountCreate.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AccountCreate\", function() { return _AccountCreate__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _AccountSelect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AccountSelect */ \"./js/modules/tagmanager/components/common/AccountSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AccountSelect\", function() { return _AccountSelect__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _AMPContainerNameTextField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AMPContainerNameTextField */ \"./js/modules/tagmanager/components/common/AMPContainerNameTextField.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AMPContainerNameTextField\", function() { return _AMPContainerNameTextField__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _AMPContainerSelect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AMPContainerSelect */ \"./js/modules/tagmanager/components/common/AMPContainerSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AMPContainerSelect\", function() { return _AMPContainerSelect__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _ContainerNames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ContainerNames */ \"./js/modules/tagmanager/components/common/ContainerNames.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerNames\", function() { return _ContainerNames__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _ContainerNameTextField__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ContainerNameTextField */ \"./js/modules/tagmanager/components/common/ContainerNameTextField.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerNameTextField\", function() { return _ContainerNameTextField__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _ContainerSelect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ContainerSelect */ \"./js/modules/tagmanager/components/common/ContainerSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ContainerSelect\", function() { return _ContainerSelect__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _FormInstructions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./FormInstructions */ \"./js/modules/tagmanager/components/common/FormInstructions.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FormInstructions\", function() { return _FormInstructions__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _TagCheckProgress__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TagCheckProgress */ \"./js/modules/tagmanager/components/common/TagCheckProgress.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TagCheckProgress\", function() { return _TagCheckProgress__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n/* harmony import */ var _UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./UseSnippetSwitch */ \"./js/modules/tagmanager/components/common/UseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UseSnippetSwitch\", function() { return _UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; });\n\n/* harmony import */ var _WebContainerNameTextField__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./WebContainerNameTextField */ \"./js/modules/tagmanager/components/common/WebContainerNameTextField.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebContainerNameTextField\", function() { return _WebContainerNameTextField__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; });\n\n/* harmony import */ var _WebContainerSelect__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./WebContainerSelect */ \"./js/modules/tagmanager/components/common/WebContainerSelect.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"WebContainerSelect\", function() { return _WebContainerSelect__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/**\n * Tag Manager common 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\n\n\n\n\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21h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yBXZWJDb250YWluZXJTZWxlY3QgfSBmcm9tICcuL1dlYkNvbnRhaW5lclNlbGVjdCc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/common/index.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/settings/SettingsEdit.js":
/*!*******************************************************************!*\
  !*** ./js/modules/tagmanager/components/settings/SettingsEdit.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 SettingsEdit; });\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 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 _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/hooks/useExistingTagEffect */ \"./js/modules/tagmanager/hooks/useExistingTagEffect.js\");\n/* harmony import */ var _js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/tagmanager/components/common */ \"./js/modules/tagmanager/components/common/index.js\");\n/* harmony import */ var _SettingsForm__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SettingsForm */ \"./js/modules/tagmanager/components/settings/SettingsForm.js\");\n\n/**\n * Tag Manager Settings Edit 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\n\n\n\nfunction SettingsEdit() {\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getAccounts();\n  }) || [];\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var hasExistingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).hasExistingTag();\n  });\n  var isDoingSubmitChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).isDoingSubmitChanges();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getAccounts');\n  });\n  var hasTagManagerAccess = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).hasModuleOwnershipOrAccess(_js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_TAGMANAGER\"]);\n  });\n  var isCreateAccount = _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"ACCOUNT_CREATE\"] === accountID;\n\n  // Set useSnippet to `false` if there is an existing tag and it is the same as the selected container ID.\n  Object(_js_modules_tagmanager_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_6__[\"default\"])();\n  var viewComponent;\n  // Here we also check for `hasResolvedAccounts` to prevent showing a different case below\n  // when the component initially loads and has yet to start fetching accounts.\n  if (isDoingSubmitChanges || !hasResolvedAccounts || hasTagManagerAccess === undefined || hasExistingTag === undefined) {\n    viewComponent = /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_2__[\"ProgressBar\"], null);\n  } else if (isCreateAccount || !(accounts === null || accounts === void 0 ? void 0 : accounts.length)) {\n    viewComponent = /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_7__[\"AccountCreate\"], null);\n  } else {\n    viewComponent = /*#__PURE__*/React.createElement(_SettingsForm__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      hasModuleAccess: hasTagManagerAccess\n    });\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module googlesitekit-setup-module--tagmanager\"\n  }, viewComponent);\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/modules/tagmanager/components/settings/SettingsEdit.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/settings/SettingsForm.js":
/*!*******************************************************************!*\
  !*** ./js/modules/tagmanager/components/settings/SettingsForm.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 SettingsForm; });\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_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/components/common */ \"./js/modules/tagmanager/components/common/index.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./SettingsUseSnippetSwitch */ \"./js/modules/tagmanager/components/settings/SettingsUseSnippetSwitch.js\");\n/* harmony import */ var _js_components_Notice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/Notice */ \"./js/components/Notice/index.js\");\n/* harmony import */ var _js_components_settings_SettingsGroup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/settings/SettingsGroup */ \"./js/components/settings/SettingsGroup.js\");\n/* harmony import */ var _js_components_google_tag_gateway_GoogleTagGatewayToggle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/google-tag-gateway/GoogleTagGatewayToggle */ \"./js/components/google-tag-gateway/GoogleTagGatewayToggle.js\");\n/* harmony import */ var _js_hooks_useFeature__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/hooks/useFeature */ \"./js/hooks/useFeature.js\");\n\n/**\n * Tag Manager Settings Form 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\n\n\n\n\n\n\nfunction SettingsForm(_ref) {\n  var _module$owner;\n  var hasModuleAccess = _ref.hasModuleAccess;\n  var gtgEnabled = Object(_js_hooks_useFeature__WEBPACK_IMPORTED_MODULE_13__[\"useFeature\"])('googleTagGateway');\n  var module = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_MODULES\"]).getModule(_js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_TAGMANAGER\"]);\n  });\n  var formattedOwnerName = (module === null || module === void 0 ? void 0 : (_module$owner = module.owner) === null || _module$owner === void 0 ? void 0 : _module$owner.login) ? \"<strong>\".concat(module.owner.login, \"</strong>\") : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Another admin', 'google-site-kit');\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-tagmanager-settings-fields\"\n  }, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    moduleSlug: \"tagmanager\",\n    storeName: _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]\n  }), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__[\"FormInstructions\"], null), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__[\"AccountSelect\"], {\n    hasModuleAccess: hasModuleAccess\n  }), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__[\"WebContainerSelect\"], {\n    hasModuleAccess: hasModuleAccess\n  }), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__[\"AMPContainerSelect\"], {\n    hasModuleAccess: hasModuleAccess\n  }), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__[\"TagCheckProgress\"], null)), hasModuleAccess === false && /*#__PURE__*/React.createElement(_js_components_Notice__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    className: \"googlesitekit-notice--bottom-margin\",\n    type: _js_components_Notice__WEBPACK_IMPORTED_MODULE_10__[\"default\"].TYPES.INFO,\n    description: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: 1: module owner's name, 2: module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('%1$s configured %2$s and you don’t have access to this %2$s account. Contact them to share access or change the %2$s account.', 'google-site-kit'), formattedOwnerName, module === null || module === void 0 ? void 0 : module.name), {\n      strong: /*#__PURE__*/React.createElement(\"strong\", null)\n    })\n  }), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_4__[\"ContainerNames\"], null), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs googlesitekit-setup-module__inputs--multiline\"\n  }, /*#__PURE__*/React.createElement(_SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null)), gtgEnabled && /*#__PURE__*/React.createElement(_js_components_settings_SettingsGroup__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Improve your measurement', 'google-site-kit')\n  }, /*#__PURE__*/React.createElement(_js_components_google_tag_gateway_GoogleTagGatewayToggle__WEBPACK_IMPORTED_MODULE_12__[\"default\"], null)));\n}\nSettingsForm.propTypes = {\n  hasModuleAccess: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool\n};\nSettingsForm.defaultProps = {\n  hasModuleAccess: true\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/modules/tagmanager/components/settings/SettingsForm.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/settings/SettingsUseSnippetSwitch.js":
/*!*******************************************************************************!*\
  !*** ./js/modules/tagmanager/components/settings/SettingsUseSnippetSwitch.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 SettingsUseSnippetSwitch; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_modules_tagmanager_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/components/common/UseSnippetSwitch */ \"./js/modules/tagmanager/components/common/UseSnippetSwitch.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n\n/**\n * Tag Manager Settings Use Snippet Switch component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction SettingsUseSnippetSwitch() {\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getUseSnippet();\n  });\n  var primaryContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getPrimaryContainerID();\n  });\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getExistingTag();\n  });\n  var description;\n  if (existingTag) {\n    description = primaryContainerID === existingTag ? /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('A tag %s for the selected container already exists on the site', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Consider removing the existing tag to avoid loading both tags on your site', 'google-site-kit'))) : /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('An existing tag %s was found on the page', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('If you prefer to collect data using that existing tag, please select the corresponding account and property above', 'google-site-kit')));\n  } else {\n    description = useSnippet ? /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit will add the code automatically', 'google-site-kit')) : /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Site Kit will not add the code to your site', 'google-site-kit'));\n  }\n  return /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    description: description\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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/settings/SettingsUseSnippetSwitch.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/settings/SettingsView.js":
/*!*******************************************************************!*\
  !*** ./js/modules/tagmanager/components/settings/SettingsView.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 SettingsView; });\n/* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ \"../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js\");\n/* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_taggedTemplateLiteral__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 _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_DisplaySetting__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/components/DisplaySetting */ \"./js/components/DisplaySetting.js\");\n/* harmony import */ var _js_components_Link__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/components/Link */ \"./js/components/Link.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/VisuallyHidden */ \"./js/components/VisuallyHidden.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_util_escape_uri__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/util/escape-uri */ \"./js/util/escape-uri.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n/* harmony import */ var _js_components_Typography_P__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_features__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/features */ \"./js/features/index.js\");\n/* harmony import */ var _js_components_settings_SettingsStatuses__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/components/settings/SettingsStatuses */ \"./js/components/settings/SettingsStatuses.js\");\n\n\nfunction _templateObject2() {\n  var data = _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0___default()([\"/container/accounts/\", \"/containers/\", \"\"]);\n  _templateObject2 = function _templateObject2() {\n    return data;\n  };\n  return data;\n}\nfunction _templateObject() {\n  var data = _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0___default()([\"/container/accounts/\", \"/containers/\", \"\"]);\n  _templateObject = function _templateObject() {\n    return data;\n  };\n  return data;\n}\n/**\n * Tag Manager Settings View 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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\nfunction SettingsView() {\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var containerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getContainerID();\n  });\n  var ampContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getAMPContainerID();\n  });\n  var useSnippet = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getUseSnippet();\n  });\n  var hasExistingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).hasExistingTag();\n  });\n  var isAMP = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).isAMP();\n  });\n  var isSecondaryAMP = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).isSecondaryAMP();\n  });\n  var internalContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getInternalContainerID();\n  });\n  var internalAMPContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getInternalAMPContainerID();\n  });\n  var editWebContainerURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getServiceURL({\n      path: Object(_js_util_escape_uri__WEBPACK_IMPORTED_MODULE_10__[\"escapeURI\"])(_templateObject(), accountID, internalContainerID)\n    });\n  });\n  var editAMPContainerURL = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]).getServiceURL({\n      path: Object(_js_util_escape_uri__WEBPACK_IMPORTED_MODULE_10__[\"escapeURI\"])(_templateObject2(), accountID, internalAMPContainerID)\n    });\n  });\n  var googleTagGatewayEnabled = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return Object(_js_features__WEBPACK_IMPORTED_MODULE_13__[\"isFeatureEnabled\"])('googleTagGateway') && select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).isGoogleTagGatewayEnabled() && select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).isGTGHealthy() && select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_8__[\"CORE_SITE\"]).isScriptAccessEnabled();\n  });\n  return /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    moduleSlug: \"tagmanager\",\n    storeName: _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULES_TAGMANAGER\"]\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Account', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    value: accountID\n  }))), (!isAMP || isSecondaryAMP) && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, isSecondaryAMP && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Web Container ID', 'google-site-kit')), !isSecondaryAMP && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Container ID', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    value: containerID\n  }))), editWebContainerURL && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny\"\n  }, /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    href: editWebContainerURL,\n    external: true\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Appropriate container term. */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Edit <VisuallyHidden>%s </VisuallyHidden>in Tag Manager', 'google-site-kit'), isSecondaryAMP ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('web container', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('container', 'google-site-kit')), {\n    VisuallyHidden: /*#__PURE__*/React.createElement(_js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null)\n  }))))), isAMP && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"Fragment\"], null, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, isSecondaryAMP && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('AMP Container ID', 'google-site-kit')), !isSecondaryAMP && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Container ID', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, /*#__PURE__*/React.createElement(_js_components_DisplaySetting__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    value: ampContainerID\n  }))), editAMPContainerURL && /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--data-only\"\n  }, /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data googlesitekit-settings-module__meta-item-data--tiny\"\n  }, /*#__PURE__*/React.createElement(_js_components_Link__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    href: editAMPContainerURL,\n    external: true\n  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__[\"createInterpolateElement\"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"sprintf\"])(/* translators: %s: Appropriate container term. */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Edit <VisuallyHidden>%s </VisuallyHidden>in Tag Manager', 'google-site-kit'), isSecondaryAMP ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('AMP container', 'google-site-kit') : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('container', 'google-site-kit')), {\n    VisuallyHidden: /*#__PURE__*/React.createElement(_js_components_VisuallyHidden__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null)\n  })))))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-items\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-settings-module__meta-item\"\n  }, /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    as: \"h5\",\n    size: \"medium\",\n    type: \"label\",\n    className: \"googlesitekit-settings-module__meta-item-type\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Tag Manager Code Snippet', 'google-site-kit')), /*#__PURE__*/React.createElement(\"p\", {\n    className: \"googlesitekit-settings-module__meta-item-data\"\n  }, useSnippet && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Snippet is inserted', 'google-site-kit')), !useSnippet && /*#__PURE__*/React.createElement(\"span\", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Snippet is not inserted', 'google-site-kit'))), hasExistingTag && /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    className: \"googlesitekit-margin-bottom-0\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Placing two tags at the same time is not recommended.', 'google-site-kit')))), /*#__PURE__*/React.createElement(_js_components_settings_SettingsStatuses__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    statuses: [{\n      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"__\"])('Google tag gateway for advertisers', 'google-site-kit'),\n      status: googleTagGatewayEnabled\n    }]\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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/settings/SettingsView.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/settings/index.js":
/*!************************************************************!*\
  !*** ./js/modules/tagmanager/components/settings/index.js ***!
  \************************************************************/
/*! exports provided: SettingsEdit, SettingsForm, SettingsUseSnippetSwitch, SettingsView */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SettingsEdit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SettingsEdit */ \"./js/modules/tagmanager/components/settings/SettingsEdit.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsEdit\", function() { return _SettingsEdit__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _SettingsForm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SettingsForm */ \"./js/modules/tagmanager/components/settings/SettingsForm.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsForm\", function() { return _SettingsForm__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SettingsUseSnippetSwitch */ \"./js/modules/tagmanager/components/settings/SettingsUseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsUseSnippetSwitch\", function() { return _SettingsUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SettingsView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SettingsView */ \"./js/modules/tagmanager/components/settings/SettingsView.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SettingsView\", function() { return _SettingsView__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/**\n * Tag Manager settings 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\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29tcG9uZW50cy9zZXR0aW5ncy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvdGFnbWFuYWdlci9jb21wb25lbnRzL3NldHRpbmdzL2luZGV4LmpzPzU3OGUiXSwic291cm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gJy4vU2V0dGluZ3NGb3JtJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgU2V0dGluZ3NVc2VTbmlwcGV0U3dpdGNoIH0gZnJvbSAnLi9TZXR0aW5nc1VzZVNuaXBwZXRTd2l0Y2gnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBTZXR0aW5nc1ZpZXcgfSBmcm9tICcuL1NldHRpbmdzVmlldyc7XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/settings/index.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/setup/SetupErrorNotice.js":
/*!********************************************************************!*\
  !*** ./js/modules/tagmanager/components/setup/SetupErrorNotice.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 SetupErrorNotice; });\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_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/components/StoreErrorNotices */ \"./js/components/StoreErrorNotices.js\");\n/* harmony import */ var _js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/components/ErrorNotice */ \"./js/components/ErrorNotice.js\");\n\n/**\n * Tag Manager Setup Error Notice 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\n\n\nfunction SetupErrorNotice() {\n  var analyticsModuleAvailable = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).isModuleAvailable(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var analyticsErrors = [\n  // Check if activating Analytics failed.\n  Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_3__[\"CORE_MODULES\"]).getErrorForAction('activateModule', [_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_ANALYTICS_4\"]]);\n  }),\n  // Check if saving Analytics settings failed.\n  Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    if (!analyticsModuleAvailable) {\n      return false;\n    }\n    var settings = select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getSettings();\n    return select(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_ANALYTICS_4\"]).getErrorForAction('saveSettings', [settings]);\n  })].filter(Boolean);\n  if (analyticsErrors.length) {\n    return analyticsErrors.map(function (error) {\n      return /*#__PURE__*/React.createElement(_js_components_ErrorNotice__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n        key: error === null || error === void 0 ? void 0 : error.message,\n        error: error\n      });\n    });\n  }\n  return /*#__PURE__*/React.createElement(_js_components_StoreErrorNotices__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    moduleSlug: \"tagmanager\",\n    storeName: _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_TAGMANAGER\"]\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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0XHRcdG1vZHVsZVNsdWc9XCJ0YWdtYW5hZ2VyXCJcblx0XHRcdHN0b3JlTmFtZT17IE1PRFVMRVNfVEFHTUFOQUdFUiB9XG5cdFx0Lz5cblx0KTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUlBO0FBR0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFFQTtBQUVBO0FBRUE7QUFDQTtBQUFBO0FBR0E7QSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/setup/SetupErrorNotice.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/setup/SetupForm.js":
/*!*************************************************************!*\
  !*** ./js/modules/tagmanager/components/setup/SetupForm.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 SetupForm; });\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_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_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 _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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/constants */ \"./js/googlesitekit/modules/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/js/googlesitekit/datastore/location/constants */ \"./js/googlesitekit/datastore/location/constants.js\");\n/* harmony import */ var _js_util_errors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/util/errors */ \"./js/util/errors.js\");\n/* harmony import */ var _js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/googlesitekit/api/cache */ \"./js/googlesitekit/api/cache.js\");\n/* harmony import */ var _js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/tagmanager/components/common */ \"./js/modules/tagmanager/components/common/index.js\");\n/* harmony import */ var _SetupErrorNotice__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./SetupErrorNotice */ \"./js/modules/tagmanager/components/setup/SetupErrorNotice.js\");\n/* harmony import */ var _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./SetupUseSnippetSwitch */ \"./js/modules/tagmanager/components/setup/SetupUseSnippetSwitch.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/js/hooks/useFormValue */ \"./js/hooks/useFormValue.js\");\n\n\n\n\n/**\n * Tag Manager Setup Form 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\n\n\n\n\n\n\n\n\n\nfunction SetupForm(_ref) {\n  var finishSetup = _ref.finishSetup;\n  var canSubmitChanges = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).canSubmitChanges();\n  });\n  var currentGTMGoogleTagID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).getCurrentGTMGoogleTagID();\n  });\n  var analyticsModuleAvailable = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).isModuleAvailable(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_18__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var analyticsModuleActive = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).isModuleActive(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_18__[\"MODULE_SLUG_ANALYTICS_4\"]);\n  });\n  var hasEditScope = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_10__[\"CORE_USER\"]).hasScope(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"EDIT_SCOPE\"]);\n  });\n  // Only select the initial autosubmit + submitMode once from form state which will already be set if a snapshot was restored.\n  var initialAutoSubmit = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'autoSubmit');\n  var initialSubmitMode = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'submitMode');\n  var hasExistingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).hasExistingTag();\n  });\n  var submitInProgress = Object(_js_hooks_useFormValue__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'submitInProgress');\n  var isSaving = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).isDoingSubmitChanges() || select(_js_googlesitekit_datastore_location_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_LOCATION\"]).isNavigating() || submitInProgress;\n  });\n\n  // This flag is be used to determine whether to show the loading spinner\n  // within the \"Continue to Analytics setup\" button when setting up GTM with Analytics.\n  // It prevents the spinner from showing when the user opts to set up GTM without Analytics.\n  var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useState\"])(false),\n    _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n    isSavingWithAnalytics = _useState2[0],\n    setIsSavingWithAnalytics = _useState2[1];\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_FORMS\"]),\n    setValues = _useDispatch.setValues;\n  var _useDispatch2 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]),\n    activateModule = _useDispatch2.activateModule;\n  var _useDispatch3 = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_6__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]),\n    submitChanges = _useDispatch3.submitChanges;\n  var submitForm = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(/*#__PURE__*/_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {\n    var _ref3,\n      submitMode,\n      throwOnError,\n      _throwOnError,\n      _yield$activateModule,\n      response,\n      error,\n      _args2 = arguments;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _throwOnError = function _throwOnError3() {\n              _throwOnError = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(func) {\n                var _ref4, error;\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                        _context.next = 2;\n                        return func();\n                      case 2:\n                        _context.t0 = _context.sent;\n                        if (_context.t0) {\n                          _context.next = 5;\n                          break;\n                        }\n                        _context.t0 = {};\n                      case 5:\n                        _ref4 = _context.t0;\n                        error = _ref4.error;\n                        if (!error) {\n                          _context.next = 9;\n                          break;\n                        }\n                        throw error;\n                      case 9:\n                      case \"end\":\n                        return _context.stop();\n                    }\n                  }\n                }, _callee);\n              }));\n              return _throwOnError.apply(this, arguments);\n            };\n            throwOnError = function _throwOnError2(_x) {\n              return _throwOnError.apply(this, arguments);\n            };\n            _ref3 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, submitMode = _ref3.submitMode; // We'll use form state to persist the chosen submit choice\n            // in order to preserve support for auto-submit.\n            setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], {\n              submitMode: submitMode,\n              submitInProgress: true\n            });\n            _context2.prev = 4;\n            _context2.next = 7;\n            return throwOnError(function () {\n              return submitChanges();\n            });\n          case 7:\n            // If submitChanges was successful, disable autoSubmit (in case it was restored).\n            setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], {\n              autoSubmit: false\n            });\n\n            // If submitting with Analytics setup, and Analytics is not active,\n            // activate it, and navigate to its reauth/setup URL to proceed with its setup.\n            if (!(submitMode === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"SETUP_MODE_WITH_ANALYTICS\"] && !analyticsModuleActive)) {\n              _context2.next = 21;\n              break;\n            }\n            _context2.next = 11;\n            return activateModule(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_18__[\"MODULE_SLUG_ANALYTICS_4\"]);\n          case 11:\n            _yield$activateModule = _context2.sent;\n            response = _yield$activateModule.response;\n            error = _yield$activateModule.error;\n            if (!error) {\n              _context2.next = 16;\n              break;\n            }\n            throw error;\n          case 16:\n            _context2.next = 18;\n            return Object(_js_googlesitekit_api_cache__WEBPACK_IMPORTED_MODULE_14__[\"setItem\"])('module_setup', _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_18__[\"MODULE_SLUG_ANALYTICS_4\"], {\n              ttl: 300\n            });\n          case 18:\n            // Reauth/setup URL needs to come from async activateModule action to be fresh.\n            finishSetup(response.moduleReauthURL);\n            _context2.next = 22;\n            break;\n          case 21:\n            // If we got here, call finishSetup to navigate to the success screen.\n            finishSetup();\n          case 22:\n            _context2.next = 27;\n            break;\n          case 24:\n            _context2.prev = 24;\n            _context2.t0 = _context2[\"catch\"](4);\n            if (Object(_js_util_errors__WEBPACK_IMPORTED_MODULE_13__[\"isPermissionScopeError\"])(_context2.t0)) {\n              setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], {\n                autoSubmit: true\n              });\n            }\n          case 27:\n            // Mark the submit as no longer in progress in all cases.\n            setValues(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], {\n              submitInProgress: false\n            });\n          case 28:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2, null, [[4, 24]]);\n  })), [finishSetup, analyticsModuleActive, activateModule, submitChanges, setValues]);\n\n  // If the user lands back on this component with autoSubmit and the edit scope,\n  // resubmit the form.\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useEffect\"])(function () {\n    if (initialAutoSubmit && hasEditScope) {\n      submitForm({\n        submitMode: initialSubmitMode\n      });\n    }\n  }, [hasEditScope, initialAutoSubmit, submitForm, initialSubmitMode]);\n  var isSetupWithAnalytics = !!(currentGTMGoogleTagID && analyticsModuleAvailable && !analyticsModuleActive);\n\n  // Form submit behavior now varies based on which button is clicked.\n  // Only the main buttons will trigger the form submit so here we only handle the default action.\n  var onSubmit = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function (event) {\n    event.preventDefault();\n    var submitMode = isSetupWithAnalytics ? _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_8__[\"SETUP_MODE_WITH_ANALYTICS\"] : '';\n    submitForm({\n      submitMode: submitMode\n    });\n  }, [submitForm, isSetupWithAnalytics]);\n  // Click handler for secondary option when setting up with option to include Analytics.\n  var onSetupWithoutAnalytics = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"useCallback\"])(function () {\n    return submitForm();\n  }, [submitForm]);\n  return /*#__PURE__*/React.createElement(\"form\", {\n    className: \"googlesitekit-tagmanager-setup__form\",\n    onSubmit: onSubmit\n  }, /*#__PURE__*/React.createElement(_SetupErrorNotice__WEBPACK_IMPORTED_MODULE_16__[\"default\"], null), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__[\"FormInstructions\"], {\n    isSetup: true\n  }), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__inputs\"\n  }, /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__[\"AccountSelect\"], null), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__[\"WebContainerSelect\"], null), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__[\"AMPContainerSelect\"], null), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__[\"TagCheckProgress\"], null)), /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_15__[\"ContainerNames\"], null), hasExistingTag && /*#__PURE__*/React.createElement(_SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_17__[\"default\"], null), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__action\"\n  }, isSetupWithAnalytics && /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_3__[\"Fragment\"], null, /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"SpinnerButton\"], {\n    disabled: !canSubmitChanges,\n    isSaving: isSavingWithAnalytics && isSaving\n    // Show the spinner only when saving GA4 and GTM together.\n    ,\n    onClick: function onClick() {\n      return setIsSavingWithAnalytics(true);\n    }\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Continue to Analytics setup', 'google-site-kit')), /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"Button\"], {\n    className: \"googlesitekit-setup-module__sub-action\",\n    type: \"button\",\n    onClick: onSetupWithoutAnalytics,\n    disabled: !canSubmitChanges,\n    tertiary: true\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Complete setup without Analytics', 'google-site-kit'))), !isSetupWithAnalytics && /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_7__[\"SpinnerButton\"], {\n    disabled: !canSubmitChanges || isSaving,\n    isSaving: isSaving\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__[\"__\"])('Complete setup', 'google-site-kit'))));\n}\nSetupForm.propTypes = {\n  finishSetup: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func\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/modules/tagmanager/components/setup/SetupForm.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/setup/SetupMain.js":
/*!*************************************************************!*\
  !*** ./js/modules/tagmanager/components/setup/SetupMain.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 SetupMain; });\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 googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-components */ \"googlesitekit-components\");\n/* harmony import */ var googlesitekit_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _svg_graphics_tagmanager_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/svg/graphics/tagmanager.svg */ \"./svg/graphics/tagmanager.svg\");\n/* harmony import */ var _SetupForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SetupForm */ \"./js/modules/tagmanager/components/setup/SetupForm.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/tagmanager/hooks/useExistingTagEffect */ \"./js/modules/tagmanager/hooks/useExistingTagEffect.js\");\n/* harmony import */ var _js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/tagmanager/components/common */ \"./js/modules/tagmanager/components/common/index.js\");\n/* harmony import */ var _js_components_Typography__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/components/Typography */ \"./js/components/Typography/index.js\");\n\n/**\n * Tag Manager Main setup 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 * Internal dependencies\n */\n\n\n\n\n\n\n\n\nfunction SetupMain(_ref) {\n  var finishSetup = _ref.finishSetup;\n  var accounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_TAGMANAGER\"]).getAccounts();\n  });\n  var accountID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_TAGMANAGER\"]).getAccountID();\n  });\n  var hasExistingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_TAGMANAGER\"]).hasExistingTag();\n  });\n  var hasResolvedAccounts = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getAccounts');\n  });\n  var isCreateAccount = _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_7__[\"ACCOUNT_CREATE\"] === accountID;\n\n  // Set useSnippet to `false` if there is an existing tag and it is the same as the selected container ID.\n  Object(_js_modules_tagmanager_hooks_useExistingTagEffect__WEBPACK_IMPORTED_MODULE_8__[\"default\"])();\n  var viewComponent;\n  // Here we also check for `hasResolvedAccounts` to prevent showing a different case below\n  // when the component initially loads and has yet to start fetching accounts.\n  if (!hasResolvedAccounts || hasExistingTag === undefined) {\n    viewComponent = /*#__PURE__*/React.createElement(googlesitekit_components__WEBPACK_IMPORTED_MODULE_4__[\"ProgressBar\"], null);\n  } else if (isCreateAccount || !(accounts === null || accounts === void 0 ? void 0 : accounts.length)) {\n    viewComponent = /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common__WEBPACK_IMPORTED_MODULE_9__[\"AccountCreate\"], null);\n  } else {\n    viewComponent = /*#__PURE__*/React.createElement(_SetupForm__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      finishSetup: finishSetup\n    });\n  }\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module googlesitekit-setup-module--tagmanager\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__step\"\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__logo\"\n  }, /*#__PURE__*/React.createElement(_svg_graphics_tagmanager_svg__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    width: \"40\",\n    height: \"40\"\n  })), /*#__PURE__*/React.createElement(_js_components_Typography__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    as: \"h3\",\n    className: \"googlesitekit-setup-module__title\",\n    size: \"small\",\n    type: \"headline\"\n  }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__[\"_x\"])('Tag Manager', 'Service name', 'google-site-kit'))), /*#__PURE__*/React.createElement(\"div\", {\n    className: \"googlesitekit-setup-module__step\"\n  }, viewComponent));\n}\nSetupMain.propTypes = {\n  finishSetup: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func\n};\nSetupMain.defaultProps = {\n  finishSetup: function finishSetup() {}\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/modules/tagmanager/components/setup/SetupMain.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/setup/SetupUseSnippetSwitch.js":
/*!*************************************************************************!*\
  !*** ./js/modules/tagmanager/components/setup/SetupUseSnippetSwitch.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 SetupUseSnippetSwitch; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/components/Typography/P */ \"./js/components/Typography/P.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/components/common/UseSnippetSwitch */ \"./js/modules/tagmanager/components/common/UseSnippetSwitch.js\");\n\n/**\n * Tag Manager Setup Use Snippet Switch component.\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 * WordPress dependencies\n */\n\n\n\n/**\n * Internal dependencies\n */\n\n\n\n\nfunction SetupUseSnippetSwitch() {\n  var primaryContainerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getPrimaryContainerID();\n  });\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_2__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getExistingTag();\n  });\n  var description = primaryContainerID === existingTag ? /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('A tag %s for the selected container already exists on the site', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('Make sure you remove it if you want to place the same tag via Site Kit, otherwise they will be duplicated', 'google-site-kit'))) : /*#__PURE__*/React.createElement(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"sprintf\"])(/* translators: %s: existing tag ID */\n  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('An existing tag %s was found on the page', 'google-site-kit'), existingTag)), /*#__PURE__*/React.createElement(_js_components_Typography_P__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('If you prefer to collect data using that existing tag, please select the corresponding account and property above', 'google-site-kit')));\n  return /*#__PURE__*/React.createElement(_js_modules_tagmanager_components_common_UseSnippetSwitch__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    description: description\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, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/setup/SetupUseSnippetSwitch.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/components/setup/index.js":
/*!*********************************************************!*\
  !*** ./js/modules/tagmanager/components/setup/index.js ***!
  \*********************************************************/
/*! exports provided: SetupErrorNotice, SetupForm, SetupMain, SetupUseSnippetSwitch */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _SetupErrorNotice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SetupErrorNotice */ \"./js/modules/tagmanager/components/setup/SetupErrorNotice.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupErrorNotice\", function() { return _SetupErrorNotice__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _SetupForm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SetupForm */ \"./js/modules/tagmanager/components/setup/SetupForm.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupForm\", function() { return _SetupForm__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _SetupMain__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SetupMain */ \"./js/modules/tagmanager/components/setup/SetupMain.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupMain\", function() { return _SetupMain__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SetupUseSnippetSwitch */ \"./js/modules/tagmanager/components/setup/SetupUseSnippetSwitch.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SetupUseSnippetSwitch\", function() { return _SetupUseSnippetSwitch__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/**\n * Tag Manager Setup 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\n//# sourceURL=[module]\n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3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cblxuZXhwb3J0IHsgZGVmYXVsdCBhcyBTZXR1cEVycm9yTm90aWNlIH0gZnJvbSAnLi9TZXR1cEVycm9yTm90aWNlJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgU2V0dXBGb3JtIH0gZnJvbSAnLi9TZXR1cEZvcm0nO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBTZXR1cE1haW4gfSBmcm9tICcuL1NldHVwTWFpbic7XG5leHBvcnQgeyBkZWZhdWx0IGFzIFNldHVwVXNlU25pcHBldFN3aXRjaCB9IGZyb20gJy4vU2V0dXBVc2VTbmlwcGV0U3dpdGNoJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/components/setup/index.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/constants.js":
/*!********************************************!*\
  !*** ./js/modules/tagmanager/constants.js ***!
  \********************************************/
/*! exports provided: MODULE_SLUG_TAGMANAGER */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULE_SLUG_TAGMANAGER\", function() { return MODULE_SLUG_TAGMANAGER; });\n/**\n * Tag Manager module constants.\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 MODULE_SLUG_TAGMANAGER = 'tagmanager';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvY29uc3RhbnRzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy90YWdtYW5hZ2VyL2NvbnN0YW50cy5qcz9jZGRkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGFnIE1hbmFnZXIgbW9kdWxlIGNvbnN0YW50cy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDI1IEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbmV4cG9ydCBjb25zdCBNT0RVTEVfU0xVR19UQUdNQU5BR0VSID0gJ3RhZ21hbmFnZXInO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/constants.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/accounts.js":
/*!*****************************************************!*\
  !*** ./js/modules/tagmanager/datastore/accounts.js ***!
  \*****************************************************/
/*! exports provided: baseInitialState, baseActions, baseReducer, baseResolvers, baseSelectors, initialState, actions, controls, reducer, resolvers, 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__, \"baseInitialState\", function() { return baseInitialState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseActions\", function() { return baseActions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseReducer\", function() { return baseReducer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseResolvers\", function() { return baseResolvers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"baseSelectors\", function() { return baseSelectors; });\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_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 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_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__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_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/modules/tagmanager/util/validation */ \"./js/modules/tagmanager/util/validation.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n\n/**\n * `modules/tagmanager` data store: accounts.\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// Actions\nvar RESET_ACCOUNTS = 'RESET_ACCOUNTS';\nvar fetchGetAccountsStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_9__[\"createFetchStore\"])({\n  baseName: 'getAccounts',\n  controlCallback: function controlCallback() {\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__[\"get\"])('modules', _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_7__[\"MODULE_SLUG_TAGMANAGER\"], 'accounts', null, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createReducer\"])(function (state, accounts) {\n    state.accounts = accounts;\n  })\n});\nvar baseInitialState = {\n  accounts: undefined\n};\nvar baseActions = {\n  /**\n   * Clears received accounts, and unsets related selections.\n   *\n   * The `getAccounts` selector will be invalidated to allow accounts to be re-fetched from the server.\n   *\n   * @since 1.12.0\n   * @private\n   */\n  resetAccounts: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function resetAccounts() {\n    var _yield$commonActions$, dispatch;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function resetAccounts$(_context) {\n      while (1) {\n        switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context.sent;\n            dispatch = _yield$commonActions$.dispatch;\n            _context.next = 6;\n            return {\n              payload: {},\n              type: RESET_ACCOUNTS\n            };\n          case 6:\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).invalidateResolutionForStoreSelector('getAccounts');\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, resetAccounts);\n  }),\n  /**\n   * Selects the given account and makes related selections.\n   *\n   * @since 1.12.0\n   * @private\n   *\n   * @param {string} accountID Tag Manager account ID to select.\n   */\n  selectAccount: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_4__[\"createValidatedAction\"])(function (accountID) {\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_8__[\"isValidAccountSelection\"])(accountID), 'A valid accountID selection is required to select.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(accountID) {\n    var _yield$commonActions$2, dispatch, select, resolveSelect, _select, isAMP, isSecondaryAMP, webContainers, ampContainers;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$2 = _context2.sent;\n            dispatch = _yield$commonActions$2.dispatch;\n            select = _yield$commonActions$2.select;\n            resolveSelect = _yield$commonActions$2.resolveSelect;\n            if (!(accountID === select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getAccountID())) {\n              _context2.next = 8;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 8:\n            dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setSettings({\n              accountID: accountID,\n              containerID: '',\n              internalContainerID: '',\n              ampContainerID: '',\n              internalAMPContainerID: ''\n            });\n            if (!(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_10__[\"ACCOUNT_CREATE\"] === accountID || select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).hasExistingTag())) {\n              _context2.next = 11;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 11:\n            // Trigger cascading selections.\n            _select = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_5__[\"CORE_SITE\"]), isAMP = _select.isAMP, isSecondaryAMP = _select.isSecondaryAMP;\n            if (!(!isAMP() || isSecondaryAMP())) {\n              _context2.next = 17;\n              break;\n            }\n            _context2.next = 15;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getWebContainers(accountID));\n          case 15:\n            webContainers = _context2.sent;\n            if (!webContainers.length) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setContainerID(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CONTAINER_CREATE\"]);\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setInternalContainerID('');\n            } else if (webContainers.length === 1) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setContainerID(\n              // eslint-disable-next-line sitekit/acronym-case\n              webContainers[0].publicId);\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setInternalContainerID(\n              // eslint-disable-next-line sitekit/acronym-case\n              webContainers[0].containerId);\n            }\n          case 17:\n            if (!isAMP()) {\n              _context2.next = 22;\n              break;\n            }\n            _context2.next = 20;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getAMPContainers(accountID));\n          case 20:\n            ampContainers = _context2.sent;\n            if (!ampContainers.length) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setAMPContainerID(_constants__WEBPACK_IMPORTED_MODULE_6__[\"CONTAINER_CREATE\"]);\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setInternalAMPContainerID('');\n            } else if (ampContainers.length === 1) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setAMPContainerID(\n              // eslint-disable-next-line sitekit/acronym-case\n              ampContainers[0].publicId);\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).setInternalAMPContainerID(\n              // eslint-disable-next-line sitekit/acronym-case\n              ampContainers[0].containerId);\n            }\n          case 22:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee);\n  }))\n};\nvar baseReducer = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createReducer\"])(function (state, _ref) {\n  var type = _ref.type;\n  switch (type) {\n    case RESET_ACCOUNTS:\n      {\n        state.accounts = undefined;\n        state.settings.accountID = undefined;\n        state.settings.ampContainerID = undefined;\n        state.settings.containerID = undefined;\n        state.settings.internalAMPContainerID = undefined;\n        state.settings.internalContainerID = undefined;\n        break;\n      }\n    default:\n      break;\n  }\n});\nvar baseResolvers = {\n  getAccounts: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getAccounts() {\n    var _accounts;\n    var _yield$commonActions$3, select, dispatch, accounts, _yield$fetchGetAccoun;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getAccounts$(_context3) {\n      while (1) {\n        switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$3 = _context3.sent;\n            select = _yield$commonActions$3.select;\n            dispatch = _yield$commonActions$3.dispatch;\n            accounts = select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getAccounts(); // Only fetch accounts if they have not been received yet.\n            if (accounts) {\n              _context3.next = 11;\n              break;\n            }\n            _context3.next = 9;\n            return fetchGetAccountsStore.actions.fetchGetAccounts();\n          case 9:\n            _yield$fetchGetAccoun = _context3.sent;\n            accounts = _yield$fetchGetAccoun.response;\n          case 11:\n            if (((_accounts = accounts) === null || _accounts === void 0 ? void 0 : _accounts.length) === 1 && !select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).getAccountID()) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).selectAccount(\n              // eslint-disable-next-line sitekit/acronym-case\n              accounts[0].accountId);\n            }\n          case 12:\n          case \"end\":\n            return _context3.stop();\n        }\n      }\n    }, getAccounts);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets all Google Tag Manager accounts this user can access.\n   *\n   * @since 1.11.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {?Array.<Object>} An array of account objects; `undefined` if not loaded.\n   */\n  getAccounts: function getAccounts(state) {\n    var accounts = state.accounts;\n    return accounts;\n  },\n  /**\n   * Checks whether accounts are currently being fetched.\n   *\n   * @since 1.11.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} Whether accounts are currently being fetched or not.\n   */\n  isDoingGetAccounts: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULES_TAGMANAGER\"]).isFetchingGetAccounts();\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"combineStores\"])(fetchGetAccountsStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  reducer: baseReducer,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState,\n  actions = store.actions,\n  controls = store.controls,\n  reducer = store.reducer,\n  resolvers = store.resolvers,\n  selectors = store.selectors;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/accounts.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\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_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 googlesitekit_modules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-modules */ \"googlesitekit-modules\");\n/* harmony import */ var googlesitekit_modules__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_modules__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./settings */ \"./js/modules/tagmanager/datastore/settings.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 * `modules/tagmanager` base 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\nvar baseModuleStore = googlesitekit_modules__WEBPACK_IMPORTED_MODULE_2___default.a.createModuleStore(_js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULE_SLUG_TAGMANAGER\"], {\n  ownedSettingsSlugs: ['accountID', 'ampContainerID', 'containerID', 'internalAMPContainerID', 'internalContainerID'],\n  storeName: _constants__WEBPACK_IMPORTED_MODULE_3__[\"MODULES_TAGMANAGER\"],\n  settingSlugs: ['accountID', 'ampContainerID', 'containerID', 'internalContainerID', 'internalAMPContainerID', 'useSnippet', 'ownerID'],\n  submitChanges: _settings__WEBPACK_IMPORTED_MODULE_5__[\"submitChanges\"],\n  rollbackChanges: _settings__WEBPACK_IMPORTED_MODULE_5__[\"rollbackChanges\"],\n  validateCanSubmitChanges: _settings__WEBPACK_IMPORTED_MODULE_5__[\"validateCanSubmitChanges\"],\n  validateHaveSettingsChanged: _settings__WEBPACK_IMPORTED_MODULE_5__[\"validateHaveSettingsChanged\"]\n});\n\n// Rename generated pieces to adhere to our convention.\nbaseModuleStore = function (_ref) {\n  var actions = _ref.actions,\n    selectors = _ref.selectors,\n    store = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_ref, [\"actions\", \"selectors\"]);\n  // eslint-disable-next-line sitekit/acronym-case\n  var setAmpContainerID = actions.setAmpContainerID,\n    restActions = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(actions, [\"setAmpContainerID\"]); // eslint-disable-next-line sitekit/acronym-case\n  var getAmpContainerID = selectors.getAmpContainerID,\n    restSelectors = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(selectors, [\"getAmpContainerID\"]);\n  return _objectSpread(_objectSpread({}, store), {}, {\n    actions: _objectSpread(_objectSpread({}, restActions), {}, {\n      // eslint-disable-next-line sitekit/acronym-case\n      setAMPContainerID: setAmpContainerID\n    }),\n    selectors: _objectSpread(_objectSpread({}, restSelectors), {}, {\n      // eslint-disable-next-line sitekit/acronym-case\n      getAMPContainerID: getAmpContainerID\n    })\n  });\n}(baseModuleStore);\n/* harmony default export */ __webpack_exports__[\"default\"] = (baseModuleStore);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvZGF0YXN0b3JlL2Jhc2UuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s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BwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQU9BO0FBQ0E7QUFPQTtBQUNBO0FBU0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBRUE7QUFDQTtBQUFBO0FBRUE7QUFFQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/base.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/constants.js":
/*!******************************************************!*\
  !*** ./js/modules/tagmanager/datastore/constants.js ***!
  \******************************************************/
/*! exports provided: MODULES_TAGMANAGER, ACCOUNT_CREATE, CONTAINER_CREATE, CONTEXT_WEB, CONTEXT_AMP, FORM_SETUP, READ_SCOPE, EDIT_SCOPE, SETUP_MODE_WITH_ANALYTICS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MODULES_TAGMANAGER\", function() { return MODULES_TAGMANAGER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ACCOUNT_CREATE\", function() { return ACCOUNT_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTAINER_CREATE\", function() { return CONTAINER_CREATE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_WEB\", function() { return CONTEXT_WEB; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_AMP\", function() { return CONTEXT_AMP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FORM_SETUP\", function() { return FORM_SETUP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"READ_SCOPE\", function() { return READ_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EDIT_SCOPE\", function() { return EDIT_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SETUP_MODE_WITH_ANALYTICS\", function() { return SETUP_MODE_WITH_ANALYTICS; });\n/**\n * `modules/tagmanager` 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 MODULES_TAGMANAGER = 'modules/tagmanager';\n\n// A special Account ID value used for the \"Set up a new account\" option.\nvar ACCOUNT_CREATE = 'account_create';\n// A special Container ID value used for the \"Set up a new container\" option.\nvar CONTAINER_CREATE = 'container_create';\n// Usage context for web containers.\nvar CONTEXT_WEB = 'web';\n// Usage context for AMP containers.\nvar CONTEXT_AMP = 'amp';\n// Form ID for the module setup form.\nvar FORM_SETUP = 'tagmanagerSetup';\n// OAuth scope needed for viewing containers.\nvar READ_SCOPE = 'https://www.googleapis.com/auth/tagmanager.readonly';\n// OAuth scope needed for creating containers.\nvar EDIT_SCOPE = 'https://www.googleapis.com/auth/tagmanager.edit.containers';\n// A special setupMode value for when completing setup with Analytics.\nvar SETUP_MODE_WITH_ANALYTICS = 'SETUP_WITH_ANALYTICS';//# sourceURL=[module]\n//# sourceMappingURL=data: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QgRURJVF9TQ09QRSA9XG5cdCdodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL3RhZ21hbmFnZXIuZWRpdC5jb250YWluZXJzJztcbi8vIEEgc3BlY2lhbCBzZXR1cE1vZGUgdmFsdWUgZm9yIHdoZW4gY29tcGxldGluZyBzZXR1cCB3aXRoIEFuYWx5dGljcy5cbmV4cG9ydCBjb25zdCBTRVRVUF9NT0RFX1dJVEhfQU5BTFlUSUNTID0gJ1NFVFVQX1dJVEhfQU5BTFlUSUNTJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/constants.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/containers.js":
/*!*******************************************************!*\
  !*** ./js/modules/tagmanager/datastore/containers.js ***!
  \*******************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, 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__, \"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_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 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_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__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/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/util/validation */ \"./js/modules/tagmanager/util/validation.js\");\n/* harmony import */ var _js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/googlesitekit/data/create-fetch-store */ \"./js/googlesitekit/data/create-fetch-store.js\");\n/* harmony import */ var _js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/googlesitekit/datastore/site/constants */ \"./js/googlesitekit/datastore/site/constants.js\");\n\nvar _marked = /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(resolveGetContainers);\n/**\n * `modules/tagmanager` data store: containers.\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\nvar fetchGetContainersStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__[\"createFetchStore\"])({\n  baseName: 'getContainers',\n  argsToParams: function argsToParams(accountID) {\n    return {\n      accountID: accountID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      accountID = _ref.accountID;\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidAccountID\"])(accountID), 'A valid accountID is required to fetch containers.');\n  },\n  controlCallback: function controlCallback(_ref2) {\n    var accountID = _ref2.accountID;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__[\"get\"])('modules', _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_TAGMANAGER\"], 'containers', {\n      accountID: accountID\n    }, {\n      useCache: false\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createReducer\"])(function (state, containers, _ref3) {\n    var accountID = _ref3.accountID;\n    state.containers[accountID] = containers;\n  })\n});\nvar fetchCreateContainerStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_7__[\"createFetchStore\"])({\n  baseName: 'createContainer',\n  argsToParams: function argsToParams(accountID, usageContext, _ref4) {\n    var containerName = _ref4.containerName;\n    return {\n      accountID: accountID,\n      usageContext: usageContext,\n      containerName: containerName\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      accountID = _ref5.accountID,\n      usageContext = _ref5.usageContext,\n      containerName = _ref5.containerName;\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidAccountID\"])(accountID), 'A valid accountID is required to create a container.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidUsageContext\"])(usageContext), 'A valid usageContext is required to create a container.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidContainerName\"])(containerName), 'A valid containerName is required to create a container.');\n  },\n  controlCallback: function controlCallback(_ref6) {\n    var accountID = _ref6.accountID,\n      usageContext = _ref6.usageContext,\n      name = _ref6.containerName;\n    return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_2__[\"set\"])('modules', _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_TAGMANAGER\"], 'create-container', {\n      accountID: accountID,\n      usageContext: usageContext,\n      name: name\n    });\n  },\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createReducer\"])(function (state, container, _ref7) {\n    var accountID = _ref7.accountID;\n    if (!state.containers[accountID]) {\n      state.containers[accountID] = [];\n    }\n    state.containers[accountID].push(container);\n  })\n});\nvar baseInitialState = {\n  containers: {}\n};\nvar baseActions = {\n  /**\n   * Creates a new Tag Manager container in the given account.\n   *\n   * @since 1.11.0\n   *\n   * @param {string} accountID          Google Tag Manager account ID.\n   * @param {string} usageContext       Container usage context. (Either 'web', or 'amp').\n   * @param {Object} args               Container arguments.\n   * @param {string} args.containerName The name for a new container.\n   * @return {Object} Object with `response` and `error`.\n   */\n  createContainer: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_8__[\"createValidatedAction\"])(function (accountID, usageContext, _ref8) {\n    var containerName = _ref8.containerName;\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidAccountID\"])(accountID), 'A valid accountID is required to create a container.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidUsageContext\"])(usageContext), 'A valid usageContext is required to create a container.');\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidContainerName\"])(containerName), 'A valid containerName is required to create a container.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(accountID, usageContext, _ref9) {\n    var containerName, _yield$fetchCreateCon, response, error;\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            containerName = _ref9.containerName;\n            _context.next = 3;\n            return fetchCreateContainerStore.actions.fetchCreateContainer(accountID, usageContext, {\n              containerName: containerName\n            });\n          case 3:\n            _yield$fetchCreateCon = _context.sent;\n            response = _yield$fetchCreateCon.response;\n            error = _yield$fetchCreateCon.error;\n            return _context.abrupt(\"return\", {\n              response: response,\n              error: error\n            });\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  })),\n  /**\n   * Sets selected container settings for the given container ID of the current account.\n   *\n   * Supports selecting a container that has not been received yet.\n   *\n   * @since 1.12.0\n   * @private\n   *\n   * @param {string} containerID Tag Manager container `publicId` of container to select.\n   */\n  selectContainerByID: Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_8__[\"createValidatedAction\"])(function (containerID) {\n    // This action relies on looking up the container in state to know what\n    // settings to set the container IDs for. For this reason we cannot use this\n    // for selecting the option to \"set up a new container\"\n    // another instance here\n    invariant__WEBPACK_IMPORTED_MODULE_1___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidContainerID\"])(containerID), 'A valid container ID is required to select a container by ID.');\n  }, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(containerID) {\n    var _yield$commonActions$, select, dispatch, resolveSelect, accountID, container;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 2:\n            _yield$commonActions$ = _context2.sent;\n            select = _yield$commonActions$.select;\n            dispatch = _yield$commonActions$.dispatch;\n            resolveSelect = _yield$commonActions$.resolveSelect;\n            accountID = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getAccountID();\n            if (Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidAccountID\"])(accountID)) {\n              _context2.next = 9;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 9:\n            _context2.next = 11;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainers(accountID));\n          case 11:\n            container = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainerByID(accountID, containerID);\n            if (container) {\n              _context2.next = 14;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 14:\n            if (container.usageContext.includes(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTEXT_WEB\"])) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).setContainerID(containerID);\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).setInternalContainerID(\n              // eslint-disable-next-line sitekit/acronym-case\n              container.containerId);\n            } else if (container.usageContext.includes(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTEXT_AMP\"])) {\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).setAMPContainerID(containerID);\n              dispatch(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).setInternalAMPContainerID(\n              // eslint-disable-next-line sitekit/acronym-case\n              container.containerId);\n            }\n          case 15:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, _callee2);\n  }))\n};\nvar baseControls = {};\nfunction resolveGetContainers(accountID) {\n  var _yield$commonActions$2, resolveSelect;\n  return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function resolveGetContainers$(_context3) {\n    while (1) {\n      switch (_context3.prev = _context3.next) {\n        case 0:\n          _context3.next = 2;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n        case 2:\n          _yield$commonActions$2 = _context3.sent;\n          resolveSelect = _yield$commonActions$2.resolveSelect;\n          _context3.next = 6;\n          return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].await(resolveSelect(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainers(accountID));\n        case 6:\n        case \"end\":\n          return _context3.stop();\n      }\n    }\n  }, _marked);\n}\nvar baseResolvers = {\n  getContainers: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getContainers(accountID) {\n    var _yield$commonActions$3, select;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getContainers$(_context4) {\n      while (1) {\n        switch (_context4.prev = _context4.next) {\n          case 0:\n            if (Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_6__[\"isValidAccountID\"])(accountID)) {\n              _context4.next = 2;\n              break;\n            }\n            return _context4.abrupt(\"return\");\n          case 2:\n            _context4.next = 4;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"commonActions\"].getRegistry();\n          case 4:\n            _yield$commonActions$3 = _context4.sent;\n            select = _yield$commonActions$3.select;\n            if (select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainers(accountID)) {\n              _context4.next = 9;\n              break;\n            }\n            _context4.next = 9;\n            return fetchGetContainersStore.actions.fetchGetContainers(accountID);\n          case 9:\n          case \"end\":\n            return _context4.stop();\n        }\n      }\n    }, getContainers);\n  }),\n  getWebContainers: resolveGetContainers,\n  getAMPContainers: resolveGetContainers\n};\nvar baseSelectors = {\n  /**\n   * Gets a container by its ID.\n   *\n   * @since 1.11.0\n   *\n   * @param {Object} state       Data store's state.\n   * @param {string} accountID   Account ID to find container in.\n   * @param {string} containerID Container (publicId) of container to get.\n   * @return {(Object|null|undefined)} Container object if found, `null` if not found, or `undefined` if not loaded yet.\n   */\n  getContainerByID: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID, containerID) {\n      // Select all containers of the account to find the container, regardless of usageContext.\n      var containers = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainers(accountID);\n      if (containers === undefined) {\n        return undefined;\n      }\n      return containers.find(\n      // eslint-disable-next-line sitekit/acronym-case\n      function (_ref10) {\n        var publicId = _ref10.publicId;\n        return containerID === publicId;\n      }) || null;\n    };\n  }),\n  /**\n   * Gets all web containers for the given account.\n   *\n   * @since 1.12.0\n   *\n   * @param {Object} state     Data store's state.\n   * @param {string} accountID Account ID to get containers for.\n   * @return {(Array|undefined)} Array of containers, or `undefined` if not loaded yet.\n   */\n  getWebContainers: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID) {\n      var containers = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainers(accountID);\n      if (!Array.isArray(containers)) {\n        return undefined;\n      }\n      return containers.filter(function (_ref11) {\n        var usageContext = _ref11.usageContext;\n        return usageContext.includes(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTEXT_WEB\"]);\n      });\n    };\n  }),\n  /**\n   * Gets all AMP containers for the given account.\n   *\n   * @since 1.12.0\n   *\n   * @param {Object} state     Data store's state.\n   * @param {string} accountID Account ID to get containers for.\n   * @return {(Array|undefined)} Array of containers, or `undefined` if not loaded yet.\n   */\n  getAMPContainers: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID) {\n      var containers = select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainers(accountID);\n      if (!Array.isArray(containers)) {\n        return undefined;\n      }\n      return containers.filter(function (_ref12) {\n        var usageContext = _ref12.usageContext;\n        return usageContext.includes(_constants__WEBPACK_IMPORTED_MODULE_4__[\"CONTEXT_AMP\"]);\n      });\n    };\n  }),\n  /**\n   * Gets all containers for the given account.\n   *\n   * @since 1.12.0\n   *\n   * @param {Object} state     Data store's state.\n   * @param {string} accountID Account ID to get containers for.\n   * @return {(Array|undefined)} Array of containers, or `undefined` if not loaded yet.\n   */\n  getContainers: function getContainers(state, accountID) {\n    return state.containers[accountID];\n  },\n  /**\n   * Checks if containers are currently being fetched for the given account or not.\n   *\n   * @since 1.12.0\n   *\n   * @param {Object} state     Data store's state.\n   * @param {string} accountID Account ID to get containers for.\n   * @return {boolean} True if containers are being fetched for the given account, otherwise false.\n   */\n  isDoingGetContainers: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).isFetchingGetContainers(accountID);\n    };\n  }),\n  /**\n   * Checks if any request for creating a container is in progress.\n   *\n   * @since 1.11.0\n   *\n   * @param {Object} state Data store's state.\n   * @return {boolean} True if a request for create-container is in progress, otherwise false.\n   */\n  isDoingCreateContainer: function isDoingCreateContainer(state) {\n    return Object.values(state.isFetchingCreateContainer).some(Boolean);\n  },\n  /**\n   * Gets primary container ID based on the AMP mode.\n   *\n   * @since 1.75.0\n   *\n   * @return {(string|undefined)} Primary container ID or `undefined` if not loaded yet.\n   */\n  getPrimaryContainerID: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var isPrimaryAMP = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_9__[\"CORE_SITE\"]).isPrimaryAMP();\n      if (undefined === isPrimaryAMP) {\n        return undefined;\n      }\n      if (isPrimaryAMP) {\n        return select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getAMPContainerID();\n      }\n      return select(_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"]).getContainerID();\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_3__[\"combineStores\"])(fetchGetContainersStore, fetchCreateContainerStore, {\n  initialState: baseInitialState,\n  actions: baseActions,\n  controls: baseControls,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState,\n  actions = store.actions,\n  controls = store.controls,\n  reducer = store.reducer,\n  resolvers = store.resolvers,\n  selectors = store.selectors;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/containers.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/index.js":
/*!**************************************************!*\
  !*** ./js/modules/tagmanager/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 _js_googlesitekit_data_create_snapshot_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/googlesitekit/data/create-snapshot-store */ \"./js/googlesitekit/data/create-snapshot-store.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./base */ \"./js/modules/tagmanager/datastore/base.js\");\n/* harmony import */ var _accounts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./accounts */ \"./js/modules/tagmanager/datastore/accounts.js\");\n/* harmony import */ var _containers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./containers */ \"./js/modules/tagmanager/datastore/containers.js\");\n/* harmony import */ var _tags__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tags */ \"./js/modules/tagmanager/datastore/tags.js\");\n/* harmony import */ var _versions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./versions */ \"./js/modules/tagmanager/datastore/versions.js\");\n/* harmony import */ var _service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./service */ \"./js/modules/tagmanager/datastore/service.js\");\n/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./settings */ \"./js/modules/tagmanager/datastore/settings.js\");\n/**\n * `modules/tagmanager` 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\n\n\n\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_0__[\"combineStores\"])(_base__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _accounts__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _containers__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _tags__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _versions__WEBPACK_IMPORTED_MODULE_7__[\"default\"], Object(_js_googlesitekit_data_create_snapshot_store__WEBPACK_IMPORTED_MODULE_1__[\"createSnapshotStore\"])(_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_TAGMANAGER\"]), _settings__WEBPACK_IMPORTED_MODULE_9__[\"default\"], _service__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\nvar initialState = store.initialState,\n  actions = store.actions,\n  controls = store.controls,\n  reducer = store.reducer,\n  resolvers = store.resolvers,\n  selectors = store.selectors;\n\nfunction registerStore(registry) {\n  registry.registerStore(_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_TAGMANAGER\"], store);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvZGF0YXN0b3JlL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvbW9kdWxlcy90YWdtYW5hZ2VyL2RhdGFzdG9yZS9pbmRleC5qcz81ZGNjIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYG1vZHVsZXMvdGFnbWFuYW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UE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFTQTtBQUlBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUVBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/index.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/service.js":
/*!****************************************************!*\
  !*** ./js/modules/tagmanager/datastore/service.js ***!
  \****************************************************/
/*! exports provided: 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__, \"selectors\", function() { return selectors; });\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/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_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/datastore/user/constants */ \"./js/googlesitekit/datastore/user/constants.js\");\n/**\n * `modules/tagmanager` data store: service.\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\nvar selectors = {\n  /**\n   * Gets a URL to the service.\n   *\n   * @since 1.14.0\n   *\n   * @param {Object} state        Data store's state.\n   * @param {Object} [args]       Object containing optional path and query args.\n   * @param {string} [args.path]  A path to append to the base url.\n   * @param {Object} [args.query] Object of query params to be added to the URL.\n   * @return {(string|undefined)} The URL to the service, or `undefined` if not loaded.\n   */\n  getServiceURL: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"createRegistrySelector\"])(function (select) {\n    return function (state) {\n      var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n        path = _ref.path,\n        query = _ref.query;\n      var serviceURL = 'https://tagmanager.google.com/';\n      if (query) {\n        serviceURL = Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_0__[\"addQueryArgs\"])(serviceURL, query);\n      }\n      if (path) {\n        var sanitizedPath = \"/\".concat(path.replace(/^\\//, ''));\n        serviceURL = \"\".concat(serviceURL, \"#\").concat(sanitizedPath);\n      }\n      var accountChooserBaseURI = select(_js_googlesitekit_datastore_user_constants__WEBPACK_IMPORTED_MODULE_2__[\"CORE_USER\"]).getAccountChooserURL(serviceURL);\n      if (accountChooserBaseURI === undefined) {\n        return undefined;\n      }\n      return accountChooserBaseURI;\n    };\n  })\n};\nvar store = {\n  selectors: selectors\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=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QUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBRUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/service.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/settings.js":
/*!*****************************************************!*\
  !*** ./js/modules/tagmanager/datastore/settings.js ***!
  \*****************************************************/
/*! exports provided: INVARIANT_INVALID_ACCOUNT_ID, INVARIANT_INVALID_AMP_CONTAINER_SELECTION, INVARIANT_INVALID_AMP_INTERNAL_CONTAINER_ID, INVARIANT_INVALID_CONTAINER_SELECTION, INVARIANT_INVALID_INTERNAL_CONTAINER_ID, INVARIANT_INVALID_CONTAINER_NAME, INVARIANT_GTM_GA_PROPERTY_ID_MISMATCH, default, submitChanges, validateCanSubmitChanges, rollbackChanges, validateHaveSettingsChanged */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_ACCOUNT_ID\", function() { return INVARIANT_INVALID_ACCOUNT_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_AMP_CONTAINER_SELECTION\", function() { return INVARIANT_INVALID_AMP_CONTAINER_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_AMP_INTERNAL_CONTAINER_ID\", function() { return INVARIANT_INVALID_AMP_INTERNAL_CONTAINER_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_CONTAINER_SELECTION\", function() { return INVARIANT_INVALID_CONTAINER_SELECTION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_INTERNAL_CONTAINER_ID\", function() { return INVARIANT_INVALID_INTERNAL_CONTAINER_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_INVALID_CONTAINER_NAME\", function() { return INVARIANT_INVALID_CONTAINER_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INVARIANT_GTM_GA_PROPERTY_ID_MISMATCH\", function() { return INVARIANT_GTM_GA_PROPERTY_ID_MISMATCH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"submitChanges\", function() { return submitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateCanSubmitChanges\", function() { return validateCanSubmitChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rollbackChanges\", function() { return rollbackChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateHaveSettingsChanged\", function() { return validateHaveSettingsChanged; });\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_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 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 googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! googlesitekit-api */ \"googlesitekit-api\");\n/* harmony import */ var googlesitekit_api__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__);\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_forms_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/googlesitekit/datastore/forms/constants */ \"./js/googlesitekit/datastore/forms/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/tagmanager/util */ \"./js/modules/tagmanager/util/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/js/googlesitekit/data/create-settings-store */ \"./js/googlesitekit/data/create-settings-store.js\");\n/* harmony import */ var _js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/js/googlesitekit/modules/datastore/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_data_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/js/googlesitekit/data/utils */ \"./js/googlesitekit/data/utils.js\");\n/* harmony import */ var _js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/js/modules/analytics-4/datastore/constants */ \"./js/modules/analytics-4/datastore/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/js/googlesitekit/notifications/datastore/constants */ \"./js/googlesitekit/notifications/datastore/constants.js\");\n/* harmony import */ var _js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @/js/googlesitekit/notifications/constants */ \"./js/googlesitekit/notifications/constants.js\");\n\n\n/**\n * `modules/tagmanager` 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/**\n * Internal dependencies\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Invariant error messages.\nvar INVARIANT_INVALID_ACCOUNT_ID = 'a valid accountID is required to submit changes';\nvar INVARIANT_INVALID_AMP_CONTAINER_SELECTION = 'a valid ampContainerID selection is required to submit changes';\nvar INVARIANT_INVALID_AMP_INTERNAL_CONTAINER_ID = 'a valid internalAMPContainerID is required to submit changes';\nvar INVARIANT_INVALID_CONTAINER_SELECTION = 'a valid containerID selection is required to submit changes';\nvar INVARIANT_INVALID_INTERNAL_CONTAINER_ID = 'a valid internalContainerID is required to submit changes';\nvar INVARIANT_INVALID_CONTAINER_NAME = 'a valid container name is required to submit changes';\nvar INVARIANT_GTM_GA_PROPERTY_ID_MISMATCH = 'single GTM Analytics property ID must match Analytics property ID';\nvar store = {\n  selectors: {\n    areSettingsEditDependenciesLoaded: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_5__[\"createRegistrySelector\"])(function (select) {\n      return function () {\n        return select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).hasFinishedResolution('getAccounts');\n      };\n    })\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\nfunction submitChanges(_x) {\n  return _submitChanges.apply(this, arguments);\n}\nfunction _submitChanges() {\n  _submitChanges = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref) {\n    var select, dispatch, accountID, containerID, containerName, _yield$dispatch$creat, container, error, ampContainerID, _containerName, _yield$dispatch$creat2, _container, _error, _yield$dispatch$saveS, _error2, analyticsModuleConnected, _yield$dispatch$saveG, _error3, _ref3, dismissError;\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            select = _ref.select, dispatch = _ref.dispatch;\n            accountID = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).getAccountID();\n            containerID = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).getContainerID();\n            if (!(containerID === _constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTAINER_CREATE\"])) {\n              _context.next = 16;\n              break;\n            }\n            containerName = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'containerName');\n            _context.next = 7;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).createContainer(accountID, _constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTEXT_WEB\"], {\n              containerName: containerName\n            });\n          case 7:\n            _yield$dispatch$creat = _context.sent;\n            container = _yield$dispatch$creat.response;\n            error = _yield$dispatch$creat.error;\n            if (!error) {\n              _context.next = 12;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: error\n            });\n          case 12:\n            _context.next = 14;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).setContainerID(\n            // eslint-disable-next-line sitekit/acronym-case\n            container.publicId);\n          case 14:\n            _context.next = 16;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).setInternalContainerID(\n            // eslint-disable-next-line sitekit/acronym-case\n            container.containerId);\n          case 16:\n            ampContainerID = select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).getAMPContainerID();\n            if (!(ampContainerID === _constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTAINER_CREATE\"])) {\n              _context.next = 30;\n              break;\n            }\n            _containerName = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'ampContainerName');\n            _context.next = 21;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).createContainer(accountID, _constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTEXT_AMP\"], {\n              containerName: _containerName\n            });\n          case 21:\n            _yield$dispatch$creat2 = _context.sent;\n            _container = _yield$dispatch$creat2.response;\n            _error = _yield$dispatch$creat2.error;\n            if (!_error) {\n              _context.next = 26;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error\n            });\n          case 26:\n            _context.next = 28;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).setAMPContainerID(\n            // eslint-disable-next-line sitekit/acronym-case\n            _container.publicId);\n          case 28:\n            _context.next = 30;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).setInternalAMPContainerID(\n            // eslint-disable-next-line sitekit/acronym-case\n            _container.containerId);\n          case 30:\n            if (!select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).haveSettingsChanged()) {\n              _context.next = 41;\n              break;\n            }\n            _context.next = 33;\n            return dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).saveSettings();\n          case 33:\n            _yield$dispatch$saveS = _context.sent;\n            _error2 = _yield$dispatch$saveS.error;\n            if (!_error2) {\n              _context.next = 37;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error2\n            });\n          case 37:\n            // Fetch the latest settings in the Analytics store so that we can update\n            // the filtered value of canUseSnippet.\n            analyticsModuleConnected = select(_js_googlesitekit_modules_datastore_constants__WEBPACK_IMPORTED_MODULE_11__[\"CORE_MODULES\"]).isModuleConnected(_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_15__[\"MODULE_SLUG_ANALYTICS_4\"]);\n            if (!analyticsModuleConnected) {\n              _context.next = 41;\n              break;\n            }\n            _context.next = 41;\n            return dispatch(_js_modules_analytics_4_datastore_constants__WEBPACK_IMPORTED_MODULE_14__[\"MODULES_ANALYTICS_4\"]).fetchGetSettings();\n          case 41:\n            if (!select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]).haveGoogleTagGatewaySettingsChanged()) {\n              _context.next = 58;\n              break;\n            }\n            _context.next = 44;\n            return dispatch(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]).saveGoogleTagGatewaySettings();\n          case 44:\n            _yield$dispatch$saveG = _context.sent;\n            _error3 = _yield$dispatch$saveG.error;\n            if (!_error3) {\n              _context.next = 48;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: _error3\n            });\n          case 48:\n            if (!(select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]).isGoogleTagGatewayEnabled() && !select(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_16__[\"CORE_NOTIFICATIONS\"]).isNotificationDismissed(_js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"GTG_SETUP_CTA_BANNER_NOTIFICATION\"]))) {\n              _context.next = 58;\n              break;\n            }\n            _context.next = 51;\n            return dispatch(_js_googlesitekit_notifications_datastore_constants__WEBPACK_IMPORTED_MODULE_16__[\"CORE_NOTIFICATIONS\"]).dismissNotification(_js_googlesitekit_notifications_constants__WEBPACK_IMPORTED_MODULE_17__[\"GTG_SETUP_CTA_BANNER_NOTIFICATION\"]);\n          case 51:\n            _context.t0 = _context.sent;\n            if (_context.t0) {\n              _context.next = 54;\n              break;\n            }\n            _context.t0 = {};\n          case 54:\n            _ref3 = _context.t0;\n            dismissError = _ref3.error;\n            if (!dismissError) {\n              _context.next = 58;\n              break;\n            }\n            return _context.abrupt(\"return\", {\n              error: dismissError\n            });\n          case 58:\n            _context.next = 60;\n            return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_4__[\"invalidateCache\"])('modules', _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_9__[\"MODULE_SLUG_TAGMANAGER\"]);\n          case 60:\n            return _context.abrupt(\"return\", {});\n          case 61:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee);\n  }));\n  return _submitChanges.apply(this, arguments);\n}\nfunction validateCanSubmitChanges(select) {\n  var strictSelect = Object(_js_googlesitekit_data_utils__WEBPACK_IMPORTED_MODULE_13__[\"createStrictSelect\"])(select);\n  // Strict select will cause all selector functions to throw an error\n  // if `undefined` is returned, otherwise it behaves the same as `select`.\n  // This ensures that the selector returns `false` until all data dependencies are resolved.\n  var _strictSelect = strictSelect(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]),\n    getAccountID = _strictSelect.getAccountID,\n    getContainerID = _strictSelect.getContainerID,\n    getContainers = _strictSelect.getContainers,\n    getAMPContainerID = _strictSelect.getAMPContainerID,\n    getInternalContainerID = _strictSelect.getInternalContainerID,\n    getInternalAMPContainerID = _strictSelect.getInternalAMPContainerID,\n    haveSettingsChanged = _strictSelect.haveSettingsChanged,\n    isDoingSubmitChanges = _strictSelect.isDoingSubmitChanges;\n  var _strictSelect2 = strictSelect(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]),\n    isAMP = _strictSelect2.isAMP,\n    isSecondaryAMP = _strictSelect2.isSecondaryAMP;\n  var accountID = getAccountID();\n\n  // Note: these error messages are referenced in test assertions.\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(!isDoingSubmitChanges(), _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_10__[\"INVARIANT_DOING_SUBMIT_CHANGES\"]);\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(haveSettingsChanged(), _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_10__[\"INVARIANT_SETTINGS_NOT_CHANGED\"]);\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidAccountID\"])(accountID), INVARIANT_INVALID_ACCOUNT_ID);\n  var containerID = getContainerID();\n  if (containerID === _constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTAINER_CREATE\"]) {\n    var containerName = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'containerName');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidContainerName\"])(containerName), INVARIANT_INVALID_CONTAINER_NAME);\n    var containers = getContainers(accountID);\n    var normalizedContainerName = Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"getNormalizedContainerName\"])(containerName);\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isUniqueContainerName\"])(containerName, containers), \"a container with \\\"\".concat(normalizedContainerName, \"\\\" name already exists\"));\n  }\n  if (isAMP()) {\n    var ampContainerID = getAMPContainerID();\n\n    // If AMP is active, the AMP container ID must be valid, regardless of mode.\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidContainerSelection\"])(ampContainerID), INVARIANT_INVALID_AMP_CONTAINER_SELECTION);\n    // If AMP is active, and a valid AMP container ID is selected, the internal ID must also be valid.\n    if (Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidContainerID\"])(ampContainerID)) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidInternalContainerID\"])(getInternalAMPContainerID()), INVARIANT_INVALID_AMP_INTERNAL_CONTAINER_ID);\n    }\n    if (ampContainerID === _constants__WEBPACK_IMPORTED_MODULE_8__[\"CONTAINER_CREATE\"]) {\n      var ampContainerName = select(_js_googlesitekit_datastore_forms_constants__WEBPACK_IMPORTED_MODULE_6__[\"CORE_FORMS\"]).getValue(_constants__WEBPACK_IMPORTED_MODULE_8__[\"FORM_SETUP\"], 'ampContainerName');\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidContainerName\"])(ampContainerName), INVARIANT_INVALID_CONTAINER_NAME);\n      var _containers = getContainers(accountID);\n      var _normalizedContainerName = Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"getNormalizedContainerName\"])(ampContainerName);\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isUniqueContainerName\"])(ampContainerName, _containers), \"an AMP container with \\\"\".concat(_normalizedContainerName, \"\\\" name already exists\"));\n    }\n  }\n  if (!isAMP() || isSecondaryAMP()) {\n    // If AMP is not active, or in a secondary mode, validate the web container IDs.\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidContainerSelection\"])(getContainerID()), INVARIANT_INVALID_CONTAINER_SELECTION);\n    // If a valid container ID is selected, the internal ID must also be valid.\n    if (Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidContainerID\"])(getContainerID())) {\n      invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util__WEBPACK_IMPORTED_MODULE_7__[\"isValidInternalContainerID\"])(getInternalContainerID()), INVARIANT_INVALID_INTERNAL_CONTAINER_ID);\n    }\n  }\n}\nfunction rollbackChanges(_ref2) {\n  var select = _ref2.select,\n    dispatch = _ref2.dispatch;\n  if (select(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).haveSettingsChanged()) {\n    dispatch(_constants__WEBPACK_IMPORTED_MODULE_8__[\"MODULES_TAGMANAGER\"]).rollbackSettings();\n    dispatch(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]).resetGoogleTagGatewaySettings();\n  }\n}\nfunction validateHaveSettingsChanged(select, state, keys) {\n  var settings = state.settings,\n    savedSettings = state.savedSettings;\n  var haveGoogleTagGatewaySettingsChanged = select(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_12__[\"CORE_SITE\"]).haveGoogleTagGatewaySettingsChanged();\n  if (keys) {\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEqual\"])(Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"pick\"])(settings, keys), Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"pick\"])(savedSettings, keys)) || haveGoogleTagGatewaySettingsChanged, _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_10__[\"INVARIANT_SETTINGS_NOT_CHANGED\"]);\n  }\n  invariant__WEBPACK_IMPORTED_MODULE_2___default()(!Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"isEqual\"])(settings, savedSettings) || haveGoogleTagGatewaySettingsChanged, _js_googlesitekit_data_create_settings_store__WEBPACK_IMPORTED_MODULE_10__[\"INVARIANT_SETTINGS_NOT_CHANGED\"]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/settings.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/tags.js":
/*!*************************************************!*\
  !*** ./js/modules/tagmanager/datastore/tags.js ***!
  \*************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, 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__, \"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 _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/modules/tagmanager/util/validation */ \"./js/modules/tagmanager/util/validation.js\");\n/* harmony import */ var _js_googlesitekit_data_create_existing_tag_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/googlesitekit/data/create-existing-tag-store */ \"./js/googlesitekit/data/create-existing-tag-store.js\");\n/* harmony import */ var _js_modules_tagmanager_util_tag_matchers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/js/modules/tagmanager/util/tag-matchers */ \"./js/modules/tagmanager/util/tag-matchers.js\");\n/**\n * `modules/tagmanager` data store: existing tag.\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\nvar store = Object(_js_googlesitekit_data_create_existing_tag_store__WEBPACK_IMPORTED_MODULE_2__[\"createExistingTagStore\"])({\n  storeName: _constants__WEBPACK_IMPORTED_MODULE_0__[\"MODULES_TAGMANAGER\"],\n  tagMatchers: _js_modules_tagmanager_util_tag_matchers__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n  isValidTag: _js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidContainerID\"]\n});\nvar initialState = store.initialState,\n  actions = store.actions,\n  controls = store.controls,\n  reducer = store.reducer,\n  resolvers = store.resolvers,\n  selectors = store.selectors;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvZGF0YXN0b3JlL3RhZ3MuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvZGF0YXN0b3JlL3RhZ3MuanM/NWFiNiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIGBtb2R1bGVzL3RhZ21hbmFnZXJgIGRhdGEgc3RvcmU6IGV4aXN0aW5nIHRhZy5cbiAqXG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BjcmVhdGVFeGlzdGluZ1RhZ1N0b3JlIH0gZnJvbSAnQC9qcy9nb29nbGVzaXRla2l0L2RhdGEvY3JlYXRlLWV4aXN0aW5nLXRhZy1zdG9yZSc7XG5pbXBvcnQgdGFnTWF0Y2hlcnMgZnJvbSAnQC9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXRpbC90YWctbWF0Y2hlcnMnO1xuXG5jb25zdCBzdG9yZSA9IGNyZWF0ZUV4aXN0aW5nVGFnU3RvcmUoIHtcblx0c3RvcmVOYW1lOiBNT0RVTEVTX1RBR01BTkFHRVIsXG5cdHRhZ01hdGNoZXJzLFxuXHRpc1ZhbGlkVGFnOiBpc1ZhbGlkQ29udGFpbmVySUQsXG59ICk7XG5cbmV4cG9ydCBjb25zdCB7XG5cdGluaXRpYWxTdGF0ZSxcblx0YWN0aW9ucyxcblx0Y29udHJvbHMsXG5cdHJlZHVjZXIsXG5cdHJlc29sdmVycyxcblx0c2VsZWN0b3JzLFxufSA9IHN0b3JlO1xuXG5leHBvcnQgZGVmYXVsdCBzdG9yZTtcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBSUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/tags.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/datastore/versions.js":
/*!*****************************************************!*\
  !*** ./js/modules/tagmanager/datastore/versions.js ***!
  \*****************************************************/
/*! exports provided: initialState, actions, controls, reducer, resolvers, 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__, \"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_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_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 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 _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/js/modules/tagmanager/constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/js/modules/tagmanager/util/validation */ \"./js/modules/tagmanager/util/validation.js\");\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 _js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/js/modules/analytics-4/utils/validation */ \"./js/modules/analytics-4/utils/validation.js\");\n\n\n/**\n * `modules/tagmanager` data store: versions.\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\nvar fetchGetLiveContainerVersionStore = Object(_js_googlesitekit_data_create_fetch_store__WEBPACK_IMPORTED_MODULE_8__[\"createFetchStore\"])({\n  baseName: 'getLiveContainerVersion',\n  argsToParams: function argsToParams(accountID, internalContainerID) {\n    return {\n      accountID: accountID,\n      internalContainerID: internalContainerID\n    };\n  },\n  validateParams: function validateParams() {\n    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n      accountID = _ref.accountID,\n      internalContainerID = _ref.internalContainerID;\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidAccountID\"])(accountID), 'A valid accountID is required to fetch or receive a live container version.');\n    invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidInternalContainerID\"])(internalContainerID), 'A valid internalContainerID is required to fetch or receive a live container version.');\n  },\n  controlCallback: function () {\n    var _controlCallback = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref2) {\n      var accountID, internalContainerID;\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              accountID = _ref2.accountID, internalContainerID = _ref2.internalContainerID;\n              _context.prev = 1;\n              _context.next = 4;\n              return Object(googlesitekit_api__WEBPACK_IMPORTED_MODULE_3__[\"get\"])('modules', _js_modules_tagmanager_constants__WEBPACK_IMPORTED_MODULE_6__[\"MODULE_SLUG_TAGMANAGER\"], 'live-container-version', {\n                accountID: accountID,\n                internalContainerID: internalContainerID\n              }, {\n                useCache: false\n              });\n            case 4:\n              return _context.abrupt(\"return\", _context.sent);\n            case 7:\n              _context.prev = 7;\n              _context.t0 = _context[\"catch\"](1);\n              if (!(404 === _context.t0.code && _context.t0.message.includes('container version not found'))) {\n                _context.next = 11;\n                break;\n              }\n              return _context.abrupt(\"return\", null);\n            case 11:\n              throw _context.t0;\n            case 12:\n            case \"end\":\n              return _context.stop();\n          }\n        }\n      }, _callee, null, [[1, 7]]);\n    }));\n    function controlCallback(_x) {\n      return _controlCallback.apply(this, arguments);\n    }\n    return controlCallback;\n  }(),\n  reducerCallback: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createReducer\"])(function (state, liveContainerVersion, _ref3) {\n    var accountID = _ref3.accountID,\n      internalContainerID = _ref3.internalContainerID;\n    state.liveContainerVersions[\"\".concat(accountID, \"::\").concat(internalContainerID)] = liveContainerVersion;\n  })\n});\nvar baseInitialState = {\n  liveContainerVersions: {}\n};\nvar baseResolvers = {\n  getLiveContainerVersion: /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function getLiveContainerVersion(accountID, internalContainerID) {\n    var _yield$commonActions$, select;\n    return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function getLiveContainerVersion$(_context2) {\n      while (1) {\n        switch (_context2.prev = _context2.next) {\n          case 0:\n            if (!(!Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidAccountID\"])(accountID) || !Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidInternalContainerID\"])(internalContainerID))) {\n              _context2.next = 2;\n              break;\n            }\n            return _context2.abrupt(\"return\");\n          case 2:\n            _context2.next = 4;\n            return googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"commonActions\"].getRegistry();\n          case 4:\n            _yield$commonActions$ = _context2.sent;\n            select = _yield$commonActions$.select;\n            if (!(undefined === select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getLiveContainerVersion(accountID, internalContainerID))) {\n              _context2.next = 9;\n              break;\n            }\n            _context2.next = 9;\n            return fetchGetLiveContainerVersionStore.actions.fetchGetLiveContainerVersion(accountID, internalContainerID);\n          case 9:\n          case \"end\":\n            return _context2.stop();\n        }\n      }\n    }, getLiveContainerVersion);\n  })\n};\nvar baseSelectors = {\n  /**\n   * Gets the first Google Tag object within the current live container for the given account and internal container ID.\n   *\n   * @since 1.121.0\n   *\n   * @param {Object} state               Data store's state.\n   * @param {string} accountID           Account ID the container belongs to.\n   * @param {string} internalContainerID Internal container ID to get the Analytics tag for.\n   * @return {(Object|null|undefined)} Live container Google tag object, `null` if none exists, or `undefined` if not loaded yet.\n   */\n  getLiveContainerGoogleTag: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID, internalContainerID) {\n      var liveContainerVersion = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getLiveContainerVersion(accountID, internalContainerID);\n      if (liveContainerVersion === undefined) {\n        return undefined;\n      }\n      if (liveContainerVersion === null || liveContainerVersion === void 0 ? void 0 : liveContainerVersion.tag) {\n        return liveContainerVersion.tag.find(function (_ref4) {\n          var type = _ref4.type;\n          return type === 'googtag';\n        }) || null;\n      }\n      return null;\n    };\n  }),\n  /**\n   * Gets the first Google Tag ID within the live container for the given account and container ID.\n   *\n   * @since 1.121.0\n   *\n   * @param {Object} state               Data store's state.\n   * @param {string} accountID           Account ID the container belongs to.\n   * @param {string} internalContainerID Internal container ID to get the Analytics tag for.\n   * @return {(string|null|undefined)} Google Tag ID if present and valid, `null` if none exists or not valid, or `undefined` if not loaded yet.\n   */\n  getLiveContainerGoogleTagID: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID, internalContainerID) {\n      var googleTag = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getLiveContainerGoogleTag(accountID, internalContainerID);\n      if (googleTag === undefined) {\n        return undefined;\n      }\n      if (googleTag === null || googleTag === void 0 ? void 0 : googleTag.parameter) {\n        var _googleTag$parameter$, _tagID;\n        // Check if the tag ID is provided directly on the tag first.\n        var tagID = (_googleTag$parameter$ = googleTag.parameter.find(function (_ref5) {\n          var key = _ref5.key;\n          return key === 'tagId';\n        })) === null || _googleTag$parameter$ === void 0 ? void 0 : _googleTag$parameter$.value;\n\n        // If the tag ID is a variable, parse out the name and look up its value.\n        if ((_tagID = tagID) === null || _tagID === void 0 ? void 0 : _tagID.startsWith('{{')) {\n          var _constantVariable$par;\n          tagID = tagID.replace(/(\\{\\{|\\}\\})/g, '');\n          var constantVariable = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getLiveContainerVariable(accountID, internalContainerID, tagID);\n          tagID = constantVariable === null || constantVariable === void 0 ? void 0 : (_constantVariable$par = constantVariable.parameter.find(function (_ref6) {\n            var key = _ref6.key;\n            return key === 'value';\n          })) === null || _constantVariable$par === void 0 ? void 0 : _constantVariable$par.value;\n        }\n\n        // Finally, check that whatever was found is a valid Google Tag ID.\n        if (Object(_js_modules_analytics_4_utils_validation__WEBPACK_IMPORTED_MODULE_9__[\"isValidGoogleTagID\"])(tagID)) {\n          return tagID;\n        }\n      }\n      return null;\n    };\n  }),\n  /**\n   * Gets a Google Tag ID, if any, for the currently selected GTM account and container.\n   *\n   * @since 1.121.0\n   *\n   * @return {(string|null|undefined)} Google Tag ID string, or `null` if none, or `undefined` if not fully loaded.\n   */\n  getCurrentGTMGoogleTagID: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function () {\n      var accountID = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getAccountID();\n      if (!Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidAccountID\"])(accountID)) {\n        return null;\n      }\n      var internalContainerID = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getInternalContainerID();\n      if (!Object(_js_modules_tagmanager_util_validation__WEBPACK_IMPORTED_MODULE_7__[\"isValidInternalContainerID\"])(internalContainerID)) {\n        return null;\n      }\n      return select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getLiveContainerGoogleTagID(accountID, internalContainerID);\n    };\n  }),\n  /**\n   * Gets the live container variable object by the given name for the given account and container ID.\n   *\n   * @since 1.18.0\n   *\n   * @param {Object} state               Data store's state.\n   * @param {string} accountID           Account ID the container belongs to.\n   * @param {string} internalContainerID Internal container ID to get version for.\n   * @param {string} variableName        Variable name to retrive.\n   * @return {(Object|null|undefined)} Live container version object, `null` if none exists, or `undefined` if not loaded yet.\n   */\n  getLiveContainerVariable: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID, internalContainerID, variableName) {\n      var liveContainerVersion = select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).getLiveContainerVersion(accountID, internalContainerID);\n      if (liveContainerVersion === undefined) {\n        return undefined;\n      }\n      if (liveContainerVersion === null || liveContainerVersion === void 0 ? void 0 : liveContainerVersion.variable) {\n        return liveContainerVersion.variable.find(function (_ref7) {\n          var name = _ref7.name;\n          return name === variableName;\n        }) || null;\n      }\n      return null;\n    };\n  }),\n  /**\n   * Gets the live container version for the given account and container IDs.\n   *\n   * @since 1.11.0\n   *\n   * @param {Object} state               Data store's state.\n   * @param {string} accountID           Account ID the container belongs to.\n   * @param {string} internalContainerID Internal container ID to get version for.\n   * @return {(Object|null|undefined)} Live container version object, `null` if none exists, or `undefined` if not loaded yet.\n   */\n  getLiveContainerVersion: function getLiveContainerVersion(state, accountID, internalContainerID) {\n    return state.liveContainerVersions[\"\".concat(accountID, \"::\").concat(internalContainerID)];\n  },\n  /**\n   * Checks whether or not the live container version is being fetched for the given account and container IDs.\n   *\n   * @since 1.11.0\n   *\n   * @param {Object} state               Data store's state.\n   * @param {string} accountID           Account ID the container belongs to.\n   * @param {string} internalContainerID Internal container ID to get version for.\n   * @return {(boolean|undefined)} True if the live container version is being fetched, otherwise false.\n   */\n  isDoingGetLiveContainerVersion: Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"createRegistrySelector\"])(function (select) {\n    return function (state, accountID, internalContainerID) {\n      return select(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULES_TAGMANAGER\"]).isFetchingGetLiveContainerVersion(accountID, internalContainerID);\n    };\n  })\n};\nvar store = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_4__[\"combineStores\"])(fetchGetLiveContainerVersionStore, {\n  initialState: baseInitialState,\n  resolvers: baseResolvers,\n  selectors: baseSelectors\n});\nvar initialState = store.initialState,\n  actions = store.actions,\n  controls = store.controls,\n  reducer = store.reducer,\n  resolvers = store.resolvers,\n  selectors = store.selectors;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/datastore/versions.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/hooks/useExistingTagEffect.js":
/*!*************************************************************!*\
  !*** ./js/modules/tagmanager/hooks/useExistingTagEffect.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 useExistingTagEffect; });\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_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/**\n * Tag Manager useExistingTag custom hook.\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\nfunction useExistingTagEffect() {\n  var existingTag = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_TAGMANAGER\"]).getExistingTag();\n  });\n  var containerID = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useSelect\"])(function (select) {\n    return select(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_TAGMANAGER\"]).getPrimaryContainerID();\n  });\n  var skipEffect = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useRef\"])(true);\n  var _useDispatch = Object(googlesitekit_data__WEBPACK_IMPORTED_MODULE_1__[\"useDispatch\"])(_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULES_TAGMANAGER\"]),\n    setUseSnippet = _useDispatch.setUseSnippet;\n  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__[\"useEffect\"])(function () {\n    if (existingTag && containerID !== undefined) {\n      if (containerID === '' || skipEffect.current) {\n        skipEffect.current = false;\n        return;\n      }\n      if (existingTag === containerID) {\n        setUseSnippet(false);\n      } else {\n        setUseSnippet(true);\n      }\n    }\n  }, [containerID, existingTag, setUseSnippet]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvaG9va3MvdXNlRXhpc3RpbmdUYWdFZmZlY3QuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvaG9va3MvdXNlRXhpc3RpbmdUYWdFZmZlY3QuanM/MTNjNCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRhZyBNYW5hZ2VyIHVzZUV4aXN0aW5nVGFnIGN1c3RvbSBob29rLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgaHR0cHM6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/hooks/useExistingTagEffect.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerModule\", function() { return registerModule; });\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _components_setup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/setup */ \"./js/modules/tagmanager/components/setup/index.js\");\n/* harmony import */ var _components_settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/settings */ \"./js/modules/tagmanager/components/settings/index.js\");\n/* harmony import */ var _svg_graphics_tagmanager_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/svg/graphics/tagmanager.svg */ \"./svg/graphics/tagmanager.svg\");\n/* harmony import */ var _datastore_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \"./js/modules/tagmanager/constants.js\");\n/* harmony import */ var _datastore__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./datastore */ \"./js/modules/tagmanager/datastore/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"registerStore\", function() { return _datastore__WEBPACK_IMPORTED_MODULE_6__[\"registerStore\"]; });\n\n/**\n * Tag Manager module initialization.\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\n\n\nfunction registerModule(modules) {\n  modules.registerModule(_constants__WEBPACK_IMPORTED_MODULE_5__[\"MODULE_SLUG_TAGMANAGER\"], {\n    storeName: _datastore_constants__WEBPACK_IMPORTED_MODULE_4__[\"MODULES_TAGMANAGER\"],\n    SettingsEditComponent: _components_settings__WEBPACK_IMPORTED_MODULE_2__[\"SettingsEdit\"],\n    SettingsViewComponent: _components_settings__WEBPACK_IMPORTED_MODULE_2__[\"SettingsView\"],\n    SetupComponent: _components_setup__WEBPACK_IMPORTED_MODULE_1__[\"SetupMain\"],\n    Icon: _svg_graphics_tagmanager_svg__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n    features: [Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('You will not be able to create tags without updating code', 'google-site-kit')]\n  });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvaW5kZXguanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvaW5kZXguanM/MmIwN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BO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQU1BO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/index.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/util/container.js":
/*!*************************************************!*\
  !*** ./js/modules/tagmanager/util/container.js ***!
  \*************************************************/
/*! exports provided: getNormalizedContainerName */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getNormalizedContainerName\", function() { return getNormalizedContainerName; });\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/**\n * Container 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 * Gets normalized container name.\n *\n * @since 1.20.0\n *\n * @param {string} containerName Container name to normalize.\n * @return {string} Normalized container name.\n */\nfunction getNormalizedContainerName(containerName) {\n  var sanitizedContainerName = containerName;\n\n  // Decode html entities.\n  sanitizedContainerName = Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"unescape\"])(sanitizedContainerName);\n  // Remove any leading or trailing whitespace.\n  sanitizedContainerName = sanitizedContainerName.trim();\n  // Must not start with an underscore.\n  sanitizedContainerName = sanitizedContainerName.replace(/^_+/, '');\n  // Convert accents to basic characters to prevent them from being stripped.\n  sanitizedContainerName = sanitizedContainerName.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\n  // Strip all non-simple characters.\n  sanitizedContainerName = sanitizedContainerName.replace(/[^a-zA-Z0-9_., -]/g, '');\n  // Collapse multiple whitespaces.\n  sanitizedContainerName = sanitizedContainerName.replace(/\\s+/g, ' ');\n  return sanitizedContainerName;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXRpbC9jb250YWluZXIuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXRpbC9jb250YWluZXIuanM/ZTdjYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvbnRhaW5lciB1dGlsaXRpZXMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZX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vbnRhaW5lck5hbWU7XG59XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUlBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/util/container.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/util/get-containers.js":
/*!******************************************************!*\
  !*** ./js/modules/tagmanager/util/get-containers.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 getContainers; });\n/**\n * Gets an object of utility functions for filtering the given list of containers.\n *\n * @since 1.4.0\n *\n * @param {Array} containers Containers to filter.\n * @return {Object} Object with keys mapping to utility functions to operate on given containers.\n */\nfunction getContainers(containers) {\n  return {\n    /**\n     * Gets containers that include the given usage context.\n     *\n     * @since 1.4.0\n     *\n     * @param {string} context The context to filter by.\n     * @return {Array} Containers with the given usage context.\n     */\n    byContext: function byContext(context) {\n      return containers.filter(function (c) {\n        return c.usageContext.includes(context);\n      });\n    }\n  };\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXR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oiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/util/get-containers.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/util/index.js":
/*!*********************************************!*\
  !*** ./js/modules/tagmanager/util/index.js ***!
  \*********************************************/
/*! exports provided: getNormalizedContainerName, isValidAccountID, isValidAccountSelection, isValidContainerID, isValidContainerName, isUniqueContainerName, isValidContainerSelection, isValidInternalContainerID, isValidUsageContext, getContainers, tagMatchers */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _container__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./container */ \"./js/modules/tagmanager/util/container.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getNormalizedContainerName\", function() { return _container__WEBPACK_IMPORTED_MODULE_0__[\"getNormalizedContainerName\"]; });\n\n/* harmony import */ var _validation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./validation */ \"./js/modules/tagmanager/util/validation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountID\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidAccountID\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountSelection\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidAccountSelection\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidContainerID\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidContainerID\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidContainerName\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidContainerName\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isUniqueContainerName\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isUniqueContainerName\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidContainerSelection\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidContainerSelection\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidInternalContainerID\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidInternalContainerID\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isValidUsageContext\", function() { return _validation__WEBPACK_IMPORTED_MODULE_1__[\"isValidUsageContext\"]; });\n\n/* harmony import */ var _get_containers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./get-containers */ \"./js/modules/tagmanager/util/get-containers.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"getContainers\", function() { return _get_containers__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _tag_matchers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tag-matchers */ \"./js/modules/tagmanager/util/tag-matchers.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"tagMatchers\", function() { return _tag_matchers__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/**\n * Utilities for the Tag Manager 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\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXRpbC9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL21vZHVsZXMvdGFnbWFuYWdlci91dGlsL2luZGV4LmpzPzMxNjkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXRpZXMgZm9yIHRoZSBUYWcgTWFuYWdlciBtb2R1bGUuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2NvbnRhaW5lcic7XG5leHBvcnQgKiBmcm9tICcuL3ZhbGlkYXRpb24nO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBnZXRDb250YWluZXJzIH0gZnJvbSAnLi9nZXQtY29udGFpbmVycyc7XG5leHBvcnQgeyBkZWZhdWx0IGFzIHRhZ01hdGNoZXJzIH0gZnJvbSAnLi90YWctbWF0Y2hlcnMnO1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/util/index.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * Tag matching patterns.\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/* harmony default export */ __webpack_exports__[\"default\"] = ([\n// Detect injection script. (Google provided code, duracelltomi-google-tag-manager, metronet-tag-manager (uses user-provided))\n/<script[^>]*>[^>]+?www.googletagmanager.com\\/gtm[^>]+?['|\"](GTM-[0-9A-Z]+)['|\"]/,\n// Detect gtm.js script calls.\n/<script[^>]*src=['|\"]https:\\/\\/www.googletagmanager.com\\/gtm\\.js\\?id=(GTM-[0-9A-Z]+)['|\"]/,\n// Detect iframe version for no-js.\n/<script[^>]*src=['|\"]https:\\/\\/www.googletagmanager.com\\/ns.html\\?id=(GTM-[0-9A-Z]+)['|\"]/,\n// Detect amp tag.\n/<amp-analytics [^>]*config=['|\"]https:\\/\\/www.googletagmanager.com\\/amp.json\\?id=(GTM-[0-9A-Z]+)['|\"]/]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXRpbC90YWctbWF0Y2hlcnMuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy9tb2R1bGVzL3RhZ21hbmFnZXIvdXRpbC90YWctbWF0Y2hlcnMuanM/YzllZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRhZyBtYXRjaGluZyBwYXR0ZXJucy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJ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14+XSpzcmM9Wyd8XCJdaHR0cHM6XFwvXFwvd3d3Lmdvb2dsZXRhZ21hbmFnZXIuY29tXFwvZ3RtXFwuanNcXD9pZD0oR1RNLVswLTlBLVpdKylbJ3xcIl0vLFxuXHQvLyBEZXRlY3QgaWZyYW1lIHZlcnNpb24gZm9yIG5vLWpzLlxuXHQvPHNjcmlwdFtePl0qc3JjPVsnfFwiXWh0dHBzOlxcL1xcL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbVxcL25zLmh0bWxcXD9pZD0oR1RNLVswLTlBLVpdKylbJ3xcIl0vLFxuXHQvLyBEZXRlY3QgYW1wIHRhZy5cblx0LzxhbXAtYW5hbHl0aWNzIFtePl0qY29uZmlnPVsnfFwiXWh0dHBzOlxcL1xcL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbVxcL2FtcC5qc29uXFw/aWQ9KEdUTS1bMC05QS1aXSspWyd8XCJdLyxcbl07XG4iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/modules/tagmanager/util/tag-matchers.js\n");

/***/ }),

/***/ "./js/modules/tagmanager/util/validation.js":
/*!**************************************************!*\
  !*** ./js/modules/tagmanager/util/validation.js ***!
  \**************************************************/
/*! exports provided: isValidAccountID, isValidAccountSelection, isValidContainerID, isValidContainerName, isUniqueContainerName, isValidContainerSelection, isValidInternalContainerID, isValidUsageContext */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountID\", function() { return isValidAccountID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidAccountSelection\", function() { return isValidAccountSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidContainerID\", function() { return isValidContainerID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidContainerName\", function() { return isValidContainerName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isUniqueContainerName\", function() { return isUniqueContainerName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidContainerSelection\", function() { return isValidContainerSelection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidInternalContainerID\", function() { return isValidInternalContainerID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidUsageContext\", function() { return isValidUsageContext; });\n/* harmony import */ var _js_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/js/util */ \"./js/util/index.js\");\n/* harmony import */ var _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/modules/tagmanager/datastore/constants */ \"./js/modules/tagmanager/datastore/constants.js\");\n/* harmony import */ var _container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./container */ \"./js/modules/tagmanager/util/container.js\");\n/**\n * Validation 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 * Internal dependencies\n */\n\n\n\n\n/**\n * Checks if the given account ID appears to be a valid Tag Manager account.\n *\n * @since 1.11.0\n *\n * @param {(string|number)} accountID Account ID to test.\n * @return {boolean} Whether or not the given account ID is valid.\n */\nfunction isValidAccountID(accountID) {\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_0__[\"isValidNumericID\"])(accountID);\n}\n\n/**\n * Checks if the given value is a valid selection for an Account.\n *\n * @since 1.11.0\n *\n * @param {string} value Selected value.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidAccountSelection(value) {\n  if (value === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"ACCOUNT_CREATE\"]) {\n    return true;\n  }\n  return isValidAccountID(value);\n}\n\n/**\n * Checks if the given container ID appears to be a valid GTM container.\n *\n * @since 1.11.0\n *\n * @param {string} containerID Container ID to check.\n * @return {boolean} Whether or not the given container ID is valid.\n */\nfunction isValidContainerID(containerID) {\n  return typeof containerID === 'string' && /^GTM-[A-Z0-9]+$/.test(containerID);\n}\n\n/**\n * Checks if the given container name appears to be valid.\n *\n * @since 1.20.0\n *\n * @param {string} containerName Container name to test.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidContainerName(containerName) {\n  return typeof containerName === 'string' && Object(_container__WEBPACK_IMPORTED_MODULE_2__[\"getNormalizedContainerName\"])(containerName).length > 0;\n}\n\n/**\n * Checks if the given container name is unique across account containers.\n *\n * @since 1.20.0\n *\n * @param {string}         containerName Container name to test.\n * @param {Array.<Object>} containers    Available containers.\n * @return {boolean} True if unique, otherwise false.\n */\nfunction isUniqueContainerName(containerName, containers) {\n  var normalizedContainerName = Object(_container__WEBPACK_IMPORTED_MODULE_2__[\"getNormalizedContainerName\"])(containerName);\n  return !Array.isArray(containers) || !containers.some(function (_ref) {\n    var name = _ref.name;\n    return Object(_container__WEBPACK_IMPORTED_MODULE_2__[\"getNormalizedContainerName\"])(name) === normalizedContainerName;\n  });\n}\n\n/**\n * Checks if the given value is a valid selection for a container.\n *\n * @since 1.11.0\n *\n * @param {string} value Selected value.\n * @return {boolean} True if valid, otherwise false.\n */\nfunction isValidContainerSelection(value) {\n  if (value === _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CONTAINER_CREATE\"]) {\n    return true;\n  }\n  return isValidContainerID(value);\n}\n\n/**\n * Checks if the given internal container ID appears to be valid.\n *\n * @since 1.11.0\n *\n * @param {(string|number)} internalContainerID Internal container ID to test.\n * @return {boolean} Whether or not the given ID is valid.\n */\nfunction isValidInternalContainerID(internalContainerID) {\n  return Object(_js_util__WEBPACK_IMPORTED_MODULE_0__[\"isValidNumericID\"])(internalContainerID);\n}\n\n/**\n * Checks if the given context is a valid container usage context.\n *\n * @since 1.11.0\n *\n * @param {string} context A usage context to check.\n * @return {boolean} Whether or not the given context is valid.\n */\nfunction isValidUsageContext(context) {\n  return [_js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CONTEXT_WEB\"], _js_modules_tagmanager_datastore_constants__WEBPACK_IMPORTED_MODULE_1__[\"CONTEXT_AMP\"]].includes(context);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/modules/tagmanager/util/validation.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2NvbnZlcnQtdGltZS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvY29udmVydC10aW1lLmpzPzJlOTMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaW1lIHJlbGF0ZWQgdXRpbGl0eSBmdW5jdGlvbnMuXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyMSBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB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0FBQ0E7QUFDQTtBQUVBO0FBTUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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/errors.js":
/*!***************************!*\
  !*** ./js/util/errors.js ***!
  \***************************/
/*! exports provided: ERROR_CODE_MISSING_REQUIRED_SCOPE, ERROR_REASON_INSUFFICIENT_PERMISSIONS, ERROR_REASON_FORBIDDEN, ERROR_INTERNAL_SERVER_ERROR, ERROR_INVALID_JSON, ERROR_REASON_BAD_REQUEST, isWPError, isPermissionScopeError, isInsufficientPermissionsError, isAuthError, isErrorRetryable, getReportErrorMessage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_CODE_MISSING_REQUIRED_SCOPE\", function() { return ERROR_CODE_MISSING_REQUIRED_SCOPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_REASON_INSUFFICIENT_PERMISSIONS\", function() { return ERROR_REASON_INSUFFICIENT_PERMISSIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_REASON_FORBIDDEN\", function() { return ERROR_REASON_FORBIDDEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_INTERNAL_SERVER_ERROR\", function() { return ERROR_INTERNAL_SERVER_ERROR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_INVALID_JSON\", function() { return ERROR_INVALID_JSON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_REASON_BAD_REQUEST\", function() { return ERROR_REASON_BAD_REQUEST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isWPError\", function() { return isWPError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPermissionScopeError\", function() { return isPermissionScopeError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInsufficientPermissionsError\", function() { return isInsufficientPermissionsError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isAuthError\", function() { return isAuthError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isErrorRetryable\", function() { return isErrorRetryable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getReportErrorMessage\", function() { return getReportErrorMessage; });\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 _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);\n/**\n * Error 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 * WordPress dependencies\n */\n\n\n// Error codes and reasons.\nvar ERROR_CODE_MISSING_REQUIRED_SCOPE = 'missing_required_scopes'; // When scopes are missing.\nvar ERROR_REASON_INSUFFICIENT_PERMISSIONS = 'insufficientPermissions';\nvar ERROR_REASON_FORBIDDEN = 'forbidden';\nvar ERROR_INTERNAL_SERVER_ERROR = 'internal_server_error';\nvar ERROR_INVALID_JSON = 'invalid_json';\nvar ERROR_REASON_BAD_REQUEST = 'bad_request';\n\n/**\n * Checks if the provided object is an instance of WP_Error class.\n *\n * @since 1.13.0\n *\n * @param {Object} obj The object to check.\n * @return {boolean} TRUE if the object has \"code\", \"data\" and \"message\" properties, otherwise FALSE.\n */\nfunction isWPError(obj) {\n  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__[\"isPlainObject\"])(obj) && obj.hasOwnProperty('code') && (typeof obj.code === 'string' || typeof obj.code === 'number') && obj.hasOwnProperty('message') && typeof obj.message === 'string' && obj.hasOwnProperty('data'); // We don't check \"obj.data\" type because it can be anything.\n}\n\n/**\n * Checks if the given error is a permission scope error.\n *\n * @since 1.9.0\n * @private\n *\n * @param {Object} error Input to test as a possible permission scope error.\n * @return {boolean} TRUE if permission scope error, otherwise FALSE.\n */\nfunction isPermissionScopeError(error) {\n  return (error === null || error === void 0 ? void 0 : error.code) === ERROR_CODE_MISSING_REQUIRED_SCOPE;\n}\n\n/**\n * Checks if the given error has insufficient permissions reason.\n *\n * @since 1.16.0\n * @since 1.70.0 Add support for \"forbidden\" reason.\n *\n * @param {Object} error The error object to check.\n * @return {boolean} TRUE if it's insufficient permissions error, otherwise FALSE.\n */\nfunction isInsufficientPermissionsError(error) {\n  var _error$data;\n  return [ERROR_REASON_INSUFFICIENT_PERMISSIONS, ERROR_REASON_FORBIDDEN].includes(error === null || error === void 0 ? void 0 : (_error$data = error.data) === null || _error$data === void 0 ? void 0 : _error$data.reason);\n}\n\n/**\n * Checks if the given error is an auth error.\n *\n * @since 1.78.0\n *\n * @param {Object} error The error object to check.\n * @return {boolean} TRUE if it's an auth error, otherwise FALSE.\n */\nfunction isAuthError(error) {\n  var _error$data2;\n  return !!(error === null || error === void 0 ? void 0 : (_error$data2 = error.data) === null || _error$data2 === void 0 ? void 0 : _error$data2.reconnectURL);\n}\n\n/**\n * Checks if the given error can be retried.\n *\n * @since 1.86.0\n *\n * @param {Object} error          The error object to check.\n * @param {Object} [selectorData] The error's associated selector data object.\n * @return {boolean} TRUE if the error is retryable, otherwise FALSE.\n */\nfunction isErrorRetryable(error, selectorData) {\n  return !!(selectorData === null || selectorData === void 0 ? void 0 : selectorData.storeName) && !isInsufficientPermissionsError(error) && !isPermissionScopeError(error) && !isAuthError(error);\n}\n\n/**\n * Sets the error message for specific error codes.\n *\n * @since 1.92.0\n *\n * @param {Object} error The error object to check.\n * @return {Object} The updated error object.\n */\nfunction getReportErrorMessage(error) {\n  if ((error === null || error === void 0 ? void 0 : error.code) === ERROR_INTERNAL_SERVER_ERROR) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('There was a critical error on this website while fetching data', 'google-site-kit');\n  } else if ((error === null || error === void 0 ? void 0 : error.code) === ERROR_INVALID_JSON) {\n    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__[\"__\"])('The server provided an invalid response', 'google-site-kit');\n  }\n  return error === null || error === void 0 ? void 0 : error.message;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/errors.js\n");

/***/ }),

/***/ "./js/util/escape-uri.js":
/*!*******************************!*\
  !*** ./js/util/escape-uri.js ***!
  \*******************************/
/*! exports provided: escapeURI */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"escapeURI\", function() { return escapeURI; });\n/**\n * Escape URI components 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 * Escapes URI components in a template string as a tag function.\n *\n * @example\n * // escape redirect url\n * const redirectTo = 'http://localhost/admin/';\n * const loginUrl = escapeURI`http://localhost/login?redirect=${ redirectTo }`;\n *\n * @since 1.11.0\n *\n * @param {string[]} strings The array of static strings in the template.\n * @param {...*}     values  The array of expressions used in the template.\n * @return {string} Escaped URI string.\n */\nfunction escapeURI(strings) {\n  for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    values[_key - 1] = arguments[_key];\n  }\n  return strings.reduce(function (acc, string, idx) {\n    return acc + string + encodeURIComponent(values[idx] || '');\n  }, '');\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2VzY2FwZS11cmkuanMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy91dGlsL2VzY2FwZS11cmkuanM/NjdhYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEVzY2FwZSBVUkkgY29tcG9uZW50cyB1dGlsaXR5LlxuICpcb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

/***/ "./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/insufficient-permissions-error-description.js":
/*!***************************************************************!*\
  !*** ./js/util/insufficient-permissions-error-description.js ***!
  \***************************************************************/
/*! exports provided: getInsufficientPermissionsErrorDescription */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getInsufficientPermissionsErrorDescription\", function() { return getInsufficientPermissionsErrorDescription; });\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ \"@wordpress/i18n\");\n/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _js_modules_search_console_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/js/modules/search-console/constants */ \"./js/modules/search-console/constants.js\");\n/* harmony import */ var _js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/js/modules/analytics-4/constants */ \"./js/modules/analytics-4/constants.js\");\n/**\n * `getInsufficientPermissionsErrorDescription` 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\n/**\n * Gets a description for an insufficient permissions error.\n *\n * @since 1.16.0\n *\n * @param {string} error              Original error message.\n * @param {Object} module             Module data.\n * @param {string} module.name        The name of the module.\n * @param {string} module.slug        The slug of the module.\n * @param {Object} module.owner       The owner of the module.\n * @param {string} module.owner.login The The login of the current owner.\n * @return {string}                   Error description.\n */\nfunction getInsufficientPermissionsErrorDescription() {\n  var error = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  var module = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _ref = module || {},\n    _ref$slug = _ref.slug,\n    slug = _ref$slug === void 0 ? '' : _ref$slug,\n    _ref$name = _ref.name,\n    name = _ref$name === void 0 ? '' : _ref$name,\n    _ref$owner = _ref.owner,\n    owner = _ref$owner === void 0 ? {} : _ref$owner; // If no module data provided, it is impossible to provide a more clear message.\n  if (!slug || !name) {\n    return error;\n  }\n  var message = '';\n  var userInfo = '';\n  if (_js_modules_analytics_4_constants__WEBPACK_IMPORTED_MODULE_2__[\"MODULE_SLUG_ANALYTICS_4\"] === slug) {\n    if (error.match(/account/i)) {\n      message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n    } else if (error.match(/property/i)) {\n      message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n    } else if (error.match(/view/i)) {\n      message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n    }\n  } else if (_js_modules_search_console_constants__WEBPACK_IMPORTED_MODULE_1__[\"MODULE_SLUG_SEARCH_CONSOLE\"] === slug) {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit');\n  }\n  if (!message) {\n    message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"sprintf\"])(/* translators: %s: module name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.', 'google-site-kit'), name);\n  }\n  if (owner && owner.login) {\n    userInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"sprintf\"])(/* translators: %s: owner name */\n    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('This service was originally connected by the administrator \"%s\" — you can contact them for more information.', 'google-site-kit'), owner.login);\n  }\n  if (!userInfo) {\n    userInfo = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__[\"__\"])('This service was originally connected by an administrator — you can contact them for more information.', 'google-site-kit');\n  }\n  return \"\".concat(message, \" \").concat(userInfo);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/insufficient-permissions-error-description.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzLXZhbGlkLW51bWVyaWMtaWQuanMuanMiLCJzb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rcyB0aGUgZ2l2ZW4gdmFsdWUgdG8gc2VlIGlmIGl0IGlzIGEgcG9zaXRpdmUgaW50ZWdlci5cbiAqXG4gKiBAc2luY2UgMS4xMS4wIEZ1bmN0aW9uIGludHJvZHVjZWQuXG4gKiBAc2luY2UgMS45MC4wIE1vdmVkIG91dHNpZGUgVGFnIE1hbmFnZXIgdG8gYSBnZW5lcmljIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogQHBhcmFtIHsqfSBpbnB1dCBWYWx1ZSB0byBjaGVjay5cbiAqIEByZXR1cm4ge2Jvb2xlYW59IFZhbGlkaXR5LlxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNWYWxpZE51bWVyaWNJRCggaW5wdXQgKSB7XG5cdGNvbnN0IGlkID0gcGFyc2VGbG9hdCggaW5wdXQgKSB8fCAwO1xuXG5cdGlmICggISBOdW1iZXIuaXNJbnRlZ2VyKCBpZCApICkge1xuXHRcdHJldHVybiBmYWxzZTtcblx0fVxuXG5cdHJldHVybiBpZCA+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL2lzbnVtZXJpYy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvaXNudW1lcmljLmpzPzliNDkiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBVdGlsaXR5IGZ1bmN0aW9uIHJlbGF0ZWQgdG8gY2hlY2tpbmcgaWYgYSBnaXZlbiB2YWx1ZSBpcyBudW1lcmljLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjIgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gK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XJuIGZhbHNlO1xuXHR9XG5cblx0cmV0dXJuICEgaXNOYU4oIHN0cmluZyApO1xufVxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFFQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL21hcmtkb3duLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9tYXJrZG93bi5qcz9kYjAyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTWFya2Rvd24gdXRpbGl0eS5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogIC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VzICkge1xuXHRcdGh0bWwgPSBydWxlKCBodG1sICk7XG5cdH1cblxuXHRyZXR1cm4gaHRtbDtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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/NTk4MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcG9ydCBwYXJ0aXRpb25pbmcg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2hvdWxkIGFsd2F5cyBiZSBzbGljZWQgZnJvbSB0aGUgZW5kLlxuXHRcdGN1cnJlbnRSYW5nZTogcmVwb3J0LnNsaWNlKCBfZGF0ZVJhbmdlTGVuZ3RoICksXG5cdFx0Ly8gVGhlIGNvbXBhcmUgcmFuZ2UgY29udGludWVzIGZyb20gd2hlcmUgdGhlIGN1cnJlbnQgbGVmdCBvZmYgKHNsaWNpbmcgdG93YXJkcyB0aGUgc3RhcnQpLFxuXHRcdC8vIGFuZCBtYXkgYmUgc2hvcnRlciAod2hlcmUgb2xkZXIgZGF0YSBpcyBub3QgYXZhaWxhYmxlIHlldCkgd2hpY2ggaXMgZmluZS5cblx0XHRjb21wYXJlUmFuZ2U6IHJlcG9ydC5zbGljZSggX2RhdGVSYW5nZUxlbmd0aCAqIDIsIF9kYXRlUmFuZ2VMZW5ndGggKSxcblx0fTtcbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUlBO0FBQ0E7QUFJQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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/report-validation.js":
/*!**************************************!*\
  !*** ./js/util/report-validation.js ***!
  \**************************************/
/*! exports provided: isValidStringsOrObjects, isValidDateRange, isValidOrders, isValidStringularItems */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidStringsOrObjects\", function() { return isValidStringsOrObjects; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidDateRange\", function() { return isValidDateRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidOrders\", function() { return isValidOrders; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isValidStringularItems\", function() { return isValidStringularItems; });\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\n/**\n * Reporting API validation 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 * Validates data that can be either string or object of the certain type, or array of them.\n *\n * @since 1.13.0\n * @since 1.98.0 Added verifyStringFunction parameter.\n *\n * @param {string|string[]|Object|Object[]} data                   The data to check.\n * @param {Function}                        verifyObjectFunction   The callback to verify an object.\n * @param {Function}                        [verifyStringFunction] The callback to verify a string (optional).\n * @return {boolean} TRUE if data is valid, otherwise FALSE.\n */\nfunction isValidStringsOrObjects(data, verifyObjectFunction) {\n  var verifyStringFunction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {\n    return true;\n  };\n  if (typeof data === 'string') {\n    return verifyStringFunction(data);\n  }\n  if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(data) === 'object' && verifyObjectFunction(data)) {\n    return true;\n  }\n  if (Array.isArray(data)) {\n    return data.every(function (item) {\n      if (typeof item === 'string') {\n        return verifyStringFunction(item);\n      }\n      if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(item) === 'object') {\n        return verifyObjectFunction(item);\n      }\n      return false;\n    });\n  }\n\n  // Arguably this should fail/throw, because none of our allowed types were encountered.\n  return false;\n}\n\n/**\n * Verifies that either date range or start and end dates are valid.\n *\n * @since 1.13.0\n *\n * @param {Object} dates           The object containing dates to check.\n * @param {string} dates.startDate The start date to check.\n * @param {string} dates.endDate   The end date to check.\n * @return {boolean} TRUE if either date range or start/end dates are valid, otherwise FALSE.\n */\nfunction isValidDateRange(_ref) {\n  var startDate = _ref.startDate,\n    endDate = _ref.endDate;\n  var validStartDate = startDate && startDate.match(/^\\d{4}-\\d{2}-\\d{2}$/);\n  var validEndDate = endDate && endDate.match(/^\\d{4}-\\d{2}-\\d{2}$/);\n  return validStartDate && validEndDate;\n}\n\n/**\n * Verifies that order definitions are valid. It can be either an object or an array\n * of objects where each object has \"fieldName\" and valid \"sortOrder\" properties.\n *\n * @since 1.13.0\n *\n * @param {Object|Object[]} orders The order definitions to check.\n * @return {boolean} TRUE if order definitions are valid, otherwise FALSE.\n */\nfunction isValidOrders(orders) {\n  function isValidOrder(order) {\n    var isValidFieldName = order.hasOwnProperty('fieldName') && !!order.fieldName;\n    var isValidSortOrder = order.hasOwnProperty('sortOrder') && /(ASCENDING|DESCENDING)/i.test(order.sortOrder.toString());\n    return isValidFieldName && isValidSortOrder;\n  }\n  if (Array.isArray(orders)) {\n    return orders.every(function (item) {\n      return _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(item) === 'object' && isValidOrder(item);\n    });\n  }\n  if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(orders) === 'object') {\n    return isValidOrder(orders);\n  }\n\n  // Arguably this should fail/throw, because none of our allowed types were encountered.\n  return false;\n}\n\n/**\n * Verifies that provided parameter is either a string or an array of strings.\n *\n * @since 1.15.0\n *\n * @param {(string|Array.<string>)} items Items to validate.\n * @return {boolean} TRUE if items are either a string or an array of strings, otherwise FALSE.\n */\nfunction isValidStringularItems(items) {\n  if (typeof items === 'string') {\n    return true;\n  }\n  if (Array.isArray(items)) {\n    return items.every(function (item) {\n      return typeof item === 'string';\n    });\n  }\n  return false;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/report-validation.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3NhZmVseS1zb3J0LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC9zYWZlbHktc29ydC5qcz8zMzQ3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogYHNhZmVseVNvcnRgIHV0aWxpdHkgZnVuY3Rpb24uXG4gKlxuICogU2l0ZSBLaXQgYnkgR29vZ2xlLCBDb3B5cmlnaHQgMjAyNCBHb29nbGUgTExDXG4gKlxuICogTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICBodHRwczovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlz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tBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3N0cmluZ2lmeS5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvc3RyaW5naWZ5LmpzP2I3NGUiXSwic291cmNlc0NvbnRlbnQiOl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GF0YTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/util/stringify.js\n");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractExistingTag\", function() { return extractExistingTag; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getExistingTagURLs\", function() { return getExistingTagURLs; });\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_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 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 _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/api-fetch */ \"./js/api-fetch-shim.js\");\n/* harmony import */ var _wordpress_url__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/url */ \"../node_modules/@wordpress/url/build-module/index.js\");\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\n\n/**\n * Utility functions for Tags\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/**\n * Internal dependencies\n */\n\n\n/**\n * Extracts a tag from the given HTML string matched by given matchers.\n *\n * @since 1.13.0\n *\n * @param {string} html        The string of html from which to extract the tag.\n * @param {Array}  tagMatchers An array of the matchers to use.\n * @return {(string|boolean)} The tag id if found, otherwise false.\n */\nfunction extractExistingTag(html, tagMatchers) {\n  var matchingPattern = tagMatchers.find(function (pattern) {\n    return pattern.test(html);\n  });\n  if (matchingPattern) {\n    return matchingPattern.exec(html)[1];\n  }\n  return false;\n}\n\n/**\n * Gets the existing tag URLs.\n *\n * @since 1.13.0\n *\n * @param {Object} args           Arguments to use to get URLs.\n * @param {string} args.homeURL   The site's home URL.\n * @param {string} [args.ampMode] Optional. The site's AMP mode.\n * @return {Array} An array of the existing tag URLs.\n */\nvar getExistingTagURLs = Object(lodash__WEBPACK_IMPORTED_MODULE_3__[\"memoize\"])(/*#__PURE__*/function () {\n  var _ref2 = _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(/*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref) {\n    var homeURL, ampMode, urls, ampPostURL;\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            homeURL = _ref.homeURL, ampMode = _ref.ampMode;\n            invariant__WEBPACK_IMPORTED_MODULE_2___default()(Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__[\"isURL\"])(homeURL), 'homeURL must be valid URL');\n\n            // Initialize urls with home URL\n            urls = [homeURL]; // Add first post in AMP mode if AMP mode is secondary.\n            if (!(_js_googlesitekit_datastore_site_constants__WEBPACK_IMPORTED_MODULE_6__[\"AMP_MODE_SECONDARY\"] === ampMode)) {\n              _context.next = 14;\n              break;\n            }\n            _context.prev = 4;\n            _context.next = 7;\n            return Object(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n              path: '/wp/v2/posts?per_page=1'\n            }).then(function (posts) {\n              return posts.slice(0, 1).map(function (post) {\n                return Object(_wordpress_url__WEBPACK_IMPORTED_MODULE_5__[\"addQueryArgs\"])(post.link, {\n                  amp: 1\n                });\n              }).pop();\n            });\n          case 7:\n            ampPostURL = _context.sent;\n            if (ampPostURL) {\n              urls.push(ampPostURL);\n            }\n            _context.next = 14;\n            break;\n          case 11:\n            _context.prev = 11;\n            _context.t0 = _context[\"catch\"](4);\n            return _context.abrupt(\"return\", urls);\n          case 14:\n            return _context.abrupt(\"return\", urls);\n          case 15:\n          case \"end\":\n            return _context.stop();\n        }\n      }\n    }, _callee, null, [[4, 11]]);\n  }));\n  return function (_x) {\n    return _ref2.apply(this, arguments);\n  };\n}());//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./js/util/tag.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2NvbnN0YW50cy5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3V0aWwvdHJhY2tpbmcvY29uc3RhbnRzLmpzPzJkNjgiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb25zdGFudHMgcmVsYXRlZCB0byBldmVudCB0cmFja2luZy5cbiAqXG4gKiBTaXRlIEtpdCBieSBHb29nbGUsIENvcHlyaWdodCAyMDIxIEdvb2dsZSBMTENcbiAqXG4gKiBMaWNlbnNlZCB1bmRlciB0aGUgQXBhY2hlIExpY2Vuc2UsIFZlcnNpb24gMi4wICh0aGUgXCJMaWNlbnNlXCIpO1xuICogeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNlbnNlLlxuICogWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZSBMaWNlbnNlIGF0XG4gKlxuICogICAgIGh0dHBzOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG5cbi8qKlxuICogRGF0YSBsYXllciBnbG9iYWwgdXNlZCBmb3IgaW50ZXJuYWwvcHJpdmF0ZSBTaXRlIEtpdCBkYXRhLlxuICpcbiAqIEBzaW5jZSAxLjguMFxuICogQHByaXZhdGVcbiAqL1xuZXhwb3J0IGNvbnN0IERBVEFfTEFZRVIgPSAnX2dvb2dsZXNpdGVraXREYXRhTGF5ZXInO1xuXG4vKipcbiAqIFRoZSBgZ3RhZ2AgYDxzY3JpcHQ+YCBpZGVudGlmaWVyLlxuICpcbiAqIEBzaW5jZSAxLjguMFxuICogQHByaXZhdGVcbiAqL1xuZXhwb3J0IGNvbnN0IFNDUklQVF9JREVOVElGSUVSID0gJ2RhdGEtZ29vZ2xlc2l0ZWtpdC1ndGFnJztcbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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/ZTAyZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEludGVybmFsIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgeyBEQVRBX0xBWUVSIH0gZnJvbSAnLi9jb25zdGFudHMnO1xuXG4vKipcbiAqIFJldHVybnMgYSBmdW5jdGlvbiB3aGljaCwgd2hlbiBpbnZva2VkIHdpbGwgaW5pdGlhb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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy91dGlsL3RyYWNraW5nL2luZGV4LmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvdXRpbC90cmFja2luZy9pbmRleC5qcz82YTc3Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogRXZlbnQgdHJhY2tpbmcgdXRpbGl0aWVzLlxuICpcbiAqIFNpdGUgS2l0IGJ5IEdvb2dsZSwgQ29weXJpZ2h0IDIwMjEgR29vZ2xlIExMQ1xuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiB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uYWJsZVRyYWNraW5nLFxuXHRkaXNhYmxlVHJhY2tpbmcsXG5cdGlzVHJhY2tpbmdFbmFibGVkLFxuXHR0b2dnbGVUcmFja2luZyxcblx0dHJhY2tFdmVudCxcblx0dHJhY2tFdmVudE9uY2UsXG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFXQTtBQVJBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0EiLCJzb3VyY2VSb290IjoiIn0=\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");

/***/ }),

/***/ "./js/util/withIntersectionObserver.js":
/*!*********************************************!*\
  !*** ./js/util/withIntersectionObserver.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 withIntersectionObserver; });\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_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ \"../node_modules/@babel/runtime/helpers/extends.js\");\n/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__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_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 _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ \"../node_modules/@wordpress/element/build-module/index.js\");\n/* harmony import */ var react_use__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-use */ \"../node_modules/react-use/esm/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prop-types */ \"../node_modules/prop-types/index.js\");\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_6__);\n\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 * `withIntersectionObserver` HOC.\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\n\n/**\n * Higher-Order Component to render a wrapped component and trigger a callback when it becomes in view.\n *\n * This was initially added to provide a workaround for a limitation with the `useIntersection` hook from `react-use`.\n * We should replace `useIntersection()` with a version that doesn't have this limitation.\n * See https://github.com/streamich/react-use/issues/2359.\n *\n * This HOC can however remain as an abstraction around `useIntersection()` to avoid repeating the same logic.\n *\n * @since 1.125.0\n *\n * @param {WPComponent} WrappedComponent Component to wrap.\n * @return {Function} Enhancing function.\n */\nfunction withIntersectionObserver(WrappedComponent) {\n  function WithIntersectionObserverComponent(_ref) {\n    var onInView = _ref.onInView,\n      props = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3___default()(_ref, [\"onInView\"]);\n    var inViewRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useRef\"])();\n    var intersectionEntry = Object(react_use__WEBPACK_IMPORTED_MODULE_5__[\"useIntersection\"])(inViewRef, {\n      root: null,\n      threshold: 0.45\n    });\n    var _useState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useState\"])(false),\n      _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2___default()(_useState, 2),\n      hasBeenInView = _useState2[0],\n      setHasBeenInView = _useState2[1];\n    var inView = !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.isIntersecting) && !!(intersectionEntry === null || intersectionEntry === void 0 ? void 0 : intersectionEntry.intersectionRatio);\n    Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__[\"useEffect\"])(function () {\n      if (!intersectionEntry) {\n        return;\n      }\n      if (inView && !hasBeenInView) {\n        onInView();\n        setHasBeenInView(true);\n      }\n    }, [hasBeenInView, inView, intersectionEntry, onInView]);\n    return /*#__PURE__*/React.createElement(WrappedComponent, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({\n      ref: inViewRef\n    }, props));\n  }\n  WithIntersectionObserverComponent.displayName = 'WithIntersectionObserverComponent';\n  if (WrappedComponent.displayName || WrappedComponent.name) {\n    WithIntersectionObserverComponent.displayName += \"(\".concat(WrappedComponent.displayName || WrappedComponent.name, \")\");\n  }\n  WithIntersectionObserverComponent.propTypes = _objectSpread({\n    onInView: prop_types__WEBPACK_IMPORTED_MODULE_6___default.a.func.isRequired\n  }, WrappedComponent.propTypes);\n  return WithIntersectionObserverComponent;\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/withIntersectionObserver.js\n");

/***/ }),

/***/ "./svg/graphics/tagmanager.svg":
/*!*************************************!*\
  !*** ./svg/graphics/tagmanager.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  transform: \"translate(.422 .422)\"\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M16.091 30.725l14.461-14.543 6.817 6.856L22.908 37.58z\",\n  fill: \"#8ab4f8\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M22.91 8.496L16.09 1.64 1.63 16.182a4.867 4.867 0 000 6.854L16.09 37.58l6.817-6.855L11.856 19.61z\",\n  fill: \"#4285f4\"\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"ellipse\", {\n  cx: 19.5,\n  cy: 34.153,\n  fill: \"#1967d2\",\n  rx: 4.82,\n  ry: 4.847\n}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"path\", {\n  d: \"M37.37 16.182L22.91 1.639a4.801 4.801 0 00-6.817 0 4.867 4.867 0 000 6.855l14.46 14.542a4.801 4.801 0 006.817 0 4.867 4.867 0 000-6.854z\",\n  fill: \"#8ab4f8\"\n}));\nfunction SvgTagmanager(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 40 40\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgTagmanager);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvZ3JhcGhpY3MvdGFnbWFuYWdlci5zdmcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zdmcvZ3JhcGhpY3MvdGFnbWFuYWdlci5zdmc/MjE2NiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX3JlZiA9IC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwi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50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCA0MCA0MFwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdUYWdtYW5hZ2VyOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./svg/graphics/tagmanager.svg\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/ZjkyYiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG52YXIgX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BQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvYXJyb3cuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2Fycm93LnN2Zz9lNGNjIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIF9leHRlbmRzKCkgeyBfZXh0ZW5kcyA9IE9iamVjdC5hc3NpZ24gfHwgZnVuY3Rpb24gKHRhcmdldCkgeyBmb3IgKHZhciBpID0gMTsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykgeyB2YXIgc291cmNlID0gYXJndW1lbnRzW2ldOyBmb3IgKHZhciBrZXkgaW4gc291cmNlKSB7IGlmIChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoc291cmNlLCBrZXkpKSB7IHRhcmdldFtrZXldID0gc291cmNlW2tleV07IH0gfSB9IHJldHVybiB0YXJnZXQ7IH07IHJldHVybiBfZXh0ZW5kcy5hcHBseSh0aGlzLCBhcmd1bWVudHMpOyB9XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbnZhciBfcmVmID0gLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJnXCIsIHtcbiAgZmlsbDogXCJub25lXCIsXG4gIGZpbGxSdWxlOiBcImV2ZW5vZGRcIlxufSwgLyojX19QVVJFX18qL1JlYWN0LmNyZWF0ZUVsZW1lbnQoXCJjaXJjbGVcIiwge1xuICBmaWxsOiBcImN1cnJlbnRDb2xvclwiLFxuICBjeDogNi41LFxuICBjeTogNi41LFxuICByOiA2LjVcbn0pLCAvKiNfX1BVUkVfXyovUmVhY3QuY3JlYXRlRWxlbWVudChcInBhdGhcIiwge1xuICBkOiBcIk0zLjQ2MSA2Ljk2aDUuMTVMNi4zNiA5LjIxYS40NjQuNDY0IDAgMDAuMzI1Ljc5LjQ1OS40NTkgMCAwMC4zMjUtLjEzNWwzLjAzNy0zLjAzOGEuNDU5LjQ1OSAwIDAwMC0uNjVMNy4wMTUgMy4xMzVhLjQ2LjQ2IDAgMDAtLjY1LjY1TDguNjEgNi4wMzlIMy40NjFhLjQ2Mi40NjIgMCAwMC0uNDYxLjQ2YzAgLjI1NC4yMDcuNDYyLjQ2MS40NjJ6XCIsXG4gIGZpbGw6IFwiI0ZGRlwiXG59KSwgXCIuXCIpO1xuZnVuY3Rpb24gU3ZnQXJyb3cocHJvcHMpIHtcbiAgcmV0dXJuIC8qI19fUFVSRV9fKi9SZWFjdC5jcmVhdGVFbGVtZW50KFwic3ZnXCIsIF9leHRlbmRzKHtcbiAgICB2aWV3Qm94OiBcIjAgMCAxMyAxM1wiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdBcnJvdzsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\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/ODdlYiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZXh0ZW5kcygpIHsgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9OyByZXR1cm4gX2V4dGVuZHMuYXBwbHkodGhpcywgYXJndW1lbnRzKTsgfVxuaW1wb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b290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/check-fill.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvZXh0ZXJuYWwuc3ZnLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3ZnL2ljb25zL2V4dGVybmFsLnN2Zz8yNzhhIl0s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SwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdFeHRlcm5hbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmcvaWNvbnMvc3R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dmdTdGFyRmlsbDsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zdmc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FxuICAgIGZpbGw6IFwibm9uZVwiXG4gIH0sIHByb3BzKSwgX3JlZik7XG59XG5leHBvcnQgZGVmYXVsdCBTdmdXYXJuaW5nTm90aWNlOyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./svg/icons/warning-notice.svg\n");

/***/ }),

/***/ "./svg/icons/warning-v2.svg":
/*!**********************************!*\
  !*** ./svg/icons/warning-v2.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: \"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z\",\n  fill: \"currentColor\"\n});\nfunction SvgWarningV2(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"](\"svg\", _extends({\n    viewBox: \"0 0 22 19\"\n  }, props), _ref);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (SvgWarningV2);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLC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wcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./svg/icons/warning-v2.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");

/***/ }),

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

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

/***/ })

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