OwlCyberSecurity - MANAGER
Edit File: googlesitekit-main-dashboard-f34b639d57cc553b18ce.js
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[15],[,function(e,t){e.exports=googlesitekit.i18n},,,function(e,t){e.exports=googlesitekit.data},,,function(e,t,n){"use strict";n.d(t,"i",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"k",(function(){return a})),n.d(t,"j",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return s})),n.d(t,"n",(function(){return l})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"v",(function(){return g})),n.d(t,"u",(function(){return f})),n.d(t,"w",(function(){return m})),n.d(t,"s",(function(){return p})),n.d(t,"t",(function(){return b})),n.d(t,"r",(function(){return h})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return O})),n.d(t,"q",(function(){return _})),n.d(t,"m",(function(){return y})),n.d(t,"l",(function(){return k})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return j})),n.d(t,"h",(function(){return w}));var r="modules/analytics",i="account_create",a="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",l="https://www.googleapis.com/auth/analytics.provision",u="https://www.googleapis.com/auth/analytics.edit",d=1,g="dashboardAllTrafficWidgetDimensionName",f="dashboardAllTrafficWidgetDimensionColor",m="dashboardAllTrafficWidgetDimensionValue",p="dashboardAllTrafficWidgetActiveRowIndex",b="dashboardAllTrafficWidgetLoaded",h="ua",v="ga4",O="ga4-legacy",_="ga4-transitional",y="ua",k="ga4",E="google-analytics-4",j="universal-analytics",w="switch-ga4-dashboard-view"},function(e,t,n){"use strict";n.d(t,"B",(function(){return i.b})),n.d(t,"y",(function(){return a.a})),n.d(t,"C",(function(){return a.b})),n.d(t,"A",(function(){return u})),n.d(t,"n",(function(){return b})),n.d(t,"h",(function(){return h.a})),n.d(t,"w",(function(){return h.d})),n.d(t,"x",(function(){return h.e})),n.d(t,"t",(function(){return h.c})),n.d(t,"m",(function(){return h.b})),n.d(t,"u",(function(){return y})),n.d(t,"f",(function(){return k})),n.d(t,"b",(function(){return E.b})),n.d(t,"a",(function(){return E.a})),n.d(t,"c",(function(){return E.e})),n.d(t,"k",(function(){return E.g})),n.d(t,"i",(function(){return E.f})),n.d(t,"z",(function(){return E.k})),n.d(t,"j",(function(){return j.b})),n.d(t,"r",(function(){return j.c})),n.d(t,"e",(function(){return j.a})),n.d(t,"p",(function(){return w.b})),n.d(t,"l",(function(){return w.a})),n.d(t,"v",(function(){return w.d})),n.d(t,"s",(function(){return S})),n.d(t,"q",(function(){return C})),n.d(t,"o",(function(){return N})),n.d(t,"d",(function(){return D})),n.d(t,"D",(function(){return A})),n.d(t,"g",(function(){return T}));var r=n(13),i=n(34),a=n(73),o=n(33),c=n.n(o),s=n(89),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};var d=n(15),g=n.n(d);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):p(e);var r,i={},a=f(n.searchParams.entries());try{for(a.s();!(r=a.n()).done;){var o=g()(r.value,2),c=o[0],s=o[1];i[c]=s}}catch(e){a.e(e)}finally{a.f()}return i},h=(n(96),n(74));function v(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function O(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function _(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,O,_];n<r.length;n++){t=(0,r[n])(t)}return t}var k=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},E=n(66),j=n(97),w=n(56);function S(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function C(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var N=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}};function D(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var A=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},T=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"o",(function(){return o})),n.d(t,"t",(function(){return c})),n.d(t,"v",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"s",(function(){return u})),n.d(t,"q",(function(){return d})),n.d(t,"p",(function(){return g})),n.d(t,"u",(function(){return f})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return O})),n.d(t,"j",(function(){return _})),n.d(t,"k",(function(){return y})),n.d(t,"l",(function(){return k})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return j})),n.d(t,"w",(function(){return w}));var r="core/user",i="connected_url_mismatch",a="__global",o="googlesitekit_authenticate",c="googlesitekit_setup",s="googlesitekit_view_dashboard",l="googlesitekit_manage_options",u="googlesitekit_read_shared_module_data",d="googlesitekit_manage_module_sharing_options",g="googlesitekit_delegate_module_sharing_management",f="googlesitekit_update_plugins",m="kmAnalyticsAdSenseTopEarningContent",p="kmAnalyticsEngagedTrafficSource",b="kmAnalyticsLoyalVisitors",h="kmAnalyticsNewVisitors",v="kmAnalyticsPopularContent",O="kmAnalyticsPopularProducts",_="kmAnalyticsTopCities",y="kmAnalyticsTopConvertingTrafficSource",k="kmAnalyticsTopCountries",E="kmAnalyticsTopTrafficSource",j="kmSearchConsolePopularKeywords",w=[m,p,b,h,v,O,_,y,k,E]},function(e,t){e.exports=googlesitekit.components},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},,,function(e,t,n){"use strict";var r=n(213);n.d(t,"i",(function(){return r.a}));var i=n(281);n.d(t,"f",(function(){return i.a}));var a=n(282);n.d(t,"h",(function(){return a.a}));var o=n(283);n.d(t,"j",(function(){return o.a}));var c=n(280);n.d(t,"g",(function(){return c.a}));var s=n(93),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(77);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s}));var r="modules/analytics-4",i="property_create",a="webdatastream_create",o=10,c=1,s="https://www.googleapis.com/auth/tagmanager.readonly"},function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l),d=n(130),g=n(1),f=n(2),m=Object(f.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.arrow,s=void 0!==c&&c,l=t.back,f=void 0!==l&&l,m=t.caps,p=void 0!==m&&m,b=t.children,h=t.className,v=void 0===h?"":h,O=t.danger,_=void 0!==O&&O,y=t.disabled,k=void 0!==y&&y,E=t.external,j=void 0!==E&&E,w=t.hideExternalIndicator,S=void 0!==w&&w,C=t.href,N=void 0===C?"":C,D=t.inverse,A=void 0!==D&&D,T=t.onClick,x=t.small,R=void 0!==x&&x,M=t.standalone,L=void 0!==M&&M,I=t.to,P=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","onClick","small","standalone","to"]),B=N||I||!T?I?"ROUTER_LINK":j?"EXTERNAL_LINK":"LINK":k?"BUTTON_DISABLED":"BUTTON",z="BUTTON"===B||"BUTTON_DISABLED"===B?"button":"ROUTER_LINK"===B?d.b:"a",F=("EXTERNAL_LINK"===B&&(r=Object(g._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===B&&(r=Object(g._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof b?"".concat(b," ").concat(r):void 0:a);return e.createElement(z,i()({"aria-label":F,className:u()("googlesitekit-cta-link",v,{"googlesitekit-cta-link--arrow":s,"googlesitekit-cta-link--external":j&&!S,"googlesitekit-cta-link--inverse":A,"googlesitekit-cta-link--back":f,"googlesitekit-cta-link--small":R,"googlesitekit-cta-link--caps":p,"googlesitekit-cta-link--danger":_,"googlesitekit-cta-link--disabled":k,"googlesitekit-cta-link--standalone":L}),disabled:k,href:"LINK"!==B&&"EXTERNAL_LINK"!==B||k?void 0:N,onClick:T,rel:"EXTERNAL_LINK"===B?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===B?"_blank":void 0,to:I},P),b)}));m.propTypes={arrow:s.a.bool,back:s.a.bool,caps:s.a.bool,children:s.a.node,className:s.a.string,danger:s.a.bool,disabled:s.a.bool,external:s.a.bool,hideExternalIndicator:s.a.bool,href:s.a.string,inverse:s.a.bool,onClick:s.a.func,small:s.a.bool,standalone:s.a.bool,to:s.a.string},t.a=m}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2),i=n(70);t.a=function(){return Object(r.useContext)(i.b)}},,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"m",(function(){return a})),n.d(t,"k",(function(){return o})),n.d(t,"q",(function(){return c})),n.d(t,"g",(function(){return s})),n.d(t,"p",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"o",(function(){return d})),n.d(t,"i",(function(){return g})),n.d(t,"r",(function(){return f})),n.d(t,"n",(function(){return m})),n.d(t,"b",(function(){return p})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return _}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="settings",g="adBlockingRecovery",f="wpDashboard",m="moduleSetup",p="key-metrics",b="traffic",h="content",v="speed",O="monetization",_=[r,i,a,o,c,l,d,m]},,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m}));var r="modules/adsense",i=1,a="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY",l="ad-blocking-recovery-setup-success",u="adsenseAdBlockingFormSettings",d="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",g="ad-blocking-recovery-notification",f={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},m={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d}));var r="modules/tagmanager",i="account_create",a="container_create",o="web",c="amp",s="tagmanagerSetup",l="https://www.googleapis.com/auth/tagmanager.readonly",u="https://www.googleapis.com/auth/tagmanager.edit.containers",d="SETUP_WITH_ANALYTICS"},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return v}));var r=n(98),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,s=i.trackingEnabled,l=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:o,trackingEnabled:s,trackingID:l,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.106.0"},m=Object(r.a)(f),p=m.enableTracking,b=m.disableTracking,h=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent;function O(e){e?p():b()}c&&s&&h()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(90),i="xlarge",a="desktop",o="tablet",c="small";function s(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},function(e,t){e.exports=googlesitekit.api},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(15),i=n.n(r),a=n(11),o=n.n(a),c=n(43),s=n(54),l=function(e){o()(Object(s.a)(e),c.e);var t=e.split("-"),n=i()(t,3),r=n[0],a=n[1],l=n[2];return new Date(r,a-1,l)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return y})),n.d(t,"b",(function(){return k}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=(n(28),n(8));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.106.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],m=[].concat(f),p=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function b(){return h.apply(this,arguments)}function h(){return(h=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=s(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,s,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,s=a.value,l=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var t=o()(i.a.mark((function t(n,r){var a,o,s,l,u,d,f,m,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},o=a.ttl,s=void 0===o?c.b:o,l=a.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,b();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:s,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),k=function(){var e=o()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:if(!e.sent){e.next=25;break}return e.next=6,y();case 6:t=e.sent,n=s(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,_(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(23),i=n(21);function a(){var e=Object(i.a)();return e===r.m||e===r.k}},function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(106),a=n(41),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return s}));var r="Date param must construct to a valid date instance or be a valid date instance itself.",i="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',o=3600,c=86400,s=604800},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Y}));var i=n(22),a=n.n(i),o=n(6),c=n.n(o),s=n(5),l=n.n(s),u=n(16),d=n.n(u),g=n(15),f=n.n(g),m=n(0),p=n.n(m),b=n(12),h=n.n(b),v=n(13),O=n(216),_=n(312),y=n(88),k=n(90),E=n(2),j=n(92),w=n(4),S=n.n(w),C=n(128),N=n(17),D=n(107),A=n(56),T=n(73),x=n(101),R=n(166),M=n(146),L=n(20),I=n(149),P=n(39),B=n(36),z=n(167),F=n(168),G=n(169),U=n(113),W=n(38),V=n(125),q=n(32),H=S.a.useSelect,K=S.a.useDispatch,Y={EXTERNAL:"external",INTERNAL:"internal"};function BannerNotification(t){var n,i=t.anchorLink,o=t.anchorLinkLabel,s=t.badgeLabel,u=t.blockData,g=t.children,m=t.className,p=t.ctaLabel,b=t.ctaLink,w=t.ctaTarget,S=t.description,X=t.descriptionIcon,$=t.dismiss,Q=t.dismissExpires,Z=t.format,J=void 0===Z?"":Z,ee=t.id,te=t.isDismissible,ne=t.learnMoreDescription,re=t.learnMoreLabel,ie=t.learnMoreURL,ae=t.learnMoreTarget,oe=t.logo,ce=t.module,se=t.moduleName,le=t.onCTAClick,ue=t.onView,de=t.onDismiss,ge=t.onLearnMoreClick,fe=t.pageIndex,me=t.showOnce,pe=t.SmallImageSVG,be=t.title,he=t.type,ve=t.WinImageSVG,Oe=t.showSmallWinImage,_e=void 0===Oe||Oe,ye=t.smallWinImageSVGWidth,ke=void 0===ye?75:ye,Ee=t.smallWinImageSVGHeight,je=void 0===Ee?75:Ee,we=t.mediumWinImageSVGWidth,Se=void 0===we?105:we,Ce=t.mediumWinImageSVGHeight,Ne=void 0===Ce?105:Ce,De=t.rounded,Ae=void 0!==De&&De,Te=t.footer,xe=t.secondaryPane,Re=t.ctaComponent,Me=Object(E.useState)(!1),Le=f()(Me,2),Ie=Le[0],Pe=Le[1],Be=Object(E.useState)(!1),ze=f()(Be,2),Fe=ze[0],Ge=ze[1],Ue="notification::dismissed::".concat(ee),We=function(){return Object(P.f)(Ue,new Date,{ttl:null})},Ve=Object(k.a)(),qe=Object(B.e)(),He=Object(O.a)(),Ke=Object(E.useState)(!1),Ye=f()(Ke,2),Xe=Ye[0],$e=Ye[1],Qe=Object(E.useRef)(),Ze=Object(_.a)(Qe,{rootMargin:"".concat(-Object(V.a)(Object(D.c)(qe)),"px 0px 0px 0px"),threshold:0});Object(E.useEffect)((function(){!Xe&&(null==Ze?void 0:Ze.isIntersecting)&&("function"==typeof ue&&ue(),$e(!0))}),[ee,ue,Xe,Ze]);var Je=Ve>=600;function et(){return(et=d()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!de){e.next=5;break}return e.next=5,de(t);case 5:tt();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function tt(){Pe(!0),setTimeout(d()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,We();case 2:He()&&Ge(!0),t=new Event("notificationDismissed"),document.dispatchEvent(t);case 5:case"end":return e.stop()}}),e)}))),350)}Object(y.a)(d()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(Q>0)){e.next=3;break}return e.next=3,ot();case 3:if(!te){e.next=9;break}return e.next=6,Object(P.d)(Ue);case 6:t=e.sent,n=t.cacheHit,Ge(n);case 9:if(!me){e.next=12;break}return e.next=12,We();case 12:case"end":return e.stop()}}),e)}))));var nt=H((function(e){return!!b&&e(q.a).isNavigatingTo(b)})),rt=K(q.a).navigateTo;function it(){return(it=d()(l.a.mark((function e(t){var n,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),n=!0,!le){e.next=11;break}return e.next=5,le(t);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 11:te&&n&&tt(),Object(j.a)(b)&&"_blank"!==w&&!t.defaultPrevented&&(t.preventDefault(),rt(b));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var at=Object(E.useCallback)((function(t){Object(A.c)(i)&&(t.preventDefault(),e.history.replaceState({},"",i),e.scrollTo({top:Object(D.a)(i,qe),behavior:"smooth"}))}),[i,qe]);function ot(){return ct.apply(this,arguments)}function ct(){return(ct=d()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(P.d)(Ue);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=Object(W.a)(n)).setSeconds(r.getSeconds()+parseInt(Q,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(P.c)(Ue);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(!nt&&te&&(void 0===Fe||Fe))return null;var st,lt=!nt&&Ie?"is-closed":"is-open",ut="large"===J&&"win-stats-increase"===he,dt=Object(U.d)(J),gt=Object(U.c)(J),ft=Object(U.a)(J),mt=Object(U.b)({format:J,inlineLayout:ut,hasErrorOrWarning:"win-error"===he||"win-warning"===he,hasSmallImageSVG:!!pe,hasWinImageSVG:!!ve});st="win-warning"===he?r.createElement(R.a,{width:34}):"win-error"===he?r.createElement(M.a,{width:28}):"";var pt=r.createElement(E.Fragment,null,u&&r.createElement(N.k,null,Object(v.map)(u,(function(e,t){return r.createElement(N.a,{key:t,lgSize:ut?5:4},r.createElement("div",{className:"googlesitekit-publisher-win__stats"},r.createElement(x.a,e)))})))),bt=r.createElement(E.Fragment,null,re&&r.createElement(E.Fragment,null,r.createElement(L.a,{onClick:function(e){e.persist(),null==ge||ge()},href:ie,external:ae===Y.EXTERNAL},re),ne),fe&&r.createElement("span",{className:"googlesitekit-publisher-win__detect"},fe)),ht=r.createElement(E.Fragment,null,r.createElement(F.a,{title:be,badgeLabel:s,smallWinImageSVGHeight:je,smallWinImageSVGWidth:ke,winImageFormat:J,WinImageSVG:!Je&&_e?ve:void 0}),i&&o&&r.createElement("p",{className:"googlesitekit-publisher-win__link"},r.createElement(L.a,{href:i,onClick:at},o)),S&&r.createElement("div",{className:"googlesitekit-publisher-win__desc"},X&&r.createElement("div",{className:"googlesitekit-publisher-win__icon"},X),Object(E.isValidElement)(S)?r.createElement(E.Fragment,null,S,r.createElement("p",null,bt)):r.createElement("p",null,r.createElement("span",{dangerouslySetInnerHTML:Object(T.a)(S,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",bt)),g),vt=ce?r.createElement(I.a,{slug:ce,size:19}):r.createElement(C.a,{height:"34",width:"32"}),Ot=ut?{size:12,smOrder:2,mdOrder:1}:{size:12};return r.createElement(z.a,{id:ee,className:h()(m,(n={},c()(n,"googlesitekit-publisher-win--".concat(J),J),c()(n,"googlesitekit-publisher-win--".concat(he),he),c()(n,"googlesitekit-publisher-win--".concat(lt),lt),c()(n,"googlesitekit-publisher-win--rounded",Ae),n)),secondaryPane:xe,ref:Qe},oe&&r.createElement(N.a,Ot,r.createElement("div",{className:"googlesitekit-publisher-win__logo"},vt),se&&r.createElement("div",{className:"googlesitekit-publisher-win__module-name"},se)),pe&&r.createElement(N.a,{size:1,className:"googlesitekit-publisher-win__small-media"},r.createElement(pe,null)),r.createElement(N.a,a()({},mt,ft,{className:"googlesitekit-publisher-win__content"}),ut?r.createElement(N.k,null,r.createElement(N.a,{mdSize:8,lgSize:5},ht),r.createElement(N.a,{alignBottom:!0,mdSize:8,lgSize:7},pt)):r.createElement(E.Fragment,null,ht,pt),r.createElement(G.a,{ctaLink:b,ctaLabel:p,ctaComponent:Re,ctaTarget:w,ctaCallback:function(e){return it.apply(this,arguments)},dismissLabel:te?$:void 0,dismissCallback:function(e){return et.apply(this,arguments)}}),Te&&r.createElement("div",{className:"googlesitekit-publisher-win__footer"},Te)),ve&&(Je||!_e)&&r.createElement(N.a,a()({},dt,gt,{alignBottom:"larger"===J}),r.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(J)},r.createElement(ve,{style:{maxWidth:Se,maxHeight:Ne}}))),("win-error"===he||"win-warning"===he)&&r.createElement(N.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},r.createElement("div",{className:"googlesitekit-publisher-win__icons"},st)))}BannerNotification.propTypes={id:p.a.string.isRequired,className:p.a.string,title:p.a.string.isRequired,description:p.a.node,descriptionIcon:p.a.node,learnMoreURL:p.a.string,learnMoreDescription:p.a.string,learnMoreLabel:p.a.string,learnMoreTarget:p.a.oneOf(Object.values(Y)),blockData:p.a.array,WinImageSVG:p.a.elementType,SmallImageSVG:p.a.elementType,format:p.a.string,ctaLink:p.a.string,ctaLabel:p.a.string,type:p.a.string,dismiss:p.a.string,isDismissible:p.a.bool,logo:p.a.bool,module:p.a.string,moduleName:p.a.string,pageIndex:p.a.string,dismissExpires:p.a.number,showOnce:p.a.bool,onCTAClick:p.a.func,onView:p.a.func,onDismiss:p.a.func,onLearnMoreClick:p.a.func,anchorLink:p.a.string,anchorLinkLabel:p.a.string,badgeLabel:p.a.string,rounded:p.a.bool,footer:p.a.node,secondaryPane:p.a.node,showSmallWinImage:p.a.bool,smallWinImageSVGWidth:p.a.number,smallWinImageSVGHeight:p.a.number,mediumWinImageSVGWidth:p.a.number,mediumWinImageSVGHeight:p.a.number},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1,learnMoreTarget:Y.EXTERNAL},t.b=BannerNotification}).call(this,n(26),n(3))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(13);var r=n(1),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function s(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function l(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||s(e)||c(e)||l(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data.","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response.","google-site-kit"):null==e?void 0:e.message}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(44),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s}));var r=n(92);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function s(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},function(e,t,n){"use strict";n.d(t,"n",(function(){return E})),n.d(t,"l",(function(){return j})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return O})),n.d(t,"g",(function(){return b})),n.d(t,"i",(function(){return _})),n.d(t,"h",(function(){return y})),n.d(t,"f",(function(){return b})),n.d(t,"e",(function(){return k})),n.d(t,"m",(function(){return N})),n.d(t,"b",(function(){return D})),n.d(t,"a",(function(){return T}));var r=n(28),i=n.n(r),a=n(13),o=n(12),c=n.n(o),s=n(1),l=n(74),u=n(144),d=n(8),g=n(151),f=n(15),m=n.n(f),p=n(7),b=function(e){return(parseInt(e,10)||0)>0};function h(e){return e===p.a||b(e)}function v(e){return"string"==typeof e&&/^UA-\d+-\d+$/.test(e)}function O(e){return e===p.k||v(e)}function _(e){return e===p.j||b(e)}function y(e){return"string"==typeof e&&e.trim().length>0}function k(e){return"string"==typeof e&&/^AW-[0-9]+$/.test(e)}function E(e){if(!v(e))return!1;var t=e.match(/^UA-(\d+)-(\d+)/),n=m()(t,3);return{accountID:n[1],propertyID:e,number:n[2]}}function j(e){var t,n,r,i,a,o,c,s;if(void 0!==e)return!(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||!(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.totals)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.values)||void 0===s?void 0:s.length)||!e[0].data.totals.some((function(e){return e.values.some((function(e){return e>0}))}))}var w=n(56);function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t){var n,r=(Array.isArray(t)?t:[t]).map(w.d),i=S(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a.websiteUrl;if(o){var c,s=S(r);try{for(s.s();!(c=s.n()).done;){if(c.value===Object(w.d)(o))return a}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){i.e(e)}finally{i.f()}return null}function D(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.keyColumnIndex,a=void 0===i?0:i,o=r.maxSlices,c=r.withOthers,l=void 0!==c&&c,u=r.tooltipCallback,d=(null==e?void 0:e[0])||{},g=d.data,f=void 0===g?{}:g,m=f.rows,p=void 0===m?[]:m,b=f.totals,h=void 0===b?[]:b,v="function"==typeof u,O=["Source","Percent"];v&&O.push({type:"string",role:"tooltip",p:{html:!0}});var _=(null==h||null===(t=h[0])||void 0===t||null===(n=t.values)||void 0===n?void 0:n[a])||0,y=[O],k=l,E=p.length,j=1;o>0?(k=l&&p.length>o,E=Math.min(p.length,k?o-1:o)):(k=!1,E=p.length);for(var w=0;w<E;w++){var S=p[w],C=S.metrics[0].values[a],N=_>0?C/_:0;j-=N;var D=[S.dimensions[0],N];v&&D.push(u(S,D)),y.push(D)}if(k&&j>0){var A=[Object(s.__)("Others","google-site-kit"),j];v&&A.push(u(null,A)),y.push(A)}return y}function A(e,t,n){var r=[];return Object(a.each)(e,(function(e){if(e.metrics){var i=e.metrics[t].values,a=e.dimensions[0],o=Object(u.a)(a);r.push([o,i[n]])}})),r}function T(e,t,n){var r,o,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Bounce Rate %","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(d.w)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(d.w)(e,"s")}];if(!Array.isArray(null===(r=e[0])||void 0===r||null===(o=r.data)||void 0===o?void 0:o.rows))return!1;var b=i()(e[0].data.rows),h=b.length;if(2*n>h){for(var v=new Date,O=0;n>O;O++){var _=(v.getMonth()+1).toString(),y=v.getDate().toString(),k=v.getFullYear().toString()+(2>_.length?"0":"")+_+(2>y.length?"0":"")+y;if(O>h){var E={dimensions:[k],metrics:[{values:[0,0,0,0,0]}]};b.unshift(E)}v.setDate(v.getDate()-1)}b.push([0,0])}var j=m[t]===Object(s.__)("Session Duration","google-site-kit"),w=j?"timeofday":"number",S=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:w,label:m[t]},{type:w,label:Object(s.__)("Previous period","google-site-kit")}]],C=Object(g.a)(b,{dateRangeLength:n}),N=C.compareRange,D=C.currentRange,T=A(D,u,t),x=A(N,f,t),R=Object(l.b)(),M={weekday:"short",month:"short",day:"numeric"};return Object(a.each)(T,(function(e,n){if(e[0]&&e[1]&&x[n]){var r=parseFloat(x[n][1]),i=Object(d.e)(e[1],r),a=Object(d.j)(i),o=Object(s.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(R,M),x[n][0].toLocaleDateString(R,M)),l=Object(s.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */ Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),m[t],p[t](e[1]),a,Object(d.w)(Math.abs(i),"%"));S.push([e[0],'<div class="'.concat(c()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":i>0,"googlesitekit-visualization-tooltip--down":i<0}),'">\n\t\t\t\t<p>').concat(o,"</p>\n\t\t\t\t<p>").concat(l,"</p>\n\t\t\t</div>"),j?Object(d.f)(e[1]):e[1],j?Object(d.f)(x[n][1]):x[n][1]])}})),S}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(0),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",i()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(3))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(35);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(23),i=n(21),a=r.l,o=r.j;function c(){var e=Object(i.a)();return e===r.l||e===r.m?a:e===r.j||e===r.k?o:null}},function(e,t,n){"use strict";n.d(t,"d",(function(){return r.e})),n.d(t,"c",(function(){return r.d})),n.d(t,"b",(function(){return r.b})),n.d(t,"a",(function(){return r.a})),n.d(t,"e",(function(){return r.f})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d.a})),n.d(t,"f",(function(){return f})),n.d(t,"k",(function(){return s.a}));var r=n(43),i=n(11),a=n.n(i),o=n(44),c=function(e){a()(Object(o.a)(e),r.c);var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")},s=n(38),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=Object(s.a)(e);return n.setDate(n.getDate()-t),c(n)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]},d=n(54);var g=n(1);function f(){var e=function(e){return Object(g.sprintf)( /* translators: %s: number of days */ Object(g._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",i="mainDashboardTraffic",a="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",s="entityDashboardTraffic",l="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:i,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:s,CONTEXT_ENTITY_DASHBOARD_CONTENT:l,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{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",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(33),i=n.n(r),a=n(84),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return j})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return S}));var r=n(15),i=n.n(r),a=n(33),o=n.n(a),c=n(6),s=n.n(c),l=n(24),u=n.n(l),d=n(13),g=n(78),f=n.n(g),m=n(1);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:n,minutes:r,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=b(b({unitDisplay:void 0===a?"short":a},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?j(i,b(b({},o),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?j(i,b(b({},o),{},{unit:"second"})):"",r?j(r,b(b({},o),{},{unit:"minute"})):"",n?j(n,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),i);if(0===e)return t;var a=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),r),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),n);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",r?a:"",n?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),j(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),j(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),j(O(e),e%10==0?{}:t)):j(e,{signDisplay:"never",maximumFractionDigits:1})};function y(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=y(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?h(e,n):j(e,n)}var E=f()(console.warn),j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),m=f[0],p=f[1];c[m]&&p===c[m]||(s.includes(m)||(l[m]=p))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:a,type:c});return s.format(e)} /* translators: used between list items, there is a space after the comma. */var l=Object(m.__)(", ","google-site-kit");return e.join(l)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},,,function(e,t,n){"use strict";var r=n(122);n.d(t,"a",(function(){return r.a}));var i=n(123);n.d(t,"c",(function(){return i.a}));var a=n(124);n.d(t,"b",(function(){return a.a}))},,,,function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(92),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var i=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(a.a)(r)&&(i=i+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.y)(i,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string},ErrorText.defaultProps={reconnectURL:""},t.a=ErrorText}).call(this,n(3))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(131),i=n.n(r)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(12),s=n.n(c),l=n(0),u=n.n(l),d=n(2),g=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:s()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":l})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(3))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return O}));var r=n(24),i=n.n(r),a=n(6),o=n.n(a),c=n(5),s=n.n(c),l=n(11),u=n.n(l),d=n(4),g=n.n(d),f=n(39),m=n(8),p=g.a.createRegistryControl,b=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:s.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",p((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},,,function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(266),o=n(0),c=n.n(o),s=n(2),l=n(120);function Portal(e){var t=e.children,n=e.slug,r=Object(s.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(l.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(53),s=n(1),l=n(20),u=n(40);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(s.sprintf)( /* translators: %s: source link */ Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(l.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n(50),n(51)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(194),i=n(72),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,i,a,o,c,s,l,u,d,g,f,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.metrics)||void 0===s||null===(l=s[0])||void 0===l||null===(u=l.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(g=d.data)||void 0===g||null===(f=g.totals)||void 0===f||null===(m=f[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(99),o=n(100);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=s(s({},l),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(62),i=n(35);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(16),s=n.n(c),l=n(62),u=n(41);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r){var a=Object(l.a)(t);return function(){var t=s()(i.a.mark((function t(o,c,s,l){var d,f,m,p,b,h,v,O,_,y;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(d=e.activeModules,f=e.referenceSiteURL,m=e.trackingEnabled,p=e.trackingID,b=e.userIDHash,h=e.userRoles,v=void 0===h?[]:h,O=e.isAuthenticated,_=e.pluginVersion,m){t.next=3;break}return t.abrupt("return");case 3:return n(),y={send_to:p,event_category:o,event_label:s,value:l,dimension1:f,dimension2:v.join(","),dimension3:b,dimension4:_||"",dimension5:Array.from(u.a).join(","),dimension6:d.join(","),dimension7:O?1:0},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(i),e()};a("event",c,g(g({},y),{},{event_callback:s})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(2),s=n(61),l=n(8),u=n(153),d=n(85),g=n(154),f=n(95),m=function DataBlock(t){var n=t.stat,r=void 0===n?null:n,i=t.className,a=void 0===i?"":i,m=t.title,p=void 0===m?"":m,b=t.datapoint,h=void 0===b?null:b,v=t.datapointUnit,O=void 0===v?"":v,_=t.change,y=void 0===_?null:_,k=t.changeDataUnit,E=void 0===k?"":k,j=t.context,w=void 0===j?"default":j,S=t.period,C=void 0===S?"":S,N=t.selected,D=void 0!==N&&N,A=t.source,T=t.sparkline,x=t.handleStatSelection,R=void 0===x?null:x,M=t.invertChangeColor,L=void 0!==M&&M,I=t.gatheringData,P=void 0!==I&&I,B=t.gatheringDataNoticeStyle,z=void 0===B?s.a.DEFAULT:B,F=t.badge,G=Object(c.useCallback)((function(){!P&&R&&R(r)}),[P,R,r]),U=Object(c.useCallback)((function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),G())}),[G]),W=void 0===h?h:Object(l.w)(h,O),V="button"===w,q=V?"button":"";return e.createElement("div",{className:o()("googlesitekit-data-block",a,"googlesitekit-data-block--".concat(w),{"googlesitekit-data-block--selected":D,"googlesitekit-data-block--is-gathering-data":P}),tabIndex:V&&!P?"0":"-1",role:R&&q,onClick:G,onKeyDown:U,"aria-disabled":P||void 0,"aria-label":R&&p,"aria-pressed":R&&D},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},!0===F?e.createElement(d.a,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):F,e.createElement("span",{className:"googlesitekit-data-block__title-inner"},p)),!P&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},W)),!P&&T&&e.createElement(u.a,{sparkline:T,invertChangeColor:L}),!P&&e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement(g.a,{change:y,changeDataUnit:E,period:C,invertChangeColor:L}),A&&e.createElement(f.a,{className:"googlesitekit-data-block__source",name:A.name,href:A.link,external:null==A?void 0:A.external})),P&&e.createElement(s.b,{style:z}))};m.propTypes={stat:i.a.number,className:i.a.string,title:i.a.string,datapoint:i.a.oneOfType([i.a.string,i.a.number]),datapointUnit:i.a.string,change:i.a.oneOfType([i.a.string,i.a.number]),changeDataUnit:i.a.oneOfType([i.a.string,i.a.bool]),context:i.a.string,period:i.a.string,selected:i.a.bool,handleStatSelection:i.a.func,invertChangeColor:i.a.bool,gatheringData:i.a.bool,gatheringDataNoticeStyle:i.a.oneOf(Object.values(s.a)),badge:i.a.oneOfType([i.a.bool,i.a.node])},t.a=m}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return k})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return TourTooltips}));var i=n(6),a=n.n(i),o=n(88),c=n(27),s=n(0),l=n.n(s),u=n(1),d=n(4),g=n.n(d),f=n(29),m=n(9),p=n(34),b=n(115),h=n(21);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var O=g.a.useSelect,_=g.a.useDispatch,y=g.a.useRegistry,k={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},j={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},w="feature_tooltip_view",S="feature_tooltip_advance",C="feature_tooltip_return",N="feature_tooltip_dismiss",D="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(i,"-step"),d="".concat(i,"-run"),g=_(f.b).setValue,A=_(m.a).dismissTour,T=y(),x=Object(h.a)(),R=O((function(e){return e(f.b).getValue(u)})),M=O((function(e){return e(f.b).getValue(d)&&!1===e(m.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),g(d,!0)}));var L=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,l=t+1,u="function"==typeof s?s(x):s;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,w,l):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,N,l):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===l&&Object(p.b)(u,D,l),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,C,l),n===c.a.NEXT&&Object(p.b)(u,S,l))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,m=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),b=[c.d.FINISHED,c.d.SKIPPED].includes(a),h=f&&d===c.b.STEP_AFTER,v=b||h;if(c.b.STEP_BEFORE===d){var O,_,y=o.target;"string"==typeof o.target&&(y=e.document.querySelector(o.target)),null===(O=y)||void 0===O||null===(_=O.scrollIntoView)||void 0===_||_.call(O,{block:"center"})}m?function(e,t){g(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),A(i)),l&&l(t,T)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:j,locale:E,run:M,showProgress:!0,stepIndex:R,steps:L,styles:k,tooltipComponent:b.a})}TourTooltips.propTypes={steps:l.a.arrayOf(l.a.object).isRequired,tourID:l.a.string.isRequired,gaEventCategory:l.a.oneOfType([l.a.string,l.a.func]).isRequired,callback:l.a.func}}).call(this,n(26),n(3))},,,function(e,t,n){"use strict";var r=n(2),i=n(41),a=Object(r.createContext)(i.a);t.a=a},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(36),i=n(125);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},,function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(10),s=n(20),l=function CTA(t){var n=t.title,r=t.description,i=t.ctaLink,a=t.ctaLabel,l=t.ctaLinkExternal,u=t.ctaType,d=t.error,g=t.onClick,f=t["aria-label"],m=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":d})},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),r&&"string"==typeof r&&e.createElement("p",{className:"googlesitekit-cta__description"},r),r&&"string"!=typeof r&&e.createElement("div",{className:"googlesitekit-cta__description"},r),a&&"button"===u&&e.createElement(c.Button,{"aria-label":f,href:i,onClick:g},a),a&&"link"===u&&e.createElement(s.a,{href:i,onClick:g,"aria-label":f,external:l,hideExternalIndicator:l,arrow:!0},a),m)};l.propTypes={title:i.a.string.isRequired,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node},l.defaultProps={title:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=l}).call(this,n(3))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(432),i=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));var r=function(e){var t=e.format,n=void 0===t?"small":t,r=e.inlineLayout,i=e.hasErrorOrWarning,o=e.hasSmallImageSVG,c=e.hasWinImageSVG,s={smSize:4,mdSize:r?7:8,lgSize:12},l=a(n);return Object.keys(s).forEach((function(e){var t=s[e];i&&(t-=1),o&&(t-=1),c&&0<t-l[e]&&(t-=l[e]),s[e]=t})),s},i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"j",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return g}));var r=0,i=1,a=2,o="activation-acknowledgement-tooltip-state",c="ga4-activation-banner-state",s="_r.explorerCard..selmet",l="_r.explorerCard..seldim",u="_r..dataFilters",d="_r..nav",g="key-metrics-connect-ga4-cta-widget"},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(22),i=n.n(r),a=n(136),o=n.n(a),c=n(12),s=n.n(c),l=n(0),u=n.n(l),d=n(10),g=n(137),f=n(138);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,l=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,b=u>1?Object(g.a)(u):[],h=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:s()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:h(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,l.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(0),i=n.n(r),a=n(2),o=n(1),c=n(4),s=n.n(c),l=n(10),u=n(52),d=n(81),g=s.a.useSelect,f=s.a.useDispatch;function ErrorNotice(t){var n,r=t.error,i=t.storeName,c=t.message,s=void 0===c?r.message:c,m=t.shouldDisplayError,p=void 0===m?function(){return!0}:m,b=f(),h=g((function(e){return i?e(i).getSelectorDataForError(r):null})),v=Object(a.useCallback)((function(){b(h.storeName).invalidateResolution(h.name,h.args)}),[b,h]);if(!r||Object(u.f)(r)||!p(r))return null;var O=Object(u.d)(r,h);return e.createElement(a.Fragment,null,e.createElement(d.a,{message:s,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL}),O&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:v},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),storeName:i.a.string,message:i.a.string,shouldDisplayError:i.a.func}}).call(this,n(3))},function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));var r="editing-user-role-select-slug-key",i=[],a="dashboardSharingDialogOpen",o="resetSharingDialogOpen"},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SupportLink}));var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(4),u=n.n(l),d=n(14),g=n(20),f=u.a.useSelect;function SupportLink(t){var n=t.path,r=t.query,a=t.hash,c=o()(t,["path","query","hash"]),s=f((function(e){return e(d.c).getGoogleSupportURL({path:n,query:r,hash:a})}));return e.createElement(g.a,i()({},c,{href:s}))}SupportLink.propTypes={path:s.a.string.isRequired,query:s.a.object,hash:s.a.string}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(22),i=n.n(r),a=n(6),o=n.n(a),c=n(24),s=n.n(c),l=n(0),u=n.n(l),d=n(12),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,l=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,b=t.smSize,h=t.smStart,v=t.smOrder,O=t.mdSize,_=t.mdStart,y=t.mdOrder,k=t.lgSize,E=t.lgStart,j=t.lgOrder,w=t.size,S=t.children,C=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",i()({},C,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":l,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(w),12>=w&&w>0),o()(n,"mdc-layout-grid__cell--span-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--start-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(h,"-phone"),4>=h&&h>0),o()(n,"mdc-layout-grid__cell--order-".concat(v,"-phone"),4>=v&&v>0),n))}),S)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l),d=n(2),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),a)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l),d=n(2),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":a})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(3))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(13),i=function(e){return Object(r.isFinite)(e)?e:0}},,,function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(224),o=n(53),c=n(1),s=n(10),l=n(20),u=function ModalDialog(t){var n=t.dialogActive,r=t.handleDialog,i=t.title,u=t.provides,d=t.handleConfirm,g=t.subtitle,f=t.confirmButton,m=t.dependentModules,p=t.danger,b=t.inProgress,h=void 0!==b&&b,v=Object(a.a)(ModalDialog),O="googlesitekit-dialog-description-".concat(v),_=!(!u||!u.length);return e.createElement(s.Dialog,{open:n,"aria-describedby":_?O:void 0,tabIndex:"-1"},e.createElement(s.DialogTitle,null,i),g?e.createElement("p",{className:"mdc-dialog__lead"},g):[],e.createElement(s.DialogContent,null,_&&e.createElement("section",{id:O,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},u.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),m&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(o.a)(Object(c.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(c.__)("<strong>Note:</strong> %s","google-site-kit"),m),{strong:e.createElement("strong",null)}))),e.createElement(s.DialogFooter,null,e.createElement(s.SpinnerButton,{onClick:d,danger:p,disabled:h,isSaving:h},f||Object(c.__)("Disconnect","google-site-kit")),e.createElement(l.a,{className:"googlesitekit-margin-left-auto mdc-dialog__cancel-button",onClick:r,disabled:h},Object(c.__)("Cancel","google-site-kit"))))};u.displayName="Dialog",u.propTypes={dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,title:i.a.string,description:i.a.string,confirmButton:i.a.string,danger:i.a.bool},u.defaultProps={dialogActive:!1,handleDialog:null,title:null,description:null,confirmButton:null,danger:!1},t.a=u}).call(this,n(3))},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(6),a=n.n(i),o=n(48),c=n(161),s=n(147),l=(r={},a()(r,o.c.QUARTER,3),a()(r,o.c.HALF,6),a()(r,o.c.FULL,12),r),u="googlesitekit-hidden",d=[c.a,s.a]},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(19);n(8);function i(e){return"string"==typeof e&&/^\d+$/.test(e)}function a(e){return e===r.e||i(e)}function o(e){return"string"==typeof e&&/^\d+$/.test(e)}function c(e){return e===r.f||o(e)}function s(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(23),i=function(e){return r.f.includes(e)}},,function(e,t,n){"use strict";var r=n(2),i=Object(r.createContext)(!1);t.a=i},,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n.n(c),l=n(2),u=n(20),d=n(8),g=n(21);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,c=Object(g.a)(),s=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.B)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:s},n))}HelpMenuLink.propTypes={children:s.a.node.isRequired,href:s.a.string.isRequired,gaEventLabel:s.a.string},t.a=HelpMenuLink}).call(this,n(3))},function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,r=e.slice(6,8);return new Date(t,n.toString(),r)}return!1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,s=n.owner,l=void 0===s?{}:s;if(!a||!c)return e;var u="",d="";return"analytics"===a?e.match(/account/i)?u=Object(r.__)("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"):e.match(/property/i)?u=Object(r.__)("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"):e.match(/view/i)&&(u=Object(r.__)("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")):"search-console"===a&&(u=Object(r.__)("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")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("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"),c)),l&&l.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(0),i=n.n(r),a=n(1),o=n(4),c=n.n(o),s=n(18),l=n(109),u=c.a.useSelect;function RecoverableModules(t){var n=t.moduleSlugs,r=u((function(e){var t=e(s.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(164),o=n.n(a),c=n(0),s=n.n(c),l=n(2),u=n(1),d=n(195),g=n(334),f=n(335),m=n(10);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(l.useState)(!1),c=i()(a,2),s=c[0],p=c[1];return e.createElement(m.Button,{"aria-label":s?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:s?g.a:f.a})},s?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:s.a.string,componentStack:s.a.string},t.a=ReportErrorButton}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(22),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(4),u=n.n(l),d=n(18),g=u.a.useSelect;function ModuleIcon(t){var n=t.slug,r=t.size,a=o()(t,["slug","size"]),c=g((function(e){return e(d.a).getModuleIcon(n)}));return c?e.createElement(c,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(3))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(11),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},,function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=function Sparkline(t){var n=t.sparkline,r=t.invertChangeColor,i=n;return i&&r&&(i=Object(a.cloneElement)(n,{invertChangeColor:r})),e.createElement("div",{className:"googlesitekit-data-block__sparkline"},i)};o.propTypes={sparkline:i.a.element,invertChangeColor:i.a.bool},t.a=o}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(1),s=n(8),l=n(72),u=function Change(t){var n=t.change,r=t.changeDataUnit,i=t.period,a=t.invertChangeColor,u=n;return r&&(u="%"===r?Object(s.w)(n,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(s.w)(n,r)),i&&(u=Object(c.sprintf)(i,u)),e.createElement("div",{className:o()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!n})},!!n&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(l.a,{direction:0<parseFloat(n)?"up":"down",invertColor:a})),e.createElement("span",{className:"googlesitekit-data-block__value"},u))};u.propTypes={change:i.a.oneOfType([i.a.string,i.a.number]),changeDataUnit:i.a.oneOfType([i.a.string,i.a.bool]),period:i.a.string,invertChangeColor:i.a.bool},t.a=u}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var r=n(4),i=n.n(r),a=n(18),o=n(86),c=i.a.useSelect;function s(t){var n=t.moduleName,r=t.FallbackComponent,i=t.IncompleteComponent;return function(t){var s=function WhenActiveComponent(o){var s=c((function(e){return e(a.a).getModule(n)}),[n]);if(!s)return null;var l=r||o.WidgetNull||null;if(!1===s.active)return l&&e.createElement(l,o);if(!1===s.connected){var u=i||l;return u&&e.createElement(u,o)}return e.createElement(t,o)};return s.displayName="When".concat(Object(o.c)(n),"Active"),(t.displayName||t.name)&&(s.displayName+="(".concat(t.displayName||t.name,")")),s}}}).call(this,n(3))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureTours}));var r=n(88),i=n(4),a=n.n(i),o=n(9),c=n(21),s=n(103),l=a.a.useSelect,u=a.a.useDispatch;function FeatureTours(){var t=Object(c.a)(),n=u(o.a).triggerTourForView;Object(r.a)((function(){n(t)}));var i=l((function(e){return e(o.a).getCurrentTour()}));return i?e.createElement(s.a,{tourID:i.slug,steps:i.steps,gaEventCategory:i.gaEventCategory,callback:i.callback}):null}}).call(this,n(3))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),i=n(4),a=n.n(i),o=n(48),c=a.a.useDispatch;function s(e,t,n){var i=c(o.a),a=i.setWidgetState,s=i.unsetWidgetState;Object(r.useEffect)((function(){return a(e,t,n),function(){s(e,t,n)}}),[e,t,n,a,s])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(4),i=n.n(r),a=n(29),o=i.a.useSelect;function c(e){return o((function(t){return t(a.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(0),i=n.n(r),a=n(1),o=n(4),c=n.n(o),s=n(18),l=n(109),u=c.a.useSelect;function ReportZero(t){var n=t.moduleSlug,r=u((function(e){return e(s.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(141),i=(r.a.Consumer,r.a.Provider);t.a=i},,,,function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(2),s=n(17),l=Object(c.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,l=t.secondaryPane;return e.createElement("section",{id:r,className:o()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(s.e,null,e.createElement(s.k,null,a)),l&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(s.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(s.k,null,e.createElement(s.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},l)))))}));l.displayName="Banner",l.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=l}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(6),i=n.n(r),a=n(0),o=n.n(a),c=n(12),s=n.n(c),l=n(85);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(l.a,{label:r})),a&&e.createElement("div",{className:s()(i()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(a,{width:d,height:f}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(0),u=n.n(l),d=n(216),g=n(2),f=n(4),m=n.n(f),p=n(10),b=n(32),h=n(20),v=m.a.useSelect;function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,c=t.ctaTarget,l=t.ctaCallback,u=t.dismissLabel,f=t.dismissCallback,m=Object(g.useState)(!1),O=s()(m,2),_=O[0],y=O[1],k=Object(d.a)(),E=v((function(e){return!!n&&e(b.a).isNavigatingTo(n)})),j=function(){var e=o()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(y(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==l?void 0:l.apply(void 0,n);case 4:k()&&y(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!n&&!u&&!a)return null;var w=n||a?h.a:p.Button;return e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(p.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:j,disabled:_||E,isSaving:_||E},r),u&&e.createElement(w,{onClick:f,disabled:_||E},u))}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(3))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l),d=n(2),g=n(53),f=n(1),m=n(4),p=n.n(m),b=n(10),h=n(9),v=n(34),O=n(20),_=n(21),y=p.a.useSelect,k=p.a.useDispatch;function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,a=t.name,c=void 0===a?"optIn":a,s=t.className,l=t.trackEventCategory,m=t.alignLeftCheckbox,p=void 0!==m&&m,E=y((function(e){return e(h.a).isTrackingEnabled()})),j=y((function(e){return e(h.a).isSavingTrackingEnabled()})),w=y((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!E])})),S=k(h.a).setTrackingEnabled,C=Object(_.a)(),N=Object(d.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(l||C,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,l,C]);return e.createElement("div",{className:u()("googlesitekit-opt-in",s)},e.createElement(b.Checkbox,{id:r,name:c,value:"1",checked:E,disabled:j,onChange:N,loading:void 0===E,alignLeft:p},e.createElement("span",null,Object(f.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")," "),e.createElement("span",null,Object(g.a)(Object(f.__)("All collected data is treated in accordance with the <a>Google Privacy Policy.</a>","google-site-kit"),{a:e.createElement(O.a,{key:"link",href:"https://policies.google.com/privacy",external:!0})}))),(null==w?void 0:w.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==w?void 0:w.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string,trackEventCategory:s.a.string,alignLeftCheckbox:s.a.bool}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(6),i=n.n(r),a=n(0),o=n.n(a),c=n(13),s=n(2),l=n(1),u=n(4),d=n.n(u),g=n(18),f=n(52),m=n(145),p=n(84),b=n(81),h=n(109),v=n(215),O=n(40);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=d.a.useSelect;function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(O.a)(),o=k((function(e){return e(g.a).getModule(r)})),u=Array.isArray(i)?i:[i],d=function(e){return Object(f.e)(e)?a?(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(m.a)(e.message,o)):Object(f.b)(e)},_=Object(c.uniqWith)(u.map((function(e){var t;return y(y({},e),{},{message:d(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),E=u.some((function(e){return Object(f.e)(e)}));E||1!==_.length?!E&&_.length>1&&(n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(l.sprintf)( /* translators: %s: module name */ Object(l.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var j=e.createElement(s.Fragment,null,_.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(b.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},p.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(v.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(3))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(22),i=n.n(r),a=n(78),o=n.n(a),c=n(256),s=n(303),l=n(304),u=n(305),d=n(257),g=o()((function(e){return{Widget:f(e)(c.a),WidgetRecoverableModules:f(e)(d.a),WidgetReportZero:f(e)(s.a),WidgetReportError:f(e)(l.a),WidgetNull:f(e)(u.a)}}));function f(t){return function(n){var r=function WithWidgetSlug(r){return e.createElement(n,i()({},r,{widgetSlug:t}))};return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var m=function(t){var n=g(t);return function(t){var r=function DecoratedComponent(r){return e.createElement(t,i()({},r,n))};return r.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(r.displayName+="(".concat(t.displayName||t.name,")")),r}}}).call(this,n(3))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(0),i=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:i.a.node,label:i.a.string}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 16",fill:"none"},e),a)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),i=n.n(r),a=n(0),o=n.n(a),c=n(368),s=n(392),l=n(2),u=n(4),d=n.n(u),g=n(182),f=n(183),m=n(41),p=n(184),b=n(186),h=n(187),v=n(70),O=n(162),_=n(139);function Root(t){var n=t.children,r=t.registry,a=t.viewContext,o=void 0===a?null:a,u=c.a,y=Object(l.useState)({key:"Root",value:!0}),k=i()(y,1)[0];return e.createElement(l.StrictMode,null,e.createElement(O.a,{value:k},e.createElement(d.a.RegistryProvider,{value:r},e.createElement(f.a,{value:m.a},e.createElement(v.a,{value:o},e.createElement(s.a,{theme:u()},e.createElement(g.a,null,e.createElement(b.a,null,n,o&&e.createElement(h.a,null)),Object(_.a)(o)&&e.createElement(p.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){var i=n(50),a=n.n(i),o=n(51),c=n.n(o),s=n(67),l=n.n(s),u=n(68),d=n.n(u),g=n(45),f=n.n(g),m=n(0),p=n.n(m),b=n(2),h=n(1),v=n(70),O=n(47),_=n(20),y=n(8),k=n(148);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var j=function(t){l()(ErrorHandler,t);var n=E(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(y.B)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement(O.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(h.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement("div",{className:"googlesitekit-error-handler__error-actions"},r.createElement(k.a,{message:n.message,componentStack:i.componentStack}),r.createElement(_.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(h.__)("Report this problem","google-site-kit"))),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,i.componentStack)):e}}]),ErrorHandler}(b.Component);j.contextType=v.b,j.propTypes={children:p.a.node.isRequired},t.a=j}).call(this,n(26),n(3))},function(e,t,n){"use strict";var r=n(106),i=(r.a.Consumer,r.a.Provider);t.a=i},function(e,t,n){"use strict";(function(e){var r=n(4),i=n.n(r),a=n(185),o=n(9),c=i.a.useSelect;t.a=function PermissionsModal(){return c((function(e){return e(o.a).isAuthenticated()}))?e.createElement(a.a,null):null}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(1),l=n(2),u=n(4),d=n.n(u),g=n(129),f=n(9),m=n(32),p=n(91),b=n(94),h=d.a.useSelect,v=d.a.useDispatch,O=d.a.useRegistry;t.a=function AuthenticatedPermissionsModal(){var t,n,i,o,u=O(),d=h((function(e){return e(f.a).getPermissionScopeError()})),_=h((function(e){return e(f.a).getUnsatisfiedScopes()})),y=h((function(t){var n,r;return t(f.a).getConnectURL({additionalScopes:null==d||null===(n=d.data)||void 0===n?void 0:n.scopes,redirectURL:(null==d||null===(r=d.data)||void 0===r?void 0:r.redirectURL)||e.location.href})})),k=v(f.a).clearPermissionScopeError,E=v(m.a).navigateTo,j=Object(l.useCallback)((function(){k()}),[k]),w=Object(l.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.c)(u);case 2:E(y);case 3:case"end":return e.stop()}}),e)}))),[u,y,E]);return Object(l.useEffect)((function(){(function(){var e=c()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==d||null===(t=d.data)||void 0===t?void 0:t.skipModal)||!(null==d||null===(n=d.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,w();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[w,d]),d?(null==d||null===(t=d.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==d||null===(i=d.data)||void 0===i?void 0:i.skipModal)||_&&(null==d||null===(o=d.data)||void 0===o?void 0:o.scopes.every((function(e){return _.includes(e)})))?null:r.createElement(b.a,null,r.createElement(g.a,{title:Object(s.__)("Additional Permissions Required","google-site-kit"),subtitle:d.message,confirmButton:Object(s.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:w,handleDialog:j})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",d),null):null}}).call(this,n(26),n(3))},function(e,t,n){"use strict";var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(2),u=n(4),d=n.n(u),g=n(91),f=d.a.useRegistry;t.a=function RestoreSnapshots(e){var t=e.children,n=f(),r=Object(l.useState)(!1),a=s()(r,2),c=a[0],u=a[1];return Object(l.useEffect)((function(){c||o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(g.b)(n);case 2:u(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(6),i=n.n(r),a=n(90),o=n(157);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0),o=n.n(a),c=n(12),s=n.n(c),l=n(431),u=n(1),d=n(2),g=n(4),f=n.n(g),m=n(200),p=n(225),b=n(229),h=n(9),v=n(17),O=n(234),_=n(239),y=n(241),k=n(42),E=n(40),j=n(65),w=n(20),S=n(14),C=f.a.useSelect,N=function Header(t){var n,r=t.children,a=t.subHeader,o=t.showNavigation,c=Object(k.a)("dashboardSharing"),g=!!Object(j.c)(),f=Object(E.a)(),N=C((function(e){return e(S.c).getAdminURL("googlesitekit-dashboard")})),D=C((function(e){return e(h.a).isAuthenticated()})),A=Object(l.a)({childList:!0}),T=i()(A,2),x=T[0],R=!!(null===(n=T[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:s()("googlesitekit-header",{"googlesitekit-header--has-subheader":R,"googlesitekit-header--has-navigation":o})},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(w.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:N},e.createElement(m.a,null))),e.createElement(v.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!D&&c&&g&&f&&e.createElement(y.a,null),D&&(!c||!f)&&e.createElement(p.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:x},a),o&&e.createElement(O.a,null),e.createElement(_.a,null),e.createElement(b.a,null))};N.displayName="Header",N.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},N.defaultProps={children:null,subHeader:null},t.a=N}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),i=n.n(r),a=n(0),o=n.n(a),c=n(211),s=n(2),l=n(63),u=n(1),d=n(4),g=n.n(d),f=n(10),m=n(247),p=n(112),b=n(8),h=n(143),v=n(18),O=n(21),_=n(14),y=g.a.useSelect;function HelpMenu(t){var n=t.children,r=Object(s.useState)(!1),a=i()(r,2),o=a[0],d=a[1],g=Object(s.useRef)(),k=Object(O.a)();Object(c.a)(g,(function(){return d(!1)})),Object(p.a)([l.c,l.e],g,(function(){return d(!1)}));var E=y((function(e){return e(v.a).isModuleActive("adsense")})),j=Object(s.useCallback)((function(){o||Object(b.B)("".concat(k,"_headerbar"),"open_helpmenu"),d(!o)}),[o,k]),w=Object(s.useCallback)((function(){d(!1)}),[]),S=y((function(e){return e(_.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:g,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(f.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(m.a,{width:"20",height:"20"}),onClick:j,text:!0}),e.createElement(f.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:w},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:S},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),E&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(6),a=n.n(i),o=n(15),c=n.n(o),s=n(0),l=n(27),u=n(430),d=n(2),g=n(115),f=n(94),m=n(103);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,a=t.dismissLabel,o=t.target,s=t.onDismiss,p=void 0===s?function(){}:s,h=t.cta,v=void 0!==h&&h,O=t.className,_=t.styles,y=void 0===_?{}:_,k=t.slug,E=void 0===k?"":k,j=t.onView,w=void 0===j?function(){}:j,S=function(){return!!e.document.querySelector(o)},C=Object(d.useState)(S),N=c()(C,2),D=N[0],A=N[1];if(Object(u.a)((function(){S()&&A(!0)}),D?null:250),Object(d.useEffect)((function(){if(D&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,D]),!D)return null;var T=[{title:n,target:o,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:v,className:O}],x={last:a};return r.createElement(f.a,{slug:E},r.createElement(l.e,{callback:function(e){var t=e.type;t===l.b.STEP_AFTER&&p(),t===l.b.TOOLTIP&&w()},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:x,run:!0,steps:T,styles:b(b(b({},m.c),y),{},{options:b(b({},m.c.options),null==y?void 0:y.options),spotlight:b(b({},m.c.spotlight),null==y?void 0:y.spotlight)}),tooltipComponent:g.a}))}JoyrideTooltip.propTypes={title:s.PropTypes.string.isRequired,content:s.PropTypes.string,dismissLabel:s.PropTypes.string,target:s.PropTypes.string.isRequired,onDismiss:s.PropTypes.func,onShow:s.PropTypes.func,className:s.PropTypes.string,styles:s.PropTypes.object,slug:s.PropTypes.string,onView:s.PropTypes.func}}).call(this,n(26),n(3))},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="2023-07-01"},,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n(128),a=n(201),o=n(102);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},,,,,function(e,t,n){"use strict";var r=n(397);n.d(t,"c",(function(){return r.a}));var i=n(398);n.d(t,"a",(function(){return i.a}));var a=n(323);n.d(t,"b",(function(){return a.a}))},,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(6),i=n.n(r),a=n(0),o=n.n(a),c=n(2),s=n(53),l=n(1),u=n(4),d=n.n(u),g=n(10),f=n(14),m=n(18),p=n(52),b=n(40),h=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var O=d.a.useSelect,_=d.a.useDispatch;function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,a=Object(b.a)(),o=O((function(e){return e(m.a).getModuleStoreName(n)})),u=O((function(e){var t;return"function"==typeof(null===(t=e(o))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(o).getServiceEntityAccessURL():null})),d=Array.isArray(r)?r:[r],y=d.filter((function(e){return Object(p.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),k=!!y.length,E=O((function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},k?y[0]:d[0]);return Object(p.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(f.c).getErrorTroubleshootingLinkURL(t)})),j=_(),w=d.some((function(e){return Object(p.e)(e)})),S=Object(c.useCallback)((function(){y.forEach((function(e){var t=e.selectorData;j(t.storeName).invalidateResolution(t.name,t.args)}))}),[j,y]),C=u&&w&&!a;return e.createElement("div",{className:"googlesitekit-report-error-actions"},C&&e.createElement(g.Button,{href:u,target:"_blank"},Object(l.__)("Request access","google-site-kit")),k?e.createElement(c.Fragment,null,e.createElement(g.Button,{onClick:S},Object(l.__)("Retry","google-site-kit")),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(s.a)(Object(l.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:E,external:!0},Object(l.__)("Get help","google-site-kit"))}))):e.createElement(h.a,{href:E,external:!0},Object(l.__)("Get help","google-site-kit")))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(3))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(2),s=n(4),l=n.n(s),u=n(14),d=n(29),g=l.a.useDispatch,f=l.a.useSelect;function m(e){var t=g(d.b).setValue,n=f((function(e){return e(u.c).hasMinimumWordPressVersion("6.2")}));return Object(c.useCallback)(o()(i.a.mark((function r(){var a,o,c,s;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=document.querySelector("#adminmenu").offsetHeight>0){r.next=7;break}if(!(o=document.getElementById("wp-admin-bar-menu-toggle"))){r.next=7;break}return o.click(),r.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(c=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!a,rehideAdminSubMenu:c});case 12:case"end":return r.stop()}}),r)}))),[n,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(24),g=n.n(d),f=n(2),m=n(0),p=n.n(m),b=n(4),h=n.n(b),v=n(190),O=n(29),_=n(160);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=h.a.useDispatch;function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=g()(t,["onDismiss","tooltipStateKey"]),a=E(O.b).setValue,c=Object(_.a)(r),l=c.rehideAdminMenu,d=c.rehideAdminSubMenu,m=Object(f.useCallback)(u()(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,l,d,a,r]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},i))}AdminMenuTooltip.propTypes=k(k({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(3))},,,,,,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(211),d=n(2),g=n(1),f=n(63),m=n(4),p=n.n(m),b=n(10),h=n(129),v=n(8),O=n(39),_=n(94),y=n(226),k=n(178),E=n(227),j=n(228),w=n(14),S=n(9),C=n(32),N=n(112),D=n(21),A=p.a.useSelect,T=p.a.useDispatch;function UserMenu(){var t=A((function(e){return e(w.c).getProxyPermissionsURL()})),n=A((function(e){return e(S.a).getEmail()})),i=A((function(e){return e(S.a).getPicture()})),o=A((function(e){return e(S.a).getFullName()})),s=A((function(e){return e(w.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),m=Object(d.useState)(!1),p=l()(m,2),x=p[0],R=p[1],M=Object(d.useState)(!1),L=l()(M,2),I=L[0],P=L[1],B=Object(d.useRef)(),z=Object(d.useRef)(),F=Object(D.a)(),G=T(C.a).navigateTo;Object(u.a)(B,(function(){return P(!1)})),Object(N.a)([f.c,f.e],B,(function(){var e;P(!1),null===(e=z.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(R(!1),P(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var U,W=Object(d.useCallback)((function(){I||Object(v.B)("".concat(F,"_headerbar"),"open_usermenu"),P(!I)}),[I,F]),V=Object(d.useCallback)((function(){R(!x),P(!1)}),[x]),q=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.detail.item,e.t0=null==i?void 0:i.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.B)("".concat(F,"_headerbar_usermenu"),"manage_sites");case 7:G(t);case 8:return e.abrupt("break",12);case 9:return V(),e.abrupt("break",12);case 11:W();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,W,V,G,F]),H=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R(!1),e.next=3,Object(O.b)();case 3:return e.next=5,Object(v.B)("".concat(F,"_headerbar_usermenu"),"disconnect_user");case 5:G(s);case 6:case"end":return e.stop()}}),e)}))),[s,G,F]);return n?(o&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(U=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:B,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(b.Button,{ref:z,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:W,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":I,"aria-controls":"user-menu","aria-label":Object(g.__)("Account","google-site-kit"),tooltip:!0,customizedTooltip:r.createElement("span",{"aria-label":U},r.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(b.Menu,{className:"googlesitekit-user-menu",menuOpen:I,onSelected:q,id:"user-menu"},r.createElement("li",null,r.createElement(y.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(k.a,{icon:r.createElement(j.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(k.a,{icon:r.createElement(E.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),r.createElement(_.a,null,r.createElement(h.a,{dialogActive:x,handleConfirm:H,handleDialog:V,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0})))):null}}).call(this,n(26),n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(1),i=n(4),a=n.n(i),o=n(9),c=a.a.useSelect;function Details(){var t=c((function(e){return e(o.a).getPicture()})),n=c((function(e){return e(o.a).getFullName()})),i=c((function(e){return e(o.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details"},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:Object(r.__)("User Avatar","google-site-kit")}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email"},i)))}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotifications}));var r=n(2),i=n(1),a=n(4),o=n.n(a),c=n(230),s=n(231),l=n(232),u=n(233),d=n(18),g=n(9),f=n(14),m=n(30),p=n(47),b=o.a.useSelect;function ErrorNotifications(){var t=b((function(e){return e(g.a).isAuthenticated()})),n=b((function(e){return e(f.c).getSetupErrorCode()})),a=b((function(e){return e(f.c).getSetupErrorMessage()})),o=b((function(e){return e(f.c).getSetupErrorRedoURL()})),h=b((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:n})})),v=b((function(e){return e(d.a).isModuleConnected("analytics-4")})),O=b((function(e){return e(g.a).hasScope(m.h)})),_=v&&!O;return e.createElement(r.Fragment,null,e.createElement(u.a,null),e.createElement(c.a,null),a&&e.createElement(p.b,{id:"setup_error",type:"win-error",title:Object(i.__)("Error connecting Site Kit","google-site-kit"),description:a,isDismissible:!1,ctaLink:o,ctaLabel:Object(i.__)("Redo the plugin setup","google-site-kit"),learnMoreLabel:Object(i.__)("Get help","google-site-kit"),learnMoreURL:h}),!a&&t&&e.createElement(r.Fragment,null,!_&&e.createElement(s.a,null),_&&e.createElement(l.a,null)))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(1),i=n(4),a=n.n(i),o=n(9),c=n(47),s=a.a.useSelect;function AuthError(){var t=s((function(e){return e(o.a).getAuthError()}));return t?e.createElement(c.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlert}));var i=n(15),a=n.n(i),o=n(13),c=n(2),s=n(1),l=n(4),u=n.n(l),d=n(47),g=n(8),f=n(9),m=n(32),p=n(18),b=u.a.useSelect,h={siteverification:"site-verification",webmasters:"search-console"};function UnsatisfiedScopesAlert(){var t,n,i,l=Object(c.useRef)(),u=b((function(e){return e(m.a).isNavigatingTo(new RegExp("//oauth2|action=googlesitekit_connect","i"))})),v=b((function(e){return e(f.a).getUnsatisfiedScopes()})),O=b((function(t){return t(f.a).getConnectURL({redirectURL:e.location.href})})),_=b((function(e){return e(p.a).getModules()}));if(u&&!l.current||!(null==v?void 0:v.length)||void 0===O)return null;t=v.some((function(e){return!e.match(new RegExp("^https://www\\.googleapis\\.com/auth/"))}))||!(n=function(e,t){return void 0===t?null:e.map((function(e){return e.match(new RegExp("^https://www\\.googleapis\\.com/auth/([a-z]+)"))})).map((function(e){var t=a()(e,2)[1];return h[t]||t})).map((function(e){var n;return(null===(n=t[e])||void 0===n?void 0:n.name)||!1}))}(v,_))||n.some((function(e){return!1===e}))?"generic":1<(n=Object(o.uniq)(n)).length?"multiple":"single";var y=Object(s.__)("Site Kit can’t access necessary data","google-site-kit"),k=Object(s.__)("Redo setup","google-site-kit");switch(t){case"multiple":i=Object(s.sprintf)( /* translators: %s: List of product names */ Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for: %s – make sure to approve all permissions at the authentication stage.","google-site-kit"),Object(g.t)(n));break;case"single":i=Object(s.sprintf)( /* translators: %s: Product name */ Object(s.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),n[0]);break;case"generic":i=Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.b,{id:"authentication error",title:y,description:i,format:"small",type:"win-error",isDismissible:!1,ctaLink:O,onCTAClick:function(){l.current=!0},ctaLabel:k})}}).call(this,n(26),n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlertGTE}));var i=n(1),a=n(4),o=n.n(a),c=n(47),s=n(14),l=n(9),u=n(30),d=o.a.useSelect;function UnsatisfiedScopesAlertGTE(){var t=d((function(t){return t(l.a).getConnectURL({additionalScopes:[u.h],redirectURL:e.location.href})})),n=d((function(e){return e(s.c).getGoogleSupportURL({path:"/tagmanager/answer/11994839"})}));return void 0===t?null:r.createElement(c.b,{id:"authentication-error-gte",title:Object(i.__)("Site Kit needs additional permissions to detect updates to tags on your site","google-site-kit"),description:Object(i.__)("To continue using Analytics with Site Kit, you need to grant permission to check for any changes in your Google tag’s target Analytics property. The Google tag feature was recently updated to allow users to change a tag’s connected Analytics property without editing site code. Because of this change, Site Kit now must regularly check if the tag on your site matches the Analytics property destination.","google-site-kit"),format:"small",type:"win-error",isDismissible:!1,ctaLink:t,ctaLabel:Object(i.__)("Grant permission","google-site-kit"),learnMoreLabel:Object(i.__)("Learn more","google-site-kit"),learnMoreURL:n})}}).call(this,n(26),n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),i=n.n(r),a=n(14),o=n(47),c=i.a.useSelect;function InternalServerError(){var t=c((function(e){return e(a.c).getInternalServerError()}));return t?e.createElement(o.b,t):null}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(4),i=n.n(r),a=n(9),o=n(40),c=n(235),s=n(42),l=i.a.useSelect;function DashboardNavigation(){var t=Object(o.a)(),n=l((function(e){return t?e(a.a).getViewableModules():null})),r=Object(s.a)("userInput"),i=l((function(e){return r&&e(a.a).getKeyMetrics()}));return void 0===n||void 0===i?null:e.createElement(c.a,null)}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(28),a=n.n(i),o=n(15),c=n.n(o),s=n(12),l=n.n(s),u=n(13),d=n(88),g=n(133),f=n(2),m=n(1),p=n(4),b=n.n(p),h=n(179),v=n(236),O=n(237),_=n(238),y=n(23),k=n(9),E=n(48),j=n(29),w=n(71),S=n(65),C=n(36),N=n(107),D=n(8),A=n(21),T=n(40),x=n(42);function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var L=b.a.useSelect,I=b.a.useDispatch;function Navigation(){var t,n=Object(S.c)(),i=Object(f.useRef)(),o=Object(C.e)(),s=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),p=Object(f.useState)(s),b=c()(p,2),M=b[0],P=b[1],B=Object(f.useState)(s||void 0),z=c()(B,2),F=z[0],G=z[1],U=Object(f.useState)(!1),W=c()(U,2),V=W[0],q=W[1],H=Object(A.a)(),K=Object(T.a)(),Y=I(j.b).setValue,X=L((function(e){return K?e(k.a).getViewableModules():null})),$=Object(x.a)("userInput"),Q=L((function(e){return $&&e(k.a).isKeyMetricsWidgetHidden()})),Z={modules:X||void 0},J=L((function(e){return!(!$||n!==S.b||!0===Q)&&e(E.a).isWidgetContextActive(w.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,Z)})),ee=L((function(e){return e(E.a).isWidgetContextActive(n===S.b?w.CONTEXT_MAIN_DASHBOARD_TRAFFIC:w.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,Z)})),te=L((function(e){return e(E.a).isWidgetContextActive(n===S.b?w.CONTEXT_MAIN_DASHBOARD_CONTENT:w.CONTEXT_ENTITY_DASHBOARD_CONTENT,Z)})),ne=L((function(e){return e(E.a).isWidgetContextActive(n===S.b?w.CONTEXT_MAIN_DASHBOARD_SPEED:w.CONTEXT_ENTITY_DASHBOARD_SPEED,Z)})),re=L((function(e){return e(E.a).isWidgetContextActive(n===S.b?w.CONTEXT_MAIN_DASHBOARD_MONETIZATION:w.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,Z)})),ie=Object(f.useCallback)((function(){return J?y.b:K?ee?y.e:te?y.a:ne?y.d:re?y.c:"":y.e}),[J,ee,te,ne,re,K]),ae=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),i=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(i)),G(i),Object(D.B)("".concat(H,"_navigation"),"tab_select",i),e.scrollTo({top:i!==ie()?Object(N.a)("#".concat(i),o):0,behavior:"smooth"}),setTimeout((function(){Y(j.a,i)}),50)}),[o,H,Y,ie]);return Object(d.a)((function(){var t=ie();if(!s)return P(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=s;(function(e){return!(!J||e!==y.b)||(!(!ee||e!==y.e)||(!(!te||e!==y.a)||(!(!ne||e!==y.d)||!(!re||e!==y.c))))})(n)||(n=t),Y(j.a,n),P(n),setTimeout((function(){var r=n!==t?Object(N.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):Y(j.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){Y(j.a,void 0),P(e),G(void 0)},n=Object(u.throttle)((function(n){var r,o,c,s,l=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==i||null===(c=i.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(a()(J?[y.b]:[]),a()(ee?[y.e]:[]),a()(te?[y.a]:[]),a()(ne?[y.d]:[]),a()(re?[y.c]:[])),p=ie();if(0===l)q(!1);else{var b,h=null===(b=document.querySelector(".googlesitekit-header"))||void 0===b?void 0:b.getBoundingClientRect().bottom;q(f===h)}var v,O=R(m);try{for(O.s();!(v=O.n()).done;){var _=v.value,k=document.getElementById(_);if(k){var E=k.getBoundingClientRect().top-20-(u||g||0);E<0&&(void 0===s||s<E)&&(s=E,p=_)}}}catch(e){O.e(e)}finally{O.f()}if(F)F===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(D.B)("".concat(H,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[F,J,ee,te,ne,re,H,Y,ie]),r.createElement("nav",{className:l()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":V}),ref:i},J&&r.createElement(g.Chip,{id:y.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:ae,selected:M===y.b,"data-context-id":y.b}),ee&&r.createElement(g.Chip,{id:y.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:ae,selected:M===y.e,"data-context-id":y.e}),te&&r.createElement(g.Chip,{id:y.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"18"}),onClick:ae,selected:M===y.a,"data-context-id":y.a}),ne&&r.createElement(g.Chip,{id:y.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"20",height:"16"}),onClick:ae,selected:M===y.d,"data-context-id":y.d}),re&&r.createElement(g.Chip,{id:y.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:ae,selected:M===y.c,"data-context-id":y.c}))}}).call(this,n(26),n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 18",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",i({viewBox:"0 0 20 16",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",i({viewBox:"0 0 23 12",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),o=n(13),c=n(1),s=n(2),l=n(4),u=n.n(l),d=n(10),g=n(14),f=n(240),m=n(32),p=n(20),b=n(56),h=n(8),v=n(65),O=n(21),_=u.a.useSelect,y=u.a.useDispatch;t.a=function EntityHeader(){var t=Object(O.a)(),n=Object(v.c)(),i=_((function(e){return e(g.c).getCurrentEntityTitle()})),l=_((function(e){return e(g.c).getCurrentEntityURL()})),u=Object(s.useRef)(),k=Object(s.useState)(l),E=a()(k,2),j=E[0],w=E[1];Object(s.useEffect)((function(){var t=function(){if(u.current){var t=u.current.clientWidth-40,n=e.getComputedStyle(u.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);w(Object(b.e)(l,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[l,u,w]);var S=y(m.a).navigateTo,C=_((function(e){return e(g.c).getAdminURL("googlesitekit-dashboard")})),N=Object(s.useCallback)((function(){Object(h.B)("".concat(t,"_navigation"),"return_to_dashboard"),S(C)}),[C,S,t]);return v.a!==n||null===l||null===i?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(d.Button,{icon:r.createElement(f.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:N,text:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:u,className:"googlesitekit-entity-header__details"},r.createElement("p",null,i),r.createElement(p.a,{href:l,"aria-label":l,external:!0},j)))}}).call(this,n(26),n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),i=n.n(r),a=n(211),o=n(12),c=n.n(o),s=n(2),l=n(1),u=n(63),d=n(10),g=n(21),f=n(112),m=n(8),p=n(242),b=n(243),h=n(244),v=n(246),O=n(4),_=n.n(O),y=n(9),k=_.a.useSelect;function ViewOnlyMenu(){var t=Object(s.useState)(!1),n=i()(t,2),r=n[0],o=n[1],O=Object(s.useRef)(),_=Object(g.a)();Object(a.a)(O,(function(){return o(!1)})),Object(f.a)([u.c,u.e],O,(function(){return o(!1)}));var E=Object(s.useCallback)((function(){r||Object(m.B)("".concat(_,"_headerbar"),"open_viewonly"),o(!r)}),[r,_]),j=k((function(e){return e(y.a).hasCapability(y.o)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:E,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(l.__)("View only","google-site-kit"),tooltip:!0},Object(l.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:E,id:"view-only-menu"},e.createElement(b.a,null),e.createElement(h.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(v.a,null)))}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",i({viewBox:"0 0 16 10",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(2),s=n(53),l=n(1),u=n(4),d=n.n(u),g=n(10),f=n(32),m=n(14),p=n(9),b=n(8),h=n(20),v=n(21),O=d.a.useDispatch,_=d.a.useSelect;function Description(){var t=Object(v.a)(),n=_((function(e){return e(p.a).hasCapability(p.o)})),r=_((function(e){return e(m.c).getProxySetupURL()})),a=_((function(e){return e(m.c).getDocumentationLinkURL("dashboard-sharing")})),u=O(f.a).navigateTo,d=Object(c.useCallback)(function(){var e=o()(i.a.mark((function e(n){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Object(b.B)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth");case 3:u(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,u,t]),y=Object(c.useCallback)((function(){Object(b.B)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),k=n?Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:a,external:!0,onClick:y,"aria-label":Object(l.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,k),n&&e.createElement(g.Button,{onClick:d},Object(l.__)("Sign in with Google","google-site-kit")))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(1),i=n(4),a=n.n(i),o=n(9),c=n(245),s=a.a.useSelect;function SharedServices(){var t=s((function(e){return e(o.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(c.a,{key:t,module:t})}))))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(0),i=n.n(r),a=n(53),o=n(1),c=n(4),s=n.n(c),l=n(18),u=n(9),d=s.a.useSelect;function Service(t){var n=t.module,r=d((function(e){return e(u.a).hasCapability(u.o)})),i=d((function(e){return e(l.a).getModule(n)||{}})),c=i.name,s=i.owner,g=d((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},c),r&&(null==s?void 0:s.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),s.login),{strong:e.createElement("strong",{title:s.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(53),i=n(1),a=n(172),o=n(21);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better.","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=function Widget(t){var n=t.children,r=t.className,a=t.widgetSlug,o=t.noPadding,c=t.Header,s=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(a),{"googlesitekit-widget--no-padding":o},{"googlesitekit-widget--with-header":c},r)},c&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(c,null)),e.createElement("div",{className:"googlesitekit-widget__body"},n),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))};c.defaultProps={children:void 0,noPadding:!1},c.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=c}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(28),s=n.n(c),l=n(24),u=n.n(l),d=n(0),g=n.n(d),f=n(2),m=n(159),p=n(147);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(f.useMemo)((function(){return{moduleSlug:s()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,a),e.createElement(p.a,o()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(3))},,,,function(e,t,n){"use strict";n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return b})),n.d(t,"e",(function(){return l}));var r=n(15),i=n.n(r),a=n(28),o=n.n(a),c=n(132),s=n(117);function l(e){return!!e&&e.Component===s.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function g(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,s=function(e,t){return e.counter-t.counter},g=function(e,t){var n=e.counter;return t.counter-n},f=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(l(t[m.slug]))return n.push(0),void r.push(o);var b=d(a,m),h=function(e,t,n){for(;++e<t.length;)if(!l(n[t[e].slug]))return t[e];return null}(p,e,t);null!==h&&0!==d(b.sort(s)[0].counter,h).filter(f).length||b.some(f)&&(b=(b=b.sort(g)).filter(f));var v=b[0].width;if(r.push(o),(a+=c.c[v])>12){if(a-=c.c[v],r[p]++,9===a){var O=u(n,a),_=i()(O,2);n=_[0],a=_[1]}a=c.c[v],o++}else 12===a&&(a=0,o++);n.push(c.c[v])})),9===a){var m=u(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(13);function m(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],s=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:s,overrideComponents:a};var l=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],o=null==t?void 0:t[a.slug],s=null==o?void 0:o.Component,l=null==o||null===(i=o.metadata)||void 0===i?void 0:i.moduleSlug,u=c.b.includes(s);if(!s||!l||!u)return!1;if(n[l]){if(n[l]!==s)return!1}else n[l]=s}return!(Object.keys(n).length>1)}(e,t)){var g=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(g))}}return e.forEach((function(n,o){var c,g,m,p,b;if(a.push(null),l=t[n.slug],u=i[o],l)if(g=l,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,b=i[o+1],p===b&&Object(f.isEqual)(g,m))d.push(r[o]),s[o]=0;else if(d.length>0){d.push(r[o]);var h=d.reduce((function(e,t){return e+t}),0);a[o]=l,s[o]=h,d=[]}})),{gridColumnWidths:s,overrideComponents:a}}var p=n(175);function b(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXISTING_PROPERTY:"EXISTING_PROPERTY",NO_EXISTING_PROPERTY:"NO_EXISTING_PROPERTY"}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(24),s=n.n(c),l=n(0),u=n.n(l),d=n(2),g=n(159),f=n(161);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=s()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(g.a)(n,f.a,a),e.createElement(f.a,o()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),i=n.n(r),a=n(24),o=n.n(a),c=n(0),s=n.n(c),l=n(173);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(l.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:s.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),i=n.n(r),a=n(0),o=n.n(a),c=n(159),s=n(117);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,s.a,u),e.createElement(s.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},,,,,function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(15),o=n.n(a),c=n(2),s=n(456),l=n(268);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(s.a)(r.location.href,t)||n),u=o()(a,2),d=u[0],g=u[1],f=function(e){g(e);var n=Object(l.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},,,,,,function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.666 7.5V5H15v2.5h-2.5v1.666H15v2.5h1.666v-2.5h2.5V7.5h-2.5zM7.5 10a3.332 3.332 0 100-6.667A3.332 3.332 0 107.5 10zm0-5c.916 0 1.666.75 1.666 1.666 0 .917-.75 1.667-1.666 1.667-.917 0-1.667-.75-1.667-1.667C5.833 5.75 6.583 5 7.5 5zm5.325 7.133c-1.4-.717-3.217-1.3-5.325-1.3-2.109 0-3.925.583-5.325 1.3A2.476 2.476 0 00.833 14.35v2.316h13.333V14.35c0-.934-.508-1.792-1.341-2.217zM12.5 15h-10v-.65c0-.317.166-.6.433-.734A10.09 10.09 0 017.5 12.5c1.975 0 3.575.608 4.566 1.116a.81.81 0 01.434.734V15z",fill:"currentColor"});t.a=function SvgShare(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var r=n(0),i=n.n(r),a=n(2),o=n(1),c=n(4),s=n.n(c),l=n(10),u=n(19),d=n(8),g=n(21),f=s.a.useSelect,m=s.a.useDispatch;function UseSnippetSwitch(t){var n=t.description,r=Object(g.a)(),i=f((function(e){return e(u.d).getUseSnippet()})),c=m(u.d).setUseSnippet,s=Object(a.useCallback)((function(){var e=!i;c(e),Object(d.B)("".concat(r,"_analytics"),e?"enable_tag":"disable_tag","ga4")}),[i,c,r]);return void 0===i?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(l.Switch,{label:Object(o.__)("Place Google Analytics 4 code","google-site-kit"),checked:i,onClick:s,hideLabel:!1}),n)}UseSnippetSwitch.propTypes={description:i.a.node}}).call(this,n(3))},,function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(1),o=n(53),c=n(23),s=n(121),l=n(41);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g={border:"0"},f={spotlight:d(d({},g),{},{margin:"-42px 0 0 6px",padding:"12px 0 20px 0"})},m={slug:"ga4Reporting",contexts:[c.l],version:"1.999.0",gaEventCategory:function(e){return"".concat(e,"_ga4-metrics")},checkRequirements:function(){return Object(l.b)("ga4Reporting")},steps:[{target:".googlesitekit-data-block--conversions .googlesitekit-data-block__title, .googlesitekit-analytics-cta--setup-conversions",styles:{spotlight:g},title:Object(a.__)("See the new metrics from Google Analytics 4","google-site-kit"),content:Object(o.a)(Object(a.__)('"Conversions" have replaced "Goals," since "Goals" no longer exist in GA4. <a>Learn how to set up Conversions</a>',"google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/12966437",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"},{target:".googlesitekit-table__head-item--sessions:not(.googlesitekit-table__head-item--badge)",styles:f,title:Object(a.__)('"Sessions" has replaced "Unique Pageviews"',"google-site-kit"),content:Object(o.a)(Object(a.__)("A session is a period of time during which a user interacts with your website or app. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/9191807",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"},{target:".googlesitekit-table__head-item--engagement-rate:not(.googlesitekit-table__head-item--badge)",title:Object(a.__)("New metric: engagement rate","google-site-kit"),styles:f,content:Object(o.a)(Object(a.__)("Engagement rate shows the percentage of engaged sessions, the opposite of bounce rate. <a>Learn more</a>","google-site-kit"),{a:e.createElement(s.a,{path:"/analytics/answer/11109416",inverse:!0,external:!0,hideExternalIndicator:!0,standalone:!0})}),placement:"auto"}]};t.a=m}).call(this,n(3))},,,,,,function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(12),o=n.n(a),c=n(4),s=n.n(c),l=n(500),u=n(9),d=n(48),g=n(17),f=n(40),m=s.a.useSelect,p=function WidgetContextRenderer(t){var n=t.id,r=t.slug,i=t.className,a=t.Header,c=t.Footer,s=Object(f.a)(),p=m((function(e){return s?e(u.a).getViewableModules():null})),b=m((function(e){return r?e(d.a).getWidgetAreas(r):null})),h=m((function(e){return!!r&&e(d.a).isWidgetContextActive(r,{modules:p||void 0})}));return void 0===p?null:e.createElement("div",{id:n,className:o()("googlesitekit-widget-context",{"googlesitekit-hidden":!h},i)},a&&h&&e.createElement(g.e,null,e.createElement(g.k,null,e.createElement(g.a,{size:12},e.createElement(a,null)))),b&&b.map((function(t){return e.createElement(l.a,{key:t.slug,slug:t.slug,contextID:n})})),c&&h&&e.createElement(g.e,null,e.createElement(g.k,null,e.createElement(g.a,{size:12},e.createElement(c,null)))))};p.propTypes={id:i.a.string,slug:i.a.string,className:i.a.string,Header:i.a.elementType,Footer:i.a.elementType},t.a=p}).call(this,n(3))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(8),i=n(38);function a(e){var t=Object(i.a)(e);return t<Object(i.a)("2023-05-01")?Object(r.o)("month"):Object(i.a)("2023-05-01")<=t&&t<Object(i.a)("2023-06-01")?Math.max(31*Object(r.o)("day")-t.getDate()*Object(r.o)("day"),2*Object(r.o)("day")):2*Object(r.o)("day")}},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(2),i=n(4),a=n.n(i),o=n(19),c=a.a.useSelect,s=a.a.useDispatch;function l(){var e=s(o.d).setUseSnippet,t=c((function(e){return e(o.d).getExistingTag()})),n=c((function(e){return e(o.d).getMeasurementID()})),i=Object(r.useRef)(!0);Object(r.useEffect)((function(){if(t&&void 0!==n){if(""===n||i.current)return void(i.current=!1);e(n!==t)}}),[e,t,n])}},,function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(195),c=n(1022),s=n(10),l=n(128),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(l.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(s.Button,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(27),i=n(1),a=n(41),o=n(9),c=(e._googlesitekitUserData||{}).hasMultipleAdmins,s=[{target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--view",title:Object(i.__)("Manage view access for other roles","google-site-kit"),content:Object(i.__)("Grant access to the view-only dashboard for each service for the specific roles you want. Users will see the Site Kit dashboard with only the services that have been shared with them without needing to sign-in with Google.","google-site-kit"),placement:"auto"}];c&&s.push({target:".googlesitekit-dashboard-sharing-settings__main .googlesitekit-dashboard-sharing-settings__column--manage",title:Object(i.__)("Share management with other admins","google-site-kit"),content:Object(i.__)("By default only the user who connects a service can control who it is shared with. This setting optionally lets these users allow any other admin signed in with Google to manage the roles a service is shared with.","google-site-kit"),placement:"auto"}),t.a={slug:"dashboardSharingSettings",gaEventCategory:function(e){return"".concat(e,"_dashboard-sharing")},checkRequirements:function(){return Object(a.b)("dashboardSharing")},steps:s,callback:function(e,t){var n=e.type,i=t.select,a=t.dispatch;r.b.TOOLTIP===n&&!1===i(o.a).isTourDismissed("dashboardSharing")&&a(o.a).dismissTour("dashboardSharing")}}}).call(this,n(26))},,,function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.522 143.34c2.283 6.363 5.534 12.204 9.6 17.248 15.98 19.643 39.589 21.308 61.242 16.393 21.924-5.009 42.593-15.632 60.484-31.083 10.296-8.905 20.465-19.956 34.097-20.448 5.118-.184 10.412 1.462 14.278 5.346 8.035 8.019 7.892 21.731 14.162 31.235 8.339 12.64 20.332 16.554 33.415 18.013 36.961 4.116 80.986-9.39 106.41-42.253 22.699-29.338 25.423-76.02-2.053-102.765-12.553-12.22-29.767-17.818-46.014-14.965-12.418 2.18-25.024 8.813-37.878 10.657-15.138 2.177-24.497-5.246-36.745-13.892-21.342-15.026-49.557-20.8-73.716-12.081-23.127 8.343-39.771 31.125-62.275 41.133-19.446 8.653-42.416 7.336-59.313 21.43C.225 83.98-4.8 117.641 4.522 143.34z",fill:"#F9FAF9"}),o=r.createElement("g",{filter:"url(#ga4-success-green_svg__filter0_d_826_6999)"},r.createElement("rect",{x:83,y:3,width:218.232,height:149,rx:11.919,fill:"#fff"}),r.createElement("rect",{x:82.409,y:2.409,width:219.414,height:150.182,rx:12.51,stroke:"#CBD0D3",strokeWidth:1.182})),c=r.createElement("path",{d:"M83 14.92C83 8.336 88.337 3 94.92 3h194.393c6.583 0 11.919 5.337 11.919 11.92v6.14H83v-6.14z",fill:"#EBEEF0"}),s=r.createElement("rect",{x:92.03,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),l=r.createElement("rect",{x:101.061,y:9.02,width:6.02,height:6.02,rx:3.01,fill:"#CBD0D3"}),u=r.createElement("rect",{x:95.002,y:30.603,width:25.582,height:9.303,rx:4.651,fill:"#EBEEF0"}),d=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M111.598 49.79H96.481v-2.907h15.117v2.907zM108.11 57.93H96.481v-2.907h11.629v2.906zM104.621 66.07h-8.14v-2.908h8.14v2.907zM109.273 74.21H96.481v-2.908h12.792v2.907z",fill:"#EBEEF0"}),g=r.createElement("rect",{x:237.141,y:30.151,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),f=r.createElement("rect",{x:255.516,y:70.242,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),m=r.createElement("circle",{cx:262.167,cy:51.309,r:10.746,stroke:"#F5C3EA",strokeWidth:3.07}),p=r.createElement("path",{d:"M272.914 51.309c0 5.934-4.812 10.746-10.747 10.746-5.934 0-10.746-4.812-10.746-10.746 0-5.935 4.812-10.746 10.746-10.746",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),b=r.createElement("rect",{x:136.446,y:85.999,width:49.924,height:49.078,rx:3.07,fill:"#EBEEF0"}),h=r.createElement("rect",{x:155.258,y:125.508,width:13.305,height:3.07,rx:1.023,fill:"#CBD0D3"}),v=r.createElement("circle",{cx:161.911,cy:106.574,r:10.746,stroke:"#F5C3EA",strokeWidth:3.295}),O=r.createElement("path",{d:"M158.294 116.693c-5.589-1.997-8.5-8.147-6.502-13.736 1.997-5.588 8.147-8.5 13.736-6.502",stroke:"#E399D3",strokeWidth:3.07,strokeLinecap:"round"}),_=r.createElement("rect",{x:136.446,y:30.151,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),y=r.createElement("rect",{x:141.639,y:37.492,width:44.008,height:3.07,rx:1.023,fill:"#CBD0D3"}),k=r.createElement("rect",{x:141.639,y:43.633,width:28.656,height:3.07,rx:1.023,fill:"#CBD0D3"}),E=r.createElement("rect",{x:141.523,y:50.459,width:82.925,height:23.693,rx:2.047,fill:"#fff"}),j=r.createElement("g",{mask:"url(#ga4-success-green_svg__a)"},r.createElement("path",{d:"M152.343 70.074c-8.033 0-11.243-1.866-13.358-3.732v11.195h87.156V57.906c-.668-1.348-2.296-4.908-7.984-4.908-7.346 0-13.306 14.277-24.284 14.277-10.977 0-12.308-6.84-18.628-6.84-7.984 0-12.551 9.639-22.902 9.639z",fill:"#F5C3EA",stroke:"#E399D3",strokeWidth:3.07}),r.createElement("path",{d:"M178.129 60.008a3.07 3.07 0 11-6.141-.001 3.07 3.07 0 016.141 0z",fill:"#AC629B"})),w=r.createElement("rect",{x:193.986,y:85.999,width:93.079,height:49.078,rx:3.07,fill:"#EBEEF0"}),S=r.createElement("rect",{x:199.267,y:92.758,width:19.445,height:3.07,rx:1.023,fill:"#CBD0D3"}),C=r.createElement("rect",{x:199.267,y:98.898,width:10.234,height:3.07,rx:1.023,fill:"#CBD0D3"}),N=r.createElement("rect",{x:204.875,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 204.875 127.555)",fill:"#F5C3EA"}),D=r.createElement("rect",{x:213.062,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 213.062 127.555)",fill:"#F5C3EA"}),A=r.createElement("rect",{x:221.25,y:127.555,width:6.141,height:3.07,rx:1.023,transform:"rotate(-90 221.25 127.555)",fill:"#F5C3EA"}),T=r.createElement("rect",{x:229.438,y:127.555,width:8.188,height:3.07,rx:1.023,transform:"rotate(-90 229.438 127.555)",fill:"#E399D3"}),x=r.createElement("rect",{x:237.625,y:127.555,width:12.281,height:3.07,rx:1.023,transform:"rotate(-90 237.625 127.555)",fill:"#E399D3"}),R=r.createElement("rect",{x:245.812,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 245.812 127.555)",fill:"#E399D3"}),M=r.createElement("rect",{x:254,y:127.555,width:18.422,height:3.07,rx:1.023,transform:"rotate(-90 254 127.555)",fill:"#E399D3"}),L=r.createElement("rect",{x:262.188,y:127.555,width:15.352,height:3.07,rx:1.023,transform:"rotate(-90 262.188 127.555)",fill:"#E399D3"}),I=r.createElement("rect",{x:270.375,y:127.555,width:9.211,height:3.07,rx:1.023,transform:"rotate(-90 270.375 127.555)",fill:"#E399D3"}),P=r.createElement("path",{d:"M79.162 126.71l-10.25 43.198H55M95.27 126.71l5.124 12.447-8.786 30.751h12.447",stroke:"#000",strokeWidth:2.758,strokeLinecap:"round"}),B=r.createElement("path",{d:"M120.896 104.725c5.939.696 30.067 6.234 23.615-15.253l5.672-1.395",stroke:"#191C1A",strokeWidth:2.758,strokeLinecap:"round",strokeLinejoin:"round"}),z=r.createElement("path",{d:"M58.868 105.86c.72 9.731.871 20.959-1.877 30.341",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),F=r.createElement("circle",{cx:88.68,cy:97.424,r:32.215,fill:"#77AD8C"}),G=r.createElement("path",{d:"M98.93 111.803c-4.788 6.599-13.708 8.761-20.5.899",stroke:"#191C1A",strokeWidth:2.758,strokeMiterlimit:10,strokeLinecap:"round"}),U=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M85.02 126.711c18.196 0 32.947-14.752 32.947-32.948a32.791 32.791 0 00-5.113-17.637 32.09 32.09 0 018.042 21.296c0 17.792-14.423 32.216-32.215 32.216a32.093 32.093 0 01-21.282-8.03 32.788 32.788 0 0017.62 5.103z",fill:"#59866A"}),W=r.createElement("defs",null,r.createElement("filter",{id:"ga4-success-green_svg__filter0_d_826_6999",x:81.818,y:1.818,width:223.98,height:155.594,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.385,dy:4.231}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_826_6999"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_826_6999",result:"shape"})));t.a=function SvgGa4SuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 356 181",fill:"none"},e),a,o,c,s,l,u,d,g,f,m,p,b,h,v,O,_,y,k,r.createElement("mask",{id:"ga4-success-green_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:141,y:50,width:84,height:25},E),j,w,S,C,N,D,A,T,x,R,M,L,I,P,B,z,F,G,U,W)}},,,,function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fill:"#3c7251",d:"M10.6 16.6l7.05-7.05-1.4-1.4-5.65 5.65-2.85-2.85-1.4 1.4 4.25 4.25zM12 22a9.873 9.873 0 01-3.9-.775 10.274 10.274 0 01-3.175-2.15c-.9-.9-1.617-1.958-2.15-3.175A9.873 9.873 0 012 12c0-1.383.258-2.683.775-3.9a10.275 10.275 0 012.15-3.175c.9-.9 1.958-1.608 3.175-2.125A9.607 9.607 0 0112 2c1.383 0 2.683.267 3.9.8a9.927 9.927 0 013.175 2.125c.9.9 1.608 1.958 2.125 3.175.533 1.217.8 2.517.8 3.9a9.607 9.607 0 01-.8 3.9 9.927 9.927 0 01-2.125 3.175c-.9.9-1.958 1.617-3.175 2.15A9.873 9.873 0 0112 22zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20z"});t.a=function SvgCheckCircle(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a)}},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamSelect}));var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=n(2),s=n(1),l=n(10),u=n(4),d=n.n(u),g=n(19),f=n(7),m=n(57),p=n(135),b=n(8),h=n(21),v=d.a.useSelect,O=d.a.useDispatch;function WebDataStreamSelect(t){var n=t.hasModuleAccess,r=t.isDisabled,a=t.className;v((function(e){return e(f.i).getAccounts()}));var o=v((function(e){return e(f.i).getAccountID()})),u=v((function(e){return e(g.d).getSettings()||{}})),d=u.propertyID,_=u.webDataStreamID,y=u.measurementID,k=v((function(e){return Object(p.b)(d)&&!1!==n?e(g.d).getMatchingWebDataStreamsByPropertyID(d):[]})),E=v((function(e){if(r)return!1;var t=e(f.i).hasFinishedResolution("getAccounts"),i=!1===n||e(g.d).hasFinishedResolution("getProperties",[o]),a=!Object(p.b)(d)||!1===n||e(g.d).hasFinishedResolution("getWebDataStreams",[d]),c=!1!==e(f.i).hasFinishedSelectingAccount();return e(g.d).isMatchingAccountProperty()||!t||!i||!a||!c})),j=Object(h.a)(),w=O(g.d),S=w.setWebDataStreamID,C=w.updateSettingsForMeasurementID,N=Object(c.useCallback)((function(e,t){var n,r,i=t.dataset.value;_!==i&&(S(i),C((null===(n=k.find((function(e){return e._id===i})))||void 0===n||null===(r=n.webStreamData)||void 0===r?void 0:r.measurementId)||""),Object(b.B)("".concat(j,"_analytics"),i===g.f?"change_webdatastream_new":"change_webdatastream","ga4"))}),[k,_,S,C,j]);if(!Object(m.c)(o))return null;if(E)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var D=void 0===_||""===_||Object(p.e)(_);return!1===n?e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-webdatastream",a),label:Object(s.__)("Web Data Stream","google-site-kit"),value:y,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:y},y)):e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-webdatastream",a,{"mdc-select--invalid":!D}),label:Object(s.__)("Web Data Stream","google-site-kit"),value:_,onEnhancedChange:N,disabled:r||!Object(p.c)(d),enhanced:!0,outlined:!0},(k||[]).concat({_id:g.f,displayName:Object(s.__)("Set up a new web data stream","google-site-kit")}).map((function(t,n){var r=t._id,i=t.displayName,a=t.webStreamData,o=void 0===a?{}:a;return e.createElement(l.Option,{key:n,value:r},r!==g.f&&(null==o?void 0:o.measurementId)?Object(s.sprintf)( /* translators: 1: Data stream name. 2: Measurement ID. */ Object(s._x)("%1$s (%2$s)","Analytics 4 data stream name and measurement ID","google-site-kit"),i,o.measurementId):i)})))}WebDataStreamSelect.propTypes={hasModuleAccess:o.a.bool,isDisabled:o.a.bool,className:o.a.string}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var r=n(12),i=n.n(r),a=n(0),o=n.n(a),c=n(2),s=n(1),l=n(10),u=n(4),d=n.n(u),g=n(19),f=n(7),m=n(57),p=n(135),b=n(8),h=n(21),v=d.a.useSelect,O=d.a.useDispatch;function PropertySelect(t){var n=t.isDisabled,r=t.hasModuleAccess,a=t.className,o=t.onChange,u=void 0===o?function(){}:o;v((function(e){return e(f.i).getAccounts()}));var d=v((function(e){return e(f.i).getAccountID()})),_=v((function(e){return!1===r||n?null:e(g.d).getProperties(d)||[]})),y=v((function(e){return e(g.d).getPropertyID()})),k=v((function(e){if(n)return!1;var t=!(!1===r||!d)&&e(g.d).isResolving("getProperties",[d]);return e(g.d).isMatchingAccountProperty()||!e(f.i).hasFinishedResolution("getAccounts")||t||!1===e(f.i).hasFinishedSelectingAccount()})),E=Object(h.a)(),j=O(g.d).selectProperty,w=Object(c.useCallback)((function(e,t){var n=t.dataset.value;y!==n&&(j(n),Object(b.B)("".concat(E,"_analytics"),n===g.e?"change_property_new":"change_property","ga4"),u())}),[u,y,j,E]);if(!Object(m.c)(d))return null;if(k)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var S=void 0===y||""===y||Object(p.c)(y);return!1===r?e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-property",a),label:Object(s.__)("Property","google-site-kit"),value:y,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:y},y)):e.createElement(l.Select,{className:i()("googlesitekit-analytics-4__select-property",a,{"mdc-select--invalid":!S,"googlesitekit-analytics-4__select-property--loaded":!n&&!k}),label:Object(s.__)("Property","google-site-kit"),value:y,onEnhancedChange:w,disabled:n,enhanced:!0,outlined:!0},(_||[]).concat({_id:g.e,displayName:Object(s.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t._id,r=t.displayName;return e.createElement(l.Option,{key:n,value:n},n===g.e?r:Object(s.sprintf)( /* translators: 1: Property name. 2: Property ID. */ Object(s._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),r,n))})))}PropertySelect.propTypes={isDisabled:o.a.bool,hasModuleAccess:o.a.bool,className:o.a.string,onChange:o.a.func}}).call(this,n(3))},,,,,,,function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgCheck(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataStateNotifications}));var r=n(1),i=n(4),a=n.n(i),o=n(9),c=n(18),s=n(40),l=n(19),u=n(7),d=n(59),g=n(517),f=n(519),m=a.a.useSelect,p=a.a.useInViewSelect;function ZeroDataStateNotifications(){var t,n=Object(s.a)(),i=m((function(e){return e(u.i).isGA4DashboardView()})),a=i?"analytics-4":"analytics",b=i?l.d:u.i,h=m((function(e){return e(c.a).isModuleConnected(a)})),v=m((function(e){return!n||e(o.a).canViewSharedModule(a)})),O=m((function(e){return!n||e(o.a).canViewSharedModule("search-console")})),_=m((function(e){if(!n)return!1;var t=e(c.a).getRecoverableModules();return void 0!==t?Object.keys(t).includes(i?"analytics-4":"analytics"):void 0})),y=m((function(e){if(!n)return!1;var t=e(c.a).getRecoverableModules();return void 0!==t?Object.keys(t).includes("search-console"):void 0})),k=p((function(e){return!(void 0===i||!h||!v||!1!==_)&&e(b).isGatheringData()})),E=p((function(e){return O&&!1===y&&e(d.b).isGatheringData()})),j=p((function(e){return!(void 0===i||!h||!v||!1!==_)&&e(b).hasZeroData()})),w=p((function(e){return O&&!1===y&&e(d.b).hasZeroData()}));return void 0===i||void 0===k||void 0===E||void 0===j||void 0===w?null:k||E||j||w?(k&&E?t=Object(r.__)("Search Console and Analytics are gathering data","google-site-kit"):k?t=Object(r.__)("Analytics is gathering data","google-site-kit"):E&&(t=Object(r.__)("Search Console is gathering data","google-site-kit")),k||E?e.createElement(g.a,{title:t}):e.createElement(f.a,null)):null}}).call(this,n(3))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=200},function(e,t,n){"use strict";n.d(t,"a",(function(){return ScrollEffect}));var r=n(521);function ScrollEffect(){return Object(r.a)(),null}},,,,,,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="enable-plugin-auto-update-notification",i="auto-update-banner-hide-notification-on-first-setup",a="auto-update-cta"},,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivationBanner}));var r=n(28),i=n.n(r),a=n(5),o=n.n(a),c=n(16),s=n.n(c),l=n(15),u=n.n(l),d=n(936),g=n(2),f=n(4),m=n.n(f),p=n(511),b=n(514),h=n(516),v=n(116),O=n(114),_=n(18),y=n(9),k=n(7),E=n(19),j=n(31),w=n(39),S=m.a.useSelect,C=m.a.useDispatch,N=m.a.useRegistry;function ActivationBanner(){var t=Object(g.useState)(null),n=u()(t,2),r=n[0],a=n[1],c=Object(g.useState)(),l=u()(c,2),f=l[0],m=l[1],D=Object(d.a)(),A=N(),T=S((function(e){return e(_.a).isModuleConnected("analytics")})),x=S((function(e){return e(_.a).isModuleConnected("analytics-4")})),R=S((function(e){return e(y.a).hasScope(k.e)})),M=S((function(e){return e(j.a).getValue(O.e,"returnToSetupStep")})),L=S((function(e){return e(k.i).getAccountID()})),I=S((function(e){return[e(E.d).getErrorForSelector("getProperties",[L]),e(k.i).getErrorForSelector("getAccounts"),e(E.d).getErrorForSelector("getSettings")].filter((function(e){return void 0!==e}))})),P=C(),B=P(j.a).setValues;Object(g.useEffect)((function(){R&&M&&(a(O.c),B(O.e,{returnToSetupStep:!1}))}),[R,A,M,B]),Object(g.useEffect)((function(){I.length>0&&a(O.b)}),[I.length]);var z=Object(g.useCallback)(s()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r!==O.b){e.next=5;break}if(!(I.length>0)){e.next=4;break}return e.next=4,Promise.all([P(E.d).clearError("getProperties",[L]),P(E.d).invalidateResolution("getProperties",[L]),P(k.i).clearError("getAccounts",[]),P(k.i).invalidateResolution("getAccounts",[]),P(E.d).clearError("getSettings",[]),P(E.d).invalidateResolution("getSettings",[])]);case 4:a(O.c);case 5:return M||r!==O.c||a(O.d),e.abrupt("return",{dismissOnCTAClick:!1});case 7:case"end":return e.stop()}}),e)}))),[r,M,I.length,P,L]);Object(g.useEffect)((function(){s()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D(Object(w.d)("notification::dismissed::ga4-activation-banner"));case 2:t=e.sent,n=t.cacheHit,m(n);case 5:case"end":return e.stop()}}),e)})))()})),Object(g.useEffect)((function(){void 0!==f&&null===r&&T&&!x&&a(O.b)}),[x,r,T,f]);var F=I.length>0&&I.reduce((function(e,t){return e.some((function(e){return e.code===t.code&&e.message===t.message}))?e:[].concat(i()(e),[t])}),[]).map((function(t){return e.createElement(v.a,{key:t.code,error:t})}));switch(r){case O.b:return e.createElement(p.a,{isDismissed:f,onSubmitSuccess:z},F);case O.c:return e.createElement(b.a,{onSubmitSuccess:z});case O.d:return e.createElement(h.a,null);default:return null}}}).call(this,n(3))},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var r=n(2),i=n(0),a=n.n(i),o=n(4),c=n.n(o),s=n(14),l=n(9),u=c.a.useSelect,d=c.a.useDispatch;function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=void 0===n?0:n,a=u((function(e){return e(s.c).isUsingProxy()})),o=d(l.a).triggerSurvey;return Object(r.useEffect)((function(){a&&o(t,{ttl:i})}),[a,t,i,o]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingSettingsButton}));var r=n(1),i=n(2),a=n(4),o=n.n(a),c=n(10),s=n(316),l=n(21),u=n(8),d=n(29),g=n(14),f=n(119),m=n(494),p=o.a.useSelect,b=o.a.useDispatch;function DashboardSharingSettingsButton(){var t=Object(l.a)(),n=b(d.b).setValue,a=p((function(e){return e(g.c).hasMultipleAdmins()})),o=Object(i.useCallback)((function(){Object(u.B)("".concat(t,"_headerbar"),"open_sharing",a?"advanced":"simple"),n(f.d,!0)}),[n,t,a]);return e.createElement(i.Fragment,null,e.createElement(c.Button,{"aria-label":Object(r.__)("Open sharing settings","google-site-kit"),className:"googlesitekit-sharing-settings__button googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon",onClick:o,icon:e.createElement(s.a,{width:20,height:20})}),e.createElement(m.a,null))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSharingDialog}));var r=n(609),i=n(12),a=n.n(i),o=n(1),c=n(2),s=n(53),l=n(195),u=n(934),d=n(4),g=n.n(d),f=n(10),m=n(29),p=n(9),b=n(14),h=n(18),v=n(119),O=n(36),_=n(384),y=n(94),k=n(17),E=n(316),j=n(20),w=n(495),S=n(498),C=g.a.useSelect,N=g.a.useDispatch;function DashboardSharingDialog(){var t=Object(O.e)(),n=Object(r.a)().y,i=N(m.b).setValue,d=N(p.a).triggerOnDemandTour,g=N(h.a).rollbackSharingSettings,D=C((function(e){return!!e(m.b).getValue(v.d)})),A=C((function(e){return!!e(m.b).getValue(v.c)})),T=C((function(e){return e(m.b).getValue(v.a)})),x=C((function(e){return e(h.a).haveSharingSettingsChanged()})),R=C((function(e){return e(b.c).getDocumentationLinkURL("dashboard-sharing")})),M=Object(c.useRef)(),L=Object(c.useCallback)((function(){M.current||(M.current=!0,d(_.a))}),[d]),I={};t===O.b&&(I.top="".concat(n<46?46-n:0,"px"),I.height="calc(100% - 46px + ".concat(n<46?n:46,"px)")),Object(c.useEffect)((function(){!D&&x&&g()}),[D,x,g]);var P=Object(c.useCallback)((function(){i(v.d,!0)}),[i]),B=Object(c.useCallback)((function(){i(v.d,!1),i(v.a,void 0)}),[i]),z=Object(c.useCallback)((function(){B(),i(v.c,!0)}),[B,i]),F=Object(c.useCallback)((function(){i(v.c,!1),P()}),[P,i]),G=Object(c.useCallback)((function(){if(A)return F(),null;B()}),[F,B,A]);return e.createElement(y.a,null,e.createElement(k.b,{open:D||A,onOpen:L,onClose:G,className:"googlesitekit-dialog googlesitekit-sharing-settings-dialog",style:I,escapeKeyAction:void 0===T?"close":""},e.createElement("div",{className:"googlesitekit-dialog__back-wrapper","aria-hidden":t!==O.b},e.createElement(f.Button,{"aria-label":Object(o.__)("Back","google-site-kit"),className:"googlesitekit-dialog__back",onClick:G},e.createElement(l.a,{icon:u.a}))),e.createElement(k.c,{className:"googlesitekit-dialog__content"},e.createElement("div",{className:"googlesitekit-dialog__header"},D&&e.createElement("div",{className:"googlesitekit-dialog__header-icon","aria-hidden":t===O.b},e.createElement("span",null,e.createElement(E.a,{width:20,height:20}))),e.createElement("div",{className:"googlesitekit-dialog__header-titles"},e.createElement("h2",{className:"googlesitekit-dialog__title"},D&&Object(o.__)("Dashboard sharing & permissions","google-site-kit"),A&&Object(o.__)("Reset Dashboard Sharing permissions","google-site-kit")),e.createElement("p",{className:a()("googlesitekit-dialog__subtitle",{"googlesitekit-dialog__subtitle--emphasis":A})},D&&Object(s.a)(Object(o.__)("Share a view-only version of your Site Kit dashboard with other WordPress roles. <a>Learn more</a>","google-site-kit"),{a:e.createElement(j.a,{"aria-label":Object(o.__)("Learn more about dashboard sharing","google-site-kit"),href:R,external:!0})}),A&&Object(o.__)("Warning: Resetting these permissions will remove view-only access for all users. Are you sure you want to reset all Dashboard Sharing permissions?","google-site-kit")))),D&&e.createElement("div",{className:"googlesitekit-dialog__main"},e.createElement(w.a,null))),e.createElement(k.d,{className:"googlesitekit-dialog__footer"},e.createElement(S.a,{closeDialog:G,openResetDialog:z}))))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardSharingSettings}));var i=n(12),a=n.n(i),o=n(1),c=n(4),s=n.n(c),l=n(496),u=n(18),d=n(14),g=n(9),f=s.a.useSelect;function DashboardSharingSettings(){var t=f((function(e){return e(d.c).hasMultipleAdmins()})),n=f((function(t){for(var n=t(g.a).getID(),r=t(u.a).getShareableModules(),i=[],a=[],o=[],c=0,s=Object.values(r);c<s.length;c++){var l;(null===(l=(e=s[c]).owner)||void 0===l?void 0:l.id)===n?i.push(e):t(g.a).hasCapability(g.q,e.slug)?a.push(e):o.push(e)}return[].concat(i,a,o)}));return void 0===n?null:r.createElement("div",{className:a()("googlesitekit-dashboard-sharing-settings",{"googlesitekit-dashboard-sharing-settings--has-multiple-admins":t})},r.createElement("header",{className:"googlesitekit-dashboard-sharing-settings__header googlesitekit-dashboard-sharing-settings__row"},r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},Object(o.__)("Product","google-site-kit")),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},Object(o.__)("Who can view","google-site-kit")),t&&r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},Object(o.__)("Who can manage view access","google-site-kit"))),r.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__main"},n.map((function(e){var t=e.slug,n=e.name,i=e.owner;return r.createElement(l.a,{key:t,moduleSlug:t,moduleName:n,ownerUsername:null==i?void 0:i.login})}))))}}).call(this,n(701)(e),n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Module}));var r=n(15),i=n.n(r),a=n(0),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n(195),d=n(416),g=n(2),f=n(53),m=n(10),p=n(4),b=n.n(p),h=n(149),v=n(497),O=n(21),_=n(18),y=n(14),k=n(29),E=n(119),j=n(8),w=n(9),S=b.a.useSelect,C=b.a.useDispatch,N=[{value:"owner",label:Object(l.__)("Only me","google-site-kit")},{value:"all_admins",label:Object(l.__)("Any admin signed in with Google","google-site-kit")}];function Module(t){var n=t.moduleSlug,r=t.moduleName,a=t.ownerUsername,o=Object(O.a)(),c=Object(g.useRef)(),p=Object(g.useState)(void 0),b=i()(p,2),D=b[0],A=b[1],T=S((function(e){return e(y.c).hasMultipleAdmins()})),x=S((function(e){var t;return null!==(t=e(_.a).getSharingManagement(n))&&void 0!==t?t:"owner"})),R=S((function(e){return e(w.a).hasCapability(w.p,n)})),M=S((function(e){return e(w.a).hasCapability(w.q,n)})),L=S((function(e){return e(_.a).getSharedOwnershipModules()})),I=S((function(e){return e(k.b).getValue(E.a)})),P=S((function(e){return e(_.a).isDoingSubmitSharingChanges()})),B=C(_.a).setSharingManagement,z=L&&Object.keys(L).includes(n);Object(g.useEffect)((function(){A(z?"all_admins":x)}),[x,z]);var F=S((function(e){return e(_.a).haveModuleSharingSettingsChanged(n,"management")}));Object(g.useEffect)((function(){F&&Object(j.B)("".concat(o,"_sharing"),"change_management_".concat(x),n)}),[F,x,n,o]);var G=Object(g.useCallback)((function(e){var t=e.target.value;A(t),B(n,t)}),[B,A,n]),U=n===I,W=!U&&void 0!==I||P;return e.createElement("div",{className:s()("googlesitekit-dashboard-sharing-settings__module","googlesitekit-dashboard-sharing-settings__row",{"googlesitekit-dashboard-sharing-settings__row--editing":U,"googlesitekit-dashboard-sharing-settings__row--disabled":W}),ref:c},e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--product"},e.createElement(h.a,{slug:n,size:48}),e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__module-name"},r)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--view"},M&&e.createElement(v.a,{moduleSlug:n,isLocked:W,ref:c}),!M&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(l.__)("Contact managing user to manage view access","google-site-kit"))),T&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__column--manage"},z&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},e.createElement("span",null,Object(l.__)("Any admin signed in with Google","google-site-kit")),e.createElement(m.Tooltip,{title:Object(l.__)("This service requires general access to Google APIs rather than access to a specific user-owned property/entity, so view access is manageable by any admin signed in with Google.","google-site-kit")},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18})))),!z&&R&&e.createElement(m.Select,{className:"googlesitekit-dashboard-sharing-settings__select",value:D,options:N,onChange:G,onClick:G,outlined:!0}),!z&&!R&&a&&e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__note"},Object(f.a)(Object(l.sprintf)( /* translators: %s: user who manages the module. */ Object(l.__)("<span>Managed by</span> <strong>%s</strong>","google-site-kit"),a),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),e.createElement(m.Tooltip,{title:M?Object(l.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(l.__)("%s has connected this and given managing permissions to all admins. You can change who can view this on the dashboard.","google-site-kit"),a):Object(l.sprintf)( /* translators: %s: name of the user who manages the module. */ Object(l.__)("Contact %s to change who can manage view access for this module.","google-site-kit"),a)},e.createElement("span",{className:"googlesitekit-dashboard-sharing-settings__tooltip-icon"},e.createElement(u.a,{icon:d.a,size:18}))))))}Module.propTypes={moduleSlug:o.a.string.isRequired,moduleName:o.a.string.isRequired,ownerUsername:o.a.string}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(28),i=n.n(r),a=n(0),o=n.n(a),c=n(12),s=n.n(c),l=n(1),u=n(63),d=n(2),g=n(4),f=n.n(g),m=n(10),p=n(20),b=n(316),h=n(405),v=n(21),O=n(112),_=n(8),y=n(18),k=n(29),E=n(119),j=f.a.useSelect,w=f.a.useDispatch,S=Object(l.__)("All","google-site-kit"),C=Object(d.forwardRef)((function(t,n){var r=t.moduleSlug,a=t.isLocked,o=void 0!==a&&a,c=Object(v.a)(),g=Object(d.useRef)(),f=w(y.a).setSharedRoles,C=w(k.b).setValue,N=j((function(e){return e(y.a).getShareableRoles()})),D=j((function(e){return e(y.a).getSharedRoles(r)})),A=j((function(e){return e(k.b).getValue(E.a)}))===r;Object(O.a)([u.c],n,(function(){A&&C(E.a,void 0)}));var T=j((function(e){return e(y.a).haveModuleSharingSettingsChanged(r,"sharedRoles")})),x=Object(d.useCallback)((function(){A?(C(E.a,void 0),T&&Object(_.B)("".concat(c,"_sharing"),"change_shared_roles",r)):C(E.a,r)}),[A,T,r,C,c]);Object(d.useEffect)((function(){g.current&&(A?g.current.firstChild.focus():g.current.focus())}),[A]);var R=Object(d.useCallback)((function(e){var t,n=e.type,a=e.target,o=e.keyCode;if("keydown"!==n||o===u.b){var c,s=a.closest(".mdc-chip"),l=null==s||null===(t=s.dataset)||void 0===t?void 0:t.chipId;if(l)c="all"===l?(null==D?void 0:D.length)===(null==N?void 0:N.length)?[]:N.map((function(e){return e.id})):null===D?[l]:D.includes(l)?D.filter((function(e){return e!==l})):[].concat(i()(D),[l]),f(r,c)}}),[r,f,D,N]);return N?e.createElement("div",{className:s()("googlesitekit-user-role-select",{"googlesitekit-user-role-select--open":A})},!A&&e.createElement(m.Button,{"aria-label":Object(l.__)("Edit roles","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:x,icon:e.createElement(b.a,{width:23,height:23}),tabIndex:o?-1:void 0,ref:g}),!A&&(null==D?void 0:D.length)>0&&e.createElement("span",{className:"googlesitekit-user-role-select__current-roles"},(null==N?void 0:N.reduce((function(e,t){return D.includes(t.id)&&e.push(t.displayName),e}),[])).join(", ")),!A&&(!D||0===(null==D?void 0:D.length))&&e.createElement("span",{className:"googlesitekit-user-role-select__add-roles"},e.createElement(p.a,{onClick:x,tabIndex:o?-1:void 0},Object(l.__)("Add roles","google-site-kit"))),A&&e.createElement(d.Fragment,null,e.createElement("div",{className:"googlesitekit-user-role-select__chipset",ref:g},e.createElement(m.Chip,{id:"all",label:S,onClick:R,onKeyDown:R,selected:(null==D?void 0:D.length)===(null==N?void 0:N.length),className:"googlesitekit-user-role-select__chip--all"}),N.map((function(t,n){var r=t.id,i=t.displayName;return e.createElement(m.Chip,{key:n,id:r,label:i,onClick:R,onKeyDown:R,selected:null==D?void 0:D.includes(r)})}))),e.createElement(m.Button,{"aria-label":Object(l.__)("Done editing roles","google-site-kit"),title:Object(l.__)("Done","google-site-kit"),className:"googlesitekit-user-role-select__button",onClick:x,icon:e.createElement(h.a,{width:18,height:18}),tabIndex:o?-1:void 0}))):null}));C.propTypes={moduleSlug:o.a.string.isRequired,isLocked:o.a.bool},t.a=C}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(0),u=n.n(l),d=n(1),g=n(2),f=n(10),m=n(4),p=n.n(m),b=n(18),h=n(29),v=n(119),O=n(21),_=n(8),y=n(20),k=n(499),E=n(81),j=p.a.useSelect,w=p.a.useDispatch;function Footer(t){var n=t.closeDialog,r=t.openResetDialog,a=Object(O.a)(),c=Object(g.useState)(null),l=s()(c,2),u=l[0],m=l[1],p=Object(g.useState)(!1),S=s()(p,2),C=S[0],N=S[1],D=j((function(e){return e(b.a).canSubmitSharingChanges()})),A=j((function(e){return e(b.a).isDoingSubmitSharingChanges()})),T=j((function(e){return e(b.a).haveSharingSettingsExpanded("management")})),x=j((function(e){return e(b.a).haveSharingSettingsExpanded("sharedRoles")})),R=j((function(e){return e(b.a).haveSharingSettingsUpdated()})),M=j((function(e){return!!e(h.b).getValue(v.d)})),L=j((function(e){return!!e(h.b).getValue(v.c)})),I=w(b.a),P=I.resetSharingSettings,B=I.saveSharingSettings,z=w(h.b).setValue,F=Object(g.useCallback)(o()(i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(null),e.next=3,B();case 3:if(t=e.sent,!(r=t.error)){e.next=8;break}return m(r.message),e.abrupt("return");case 8:Object(_.B)("".concat(a,"_sharing"),"settings_confirm"),z(v.a,void 0),n();case 11:case"end":return e.stop()}}),e)}))),[a,B,z,n]),G=Object(g.useCallback)(o()(i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(null),N(!0),e.next=4,P();case 4:if(t=e.sent,!(r=t.error)){e.next=9;break}return m(r.message),e.abrupt("return");case 9:N(!1),n();case 11:case"end":return e.stop()}}),e)}))),[n,P]),U=Object(g.useCallback)((function(){Object(_.B)("".concat(a,"_sharing"),"settings_cancel"),n()}),[n,a]),W=u||T||x;return e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer"},W&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-notice"},u&&e.createElement(E.a,{message:u}),!u&&e.createElement(k.a,null)),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions"},R&&M&&!W&&e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-left"},e.createElement(y.a,{onClick:r,danger:!0},Object(d.__)("Reset sharing permissions","google-site-kit"))),e.createElement("div",{className:"googlesitekit-dashboard-sharing-settings__footer-actions-right"},e.createElement(y.a,{onClick:U},Object(d.__)("Cancel","google-site-kit")),M&&e.createElement(f.SpinnerButton,{onClick:F,disabled:A||!D,isSaving:A},Object(d.__)("Apply","google-site-kit")),L&&e.createElement(f.SpinnerButton,{onClick:G,disabled:C,isSaving:C,danger:!0},Object(d.__)("Reset","google-site-kit")))))}Footer.propTypes={closeDialog:u.a.func.isRequired}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var r=n(1),i=n(53),a=n(4),o=n.n(a),c=n(18),s=o.a.useSelect;function Notice(){var t=s((function(e){return e(c.a).canSubmitSharingChanges()})),n=s((function(e){return e(c.a).haveSharingSettingsExpanded("management")})),a=s((function(e){return e(c.a).haveSharingSettingsExpanded("sharedRoles")}));return e.createElement("p",{className:"googlesitekit-dashboard-sharing-settings__notice"},n&&t&&Object(i.a)(Object(r.__)("By clicking <strong>Apply</strong>, you will give other authenticated admins of your site permission to manage view-only access to Site Kit Dashboard data from the chosen Google service.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}),!n&&t&&a&&Object(i.a)(Object(r.__)("By clicking <strong>Apply</strong>, you’re granting the selected roles view-only access to data from the Google services you’ve connected via your account.","google-site-kit"),{span:e.createElement("span",null),strong:e.createElement("strong",null)}))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(15),i=n.n(r),a=n(6),o=n.n(a),c=n(0),s=n.n(c),l=n(12),u=n.n(l),d=n(2),g=n(4),f=n.n(g),m=n(261),p=n(107),b=n(48),h=n(29),v=n(17),O=n(36),_=n(162),y=n(501),k=n(502),E=n(40),j=n(9),w=n(503),S=f.a.useSelect;function C(e){var t,n=(t={},o()(t,O.d,48),o()(t,O.a,48),o()(t,O.c,32),o()(t,O.b,32),t)[e],r=Math.abs(Object(p.b)(e)+n);return"".concat(-r,"px ").concat(-n,"px ").concat(-n,"px ").concat(-n,"px")}function WidgetAreaRenderer(t){var n=t.slug,r=t.contextID,a=Object(E.a)(),c=S((function(e){return a?e(j.a).getViewableModules():null})),s=Object(O.e)(),l=Object(d.useRef)(),g=Object(w.a)(l,{rootMargin:C(s),threshold:0}),f=S((function(e){return e(b.a).getWidgetArea(n)})),p=S((function(e){return e(b.a).getWidgets(n,{modules:c||void 0})})),N=S((function(e){return e(b.a).getWidgetStates()})),D=S((function(e){return e(b.a).isWidgetAreaActive(n,{modules:c||void 0})})),A=S((function(e){return e(h.b).getValue(h.a)})),T=Object(d.useState)({key:"WidgetAreaRenderer-".concat(n),value:A?A===r:!!(null==g?void 0:g.intersectionRatio)}),x=i()(T,2),R=x[0],M=x[1];if(Object(d.useEffect)((function(){M({key:"WidgetAreaRenderer-".concat(n),value:A?A===r:!!(null==g?void 0:g.intersectionRatio)})}),[g,n,A,r]),void 0===c)return null;var L,I=Object(m.d)(p,N),P=I.columnWidths,B=I.rowIndexes,z=Object(m.b)(p,N,{columnWidths:P,rowIndexes:B}),F=z.gridColumnWidths,G=z.overrideComponents,U=p.map((function(t,n){return e.createElement(k.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:F[n]},e.createElement(y.a,{OverrideComponent:G[n]?function(){var t=G[n],r=t.Component,i=t.metadata;return e.createElement(r,i)}:void 0,slug:t.slug}))})),W=f.Icon,V=f.title,q=f.style,H=f.subtitle;return D?e.createElement(_.a,{value:R},e.createElement(v.e,{className:u()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(n),"googlesitekit-widget-area--".concat(q)),ref:l},e.createElement(v.k,null,e.createElement(v.a,{className:"googlesitekit-widget-area-header",size:12},W&&e.createElement(W,{width:33,height:33}),V&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},V),H&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},H))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(v.k,null,q===b.b.BOXES&&U,q===b.b.COMPOSITE&&e.createElement(v.a,{size:12},e.createElement(v.e,null,e.createElement(v.k,null,U))))))):e.createElement(v.e,{className:u()(m.a,"googlesitekit-widget-area",(L={},o()(L,"googlesitekit-widget-area--".concat(n),!!n),o()(L,"googlesitekit-widget-area--".concat(q),!!q),L)),ref:l},U)}WidgetAreaRenderer.propTypes={slug:s.a.string.isRequired,contextID:s.a.string}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(13),o=n(2),c=n(4),s=n.n(c),l=n(48),u=n(18),d=n(256),g=n(257),f=n(261),m=n(132),p=n(40),b=n(42),h=s.a.useSelect,v=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,i=Object(b.a)("dashboardSharing"),c=h((function(e){return e(l.a).getWidget(n)})),s=Object(f.c)(n),v=s.Widget,O=s.WidgetNull,_=h((function(e){return i&&e(u.a).getRecoverableModules()})),y=Object(p.a)(),k=Object(o.useMemo)((function(){return c&&_&&Object(a.intersection)(c.modules,Object.keys(_))}),[_,c]),E=h((function(e){return e(l.a).isWidgetPreloaded(n)}));if(!c)return e.createElement(O,null);var j=c.Component,w=c.wrapWidget,S=e.createElement(j,s);return y&&(null==k?void 0:k.length)&&(S=e.createElement(g.a,{widgetSlug:n,moduleSlugs:k})),r?S=e.createElement(o.Fragment,null,e.createElement(d.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:m.a},S)):w&&(S=e.createElement(v,null,S)),E?e.createElement("div",{className:m.a},S):S};v.propTypes={slug:i.a.string.isRequired,OverrideComponent:i.a.elementType},t.a=v}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(132),o=n(17),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:a.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:i.a.number.isRequired,children:i.a.element.isRequired},t.a=c}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(2);t.a=function(t,n){var r=Object(a.useState)(null),o=i()(r,2),c=o[0],s=o[1];return Object(a.useEffect)((function(){if(t.current&&"function"==typeof e.IntersectionObserver){var r=new e.IntersectionObserver((function(e){s(e[e.length-1])}),n);return r.observe(t.current),function(){s(null),r.disconnect()}}return function(){}}),[t.current,n.threshold,n.root,n.rootMargin]),c}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(88),o=n(529),c=n(224),s=n(2),l=n(1),u=n(4),d=n.n(u),g=n(10),f=n(102),m=n(505),p=n(506),b=n(507),h=n(14),v=n(32),O=n(8),_=n(65),y=n(21),k=d.a.useSelect,E=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(s.useState)(!1),r=i()(n,2),u=r[0],d=r[1],j=Object(s.useState)(!1),w=i()(j,2),S=w[0],C=w[1],N=Object(s.useState)(!1),D=i()(N,2),A=D[0],T=D[1],x=Object(y.a)(),R=Object(_.c)(),M=Object(s.useRef)(),L=Object(s.useCallback)((function(){Object(O.B)("".concat(x,"_headerbar"),"open_urlsearch"),d(!0)}),[x]),I=Object(s.useCallback)((function(){Object(O.B)("".concat(x,"_headerbar"),"close_urlsearch"),d(!1)}),[x]),P=Object(s.useState)({}),B=i()(P,2),z=B[0],F=B[1],G=k((function(e){return(null==z?void 0:z.url)?e(h.c).getAdminURL("googlesitekit-dashboard",{permaLink:z.url}):null})),U=E(v.a).navigateTo;return Object(s.useEffect)((function(){G&&Object(O.B)("".concat(x,"_headerbar_urlsearch"),"open_urldetails").finally((function(){U(G)}))}),[G,U,x]),Object(a.a)((function(){R===_.a&&d(!0)})),Object(o.a)((function(){var e;u||(null==M||null===(e=M.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(f.a,null,e.createElement("label",{htmlFor:t},Object(l.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,match:z,setIsActive:T,setMatch:F,placeholder:Object(l.__)("Enter title or URL…","google-site-kit"),isLoading:S,setIsLoading:C,showDropdown:A,onClose:I,autoFocus:!0}),S&&A&&e.createElement(g.ProgressBar,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(g.Button,{onClick:I,trailingIcon:e.createElement(p.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",title:Object(l.__)("Close","google-site-kit"),text:!0,tooltip:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(g.Button,{className:"googlesitekit-border-radius-round--phone googlesitekit-button-icon--phone",onClick:L,text:!0,ref:M,title:Object(l.__)("Search","google-site-kit"),trailingIcon:e.createElement(m.a,{width:"20",height:"20"}),tooltip:!0},Object(l.__)("URL Search","google-site-kit")))}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9.5c0 1.407-.45 2.714-1.218 3.783L20.49 19 19 20.49l-5.717-5.708A6.463 6.463 0 019.5 16 6.5 6.5 0 1116 9.5zm-11 0C5 11.99 7.01 14 9.5 14S14 11.99 14 9.5 11.99 5 9.5 5 5 7.01 5 9.5z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"currentColor"});t.a=function SvgCloseDark(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(0),u=n.n(l),d=n(267),g=n(2),f=n(1),m=n(63),p=n(37),b=n.n(p),h=n(4),v=n.n(h),O=n(508),_=n(14),y=v.a.useSelect,k=function(){};function PostSearcherAutoSuggest(t){var n=t.id,r=t.match,a=t.setMatch,c=t.isLoading,l=t.showDropdown,u=void 0===l||l,p=t.setIsLoading,h=void 0===p?k:p,v=t.setIsActive,E=void 0===v?k:v,j=t.autoFocus,w=t.setCanSubmit,S=void 0===w?k:w,C=t.onClose,N=void 0===C?k:C,D=t.placeholder,A=void 0===D?"":D,T=Object(g.useRef)(),x=Object(g.useState)(""),R=s()(x,2),M=R[0],L=R[1],I=null==r?void 0:r.title,P=Object(O.a)(M,M===I?0:200),B=Object(g.useState)([]),z=s()(B,2),F=z[0],G=z[1],U=Object(f.__)("No results found","google-site-kit"),W=y((function(e){return e(_.c).getCurrentEntityTitle()})),V=Object(g.useRef)(null),q=Object(g.useCallback)((function(){E(!0)}),[E]),H=Object(g.useCallback)((function(e){var t,n,r;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("autocomplete__option--result"))||(E(!1),L(null!==(n=null!==(r=V.current)&&void 0!==r?r:W)&&void 0!==n?n:""))}),[W,E]),K=Object(g.useCallback)((function(e){if(Array.isArray(F)&&e!==U){var t=F.find((function(t){return t.title.toLowerCase()===e.toLowerCase()}));t?(V.current=t.title,S(!0),a(t),L(t.title)):V.current=null}else V.current=null,S(!1)}),[F,S,a,U,L]),Y=Object(g.useCallback)((function(e){S(!1),L(e.target.value)}),[S]);Object(g.useEffect)((function(){if(""!==P&&P!==W&&(null==P?void 0:P.toLowerCase())!==(null==I?void 0:I.toLowerCase())){var e="undefined"==typeof AbortController?void 0:new AbortController;return(t=o()(i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h(!0),n=b.a.get("core","search","entity-search",{query:encodeURIComponent(P)},{useCache:!1,signal:null==e?void 0:e.signal}),T.current=n,t.prev=3,t.next=6,n;case 6:r=t.sent,G(r),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),G(null);case 13:return t.prev=13,n===T.current&&h(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[3,10,13,16]])}))),function(){return t.apply(this,arguments)})(),function(){return null==e?void 0:e.abort()}}var t}),[P,h,W,I]),Object(g.useEffect)((function(){M||G([])}),[M]),Object(g.useEffect)((function(){W&&L(W)}),[W]);var X=Object(g.useRef)(),$=Object(g.useCallback)((function(e){var t=X.current;switch(e.keyCode){case m.d:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=0,t.selectionEnd=0);break;case m.a:(null==t?void 0:t.value)&&(e.preventDefault(),t.selectionStart=t.value.length,t.selectionEnd=t.value.length)}switch(e.keyCode){case m.c:return N();case m.b:return K(M)}}),[N,K,M]);return e.createElement(d.a,{className:"autocomplete__wrapper",onSelect:K},e.createElement(d.b,{ref:X,id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onBlur:H,onChange:Y,onFocus:q,placeholder:A,onKeyDown:$,value:M,autoFocus:j}),!c&&u&&P!==W&&""!==P&&0===(null==F?void 0:F.length)&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(d.d,{value:U,className:"autocomplete__option autocomplete__option--no-results"}))),u&&""!==P&&P!==W&&(null==F?void 0:F.length)>0&&e.createElement(d.e,{portal:!1},e.createElement(d.c,{className:"autocomplete__menu autocomplete__menu--inline"},F.map((function(t){var n=t.id,r=t.title;return e.createElement(d.d,{key:n,value:r,className:"autocomplete__option autocomplete__option--result"})})))))}PostSearcherAutoSuggest.propTypes={id:u.a.string,match:u.a.object,setCanSubmit:u.a.func,setMatch:u.a.func,isLoading:u.a.bool,setIsLoading:u.a.func,onKeyDown:u.a.func,autoFocus:u.a.bool,placeholder:u.a.string}}).call(this,n(3))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(15),i=n.n(r),a=n(2);function o(e,t){var n=Object(a.useState)(e),r=i()(n,2),o=r[0],c=r[1];return Object(a.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(15),i=n.n(r),a=n(211),o=n(12),c=n.n(o),s=n(2),l=n(63),u=n(1),d=n(4),g=n.n(d),f=n(10),m=n(510),p=n(9),b=n(112),h=n(66),v=n(8),O=n(29),_=n(21),y=g.a.useSelect,k=g.a.useDispatch;function DateRangeSelector(){var t,n=Object(h.f)(),r=y((function(e){return e(p.a).getDateRange()})),o=k(p.a).setDateRange,d=k(O.b).resetInViewHook,g=Object(s.useState)(!1),E=i()(g,2),j=E[0],w=E[1],S=Object(s.useRef)(),C=Object(_.a)();Object(a.a)(S,(function(){return w(!1)})),Object(b.a)([l.c,l.e],S,(function(){return w(!1)}));var N=Object(s.useCallback)((function(){w(!j)}),[j]),D=Object(s.useCallback)((function(e){var t=Object.values(n)[e].slug;r!==t&&Object(v.B)("".concat(C,"_headerbar"),"change_daterange",t),d(),o(t),w(!1)}),[n,r,d,o,C]),A=null===(t=n[r])||void 0===t?void 0:t.label,T=Object.values(n).map((function(e){return e.label}));return e.createElement("div",{ref:S,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(f.Button,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu","googlesitekit-border-radius-round--phone","googlesitekit-button-icon--phone"),text:!0,onClick:N,icon:e.createElement(m.a,{width:"20",height:"20"}),"aria-haspopup":"menu","aria-expanded":j,"aria-controls":"date-range-selector-menu",title:Object(u.__)("Date range","google-site-kit"),tooltip:!0},A),e.createElement(f.Menu,{menuOpen:j,menuItems:T,onSelected:D,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",i({viewBox:"0 0 18 20"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReminderBanner}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(88),s=n(1),l=n(2),u=n(4),d=n.n(u),g=n(10),f=n(9),m=n(14),p=n(114),b=n(47),h=n(160),v=n(218),O=n(219),_=n(365),y=n(8),k=n(34),E=n(512),j=n(513),w=n(18),S=n(17),C=n(21),N=n(391),D=d.a.useSelect;function ReminderBanner(t){var n=t.isDismissed,r=t.onSubmitSuccess,a=t.children,u=D((function(e){if(!n)return e(w.a).hasModuleOwnershipOrAccess("analytics")})),d=D((function(e){return e(w.a).isResolving("hasModuleAccess",["analytics"])})),A=D((function(e){return e(f.a).getReferenceDate()})),T=D((function(e){return e(m.c).getDocumentationLinkURL("ga4")})),x=Object(h.a)(p.a).isTooltipVisible,R=Object(v.a)(p.a),M=Object(C.a)(),L=Object(y.z)(A),I=Object(y.z)("2023-07-01")<=L?"".concat(M,"_ua-stale-notification"):"".concat(M,"_ga4-reminder-notification");Object(c.a)((function(){x||d||n||Object(k.b)(I,"view_notification")}));var P,B=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(k.b)(I,"confirm_notification");case 2:return e.abrupt("return",r());case 3:case"end":return e.stop()}}),e)}))),[I,r]),z=Object(l.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(k.b)(I,"dismiss_notification");case 2:R();case 3:case"end":return e.stop()}}),e)}))),[I,R]),F=Object(l.useCallback)((function(){Object(k.b)(I,"click_learn_more_link")}),[I]);if(x)return e.createElement(O.a,{title:Object(s.__)("You can connect Google Analytics 4 later here","google-site-kit"),content:Object(s.__)("You can configure the Google Analytics 4 property inside the Site Kit Settings later.","google-site-kit"),dismissLabel:Object(s.__)("Got it","google-site-kit"),tooltipStateKey:p.a});if(d&&!n)return e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(S.e,null,e.createElement(S.k,null,e.createElement(S.a,{size:12},e.createElement(g.ProgressBar,null)))));var G=Object(s.__)("Google Analytics 4 is the newest version of Google Analytics. It will replace Universal Analytics on July 1, 2023. After that, Universal Analytics properties will no longer collect new data.","google-site-kit"),U=null;if(L<Object(y.z)("2023-06-01"))P=Object(s.__)("Set up Google Analytics 4 now to join the future of Analytics","google-site-kit"),u&&(U=e.createElement(E.a,{height:"14",width:"14",className:"googlesitekit-ga4-reminder-banner__description-icon googlesitekit-ga4-reminder-banner__description-icon--info"}));else if(Object(y.z)("2023-06-01")<=L&&L<Object(y.z)("2023-07-01")){var W=30-L.getDate();P=Object(s.sprintf)( /* translators: %s: Number of days remaining before the user can set up Google Analytics 4 */ Object(s.__)("You only have %d more days to set up Google Analytics 4","google-site-kit"),W)}else P=Object(s.__)("Universal Analytics stopped collecting data on July 1, 2023","google-site-kit"),G=Object(s.__)("Set up Google Analytics 4, the new version of Google Analytics, to continue seeing data in Site Kit.","google-site-kit");var V=e.createElement("section",null,e.createElement("h4",{className:"googlesitekit-publisher-win__secondary-pane-title"},Object(s.__)("Google Analytics 4 benefits:","google-site-kit")),e.createElement("ul",{className:"googlesitekit-publisher-win__secondary-pane-list"},e.createElement("li",null,e.createElement(N.a,{height:18,width:18}),Object(s.__)("Full cross-device and cross-platform reporting","google-site-kit")),e.createElement("li",null,e.createElement(N.a,{height:18,width:18}),Object(s.__)("Advanced conversion tracking, such as when visitors submit a form or add an item to cart","google-site-kit")),e.createElement("li",null,e.createElement(N.a,{height:18,width:18}),Object(s.__)("Detailed insights on how users navigate your site","google-site-kit"))));return!1===u?e.createElement(j.a,{title:P,description:G,descriptionIcon:U,dismissExpires:Object(_.a)(A),onDismiss:z}):e.createElement(b.b,{id:"ga4-activation-banner",className:"googlesitekit-ga4-reminder-banner",title:P,description:G,learnMoreLabel:Object(s.__)("Learn more about Google Analytics 4","google-site-kit"),learnMoreURL:T,ctaLabel:Object(s.__)("Set up now","google-site-kit"),ctaLink:r?"#":null,onCTAClick:B,dismiss:Object(s.__)("Remind me later","google-site-kit"),dismissExpires:Object(_.a)(A),secondaryPane:V,onDismiss:z,onLearnMoreClick:F},a)}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333a6.666 6.666 0 100 13.332A6.666 6.666 0 008 1.333zm0 12A5.333 5.333 0 118 2.669a5.333 5.333 0 010 10.666z",fill:"#1A73E8"}),o=r.createElement("path",{d:"M8 6a.667.667 0 100-1.334A.667.667 0 008 6zM8 6.667a.667.667 0 00-.667.666v3.334a.667.667 0 101.333 0V7.333A.667.667 0 008 6.667z",fill:"#1A73E8"});t.a=function SvgInfo(e){return r.createElement("svg",i({viewBox:"0 0 16 16",fill:"none"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReminderBannerNoAccess}));var r=n(0),i=n.n(r),a=n(1),o=n(53),c=n(4),s=n.n(c),l=n(47),u=n(18),d=s.a.useSelect;function ReminderBannerNoAccess(t){var n,r=t.title,i=t.description,c=t.descriptionIcon,s=t.dismissExpires,g=t.onDismiss,f=d((function(e){return e(u.a).getModule("analytics")})),m=(null==f||null===(n=f.owner)||void 0===n?void 0:n.login)?"<strong>".concat(f.owner.login,"</strong>"):Object(a.__)("Another admin","google-site-kit");return i=e.createElement("p",null,Object(o.a)(Object(a.sprintf)( /* translators: 1. Original reminder description text, 2: module owner's name */ Object(a.__)("%1$s.<br />%2$s configured Analytics and you don’t have access to its configured property. Contact them to share access or set up Google Analytics 4.","google-site-kit"),i,m),{strong:e.createElement("strong",null),br:e.createElement("br",null)})),e.createElement(l.b,{id:"ga4-activation-banner",className:"googlesitekit-ga4-reminder-banner",title:r,description:i,descriptionIcon:c,dismiss:Object(a.__)("Remind me later","google-site-kit"),dismissExpires:s,onDismiss:g})}ReminderBannerNoAccess.propTypes={title:i.a.string.isRequired,description:i.a.node,descriptionIcon:i.a.node,dismissExpires:i.a.number,onDismiss:i.a.func}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupBanner}));var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(2),d=n(268),g=n(1),f=n(10),m=n(4),p=n.n(m),b=n(47),h=n(206),v=n(116),O=n(19),_=n(372),y=n(7),k=n(9),E=n(114),j=n(160),w=n(218),S=n(219),C=n(365),N=n(17),D=n(31),A=n(52),T=n(21),x=n(8),R=n(515),M=n(301),L=p.a.useDispatch,I=p.a.useSelect;function SetupBanner(t){var n=t.onSubmitSuccess,i=Object(u.useState)(null),o=l()(i,2),s=o[0],m=o[1],p=Object(u.useState)(null),P=l()(p,2),B=P[0],z=P[1],F=Object(u.useState)(!1),G=l()(F,2),U=G[0],W=G[1],V=Object(u.useState)(!1),q=l()(V,2),H=q[0],K=q[1],Y=Object(T.a)(),X="".concat(Y,"_ga4-setup-notification"),$=L(O.d),Q=$.submitChanges,Z=$.selectProperty,J=$.matchAndSelectProperty,ee=I((function(e){return e(y.i).getAccountID()})),te=I((function(e){return e(O.d).getProperties(ee)})),ne=I((function(e){return e(y.i).getAccounts()})),re=I((function(e){return e(O.d).getPropertyID})),ie=I((function(e){return e(O.d).getMeasurementID})),ae=Object(u.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===B){e.next=2;break}return e.abrupt("return");case 2:if(void 0!==te){e.next=4;break}return e.abrupt("return");case 4:if(0!==te.length){e.next=8;break}return z(M.a.NO_EXISTING_PROPERTY),Z(O.e),e.abrupt("return");case 8:if(void 0!==ne){e.next=10;break}return e.abrupt("return");case 10:if(re()){e.next=13;break}return e.next=13,J(ee,O.e);case 13:z(M.a.EXISTING_PROPERTY);case 14:case"end":return e.stop()}}),e)}))),[ee,ne,re,J,te,Z,B]);Object(u.useEffect)((function(){B||ae()}),[B,ae]);var oe=I((function(e){return e(k.a).hasScope(y.e)})),ce=I((function(e){return e(O.d).getExistingTag()})),se=I((function(e){return e(D.a).getValue(y.g,"autoSubmit")}));Object(_.a)();var le=I((function(e){return e(k.a).getReferenceDate()})),ue=L(k.a).setPermissionScopeError,de=L(D.a).setValues,ge=Object(u.useCallback)(c()(a.a.mark((function e(){var t,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return W(!0),e.next=3,Q();case 3:if(t=e.sent,r=t.error,W(!1),!r){e.next=9;break}return m(r),e.abrupt("return");case 9:n();case 10:case"end":return e.stop()}}),e)}))),[Q,n]),fe=Object(u.useCallback)(c()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=[],!1!==oe||re()!==O.e&&ie()||n.push(y.e),B===M.a.NO_EXISTING_PROPERTY||re()===O.e?Object(x.B)(X,"create_property"):Object(x.B)(X,"connect_property"),!(n.length>0)){t.next=9;break}return de(y.g,{autoSubmit:!0}),de(E.e,{returnToSetupStep:!0}),r=Object(d.a)(e.location.href,{notification:"ga4_setup"}),ue({code:A.a,message:Object(g.__)("Additional permissions are required to create a new GA4 property.","google-site-kit"),data:{status:403,scopes:n,skipModal:!0,redirectURL:r}}),t.abrupt("return");case 9:return t.next=11,ge();case 11:case"end":return t.stop()}}),t)}))),[X,B,oe,ue,de,ge,re,ie]);Object(u.useEffect)((function(){function e(){return(e=c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return de(y.g,{autoSubmit:!1}),e.next=3,ge();case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}se&&oe&&function(){e.apply(this,arguments)}()}),[se,oe,de,ge,n]),Object(u.useEffect)((function(){H||se||!B||(Object(x.B)(X,"view_notification"),K(!0))}),[X,se,B,H]);var me,pe,be,he=Object(j.a)(E.a).isTooltipVisible,ve=Object(w.a)(E.a);return null===B?r.createElement("div",{className:"googlesitekit-publisher-win"},r.createElement(N.e,null,r.createElement(N.k,null,r.createElement(N.a,{size:12},r.createElement(f.ProgressBar,null))))):he?r.createElement(u.Fragment,null,r.createElement(S.a,{title:Object(g.__)("You can connect Google Analytics 4 later here","google-site-kit"),content:Object(g.__)("You can configure the Google Analytics 4 property inside the Site Kit Settings later.","google-site-kit"),dismissLabel:Object(g.__)("Remind me later","google-site-kit"),tooltipStateKey:E.a})):(B===M.a.EXISTING_PROPERTY?(me=Object(g.__)("Connect the Google Analytics 4 property that’s associated with your existing Universal Analytics property","google-site-kit"),pe=Object(g.__)("Connect","google-site-kit"),be=r.createElement("div",{className:"googlesitekit-ga4-setup-banner__field-group"},r.createElement(h.a,null),r.createElement(h.c,null),ce&&r.createElement(h.b,{description:r.createElement(u.Fragment,null,r.createElement("p",null,Object(g.sprintf)( /* translators: %s: existing tag ID */ Object(g.__)("A tag %s for the selected property already exists on the site.","google-site-kit"),ce)),r.createElement("p",null,Object(g.__)("Make sure you remove it if you decide to place the same GA4 tag via Site Kit, otherwise they will be duplicated.","google-site-kit")))}))):(me=Object(g.__)("No existing Google Analytics 4 property found, Site Kit will help you create a new one and insert it on your site","google-site-kit"),pe=Object(g.__)("Create property","google-site-kit")),r.createElement(b.b,{id:"ga4-activation-banner",className:"googlesitekit-ga4-setup-banner",title:me,ctaComponent:r.createElement(f.SpinnerButton,{onClick:fe,isSaving:U},pe),footer:r.createElement(R.a,{variant:B}),dismiss:Object(g.__)("Cancel","google-site-kit"),dismissExpires:Object(C.a)(le),onDismiss:ve},s&&r.createElement(v.a,{error:s}),be))}}).call(this,n(26),n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupBannerFooter}));var r=n(1),i=n(4),a=n.n(i),o=n(9),c=n(7),s=n(19),l=n(301),u=a.a.useSelect;function SetupBannerFooter(t){var n=t.variant,i=u((function(e){var t=[],i=e(o.a).hasScope(c.e),a=e(s.d).getPropertyID(),u=e(s.d).getMeasurementID(),d=e(s.d).getExistingTag();return n===l.a.EXISTING_PROPERTY?(!1!==i||a!==s.e&&u||t.push(Object(r.__)("You will need to give Site Kit permission to create an Analytics property on your behalf","google-site-kit")),t.push(Object(r.__)("You can always add/edit this in the Site Kit Settings","google-site-kit"))):(d&&t.push(Object(r.sprintf)( /* translators: %s: The existing tag ID. */ Object(r.__)("A GA4 tag %s is found on this site but this property is not associated with your Google Analytics account","google-site-kit"),d)),!1===i&&t.push(Object(r.__)("You will need to give Site Kit permission to create an Analytics property on your behalf","google-site-kit")),t.push(Object(r.__)("You can always add/edit this in the Site Kit Settings","google-site-kit"))),t}));return!!i.length&&e.createElement("ul",{className:"googlesitekit-ga4-setup-banner__footer-text-list"},i.map((function(t){return e.createElement("li",{key:t},t)})))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SuccessBanner}));var r=n(88),i=n(1),a=n(4),o=n.n(a),c=n(14),s=n(47),l=n(387),u=n(21),d=n(42),g=n(34),f=o.a.useSelect;function SuccessBanner(){var t,n=f((function(e){return e(c.c).getDocumentationLinkURL("ga4")})),a=Object(u.a)(),o="".concat(a,"_ga4-success-notification");return t=Object(d.a)("ga4Reporting")?Object(i.__)("Google Analytics 4 has started collecting data for your site. As soon there is enough data, you’ll be able to switch your Site Kit dashboard to show data from Google Analytics 4.","google-site-kit"):Object(i.__)("GA4 is collecting data for your site. You’ll only see Universal Analytics data on your dashboard for now.","google-site-kit"),Object(r.a)((function(){Object(g.b)(o,"view_notification")})),e.createElement(s.b,{id:"ga4-activation-banner",title:Object(i.__)("You successfully set up your Google Analytics 4 property","google-site-kit"),description:t,dismiss:Object(i.__)("OK, Got it","google-site-kit"),WinImageSVG:function WinImageSVG(){return e.createElement(l.a,null)},format:"small",type:"win-success",learnMoreLabel:Object(i.__)("Learn more about Google Analytics 4","google-site-kit"),learnMoreURL:n})}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GatheringDataNotification}));var r=n(0),i=n.n(r),a=n(1),o=n(2),c=n(4),s=n.n(c),l=n(47),u=n(518),d=n(7),g=n(8),f=n(21),m=s.a.useSelect;function GatheringDataNotification(t){var n=t.title,r=Object(f.a)(),i="".concat(r,"_gathering-data-notification"),c=Object(o.useCallback)((function(){Object(g.B)(i,"view_notification")}),[i]),s=Object(o.useCallback)((function(){Object(g.B)(i,"dismiss_notification")}),[i]),p=m((function(e){return e(d.i).isGA4DashboardView()}))?"72":"48";return e.createElement(l.b,{id:"gathering-data-notification",title:n,description:Object(a.sprintf)( /* translators: %s: the number of hours the site can be in a gathering data state */ Object(a.__)("It can take up to %s hours before stats show up for your site. While you’re waiting, connect more services to get more stats.","google-site-kit"),p),format:"small",onView:c,dismiss:Object(a.__)("OK, Got it!","google-site-kit"),dismissExpires:Object(g.o)("day"),SmallImageSVG:u.a,onDismiss:s,isDismissible:!0})}GatheringDataNotification.propTypes={title:i.a.string}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M128.91 163c-12.56 3.66-25.8 10.57-31.82 22.81-6.35 12.93-1.46 28.49 10.19 36.65M271.09 163c12.56 3.66 25.8 10.57 31.82 22.81 6.35 12.93 1.46 28.49-10.19 36.65",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27}),o=r.createElement("ellipse",{cx:200,cy:381.74,rx:79.51,ry:8.26,fill:"#F1F3F4"}),c=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),s=r.createElement("path",{d:"M216.76 201.8s-64.53 36.51-77.35 71.84c-4.72 13 3.53 27.36 17.27 29 11.31 1.39 28.4-3.14 53.06-24.33v31.36",stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27}),l=r.createElement("path",{d:"M216.76 201.8s-35.21 19.92-58.76 44.56",stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27}),u=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47V380h29.52"}),d=r.createElement("path",{stroke:"#B31412",strokeLinejoin:"round",strokeWidth:9.27,d:"M218.98 201.47v47.5"}),g=r.createElement("circle",{cx:200,cy:162.34,r:81.45,fill:"#D93025"}),f=r.createElement("path",{d:"M206.36 156.18c-18.33 10.42-42 6.07-50.25-19.59M164.26 137.72c-5.22-2.69-9-2.82-16.17-.91",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.62}),m=r.createElement("path",{d:"M107.28 222.48c28.36 19.87 76.07-7.28 88.72-35.17M292.72 222.48c-28.36 19.87-76.07-7.28-88.72-35.17",stroke:"#EE675C",strokeLinejoin:"round",strokeWidth:9.27});t.a=function SvgZeroStateRed(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,s,l,u,d,g,f,m)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ZeroDataNotification}));var r=n(528),i=n(2),a=n(1),o=n(14),c=n(47),s=n(520),l=n(8),u=n(21);function ZeroDataNotification(){var t=Object(u.a)(),n="".concat(t,"_zero-data-notification"),d=Object(i.useCallback)((function(){Object(l.B)(n,"view_notification")}),[n]),g=Object(i.useCallback)((function(){Object(l.B)(n,"dismiss_notification")}),[n]),f=Object(i.useCallback)((function(){Object(l.B)(n,"click_learn_more_link")}),[n]),m=Object(r.a)((function(e){return e(o.c).getDocumentationLinkURL("not-enough-traffic")}));return e.createElement(c.b,{id:"zero-data-notification",title:Object(a.__)("Not enough traffic yet to display stats","google-site-kit"),description:Object(a.__)("Site Kit will start showing stats on the dashboard as soon as enough people have visited your site. Keep working on your site to attract more visitors.","google-site-kit"),format:"small",learnMoreLabel:Object(a.__)("Learn more","google-site-kit"),learnMoreURL:m,dismiss:Object(a.__)("Remind me later","google-site-kit"),dismissExpires:Object(l.o)("day"),SmallImageSVG:s.a,onView:d,onDismiss:g,onLearnMoreClick:f,isDismissible:!0})}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("ellipse",{cx:175.51,cy:381.74,rx:104,ry:8.26,fill:"#F1F3F4"}),o=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),c=r.createElement("path",{d:"M201.85 238.9l61.65 74a20 20 0 011 24.29l-30 42.81h32.13",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27}),s=r.createElement("path",{stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:9.27,d:"M214.03 222.14L114.03 380h-29.6"}),l=r.createElement("path",{stroke:"#185ABC",strokeLinejoin:"round",strokeWidth:9.27,d:"M201.85 238.9l46.71 56.1M214.03 222.14L167.87 295"}),u=r.createElement("path",{d:"M129.21 229.83l-11.7-42.66A50 50 0 01136 133.78L191 93a10 10 0 004-8V61.71M270.79 229.83l11.7-42.66A50 50 0 00264 133.78L209.05 93a10 10 0 01-4.05-8V61.71",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:9.27}),d=r.createElement("path",{d:"M199.87 289.41a81.45 81.45 0 0081.58-81.32l-162.9-.26a81.45 81.45 0 0081.32 81.58z",fill:"#1A73E8"}),g=r.createElement("path",{d:"M172.86 256.89c13.38 16.47 37.19 21.05 54.28 0",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6.66});t.a=function SvgZeroStateBlue(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,s,l,u,d,g)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(15),i=n.n(r),a=n(609),o=n(2),c=function(){var t=Object(a.a)().y,n=Object(o.useState)(!1),r=i()(n,2),c=r[0],s=r[1],l="googlesitekit-plugin--has-scrolled";return Object(o.useEffect)((function(){c?e.document.body.classList.add(l):e.document.body.classList.remove(l)}),[c]),t>0&&!c?s(!0):0===t&&c&&s(!1),c}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n(4),a=n.n(i),o=n(85),c=n(7),s=n(155),l=n(40),u=n(9),d=a.a.useSelect;t.a=Object(s.a)({moduleName:"analytics"})((function DashboardViewIndicator(){var t=d((function(e){return e(c.i).isGA4DashboardView()})),n=Object(l.a)();if(!d((function(e){return!n||(e(u.a).canViewSharedModule("analytics")||e(u.a).canViewSharedModule("analytics-4"))}))||void 0===t)return null;var i=t?Object(r.__)("Google Analytics 4 view","google-site-kit"):Object(r.__)("Universal Analytics view","google-site-kit");return e.createElement("div",{className:"googlesitekit-dashboard-view-indicator__wrapper"},e.createElement(o.a,{className:"googlesitekit-dashboard-view-indicator__badge",label:i}))}))}).call(this,n(3))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Errors}));var r=n(0),i=n.n(r),a=n(2),o=n(1);function Errors(t){var n=t.recoveryErrors;return e.createElement("div",{className:"googlesitekit-module-recovery-errors"},1===Object.keys(n).length&&e.createElement("p",null,Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),Object.values(n)[0].message)),Object.keys(n).length>1&&e.createElement(a.Fragment,null,e.createElement("p",null,Object(o.__)("The following modules failed to be recovered:","google-site-kit")),e.createElement("ul",null,Object.keys(n).map((function(t){return e.createElement("li",{key:t},Object(o.sprintf)( /* translators: 1: Module name, 2: Error message */ Object(o.__)("%1$s: %2$s","google-site-kit"),n[t].name,n[t].message))})))))}Errors.propTypes={recoveryErrors:i.a.object.isRequired}}).call(this,n(3))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(0),i=n.n(r),a=n(88),o=n(4),c=n.n(o),s=n(19),l=n(850),u=n(852),d=c.a.useDispatch;function DashboardEntryPoint(t){var n=t.setupModuleSlug,r=d(s.d).syncGoogleTagSettings;return Object(a.a)((function(){r()})),n?e.createElement(l.a,{moduleSlug:n}):e.createElement(u.a,null)}DashboardEntryPoint.propTypes={setupModuleSlug:i.a.string}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(0),s=n.n(c),l=n(88),u=n(2),d=n(1),g=n(4),f=n.n(g),m=n(14),p=n(18),b=n(32),h=n(8),v=n(189),O=n(17),_=n(188),y=n(851),k=f.a.useSelect,E=f.a.useDispatch;function ModuleSetup(t){var n=t.moduleSlug,r=E(b.a).navigateTo,a=k((function(e){return e(p.a).getModule(n)})),c={notification:"authentication_success"};n&&(c.slug=n);var s=k((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard",c)})),g=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(h.B)("moduleSetup","complete_module_setup",n);case 2:r(t||s);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[s,r,n]),f=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(h.B)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(l.a)((function(){Object(h.B)("moduleSetup","view_module_setup",n)})),!(null==a?void 0:a.SetupComponent))return null;var j=a.SetupComponent;return e.createElement(u.Fragment,null,e.createElement(_.a,null,e.createElement(v.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(O.e,null,e.createElement(O.k,null,e.createElement(O.a,{size:12},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement(O.e,null,e.createElement(O.k,null,e.createElement(O.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(d.__)("Connect Service","google-site-kit")),e.createElement(j,{module:a,finishSetup:g})))),e.createElement(y.a,{module:a,onCancel:f})))))))}ModuleSetup.propTypes={moduleSlug:s.a.string.isRequired}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetupFooter}));var r=n(0),i=n.n(r),a=n(1),o=n(4),c=n.n(o),s=n(14),l=n(17),u=n(20),d=c.a.useSelect;function ModuleSetupFooter(t){var n=t.module,r=t.onCancel,i=d((function(e){return e(s.c).getAdminURL("googlesitekit-settings")})),o=d((function(e){var t,r;return null===(t=e(null==n?void 0:n.storeName))||void 0===t||null===(r=t.isSetupBlocked)||void 0===r?void 0:r.call(t)}));return n?e.createElement("div",{className:"googlesitekit-setup__footer"},e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{smSize:2,mdSize:4,lgSize:6},e.createElement(u.a,{id:"setup-".concat(n.slug,"-cancel"),href:i,onClick:r},o?Object(a.__)("Back","google-site-kit"):Object(a.__)("Cancel","google-site-kit")))))):null}ModuleSetupFooter.propTypes={module:i.a.shape({slug:i.a.string.isRequired,storeName:i.a.string.isRequired}).isRequired,onCancel:i.a.func.isRequired}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardMainApp}));var r=n(15),i=n.n(r),a=n(12),o=n.n(a),c=n(2),s=n(88),l=n(4),u=n.n(l),d=n(71),g=n(8),f=n(188),m=n(493),p=n(331),b=n(504),h=n(509),v=n(189),O=n(854),_=n(486),y=n(873),k=n(446),E=n(23),j=n(9),w=n(48),S=n(42),C=n(40),N=n(522),D=u.a.useSelect;function DashboardMainApp(){var t=Object(c.useState)(!1),n=i()(t,2),r=n[0],a=n[1],l=Object(S.a)("dashboardSharing"),u=Object(S.a)("ga4Reporting"),A=Object(S.a)("userInput"),T=Object(C.a)();Object(s.a)((function(){T||setTimeout((function(){return a(!0)}),5e3)}));var x=D((function(e){return T?e(j.a).getViewableModules():null})),R={modules:x||void 0},M=D((function(e){return e(w.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,R)})),L=D((function(e){return e(w.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_TRAFFIC,R)})),I=D((function(e){return e(w.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_CONTENT,R)})),P=D((function(e){return e(w.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_SPEED,R)})),B=D((function(e){return e(w.a).isWidgetContextActive(d.CONTEXT_MAIN_DASHBOARD_MONETIZATION,R)})),z=D((function(e){return A&&e(j.a).isKeyMetricsWidgetHidden()})),F=null;return B?F=E.c:P?F=E.d:I?F=E.a:L?F=E.e:M&&(F=E.b),e.createElement(c.Fragment,null,e.createElement(k.a,null),e.createElement(f.a,{subHeader:e.createElement(O.a,null),showNavigation:!0},e.createElement(b.a,null),e.createElement(h.a,null),l&&!T&&e.createElement(m.a,null),e.createElement(v.a,null)),u&&e.createElement(N.a,null),A&&!0!==z&&e.createElement(p.a,{id:E.b,slug:d.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,className:o()({"googlesitekit-widget-context--last":F===E.b})}),e.createElement(p.a,{id:E.e,slug:d.CONTEXT_MAIN_DASHBOARD_TRAFFIC,className:o()({"googlesitekit-widget-context--last":F===E.e})}),e.createElement(p.a,{id:E.a,slug:d.CONTEXT_MAIN_DASHBOARD_CONTENT,className:o()({"googlesitekit-widget-context--last":F===E.a})}),e.createElement(p.a,{id:E.d,slug:d.CONTEXT_MAIN_DASHBOARD_SPEED,className:o()({"googlesitekit-widget-context--last":F===E.d})}),e.createElement(p.a,{id:E.c,slug:d.CONTEXT_MAIN_DASHBOARD_MONETIZATION,className:o()({"googlesitekit-widget-context--last":F===E.c})}),e.createElement(_.a,{triggerID:"view_dashboard",ttl:g.a}),r&&e.createElement(y.a,null))}}).call(this,n(3))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(15),i=n.n(r),a=n(2),o=n(4),c=n.n(o),s=n(42),l=n(18),u=n(9),d=n(19),g=n(310),f=n(855),m=n(859),p=n(861),b=n(862),h=n(469),v=n(40),O=n(444),_=n(864),y=n(865),k=n(867),E=n(868),j=n(869),w=n(870),S=n(872),C=c.a.useSelect;function BannerNotifications(){var t=Object(s.a)("dashboardSharing"),n=Object(s.a)("ga4Reporting"),r=Object(s.a)("adBlockerDetection"),o=Object(v.a)(),c=C((function(e){return e(u.a).isAuthenticated()})),N=C((function(e){return e(l.a).isModuleActive("adsense")})),D=C((function(e){return e(l.a).isModuleConnected("analytics")})),A=C((function(e){return e(l.a).isModuleConnected("analytics-4")})),T=C((function(e){return e(u.a).hasScope(d.b)})),x=C((function(e){if(o||!A)return!1;var t=e(d.d).getOwnerID(),n=e(u.a).getID();return void 0!==t&&void 0!==n?t===n:void 0})),R=Object(g.a)("notification"),M=i()(R,1)[0];return o?e.createElement(O.a,null):e.createElement(a.Fragment,null,("authentication_success"===M||"user_input_success"===M)&&e.createElement(f.a,null),"ad_blocking_recovery_setup_success"===M&&r&&e.createElement(w.a,null),e.createElement(_.a,null),c&&e.createElement(m.a,null),t&&e.createElement(p.a,null),n&&D&&A&&e.createElement(E.a,null),e.createElement(h.a,null),A&&T&&x&&e.createElement(a.Fragment,null,e.createElement(y.a,null),e.createElement(j.a,null)),e.createElement(S.a,null),e.createElement(O.a,null),N&&e.createElement(b.a,null),n&&D&&e.createElement(k.a,null))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(2),d=n(1),g=n(935),f=n(4),m=n.n(f),p=n(8),b=n(47),h=n(856),v=n(857),O=n(18),_=n(14),y=n(9),k=n(34),E=n(21),j=m.a.useSelect;t.a=function SetupSuccessBannerNotification(){var t,n=Object(p.n)("slug"),i=Object(p.n)("notification"),o=Object(E.a)(),s=j((function(e){return e(O.a).getModules()})),f=j((function(e){return e(y.a).hasCapability(y.r)})),m=j((function(e){return e(_.c).hasMultipleAdmins()})),w=j((function(e){return e(_.c).isUsingProxy()})),S=j((function(e){var t,r=null==s||null===(t=s[n])||void 0===t?void 0:t.storeName;if(!r)return null;var i=e(r).getSetupSuccessContent;return i?i():null})),C=j((function(e){return e(_.c).getAdminURL("googlesitekit-settings")})),N=Object(u.useState)(!1),D=l()(N,2),A=D[0],T=D[1],x=Object(u.useState)(!1),R=l()(x,2),M=R[0],L=R[1];Object(u.useEffect)((function(){void 0!==s&&"authentication_success"===i&&(null!==n||A||(Object(k.b)("".concat(o,"_authentication-success-notification"),"complete_user_setup",w?"proxy":"custom-oauth"),T(!0)),null!==n||M||!1!==m||(Object(k.b)("".concat(o,"_authentication-success-notification"),"complete_site_setup",w?"proxy":"custom-oauth"),L(!0)))}),[f,M,A,m,w,s,i,n,o]);var I=Object(u.useCallback)((function(){Object(k.b)("".concat(o,"_authentication-success-notification"),"view_notification")}),[o]),P=Object(u.useCallback)(c()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(k.b)("".concat(o,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(g.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[o]);if(void 0===s)return null;if(!i||""===i)return null;if("authentication_success"===i&&!f)return null;if("authentication_success"===i&&n&&!(null===(t=s[n])||void 0===t?void 0:t.active))return null;var B={id:"connected-successfully",setupTitle:Object(d.__)("Site Kit","google-site-kit"),description:"",learnMore:{label:"",url:"",description:""}};switch(i){case"authentication_success":if(s[n]&&(B.id="".concat(B.id,"-").concat(n),B.setupTitle=s[n].name,B.description="",S)){var z=S.description,F=S.learnMore;B.description=z,B.learnMore=F}var G={link:"",label:""};return"pagespeed-insights"===n&&(G.link="#speed",G.label=Object(d.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")),B.description||B.learnMore.label||G.label||(B.description=Object(d.__)("Connect more services to see more stats.","google-site-kit"),B.learnMore={label:Object(d.__)("Go to Settings","google-site-kit"),url:"".concat(C,"#/connect-more-services"),target:b.a.INTERNAL}),r.createElement(u.Fragment,null,r.createElement(b.b,{id:B.id,title:Object(d.sprintf)( /* translators: %s: the name of a module that setup was completed for */ Object(d.__)("Congrats on completing the setup for %s!","google-site-kit"),B.setupTitle),description:B.description,handleDismiss:function(){},WinImageSVG:h.a,onView:I,dismiss:Object(d.__)("OK, Got it!","google-site-kit"),onDismiss:P,format:"smaller",type:"win-success",learnMoreLabel:B.learnMore.label,learnMoreDescription:B.learnMore.description,learnMoreURL:B.learnMore.url,learnMoreTarget:B.learnMore.target,anchorLink:G.link,anchorLinkLabel:G.label}));case"user_input_success":return r.createElement(v.a,null)}}}).call(this,n(26),n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),o=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),c=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),s=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),l=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),g=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),f=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,s,l,u,d,g,f)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSuccessBannerNotification}));var r=n(1),i=n(2),a=n(47),o=n(858),c=n(8),s=n(21);function UserInputSuccessBannerNotification(){var t=Object(s.a)(),n="".concat(t,"_user-input-success-notification"),l=Object(i.useCallback)((function(){Object(c.B)(n,"view_notification")}),[n]);return e.createElement(a.b,{id:"user-input-success",title:Object(r.__)("Congrats! You set your site goals","google-site-kit"),description:Object(r.__)("Now Site Kit will begin suggesting metrics to add to your dashboard that are relevant specifically to you, based on the goals you shared","google-site-kit"),SmallImageSVG:o.a,dismiss:Object(r.__)("OK, Got it!","google-site-kit"),format:"small",onView:l,onDismiss:function(){Object(c.B)(n,"confirm_notification")}})}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("path",{d:"M154.32 135.43c-10.56 8.65-20.59 16.68-30.15 23.63-5.07 3.7-14.21-1.31-15.28-8.16-1.86-12.85-3-26.17-3.63-39.8-12.15-7.93-24.13-15.53-35.44-22.35-6.11-3.63-4.22-12.48 3-15.39 13.28-5.23 26.64-10.44 40-15.38 4.23-13.83 8.45-27.77 12.11-41.4 2-7.39 10.41-8.93 14.89-2.73 8.25 11.45 17.13 23 26 34.42 14.22-.1 28.56 0 42.84.22 7.73.18 12.64 7.79 8.2 13.35-8.15 10.38-16.67 21.73-25.21 33.45 4.25 13 7.89 25.84 10.7 38.51 1.43 6.79-5.34 14.71-11.39 13-11.49-3.06-23.71-7.03-36.64-11.37z",fill:"#FBBC04"}),c=r.createElement("path",{d:"M205.44 73.7c10.67 26.59 20.64 47.74 16.58 76.8-4.67 33.43-33.31 70.54-68.1 75.46-17.34 2.45-35.57-2.42-47.85-15-12-12.26-18.78-29.18-21.81-45.85-3.25-17.94-2.2-36.87 3.91-54.11a77.26 77.26 0 014.71-10.76",stroke:"#4285F4",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:6}),s=r.createElement("g",{clipPath:"url(#milestone-blue_svg__clip0)",strokeLinejoin:"round",strokeWidth:6},r.createElement("path",{d:"M151.73 225.81L144 246.63a35.18 35.18 0 00.07 24.7l6.51 12.51h-8.34",stroke:"#1967D2"}),r.createElement("path",{stroke:"#185ABC",d:"M151.73 225.81l-5.6 15.04"}),r.createElement("path",{stroke:"#1967D2",d:"M164.04 231.67v52.17h7.76"}),r.createElement("path",{stroke:"#185ABC",d:"M164.04 221.67v20.1"})),l=r.createElement("path",{d:"M161.08 235.06a36.17 36.17 0 0026.08-44L117.07 209a36.17 36.17 0 0044.01 26.06z",fill:"#1A73E8"}),u=r.createElement("path",{d:"M142.64 217.51c5.53 7.83 16.11 10.61 24.45 1.64M145.07 215.59c-2.58.66-2.41 3.54-5.51 4.88",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:3}),d=r.createElement("path",{stroke:"#FEEFC3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,d:"M101.3 47.04L75.8 22.68M60.45 68.72l-34.37-6.91M208.28 22.68l-18.86 17.87M265.17 73.7l-32.36 3.02M66.15 109.02l-49.01 15.36"}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"milestone-blue_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgMilestoneBlue(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,s,l,u,d,g)}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(2),o=n(4),c=n.n(o),s=n(14),l=n(9),u=n(860),d=c.a.useSelect;t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],o=n[1],c=Object(a.useState)(!1),g=i()(c,2),f=g[0],m=g[1],p=Object(a.useRef)(Date.now()),b=d((function(e){return e(s.c).isUsingProxy()&&!1===e(l.a).areSurveysOnCooldown()?e(l.a).getCurrentSurvey():null})),h=d((function(e){return e(s.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){f||o(!0)}),5e3);return function(){clearTimeout(e)}}),[f]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&b&&m(!0)}),[p,b,m]),Array.isArray(h)&&r&&!f?h.map((function(t){return e.createElement(u.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(2),c=n(4),s=n.n(c),l=n(47),u=n(14),d=n(8),g=n(21),f=s.a.useDispatch,m=function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,c=t.dismissLabel,s=t.dismissible,m=t.id,p=t.learnMoreLabel,b=t.learnMoreURL,h=t.title,v=f(u.c),O=v.dismissNotification,_=v.acceptNotification,y=Object(g.a)(),k=Object(o.useCallback)((function(){Object(d.B)("".concat(y,"_remote-site-notification"),"view_notification",m)}),[m,y]),E=Object(o.useCallback)((function(){_(m),Object(d.B)("".concat(y,"_remote-site-notification"),"confirm_notification",m)}),[m,_,y]),j=Object(o.useCallback)((function(){O(m),Object(d.B)("".concat(y,"_remote-site-notification"),"dismiss_notification",m)}),[m,O,y]),w=Object(o.useCallback)((function(){Object(d.B)("".concat(y,"_remote-site-notification"),"click_learn_more_link",m)}),[m,y]);return e.createElement(l.b,{key:m,id:m,title:h,description:n,learnMoreURL:b,learnMoreLabel:p,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:c,isDismissible:s,onCTAClick:E,onView:k,onDismiss:j,onLearnMoreClick:w})};m.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},m.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=m}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleRecoveryAlert}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(6),s=n.n(c),l=n(15),u=n.n(l),d=n(2),g=n(1),f=n(4),m=n.n(f),p=n(10),b=n(14),h=n(18),v=n(8),O=n(47),_=n(626);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=m.a.useDispatch,j=m.a.useSelect;function ModuleRecoveryAlert(){var t=Object(d.useState)(null),n=u()(t,2),r=n[0],a=n[1],c=Object(d.useState)(!1),l=u()(c,2),f=l[0],m=l[1],y=j((function(e){return e(h.a).getRecoverableModules()})),w=j((function(e){return e(b.c).getDocumentationLinkURL("dashboard-sharing")})),S=j((function(e){var t=e(h.a).getRecoverableModules();if(void 0!==t){var n=Object.keys(t).map((function(t){return{slug:t,hasModuleAccess:e(h.a).hasModuleAccess(t)}}));if(!n.some((function(e){return void 0===e.hasModuleAccess})))return n.filter((function(e){return e.hasModuleAccess})).map((function(e){return e.slug}))}})),C=j((function(e){if(y){var t=e(h.a).getRecoveredModules();if(!t)return{};var n=Object.keys(y),r=function(e){var n;return null==t||null===(n=t.error)||void 0===n?void 0:n[e]};return n.filter((function(e){return!!r(e)})).reduce((function(e,t){return k(k({},e),{},s()({},t,k({name:y[t].name},r(t))))}),{})}})),N=E(h.a),D=N.recoverModules,A=N.clearRecoveredModules,T=void 0===S||null===r,x=Object(d.useCallback)((function(e){return a((function(t){return k(k({},t),{},s()({},e,!t[e]))}))}),[]),R=Object(d.useCallback)(o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),t=Object.keys(r).filter((function(e){return r[e]})),e.next=4,A();case 4:return e.next=6,D(t);case 6:return m(!1),a(null),e.abrupt("return",{dismissOnCTAClick:!1});case 9:case"end":return e.stop()}}),e)}))),[r,A,D]);Object(d.useEffect)((function(){if(void 0!==S&&null===r){var e={};S.forEach((function(t){e[t]=!0})),a(e)}}),[r,S]);var M=Object.keys(y||{});if(void 0===y||0===M.length)return null;var L=null,I=null,P=null,B=!0;return T?(I=e.createElement(p.ProgressBar,null),B=!1):0===S.length?1===M.length?L=Object(g.sprintf)( /* translators: %s: module name. */ Object(g.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, the module must be recovered by another admin who has access.","google-site-kit"),y[M[0]].name):(L=Object(g.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, the module must be recovered by another admin who has access.","google-site-kit"),I=e.createElement("ul",{className:"mdc-list mdc-list--non-interactive"},M.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},y[t].name))})))):1===S.length?(L=Object(g.sprintf)( /* translators: %s: module name. */ Object(g.__)("%s data was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),y[S[0]].name),I=e.createElement(d.Fragment,null,e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(g.__)("By recovering the module, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),Object.keys(C).length>0&&e.createElement(_.a,{recoveryErrors:C})),P=R):(L=Object(g.__)("The data for the following modules was previously shared with other users on the site by another admin who no longer has access. To restore access, you may recover the module as the new owner.","google-site-kit"),I=e.createElement(d.Fragment,null,S.map((function(t){return e.createElement("div",{key:t},e.createElement(p.Checkbox,{checked:r[t],name:"module-recovery-alert-checkbox",id:"module-recovery-alert-checkbox-".concat(t),onChange:function(){return x(t)},value:t,disabled:f},y[t].name))})),e.createElement("p",{className:"googlesitekit-publisher-win__desc"},Object(g.__)("By recovering the selected modules, you will restore access for other users by sharing access via your Google account. This does not make any changes to external services and can be managed at any time via the dashboard sharing settings.","google-site-kit")),Object.keys(C).length>0&&e.createElement(_.a,{recoveryErrors:C})),P=R),e.createElement(O.b,{id:"module-recovery-alert",title:Object(g.__)("Dashboard data for some services has been interrupted","google-site-kit"),onCTAClick:P,ctaLabel:P?Object(g.__)("Recover","google-site-kit"):null,ctaLink:P?"#":null,description:L,learnMoreURL:w,learnMoreLabel:Object(g.__)("Learn more","google-site-kit"),isDismissible:B,dismiss:Object(g.__)("Remind me later","google-site-kit"),dismissExpires:Object(v.o)("day")},I)}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n(1),a=n(4),o=n.n(a),c=n(18),s=n(25),l=n(863),u=n(47),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(s.l).getAccountID()})),a=d((function(e){return e(s.l).getNotifications()}));return t&&n&&void 0!==a?e.createElement(r.Fragment,null,a.map((function(t){return e.createElement(u.b,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(l.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(i.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(i._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),s=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),l=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),g=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,s,l,u,d,g,f)}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(15),s=n.n(c),l=n(1),u=n(2),d=n(10),g=n(4),f=n.n(g),m=n(14),p=n(8),b=n(310),h=n(9),v=n(39),O=n(116),_=n(47),y=n(454),k=f.a.useSelect,E=f.a.useDispatch;t.a=function EnableAutoUpdateBannerNotification(){var t=k((function(e){return e(h.a).hasCapability(h.u)})),n=k((function(e){return e(h.a).isItemDismissed(y.b)})),r=k((function(e){return e(m.c).hasChangePluginAutoUpdatesCapacity()})),a=k((function(e){return e(m.c).getSiteKitAutoUpdatesEnabled()})),c=k((function(e){return e(m.c).isDoingEnableAutoUpdate()})),g=k((function(e){return e(m.c).getErrorForAction("enableAutoUpdate",[])})),f=E(m.c).enableAutoUpdate,j=E(h.a).dismissItem,w=Object(b.a)("notification"),S=s()(w,1)[0],C=Object(u.useState)(!0),N=s()(C,2),D=N[0],A=N[1],T=Object(u.useState)(void 0),x=s()(T,2),R=x[0],M=x[1];Object(u.useEffect)((function(){void 0===R&&void 0!==a&&M(a)}),[R,a]);var L=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:case"end":return e.stop()}}),e)}))),[f]);Object(u.useEffect)((function(){!1===R&&!0===a&&M(!0)}),[R,a]);var I=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=6;break}return e.next=3,Object(v.f)(y.a,!0,{ttl:10*Object(p.o)()});case 3:A(t),e.next=11;break;case 6:return e.next=8,Object(v.d)(y.a);case 8:n=e.sent,r=n.value,A(!!r);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[A]);return Object(u.useEffect)((function(){t&&r&&!a&&I("authentication_success"===S)}),[S,t,r,I,a]),n||!t||!r||a&&!R||D?null:e.createElement(_.b,{id:y.c,title:R?Object(l.__)("Thanks for enabling auto-updates","google-site-kit"):Object(l.__)("Keep Site Kit up-to-date","google-site-kit"),description:R?Object(l.__)("Auto-updates have been enabled. Your version of Site Kit will automatically be updated when new versions are available.","google-site-kit"):Object(l.__)("Turn on auto-updates so you always have the latest version of Site Kit. We constantly introduce new features to help you get the insights you need to be successful on the web.","google-site-kit"),ctaComponent:R?void 0:e.createElement(u.Fragment,null,g&&e.createElement("div",null,e.createElement(O.a,{error:g,storeName:m.c})),e.createElement(d.SpinnerButton,{onClick:L,isSaving:c},Object(l.__)("Enable auto-updates","google-site-kit"))),dismiss:Object(l.__)("Dismiss","google-site-kit"),isDismissible:!0,dismissExpires:0,onDismiss:function(){j(y.b)}})}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleTagIDMismatchNotification}));var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(1),s=n(2),l=n(4),u=n.n(l),d=n(19),g=n(135),f=n(10),m=n(47),p=n(20),b=n(18),h=n(17),v=n(866),O=u.a.useSelect,_=u.a.useDispatch;function GoogleTagIDMismatchNotification(){var t=O((function(e){return e(d.d).hasMismatchedGoogleTagID()})),n=O((function(e){return e(d.d).getSettings()})),r=O((function(e){return t&&(null==n?void 0:n.googleTagAccountID)&&(null==n?void 0:n.googleTagContainerID)&&e(d.d).getGoogleTagContainerDestinations(n.googleTagAccountID,n.googleTagContainerID)})),a=O((function(e){return(null==n?void 0:n.propertyID)&&e(d.d).getProperty(n.propertyID)})),l=O((function(e){if(!t||!Array.isArray(r))return null;var n=r.map((function(e){return e.destinationId})).filter(g.a);return 0===n.length?null:e(d.d).getAnalyticsConfigByMeasurementIDs(n)})),u=O((function(e){return l&&l.propertyID&&e(d.d).getProperty(null==l?void 0:l.propertyID)})),y=O((function(e){var t,r=(null==n?void 0:n.measurementID)&&(null===(t=e(d.d).getGoogleTagContainer(null==n?void 0:n.measurementID))||void 0===t?void 0:t.tagIds);if(Array.isArray(r))return Object(v.a)(r,n.measurementID)})),k=O((function(e){return e(b.a).isDoingSubmitChanges("analytics-4")})),E=_(d.d),j=E.setPropertyID,w=E.setWebDataStreamID,S=E.setMeasurementID,C=E.updateSettingsForMeasurementID,N=E.submitChanges,D=E.setHasMismatchedGoogleTagID,A=Object(s.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(null==l?void 0:l.propertyID),w(null==l?void 0:l.webDataStreamID),S(null==l?void 0:l.measurementID),e.next=5,N();case 5:D(!1);case 6:case"end":return e.stop()}}),e)}))),[j,w,S,null==l?void 0:l.propertyID,null==l?void 0:l.webDataStreamID,null==l?void 0:l.measurementID,N,D]),T=Object(s.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C(null==n?void 0:n.measurementID);case 2:return e.next=4,N();case 4:D(!1);case 5:case"end":return e.stop()}}),e)}))),[C,null==n?void 0:n.measurementID,N,D]);return t?void 0===r||void 0===u||void 0===y||void 0===a?e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{size:12},e.createElement(f.ProgressBar,null))))):u?e.createElement(m.b,{id:"google-tag-id-mismatch",title:Object(c.__)("Update Site Kit's Analytics configuration to continue seeing Analytics data on the dashboard","google-site-kit"),description:Object(c.sprintf)( /* translators: 1: Currently GA4 property name. 2: Current GA4 property ID. 3: Newly linked GA4 property name. 4: Newly linked GA4 property ID. */ Object(c.__)('The Google Tag on your site is no longer associated with your current Google Analytics 4 property "%1$s (%2$s)". It is now recording metrics to another Google Analytics 4 property "%3$s (%4$s)". If you want to continue seeing Analytics data in the Site Kit dashboard, we suggest you switch Site Kit’s Google Analytics configuration to show data for this property.',"google-site-kit"),a.displayName,a._id,u.displayName,u._id),ctaComponent:e.createElement(s.Fragment,null,e.createElement(f.SpinnerButton,{onClick:A,isSaving:k},Object(c.sprintf)( /* translators: 1: Newly linked GA4 property name. 2: Newly linked GA4 property ID. */ Object(c.__)("Use %1$s (%2$s)","google-site-kit"),u.displayName,u._id)),e.createElement(p.a,{onClick:T},Object(c.sprintf)( /* translators: 1: Currently GA4 property name. 2: Current GA4 property ID. */ Object(c.__)("Update Google tag to keep using %1$s (%2$s)","google-site-kit"),a.displayName,a._id))),isDismissible:!1}):y?e.createElement(m.b,{id:"google-tag-id-mismatch",title:Object(c.__)("Your Google tag configuration has changed","google-site-kit"),description:Object(c.sprintf)( /* translators: 1: Currently set Google Tag ID. 2: Newly linked Google Tag ID. 3: Currently GA4 property name. 4: Current GA4 property ID. */ Object(c.__)('The Google tag for your Google Analytics 4 configuration has changed from %1$s to %2$s. To keep using your current Google Analytics 4 property "%3$s (%4$s)", you need to configure Site Kit to place the new Google tag %2$s instead.',"google-site-kit"),n.googleTagID,y,a.displayName,a._id),ctaLabel:Object(c.sprintf)( /* translators: %s: Newly linked Google Tag ID. */ Object(c.__)("Update Google tag to %s","google-site-kit"),y),ctaLink:T?"#":null,onCTAClick:T,isDismissible:!1}):void 0:null}}).call(this,n(3))},function(e,t,n){"use strict";function r(e,t){if(1===e.length)return e[0];var n=e.find((function(e){return"GT-"===e.substring(0,3)}));if(n)return n;if(e.includes(t))return t;var r=e.find((function(e){return"G-"===e.substring(0,2)}));return r||e[0]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SwitchGA4DashboardViewNotification}));var r=n(1),i=n(2),a=n(4),o=n.n(a),c=n(387),s=n(14),l=n(29),u=n(7),d=n(47),g=n(9),f=n(8),m=n(21),p=o.a.useDispatch,b=o.a.useSelect;function SwitchGA4DashboardViewNotification(){var t=Object(m.a)(),n=b((function(e){return!e(g.a).isItemDismissed(u.h)&&e(u.i).shouldPromptGA4DashboardView()})),a=b((function(e){return e(s.c).getDocumentationLinkURL("using-the-site-kit-dashboard-with-ga4")})),o=p(l.b).setValue,h=p(g.a).dismissItem,v=p(u.i),O=v.setDashboardView,_=v.saveSettings,y="".concat(t,"_ga4-display-notification"),k=Object(i.useCallback)((function(){Object(f.B)(y,"view_notification")}),[y]),E=Object(i.useCallback)((function(){return Object(f.B)(y,"confirm_notification"),o("forceInView",!0),o("showGA4ReportingTour",!0),O(u.b),_(),h(u.h),{dismissOnCTAClick:!1}}),[h,y,_,O,o]),j=Object(i.useCallback)((function(){Object(f.B)(y,"dismiss_notification"),h(u.h)}),[h,y]),w=Object(i.useCallback)((function(){Object(f.B)(y,"click_learn_more_link")}),[y]);return n?e.createElement(d.b,{id:u.h,title:Object(r.__)("Display data from Google Analytics 4 on your dashboard","google-site-kit"),description:Object(r.__)("Update your dashboard to show data from the new version of Analytics (Google Analytics 4) instead of the old version (Universal Analytics).","google-site-kit"),ctaLink:"#",ctaLabel:Object(r.__)("Update dashboard","google-site-kit"),onCTAClick:E,dismiss:Object(r.__)("Maybe later","google-site-kit"),onDismiss:j,WinImageSVG:function WinImageSVG(){return e.createElement(c.a,null)},learnMoreLabel:Object(r.__)("Learn what’s new","google-site-kit"),learnMoreURL:a,onView:k,onLearnMoreClick:w}):null}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SwitchedToGA4Banner}));var r=n(90),i=n(2),a=n(1),o=n(4),c=n.n(o),s=n(387),l=n(9),u=n(29),d=n(7),g=n(196),f=n(8),m=n(57),p=n(21),b=n(325),h=n(47),v=c.a.useSelect,O=c.a.useDispatch;function SwitchedToGA4Banner(){var t=Object(r.a)()>=783,n=Object(p.a)(),o=v((function(e){return e(d.i).isGA4DashboardView()})),c=v((function(e){return e(l.a).getReferenceDate()})),_=v((function(e){return e(l.a).isTourDismissed(b.a.slug)})),y=v((function(e){return e(u.b).getValue("showGA4ReportingTour")})),k=v((function(e){var t=e(d.i).getPropertyID();return Object(m.j)(t)})),E="".concat(n,"_ga4-display-success-notification"),j=Object(i.useCallback)((function(){Object(f.B)(E,"view_notification")}),[E]),w=O(u.b).setValue,S=O(l.a).dismissTour,C=function(){Object(f.B)(E,"dismiss_notification"),S(b.a.slug)};if(!k||!o||void 0===_||_||y)return null;var N=Object(f.z)(c)>=Object(f.z)(g.a)?Object(a.__)("Universal Analytics, the old version of Google Analytics, stopped collecting data on July 1, 2023.","google-site-kit"):Object(a.__)("Universal Analytics, the old version of Google Analytics, will stop collecting data on July 1, 2023.","google-site-kit");return e.createElement(h.b,{id:"switched-ga4-dashboard-view",title:Object(a.__)("Your dashboard now displays data from Google Analytics 4, the new version of Analytics","google-site-kit"),description:N,ctaLabel:t?Object(a.__)("Learn what’s new","google-site-kit"):Object(a.__)("OK, Got it!","google-site-kit"),ctaLink:"#",onView:j,onCTAClick:t?function(){Object(f.B)(E,"confirm_notification"),w("forceInView",!0),w("showGA4ReportingTour",!0)}:C,onDismiss:C,dismiss:t?Object(a.__)("OK, Got it!","google-site-kit"):void 0,WinImageSVG:function WinImageSVG(){return e.createElement(s.a,null)}})}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNotAvailableNotification}));var r=n(1),i=n(10),a=n(4),o=n.n(a),c=n(47),s=n(19),l=n(14),u=n(8),d=n(17),g=o.a.useSelect;function WebDataStreamNotAvailableNotification(){var t=g((function(e){return e(s.d).isWebDataStreamAvailable()})),n=g((function(e){return e(s.d).getMeasurementID()})),a=g((function(e){return e(l.c).getAdminURL("googlesitekit-settings")}));return t?null:void 0===n?e.createElement("div",{className:"googlesitekit-publisher-win"},e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(i.ProgressBar,null))))):e.createElement(c.b,{id:"web-data-stream-not-available",title:Object(r.__)("Your Analytics 4 configuration has changed","google-site-kit"),description:Object(r.sprintf)( /* translators: 1: Google Analytics 4 Measurement ID. */ Object(r.__)("The previously selected web data stream with measurement ID %1$s is no longer available. Please select a new web data stream to continue collecting data with Google Analytics 4.","google-site-kit"),n),ctaLink:"".concat(a,"#connected-services/analytics/edit"),ctaLabel:Object(r.__)("Update Analytics settings","google-site-kit"),dismiss:Object(r.__)("Maybe later","google-site-kit"),dismissExpires:55*Object(u.o)("minute")})}}).call(this,n(3))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return AdBlockingRecoveryNotification}));var i=n(53),a=n(1),o=n(935),c=n(4),s=n.n(c),l=n(47),u=n(20),d=n(871),g=n(25),f=s.a.useSelect;function AdBlockingRecoveryNotification(){var t=g.d,n=f((function(e){return e(g.l).getAdBlockingRecoverySetupStatus()})),c=f((function(e){return e(g.l).getAccountID()})),s=f((function(e){return e(g.l).getServiceURL({path:"/".concat(c,"/privacymessaging/ad_blocking")})}));return n!==g.j.SETUP_CONFIRMED?null:r.createElement(l.b,{id:t,className:"googlesitekit-ad-blocking-recovery-notification",title:Object(a.__)("You successfully enabled the ad blocking recovery message","google-site-kit"),description:Object(i.a)(Object(a.__)("Make sure to also create the message in <a>AdSense</a>, otherwise this feature won’t work.","google-site-kit"),{a:r.createElement(u.a,{href:s,external:!0,hideExternalIndicator:!0})}),dismiss:Object(a.__)("OK, Got it!","google-site-kit"),onDismiss:function(){var t=Object(o.a)(e.location.href,"notification");e.history.replaceState(null,"",t)},isDismissible:!0,type:"win-success",WinImageSVG:function WinImageSVG(){return r.createElement(d.a,null)},format:"small"})}}).call(this,n(26),n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12.9 14.73a46.926 46.926 0 014.92-3.892C34.333-.533 47.975-.514 66.862 1.562c12.769 1.402 23.849 8.053 37.279 7.405 13.43-.648 31.996-4.651 46.813-3.786 16.868.985 21.156 2.71 36.153 9.55 13.879 6.33 26.481 17.452 32.814 32.16 10.855 25.211-8.5 70.586-34.456 72.726-18.808 1.551-34.33-16.736-53.314-12.501-11.694 2.609-18.63 13.554-27.652 20.777-10.527 8.428-27.56 7.898-39.886 3.401-11.746-4.286-20.373-12.772-24.209-25.282-2.92-9.526-2.627-19.07-9.64-26.532C20.869 68.95 5.394 66.512.732 46.89-2.218 34.47 4.13 22.687 12.9 14.73z",fill:"#F3F5F7"}),o=r.createElement("g",{filter:"url(#ad-blocking-recovery-success_svg__filter0_d_766_3674)"},r.createElement("path",{d:"M48.967 34.532a9.359 9.359 0 019.358-9.36h107.2a9.359 9.359 0 019.359 9.36v70.648c0 5.168-4.19 9.358-9.359 9.358h-107.2a9.359 9.359 0 01-9.358-9.358V34.531z",fill:"#fff"}),r.createElement("path",{d:"M49.392 34.532c0-4.934 4-8.934 8.933-8.934h107.2c4.934 0 8.933 4 8.933 8.934v70.648a8.933 8.933 0 01-8.933 8.933h-107.2c-4.933 0-8.933-4-8.933-8.933V34.531z",stroke:"#CBD0D3",strokeWidth:.851})),c=r.createElement("rect",{x:70.447,y:59.985,width:82.216,height:4.444,rx:2.222,fill:"#EBEEF0"}),s=r.createElement("rect",{x:89.705,y:85.169,width:45.182,height:19.258,rx:9.629,fill:"#77AD8C"}),l=r.createElement("circle",{cx:111.926,cy:42.209,r:8.148,fill:"#EBEEF0"}),u=r.createElement("path",{d:"M106.74 94.545l4.257 4.257 8.078-8.078",stroke:"#fff",strokeWidth:2.552}),d=r.createElement("rect",{x:68.966,y:70.355,width:83.698,height:4.444,rx:2.222,fill:"#EBEEF0"}),g=r.createElement("defs",null,r.createElement("filter",{id:"ad-blocking-recovery-success_svg__filter0_d_766_3674",x:48.967,y:25.173,width:129.32,height:93.62,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:3.403,dy:4.254}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.796078 0 0 0 0 0.815686 0 0 0 0 0.827451 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_766_3674"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_766_3674",result:"shape"})));t.a=function SvgAdBlockingRecoverySuccess(e){return r.createElement("svg",i({viewBox:"0 0 223 135",fill:"none"},e),a,o,c,s,l,u,d,g)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptimizeRemovalNotification}));var r=n(1),i=n(4),a=n.n(i),o=n(18),c=n(9),s=n(14),l=n(47),u=a.a.useSelect,d=a.a.useDispatch;function OptimizeRemovalNotification(){var t="optimize-removal-notification",n=u((function(e){return e(o.a).isModuleConnected("optimize")})),i=u((function(e){return e(c.a).isItemDismissed(t)})),a=u((function(e){return e(s.c).getGoogleSupportURL({path:"/optimize/answer/12979939"})})),g=d(c.a).dismissItem;return!n||i||void 0===i?null:e.createElement(l.b,{id:t,title:Object(r.__)("Google Optimize will no longer work after September 30, 2023","google-site-kit"),description:Object(r.__)("Google Optimize and Optimize 360 will no longer be available after September 30, 2023 and will be removed in future versions of Site Kit after this date.","google-site-kit"),ctaLabel:Object(r.__)("OK, Got it!","google-site-kit"),ctaLink:"#",onCTAClick:function(){g(t)},learnMoreLabel:Object(r.__)("Learn more","google-site-kit"),learnMoreTarget:l.a.EXTERNAL,learnMoreURL:a})}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CurrentSurveyPortal}));var r=n(4),i=n.n(r),a=n(14),o=n(9),c=n(874),s=n(94),l=i.a.useSelect;function CurrentSurveyPortal(){return l((function(e){return e(a.c).isUsingProxy()&&!1===e(o.a).areSurveysOnCooldown()?e(o.a).getCurrentSurvey():null}))?e.createElement(s.a,{slug:"survey"},e.createElement(c.a,null)):null}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CurrentSurvey}));var r=n(22),i=n.n(r),a=n(28),o=n.n(a),c=n(6),s=n.n(c),l=n(15),u=n.n(l),d=n(88),g=n(937),f=n(2),m=n(1),p=n(4),b=n.n(p),h=n(31),v=n(9),O=n(875),_=n(876),y=n(883),k=n(884),E=n(885),j=n(887);function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=b.a.useDispatch,A=b.a.useSelect,T=["multi_select","open_text","rating","single_select"];function CurrentSurvey(){var t=Object(f.useState)(!1),n=u()(t,2),r=n[0],a=n[1],c=Object(f.useState)(!1),l=u()(c,2),p=l[0],b=l[1],S=Object(f.useState)(!1),C=u()(S,2),x=C[0],R=C[1],M=Object(f.useState)(!1),L=u()(M,2),I=L[0],P=L[1],B=A((function(e){return e(v.a).getCurrentSurveyCompletions()})),z=A((function(e){return e(v.a).getCurrentSurveyQuestions()})),F=A((function(e){return e(v.a).getCurrentSurveySession()})),G=A((function(e){return e(v.a).isTrackingEnabled()})),U=F?"survey-".concat(F.session_id):null,W=A((function(e){return e(h.a).getValue(U,"hideSurvey")})),V=A((function(e){return e(h.a).getValue(U,"answers")||[]})),q=D(h.a).setValues,H=D(v.a).sendSurveyEvent;Object(f.useEffect)((function(){(null==z?void 0:z.length)&&!r&&(a(!0),H("survey_shown"))}),[z,r,H]);var K,Y=V.reduce((function(e,t){return N(N({},e),{},s()({},t.question_ordinal,t.answer.answer.answer_ordinal))}),{}),X=Math.max.apply(Math,[0].concat(o()(V.map((function(e){return e.question_ordinal})))))+1,$=null==z?void 0:z.find((function(e){var t=e.question_ordinal,n=e.trigger_condition;if(Array.isArray(n)&&n.length>0){var r,i=w(n);try{for(i.s();!(r=i.n()).done;){var a=r.value,o=Y[a.question_ordinal],c=a.answer_ordinal||[];if(o&&!c.includes(o))return X++,!1}}catch(e){i.e(e)}finally{i.f()}}return t===X})),Q=Object(f.useCallback)((function(e){I||(P(!0),H("question_answered",{question_ordinal:null==$?void 0:$.question_ordinal,answer:e}),setTimeout((function(){q(U,{answers:[].concat(o()(V),[{question_ordinal:null==$?void 0:$.question_ordinal,answer:e}])}),P(!1)}),300))}),[V,$,U,H,q,I]);(null==z?void 0:z.length)&&X>z.length&&((K=(B||[]).find((function(e){var t,n=w(e.trigger_condition||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.answer_ordinal.includes(Y[r.question_ordinal]))return K=e,!0}}catch(e){n.e(e)}finally{n.f()}return!1})))||(K=B[0]));var Z=Object(f.useCallback)((function(){var e;H("follow_up_link_clicked",{completion_ordinal:null===(e=K)||void 0===e?void 0:e.completion_ordinal}),H("survey_closed"),q(U,{hideSurvey:!0})}),[U,H,q,K]),J=Object(f.useCallback)((function(){H("survey_closed"),R(!1)}),[H]),ee=Object(f.useCallback)((function(){q(U,{hideSurvey:!0})}),[U,q]);if(Object(f.useEffect)((function(){var e;K&&!p&&(b(!0),H("completion_shown",{completion_ordinal:null===(e=K)||void 0===e?void 0:e.completion_ordinal}))}),[p,H,K]),Object(d.a)((function(){R(!0)})),W||!z||!B||void 0===G)return null;if(K)return e.createElement(g.a,{direction:"up",in:x,onExited:ee},e.createElement("div",{className:"googlesitekit-survey"},e.createElement(O.a,{dismissSurvey:J,ctaOnClick:Z,ctaText:K.follow_up_text,ctaURL:K.follow_up_url,title:K.completion_title},K.completion_text)));if(!T.includes(null==$?void 0:$.question_type))return null;var te={key:$.question_text,answerQuestion:Q,dismissSurvey:J,question:$.question_text,submitButtonText:(null==z?void 0:z.length)===X?Object(m.__)("Submit","google-site-kit"):Object(m.__)("Next","google-site-kit")};return e.createElement(g.a,{direction:"up",in:x,onExited:ee},e.createElement("div",{className:"googlesitekit-survey"},"multi_select"===$.question_type&&e.createElement(k.a,i()({},te,{choices:$.question.answer_choice,minChoices:$.question.min_choices,maxChoices:$.question.max_choices})),"open_text"===$.question_type&&e.createElement(y.a,i()({},te,{subtitle:$.question.subtitle,placeholder:$.question.placeholder})),"rating"===$.question_type&&e.createElement(_.a,i()({},te,{choices:$.question.answer_choice})),"single_select"===$.question_type&&e.createElement(E.a,i()({},te,{choices:$.question.answer_choice})),!1===G&&1===(null==$?void 0:$.question_ordinal)&&e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(j.a,null))))}}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),o=n(374),c=function SurveyCompletion(t){var n=t.title,r=t.children,i=t.ctaText,c=t.ctaURL,s=t.ctaOnClick,l=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__completion"},e.createElement(o.a,{title:n,dismissSurvey:l}),e.createElement("div",{className:"googlesitekit-survey__body"},r),c&&i&&e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(a.Button,{href:c,onClick:s,target:"_blank"},i)))};c.propTypes={title:i.a.string.isRequired,children:i.a.node,ctaText:i.a.string,ctaURL:i.a.string,ctaOnClick:i.a.func,dismissSurvey:i.a.func.isRequired},c.defaultProps={title:"",children:null,ctaText:"",ctaURL:"",ctaOnClick:null},t.a=c}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(374),o=n(877),c=function SurveyQuestionRating(t){var n=t.question,r=t.choices,i=t.answerQuestion,c=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__question-rating"},e.createElement(a.a,{title:n,dismissSurvey:c}),e.createElement("div",{className:"googlesitekit-survey__body"},e.createElement("div",{className:"googlesitekit-survey__choices"},r.map((function(t,n){return e.createElement(o.a,{key:n,choice:t,answerQuestion:i})})))))};c.propTypes={question:i.a.string.isRequired,choices:i.a.arrayOf(i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string})).isRequired,answerQuestion:i.a.func.isRequired,dismissSurvey:i.a.func.isRequired},t.a=c}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=n(10),c=n(878),s=n(879),l=n(880),u=n(881),d=n(882),g={1:c.a,2:s.a,3:l.a,4:u.a,5:d.a},f=function SurveyQuestionRatingChoice(t){var n=t.choice,r=t.answerQuestion,i=Object(a.useCallback)((function(){"function"==typeof r&&r({answer:{answer_ordinal:n.answer_ordinal}})}),[r,n]),c=g[n.answer_ordinal];return c?e.createElement("div",{className:"googlesitekit-survey__choice"},e.createElement(o.Button,{icon:e.createElement(c,{width:30,height:30}),"aria-label":n.text,onClick:i}),e.createElement("p",null,n.text)):null};f.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string}).isRequired},t.a=f}).call(this,n(3))},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.985 0C6.705 0 0 6.72 0 15c0 8.28 6.705 15 14.985 15C23.28 30 30 23.28 30 15c0-8.28-6.72-15-15.015-15zM15 27C8.37 27 3 21.63 3 15S8.37 3 15 3s12 5.37 12 12-5.37 12-12 12zm7.5-15.75a2.247 2.247 0 01-2.25 2.25A2.247 2.247 0 0118 11.25 2.247 2.247 0 0120.25 9a2.247 2.247 0 012.25 2.25zM9.75 13.5A2.247 2.247 0 0012 11.25 2.247 2.247 0 009.75 9a2.247 2.247 0 00-2.25 2.25 2.247 2.247 0 002.25 2.25zm-2.415 9c1.2-3.06 4.17-5.25 7.665-5.25s6.465 2.19 7.665 5.25H7.335z",fill:"currentColor"});t.a=function SvgSurveyUnhappy(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zm-9.75-1.5a2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9 2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25zm-13.725 9c1.245-3.495 4.56-6 8.49-6 3.915 0 7.23 2.505 8.475 6h-3.315c-1.035-1.785-2.955-3-5.16-3-2.22 0-4.125 1.215-5.175 3H6.525zM12 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9 2.247 2.247 0 0112 11.25zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveyDissatisfied(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zM9.75 9A2.247 2.247 0 0112 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9zm10.5 0A2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25 2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9zM10.5 22.5v-3h9v3h-9zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveyNeutral(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 15c0 8.28-6.72 15-15.015 15C6.705 30 0 23.28 0 15 0 6.72 6.705 0 14.985 0 23.28 0 30 6.72 30 15zm-9.75-1.5a2.247 2.247 0 002.25-2.25A2.247 2.247 0 0020.25 9 2.247 2.247 0 0018 11.25a2.247 2.247 0 002.25 2.25zm3.225 4.5c-1.245 3.495-4.56 6-8.49 6-3.915 0-7.23-2.505-8.475-6h3.315c1.035 1.785 2.955 3 5.16 3 2.22 0 4.125-1.215 5.175-3h3.315zM12 11.25a2.247 2.247 0 01-2.25 2.25 2.247 2.247 0 01-2.25-2.25A2.247 2.247 0 019.75 9 2.247 2.247 0 0112 11.25zM15 3c6.63 0 12 5.37 12 12s-5.37 12-12 12S3 21.63 3 15 8.37 3 15 3z",fill:"currentColor"});t.a=function SvgSurveySatisfied(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.985 0C6.705 0 0 6.72 0 15c0 8.28 6.705 15 14.985 15C23.28 30 30 23.28 30 15c0-8.28-6.72-15-15.015-15zM15 27C8.37 27 3 21.63 3 15S8.37 3 15 3s12 5.37 12 12-5.37 12-12 12zm7.5-15.75a2.247 2.247 0 01-2.25 2.25A2.247 2.247 0 0118 11.25 2.247 2.247 0 0120.25 9a2.247 2.247 0 012.25 2.25zM9.75 13.5A2.247 2.247 0 0012 11.25 2.247 2.247 0 009.75 9a2.247 2.247 0 00-2.25 2.25 2.247 2.247 0 002.25 2.25zM22.665 18c-1.2 3.06-4.17 5.25-7.665 5.25S8.535 21.06 7.335 18h15.33z",fill:"currentColor"});t.a=function SvgSurveyDelighted(e){return r.createElement("svg",i({fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0),o=n.n(a),c=n(2),s=n(224),l=n(10),u=n(374),d=n(102),g=n(445),f=function SurveyQuestionOpenText(t){var n=t.question,r=t.answerQuestion,a=t.placeholder,o=t.subtitle,f=t.dismissSurvey,m=t.submitButtonText,p=Object(c.useState)(""),b=i()(p,2),h=b[0],v=b[1],O=Object(c.useCallback)((function(e){v(e.target.value.slice(0,g.a))}),[v]),_=Object(s.a)(SurveyQuestionOpenText,"SurveyQuestionOpenText");return e.createElement("div",{className:"googlesitekit-survey__open-text"},e.createElement(u.a,{title:n,dismissSurvey:f}),e.createElement("div",{className:"googlesitekit-survey__body"},e.createElement(d.a,null,e.createElement("label",{htmlFor:_},a)),e.createElement(l.TextField,{name:"survey-opentext-".concat(_),helperText:o,onChange:O,label:a,textarea:!0,inputType:"textarea",id:_,value:h})),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(l.Button,{disabled:0===h.length,onClick:function(){r({answer:h})}},m)))};f.propTypes={question:o.a.string.isRequired,subtitle:o.a.string.isRequired,placeholder:o.a.string.isRequired,answerQuestion:o.a.func.isRequired,dismissSurvey:o.a.func.isRequired,submitButtonText:o.a.string.isRequired},t.a=f}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(6),o=n.n(a),c=n(12),s=n.n(c),l=n(0),u=n.n(l),d=n(13),g=n(224),f=n(2),m=n(1),p=n(10),b=n(374),h=n(102),v=n(445);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=function SurveyQuestionMultiSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,c=t.dismissSurvey,l=t.minChoices,u=void 0===l?1:l,O=t.maxChoices,y=t.submitButtonText,k=Object(g.a)(SurveyQuestionMultiSelect,"SurveyQuestionMultiSelect"),E=r.map((function(e){return _({answer_ordinal:e.answer_ordinal,selected:!1},e.write_in?{answer_text:""}:{})})),j=Object(d.keyBy)(E,"answer_ordinal"),w=Object(f.useState)(j),S=i()(w,2),C=S[0],N=S[1],D=r.filter((function(e){var t=e.write_in,n=e.answer_ordinal;if(t){var r=C[n],i=r.selected,a=r.answer_text;if(i&&0===a.length)return!0}return!1})).length>0,A=Object.values(C).filter((function(e){return e.selected})).length,T=O&&A===O,x=D||A<u;return e.createElement("div",{className:"googlesitekit-survey__multi-select"},e.createElement(b.a,{title:n,dismissSurvey:c}),e.createElement("div",{className:"googlesitekit-survey__body"},r.map((function(t){var n=t.answer_ordinal,r=t.text,i=t.write_in,a=C[n],c="".concat(k,"-answer-").concat(n);return e.createElement("div",{key:c,className:s()("googlesitekit-survey__multi-select__choice",{"googlesitekit-survey__multi-select__choice--disabled":T&&!a.selected})},e.createElement(p.Checkbox,{checked:a.selected,disabled:T&&!a.selected,onChange:function(){return function(e){var t=_(_({},C),{},o()({},e,_(_({},C[e]),{},{selected:!C[e].selected})));N(t)}(n)},value:"".concat(n),id:c,name:c},r),i&&e.createElement(f.Fragment,null,e.createElement(h.a,null,e.createElement("label",{htmlFor:"".concat(c,"-write-in")},Object(m.sprintf)( /* translators: %s: Option name */ Object(m.__)("Text input for option %s","google-site-kit"),r))),e.createElement(p.TextField,{id:"".concat(c,"-write-in"),onChange:function(e){return function(e,t){var n,r=_(_({},C),{},o()({},t,_(_({},C[t]),{},{answer_text:null===(n=e.target.value)||void 0===n?void 0:n.slice(0,v.a)})));N(r)}(e,n)},value:a.answer_text,disabled:!a.selected})))}))),e.createElement("div",{className:"googlesitekit-survey__footer"},u>1&&e.createElement(p.HelperText,{persistent:!0},Object(m.sprintf)( /* translators: %s: the number of answers. */ Object(m.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(p.Button,{onClick:function(){var e=Object.values(C).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));a({answer:e})},disabled:x},y)))};y.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=y}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(15),o=n.n(a),c=n(0),s=n.n(c),l=n(2),u=n(10),d=n(374),g=n(886);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,i=t.answerQuestion,a=t.dismissSurvey,c=t.submitButtonText,s=Object(l.useState)(""),f=o()(s,2),p=f[0],b=f[1],h=Object(l.useState)(""),v=o()(h,2),O=v[0],_=v[1],y=r.map((function(e){return m(m({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),k=!!p&&y.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===p&&n})).length>0,E=""===p||k&&""===O;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:a}),e.createElement("div",{className:"googlesitekit-survey__body"},y.map((function(t,n){return e.createElement(g.a,{key:n,value:p,setValue:b,writeIn:O,setWriteIn:_,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.Button,{onClick:function(){var e=k?{answer_text:O}:{};i({answer:m({answer_ordinal:Number(p)},e)})},disabled:E},c)))};p.propTypes={question:s.a.string.isRequired,choices:s.a.arrayOf(s.a.shape({answer_ordinal:s.a.oneOfType([s.a.string,s.a.number]),text:s.a.string,write_in:s.a.bool})).isRequired,answerQuestion:s.a.func.isRequired,dismissSurvey:s.a.func.isRequired},t.a=p}).call(this,n(3))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(2),o=n(1),c=n(10),s=n(102),l=n(445),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,i=t.writeIn,u=t.setWriteIn,d=t.choice,g=d.answer_ordinal,f=d.text,m=d.write_in,p=n===g,b="googlesitekit-survey__multi-select-".concat(g,"-").concat(f);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.Radio,{id:f.replace(/ /g,"-"),value:g,checked:p,name:f,onClick:function(){return r(g)}},f),m&&e.createElement(a.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:b},Object(o.sprintf)( /* translators: %s: Option name */ Object(o.__)("Text input for option %s","google-site-kit"),f))),e.createElement(c.TextField,{id:b,onChange:function(e){return u(e.target.value.slice(0,l.a))},value:i,disabled:!p})))};u.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=u}).call(this,n(3))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),i=n(53),a=n(4),o=n.n(a),c=n(14),s=n(20),l=o.a.useSelect;function SurveyTerms(){var t=l((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=l((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(s.a,{href:t,external:!0}),terms:e.createElement(s.a,{href:n,external:!0})}))}}).call(this,n(3))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e,t){var r=n(5),i=n.n(r),a=n(16),o=n.n(a),c=n(260),s=n(120),l=n(39),u=n(181),d=n(23),g=n(849);Object(c.a)(o()(i.a.mark((function n(){var r,a,o,c,f;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e._googlesitekitLegacyData.admin.resetSession){n.next=3;break}return n.next=3,Object(l.b)();case 3:(r=document.getElementById("js-googlesitekit-main-dashboard"))&&(a=r.dataset,o=a.setupModuleSlug,c=a.viewOnly,f=d.n,o||(f=c?d.m:d.l),Object(s.render)(t.createElement(u.a,{viewContext:f},t.createElement(g.a,{setupModuleSlug:o})),r));case 5:case"end":return n.stop()}}),n)}))))}.call(this,n(26),n(3))}],[[1006,1,0]]]);