PATH:
home
/
centosnipponia
/
public_html
/
nipponiacar
/
wp-content
/
plugins
/
google-site-kit
/
dist
/
assets
/
js
"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[290,503,998],{88933(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43 44"},e),n||(n=o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("path",{fill:"#FBBC05",d:"m2.253 12.252 7.399 5.658A13 13 0 0 0 9 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22 22 0 0 1 0 22c0-3.506.81-6.814 2.253-9.748"}),o.createElement("path",{fill:"#EA4335",d:"m9.652 17.91-7.4-5.658A21.94 21.94 0 0 1 22 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.91"}),o.createElement("path",{fill:"#34A853",d:"m2.25 31.742 7.396-5.67A12.975 12.975 0 0 0 22 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.94 21.94 0 0 1 2.25 31.742"}),o.createElement("path",{fill:"#4285F4",d:"m36.34 38.52-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.52"}))))},19793(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m4.806 8.592.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296s-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16s1.6-.4 2.124-1.112z",clipRule:"evenodd"})))},72545(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"M14 1.41 12.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 7z"})))},83366(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{d:"M5 21a2 2 0 0 1-1.425-.575A2 2 0 0 1 3 19V5q0-.825.575-1.4Q4.175 3 5 3h7v2H5v14h14v-7h2v7q0 .825-.6 1.425Q19.825 21 19 21zm4.7-5.3-1.4-1.4L17.6 5H14V3h7v7h-2V6.4z"})))},46467(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s,r=i(63696);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=r.createElement("rect",{width:18,height:12,x:3,y:6,stroke:"currentColor",strokeWidth:1.5,rx:2})),o||(o=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m3.566 7.5 7.086 7.086a2 2 0 0 0 2.829 0l7.019-7.02"})),s||(s=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M20.246 17.5 15.5 12.754M4 17.5l4.746-4.746"})))},42343(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"m5.825 22 2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3z"})))},85149(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s=i(63696);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>s.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","aria-labelledby":"warning-title warning-desc",viewBox:"0 0 24 24"},e),n||(n=s.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),o||(o=s.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})))},41671(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(82871),r=i(38432),a=i(97015);const LearnMoreLink=({className:e,external:t=!0,href:i,label:n=(0,s.__)("Learn more","google-site-kit"),onClick:o=()=>{}})=>i?a.createElement(r.A,{href:i,className:e,onClick:o,external:t},n):null;LearnMoreLink.propTypes={href:o().string.isRequired,className:o().string,label:o().string,external:o().bool,onClick:o().func};const l=LearnMoreLink},3749(e,t,i){i.d(t,{Q:()=>n});let n=function(e){return e.NEW="new",e.SUCCESS="success",e.WARNING="warning",e.INFO="info",e.INFO_ALT="info-alt",e.INFO_ALT_2="info-alt-2",e.ERROR="error",e}({})},44148(e,t,i){i.d(t,{A:()=>f});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(13606),c=i(82871),g=i(38432),d=i(13047),u=i(4124),p=i(62659),m=i(92449);var h=i(97015);function SourceLink({name:e="",href:t="",className:i="",external:n=!1}){const o=(0,p.A)(),s=(0,u.A)(),f=(0,a.useContext)(m.Ay),y=(0,a.useCallback)(()=>{f.slug&&o&&(0,d.sx)(`${o}_widget`,"click_source_link",f.slug)},[o,f]);return s?null:h.createElement("div",{className:r()("googlesitekit-source-link",i)},(0,l.A)((0,c.sprintf)(/* translators: %s: source link */ /* translators: %s: source link */ (0,c.__)("Source: %s","google-site-kit"),`<a>${e}</a>`),{a:h.createElement(g.A,{key:"link",href:t,external:n,onClick:y})}))}SourceLink.propTypes={name:o().string,href:o().string,className:o().string,external:o().bool};const f=SourceLink},72572(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(15844),o=i(2141),s=i(63696),r=i(25797),a=i(3749),l=i(97015);const __WEBPACK_DEFAULT_EXPORT__=({title:e,onDismiss:t})=>{const[i,c]=(0,s.useState)(!1),g=(0,s.useRef)();return(0,n.A)(()=>{g.current=setTimeout(()=>{c(!0),t?.()},5500)}),(0,o.A)(()=>{t?.(),clearTimeout(g.current)}),i?null:l.createElement(r.A,{className:"googlesitekit-toast-notice",title:e,type:a.Q.SUCCESS})}},40194(e,t,i){i.d(t,{G:()=>y});var n=i(50539),o=i(88273),s=i(97345),r=i(8732),a=i(84730),l=i(22942),c=i(20697),g=i(62659),d=i(4124),u=i(82871),p=i(33213);function m(e,t,i){return e?{slug:"dashboard-sharing",target:".googlesitekit-header",floaterProps:{target:".googlesitekit-view-only-menu"},title:(0,u.__)("Get instant access to insights, no setup","google-site-kit"),content:t?(0,u.__)("See what’s been shared with you here, or sign in with Google to configure services and sharing access","google-site-kit"):(0,u.__)("Site admins have shared the dashboard with you, so you can keep track of how your site is doing. See what’s been shared with you here.","google-site-kit"),offset:0,spotlightPadding:0,placement:"bottom"}:{slug:"dashboard-sharing",target:".googlesitekit-header",floaterProps:{target:i?".googlesitekit-sharing-settings__button svg":".googlesitekit-sharing-settings__button"},title:(0,u.__)("Share insights with your team","google-site-kit"),content:(0,u.__)("Give access to your teammates or clients to view the dashboard instantly, no setup required. You control who sees what.","google-site-kit"),offset:0,spotlightPadding:0,placement:"bottom"}}function h({isViewOnly:e,canAuthenticate:t,isAnalyticsConnected:i,isActivateAnalyticsNotificationPresent:n,windowHeight:o}){if(!i){const i=[{target:".googlesitekit-widget--searchFunnelGA4",floaterProps:{target:"number"==typeof o&&o<930?".googlesitekit-widget--searchFunnelGA4 .googlesitekit-chart":".googlesitekit-widget--searchFunnelGA4 .googlesitekit-widget__body"},title:(0,u.__)("Track Search traffic trends, identify baselines","google-site-kit"),content:(0,u.__)("Know what’s normal for your site. This is how you spot trends and measure real growth.","google-site-kit"),offset:0,spotlightPadding:0,placement:"top"},{target:".googlesitekit-widget--searchConsolePopularKeywords",floaterProps:{target:".googlesitekit-widget--searchConsolePopularKeywords .googlesitekit-table__wrapper"},title:(0,u.__)("Track how your site is doing on Search","google-site-kit"),content:(0,u.__)("Know what’s driving growth and bringing your site more visitors","google-site-kit"),offset:0,spotlightPadding:0,placement:"top"},m(e,t,!1)];return!e&&n&&i.push({slug:"activate-analytics",target:"#activate-analytics-notification",floaterProps:{target:"#activate-analytics-notification .googlesitekit-banner__cta"},title:(0,u.__)("Want to know what people do once they land on your site?","google-site-kit"),content:(0,u.__)("Get insights on how visitors navigate your site and help you achieve your goals by connecting Analytics","google-site-kit"),offset:0,spotlightPadding:0,placement:"bottom"}),{slug:p.I.WITHOUT_ANALYTICS,isRepeatable:!0,contexts:[c.jU,c.Ax],gaEventCategory:e=>`${e}_dashboard-tour-sc`,steps:i}}return{slug:p.I.WITH_ANALYTICS,isRepeatable:!0,contexts:[c.jU,c.Ax],gaEventCategory:e=>`${e}_dashboard-tour-ga4`,steps:[{target:".googlesitekit-widget-area--mainDashboardKeyMetricsPrimary",floaterProps:{target:".googlesitekit-km-change-metrics-cta"},title:(0,u.__)("Your goals, measured and clear","google-site-kit"),content:(0,u.__)("These Key Metrics show you exactly how your site is performing against the goals you set. Watch these numbers to see what’s working and what’s not.","google-site-kit"),offset:-3,spotlightPadding:4,placement:"top-end"},{target:".googlesitekit-widget--analyticsAllTrafficGA4",floaterProps:{target:".googlesitekit-widget--analyticsAllTraffic__user-count-chart"},title:(0,u.__)("Track traffic trends, identify baselines","google-site-kit"),content:(0,u.__)("Know what’s normal for your site. This is how you spot trends and measure real growth.","google-site-kit"),offset:35,spotlightPadding:0,placement:"top"},{target:".googlesitekit-widget-area--mainDashboardTrafficAudienceSegmentation",floaterProps:{target:".googlesitekit-widget-audience-tiles__body .googlesitekit-widget--analyticsAudienceTiles:last-child .googlesitekit-audience-segmentation-tile__header-title"},title:(0,u.__)("Get to know your site visitors","google-site-kit"),content:(0,u.__)("Not all visitors are the same, tailor your strategy based on who you want to attract","google-site-kit"),offset:14,spotlightPadding:4,placement:"top"},{target:".googlesitekit-widget--analyticsModulePopularPagesGA4",floaterProps:{target:".googlesitekit-table__head-item--pageviews .googlesitekit-table__head-item-title"},title:(0,u.__)("Discover your most popular and engaging content","google-site-kit"),content:(0,u.__)("Find out what your audience loves and double down on what resonates most","google-site-kit"),offset:25,spotlightPadding:0,placement:"top"},m(e,t,!0)]}}var f=i(24355);function y(){const e=(0,d.A)(),t=(0,g.A)(),i=(0,f.xJ)();return h({isViewOnly:e,canAuthenticate:(0,n.useSelect)(e=>e(s.oR).hasCapability(s.ej),[]),isAnalyticsConnected:!!(0,n.useSelect)(e=>e(o.i).isModuleConnected(l.L1),[]),isActivateAnalyticsNotificationPresent:(0,n.useSelect)(e=>{if(t!==c.jU)return!1;const i=e(r.D).getQueuedNotifications(c.jU,a.He.DEFAULT);return"activate-analytics-notification"===i?.[0]?.id},[t]),windowHeight:i})}},92449(e,t,i){i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)({}),{Consumer:o,Provider:s}=n,r=n},97513(e,t,i){i.d(t,{Fo:()=>s,Lg:()=>r,Qb:()=>o,dv:()=>l,mp:()=>a});var n=i(24355);const o="xlarge",s="desktop",r="tablet",a="small";function l(){const e=(0,n.SO)();return e>1280?o:e>960?s:e>600?r:a}},24355(e,t,i){i.d(t,{SO:()=>l,xJ:()=>a});var n=i(55620),o=i(99123);function s(){return[globalThis.innerWidth,globalThis.innerHeight]}function r({fps:e=60,leading:t=!1,initialWidth:i=0,initialHeight:r=0}={}){const[a,l]=(0,n._)("undefined"==typeof document?[i,r]:s,e,t);function c(){return l(s)}return(0,o.A)(window,"resize",c),(0,o.A)(window,"orientationchange",c),a}function a(e={}){return r(e)[1]}function l(e={}){return r(e)[0]}},71189(e,t,i){i.d(t,{A:()=>CTAButton});var n=i(62688),o=i.n(n),s=i(49383),r=i(83366),a=i(62540);function CTAButton({label:e,ariaLabel:t,disabled:i,inProgress:n,onClick:o,href:l,external:c=!1,hideExternalIndicator:g=!1}){if(!e||!o&&!l)return null;let d;return c&&!g&&(d=(0,a.jsx)(r.A,{width:14,height:14})),(0,a.jsx)(s.SpinnerButton,{className:"googlesitekit-banner__cta","aria-label":t,disabled:i||n,isSaving:n,onClick:o,href:l,target:c?"_blank":void 0,trailingIcon:d,children:e})}CTAButton.propTypes={label:o().string,ariaLabel:o().string,disabled:o().bool,inProgress:o().bool,onClick:o().func,href:o().string,dismissOnClick:o().bool,dismissOptions:o().shape({expiresInSeconds:o().number,skipHidingFromQueue:o().bool})}},61983(e,t,i){i.d(t,{A:()=>DismissButton});var n=i(62688),o=i.n(n),s=i(82871),r=i(49383),a=i(62540);function DismissButton({className:e,label:t=(0,s.__)("Maybe later","google-site-kit"),onClick:i,disabled:n,tertiary:o=!0}){return i?(0,a.jsx)(r.Button,{className:e,onClick:i,disabled:n,tertiary:o,children:t}):null}DismissButton.propTypes={className:o().string,label:o().string,onClick:o().func,disabled:o().bool,tertiary:o().bool,dismissOptions:o().shape({expiresInSeconds:o().number,skipHidingFromQueue:o().bool})}},83891(e,t,i){i.d(t,{A:()=>f});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(97513),c=i(62540);function TitleIcon({className:e,children:t}){return(0,c.jsx)("div",{className:o()("googlesitekit-banner__title-icon",e),children:t})}function Title({className:e,children:t}){return(0,c.jsx)("p",{className:o()("googlesitekit-banner__title",e),children:t})}TitleIcon.propTypes={className:r().string,children:r().node},Title.propTypes={className:r().string,children:r().node};var g=i(13047),d=i(41671);function Description({className:e,description:t,learnMoreLink:i,additionalDescription:n,children:s}){return(0,c.jsxs)("div",{className:o()("googlesitekit-banner__description",e),children:[(0,a.isValidElement)(t)?t:"string"==typeof t?(0,c.jsx)("span",{dangerouslySetInnerHTML:(0,g.p9)(t,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}):t," ",i?.href&&(0,c.jsx)(d.A,{...i}),n&&(0,c.jsx)("div",{className:"googlesitekit-banner__additional-description",children:n}),s]})}function HelpText({className:e,children:t}){return(0,c.jsx)("p",{className:o()("googlesitekit-banner__help-text",e),children:t})}Description.propTypes={className:r().string,description:r().oneOfType([r().string,r().node]),learnMoreLink:r().shape(d.A.propTypes),additionalDescription:r().oneOfType([r().string,r().node]),children:r().node},HelpText.propTypes={className:r().string,children:r().node};var u=i(71189),p=i(61983);function Footer({className:e,children:t}){return(0,c.jsx)("div",{className:o()("googlesitekit-banner__footer",e),children:t})}Footer.propTypes={className:r().string,children:r().node};var m=i(25797);const h=(0,a.forwardRef)(({className:e,titleIcon:t,title:i,description:n,additionalDescription:s,errorText:r,helpText:a,learnMoreLink:g,dismissButton:d,ctaButton:h,svg:f,footer:y},b)=>{const _=(0,l.dv)(),k=_===l.mp||_===l.Lg;let v=null;k&&f?.mobile?v=f.mobile:!k&&f?.desktop&&(v=f.desktop);const x=f?.verticalPosition?f.verticalPosition:"center";return(0,c.jsxs)("div",{ref:b,className:o()("googlesitekit-banner",e),children:[(0,c.jsxs)("div",{className:"googlesitekit-banner__content",children:[t&&(0,c.jsx)(TitleIcon,{children:t}),(0,c.jsx)(Title,{children:i}),(0,c.jsx)(Description,{description:n,learnMoreLink:g,additionalDescription:s}),a&&(0,c.jsx)(HelpText,{children:a}),r&&(0,c.jsx)(m.A,{type:"error",description:r}),(0,c.jsxs)("div",{className:"googlesitekit-notice__action",children:[h&&(0,c.jsx)(u.A,{...h}),d?.onClick&&(0,c.jsx)(p.A,{...d})]})]}),v&&(0,c.jsx)("div",{className:o()("googlesitekit-banner__svg-wrapper",{[`googlesitekit-banner__svg-wrapper--${x}`]:x}),style:{backgroundImage:`url(${v})`}}),y&&(0,c.jsx)(Footer,{children:y})]})});h.propTypes={titleIcon:r().node,title:r().string,description:r().oneOfType([r().string,r().node]),additionalDescription:r().oneOfType([r().string,r().node]),errorText:r().string,helpText:r().string,learnMoreLink:r().shape(d.A.propTypes),dismissButton:r().shape(p.A.propTypes),ctaButton:r().shape(u.A.propTypes),svg:r().shape({desktop:r().elementType,mobile:r().elementType,verticalPosition:r().oneOf(["top","center","bottom"])}),footer:r().node};const f=h},38017(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function ChangeArrow({direction:e,invertColor:t,width:i,height:n}){return(0,a.jsx)("svg",{className:r()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${e}`,{"googlesitekit-change-arrow--inverted-color":t}),width:i,height:n,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("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:o().string,invertColor:o().bool,width:o().number,height:o().number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};const l=ChangeArrow},79961(e,t,i){i.d(t,{A:()=>s});var n=i(63696),o=i(84895);const s=(0,n.createContext)(o.t)},6730(e,t,i){i.d(t,{A:()=>GenericErrorHandlerActions});var n=i(62688),o=i.n(n),s=i(82871),r=i(38432),a=i(38021),l=i.n(a),c=i(63696),g=i(12417),d=i(1027),u=i(65123),p=i(49383),m=i(62540);function ReportErrorButton({message:e,componentStack:t}){const[i,n]=(0,c.useState)(!1);return(0,m.jsx)(p.Button,{"aria-label":i?(0,s.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){l()(`\`\`\`\n${e}\n${t}\n\`\`\``),n(!0)},trailingIcon:(0,m.jsx)(g.A,{className:"mdc-button__icon",icon:i?d.A:u.A}),children:i?(0,s.__)("Copied to clipboard","google-site-kit"):(0,s.__)("Copy error contents","google-site-kit")})}ReportErrorButton.propTypes={message:o().string,componentStack:o().string};const h=ReportErrorButton;function GenericErrorHandlerActions({message:e,componentStack:t}){return(0,m.jsxs)("div",{className:"googlesitekit-generic-error-handler-actions",children:[(0,m.jsx)(h,{message:e,componentStack:t}),(0,m.jsx)(r.A,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,children:(0,s.__)("Report this problem","google-site-kit")})]})}GenericErrorHandlerActions.propTypes={message:o().string,componentStack:o().string}},31265(e,t,i){i.d(t,{A:()=>Ke});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(41814),l=i(82871),c=i(63696),g=i(50539),d=i(44436),u=i(21795),p=i(19266),m=i(49383),h=i(59865),f=i(62540);function Divider({className:e}){return(0,f.jsx)("li",{className:r()("mdc-list-divider",e),role:"separator"})}function MenuItem({id:e,className:t,role:i,isInteractive:n=!0,onClick:o,icon:s,label:a,description:l,trailing:c,children:g,itemClassName:d="googlesitekit-header-menu__item",iconClassName:u="googlesitekit-header-menu__item-icon",labelClassName:p="googlesitekit-header-menu__item-label",descriptionClassName:m="googlesitekit-header-menu__item-description",trailingClassName:h="googlesitekit-header-menu__item-trailing"}){const y=g||(0,f.jsxs)("div",{className:d,children:[s&&(0,f.jsx)("div",{className:u,children:s}),a&&(0,f.jsx)("span",{className:p,children:a}),l&&(0,f.jsx)("span",{className:m,children:l}),c&&(0,f.jsx)("span",{className:h,children:c})]}),b=void 0===i&&n?"menuitem":i,_=r()(t,{"mdc-list-item":n}),k="function"==typeof o;return(0,f.jsx)("li",{id:e,className:_||void 0,role:b,children:k?(0,f.jsx)("button",{type:"button",className:"googlesitekit-header-menu__item-button",onClick:o,children:y}):y})}function MenuSection({id:e,className:t,role:i,children:n}){return(0,f.jsx)("li",{id:e,className:t,role:i,children:n})}function MenuWithHeading({heading:e,className:t,children:i}){return(0,f.jsxs)(MenuSection,{className:t,children:[e,i]})}Divider.propTypes={className:o().string},MenuItem.propTypes={id:o().string,className:o().string,role:o().string,isInteractive:o().bool,onClick:o().func,icon:o().node,label:o().node,description:o().node,trailing:o().node,children:o().node,itemClassName:o().string,iconClassName:o().string,labelClassName:o().string,descriptionClassName:o().string,trailingClassName:o().string},MenuSection.propTypes={id:o().string,className:o().string,role:o().string,children:o().node},MenuWithHeading.propTypes={heading:o().node,className:o().string,children:o().node};var y,b,_=i(13047),k=i(49993),v=i(94656),x=i(97345);function Details(){const e=(0,g.useSelect)(e=>e(x.oR).getPicture()),t=(0,g.useSelect)(e=>e(x.oR).getFullName()),i=(0,g.useSelect)(e=>e(x.oR).getEmail());return(0,f.jsxs)("div",{className:"googlesitekit-user-menu__details","aria-label":(0,l.__)("Google account","google-site-kit"),children:[!!e&&(0,f.jsx)("img",{className:"googlesitekit-user-menu__details-avatar",src:e,alt:""}),(0,f.jsxs)("div",{className:"googlesitekit-user-menu__details-info",children:[(0,f.jsx)("p",{className:"googlesitekit-user-menu__details-info__name",children:t}),(0,f.jsx)("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":(0,l.__)("Email","google-site-kit"),children:i})]})]})}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},N.apply(null,arguments)}const I=e=>c.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),y||(y=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.7,d:"m11.775 5.701.58-.58a4.547 4.547 0 0 1 6.43 0v0a4.547 4.547 0 0 1 0 6.43l-.598.599m-12.504-.357-.562.562a4.547 4.547 0 0 0 0 6.43v0a4.547 4.547 0 0 0 6.43 0l.58-.58"})),b||(b=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"m8.543 15.363 1.118-1.118m5.684-5.684L14.226 9.68M5.107 5.134l13.664 13.664"})));var A,T,j,w,S;function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},M.apply(null,arguments)}const C=e=>c.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),A||(A=c.createElement("rect",{width:18,height:13,x:3,y:4,stroke:"currentColor",strokeWidth:1.5,rx:2})),T||(T=c.createElement("path",{fill:"currentColor",d:"M9 17h6v3H9z"})),j||(j=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M10 9h7M10 12h7"})),w||(w=c.createElement("circle",{cx:7,cy:9,r:1,fill:"currentColor"})),S||(S=c.createElement("circle",{cx:7,cy:12,r:1,fill:"currentColor"})));var E=i(46467),D=i(29785),O=i(7972),R=i(70301),z=i(80),L=i(76729),P=i(12896),B=i(62659),H=i(68832),U=i(30805);function UserMenu(){const e=(0,U.i)("proactiveUserEngagement"),t=(0,g.useSelect)(e=>e(D.O4).getProxyPermissionsURL()),i=(0,g.useSelect)(e=>e(x.oR).getEmail()),n=(0,g.useSelect)(e=>e(x.oR).getPicture()),o=(0,g.useSelect)(e=>e(x.oR).getFullName()),s=(0,g.useSelect)(e=>e(D.O4).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})),r=(0,H.A)(z.CV,"isAutoCreatingCustomDimensionsForAudience"),{isTooltipVisible:a=!1,className:d}=(0,g.useSelect)(e=>e(O.n).getValue("admin-screen-tooltip")||{isTooltipVisible:!1}),[y,b]=(0,c.useState)(!1),[N,A]=(0,c.useState)(!1),T=(0,c.useRef)(),j=(0,c.useRef)(),w=(0,B.A)(),{navigateTo:S}=(0,g.useDispatch)(R.M);(0,u.A)(T,()=>A(!1)),(0,P.l)([p._f,p.wn],T,()=>{A(!1),j.current?.focus()});const M=(0,c.useCallback)(()=>{b(!1),A(!1)},[b,A]),{setValue:G}=(0,g.useDispatch)(O.n),F=(0,c.useCallback)(()=>{N||((0,_.sx)(`${w}_headerbar`,"open_usermenu"),a&&d?.includes("googlesitekit-tour-tooltip--user-menu")&&G("admin-screen-tooltip",void 0)),A(!N)},[N,w,G,a,d]),Y=(0,c.useCallback)(()=>{b(!y),A(!1)},[y]),V=(0,c.useCallback)(async(e,i)=>{const{detail:{item:n}}=i;switch(n?.id){case"manage-sites":t&&(await(0,_.sx)(`${w}_headerbar_usermenu`,"manage_sites"),S(t));break;case"disconnect":Y();break;case"manage-email-reports":G(L.Q,!0);break;default:F()}},[t,F,Y,S,G,w]),W=(0,c.useCallback)(async()=>{b(!1),await(0,k.IL)(),await(0,_.sx)(`${w}_headerbar_usermenu`,"disconnect_user"),S(s)},[s,S,w]);if(!i)return null;let Z;return o&&i&&(Z=(0,l.sprintf)(/* translators: Account info text. 1: User's (full) name 2: User's email address. */ /* translators: Account info text. 1: User's (full) name 2: User's email address. */ (0,l.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,i)),o&&!i&&(Z=(0,l.sprintf)(/* translators: Account info text. 1: User's (full) name. */ /* translators: Account info text. 1: User's (full) name. */ (0,l.__)("Google Account for %1$s","google-site-kit"),o)),!o&&i&&(Z=(0,l.sprintf)(/* translators: Account info text. 1: User's email address. */ /* translators: Account info text. 1: User's email address. */ (0,l.__)("Google Account (Email: %1$s)","google-site-kit"),i)),(0,f.jsxs)(c.Fragment,{children:[(0,f.jsxs)("div",{ref:T,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor",children:[(0,f.jsx)(m.Button,{disabled:r,ref:j,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",onClick:F,icon:!!n&&(0,f.jsx)("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true",children:(0,f.jsx)("img",{className:"mdc-button__icon--image",src:n,alt:(0,l.__)("User Avatar","google-site-kit")})}),"aria-haspopup":"menu","aria-expanded":N,"aria-controls":"user-menu","aria-label":r?void 0:(0,l.__)("Account","google-site-kit"),tooltipEnterDelayInMS:500,customizedTooltip:r?null:(0,f.jsxs)("span",{"aria-label":Z,children:[(0,f.jsx)("strong",{children:(0,l.__)("Google Account","google-site-kit")}),(0,f.jsx)("br",{}),(0,f.jsx)("br",{}),o,o&&(0,f.jsx)("br",{}),i]}),text:!0,tooltip:!0}),(0,f.jsxs)(m.Menu,{className:"googlesitekit-user-menu",menuOpen:N,onSelected:V,id:"user-menu",children:[(0,f.jsx)(MenuSection,{children:(0,f.jsx)(Details,{})}),e&&(0,f.jsx)(MenuItem,{id:"manage-email-reports",icon:(0,f.jsx)(E.A,{width:"24"}),label:(0,l.__)("Manage email reports","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"}),!!t&&(0,f.jsx)(MenuItem,{id:"manage-sites",icon:(0,f.jsx)(C,{width:"24"}),label:(0,l.__)("Manage Sites","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"}),(0,f.jsx)(MenuItem,{id:"disconnect",icon:(0,f.jsx)(I,{width:"24"}),label:(0,l.__)("Disconnect","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"})]})]}),(0,f.jsx)(v.A,{children:(0,f.jsx)(h.A,{dialogActive:y,handleConfirm:W,handleCancel:M,onClose:M,title:(0,l.__)("Disconnect","google-site-kit"),subtitle:(0,l.__)("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:(0,l.__)("Disconnect","google-site-kit"),danger:!0,small:!0})})]})}var G=i(10740),F=i(4124),Y=i(45257),V=i(15844),W=i(31589),Z=i(39525),Q=i(30521),$=i(20697),q=i(7551),X=i(11883),K=i(97513);var J=i(59352),ee=i(4169);const te={[q.Oo]:{[$.SH]:J.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,[$.OT]:J.CONTEXT_MAIN_DASHBOARD_TRAFFIC,[$.x2]:J.CONTEXT_MAIN_DASHBOARD_SITE_GOALS,[$.en]:J.CONTEXT_MAIN_DASHBOARD_CONTENT,[$.Ej]:J.CONTEXT_MAIN_DASHBOARD_SPEED,[$.Gw]:J.CONTEXT_MAIN_DASHBOARD_MONETIZATION},[q.oE]:{[$.OT]:J.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,[$.en]:J.CONTEXT_ENTITY_DASHBOARD_CONTENT,[$.Ej]:J.CONTEXT_ENTITY_DASHBOARD_SPEED,[$.Gw]:J.CONTEXT_ENTITY_DASHBOARD_MONETIZATION}};var ie;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},ne.apply(null,arguments)}const oe=e=>c.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},e),ie||(ie=c.createElement("path",{fill:"currentColor",fillRule:"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 16M9 7h5V5H9zm7-5H2v14h14zM4 4h4v4H4zm10 7H9v2h5zM4 10h4v4H4z",clipRule:"evenodd"})));var se,re,ae,le;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},ce.apply(null,arguments)}const ge=e=>c.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 13 12"},e),se||(se=c.createElement("rect",{width:5,height:5,x:.5,fill:"currentColor",rx:1})),re||(re=c.createElement("rect",{width:5,height:5,x:7.5,fill:"currentColor",rx:1})),ae||(ae=c.createElement("rect",{width:5,height:5,x:.5,y:7,fill:"currentColor",rx:1})),le||(le=c.createElement("rect",{width:5,height:5,x:7.5,y:7,fill:"currentColor",rx:1})));var de,ue,pe,me,he;function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},fe.apply(null,arguments)}const ye=e=>c.createElement("svg",fe({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 17"},e),de||(de=c.createElement("circle",{cx:6.3,cy:9.551,r:6.3,fill:"currentColor"})),ue||(ue=c.createElement("circle",{cx:6.302,cy:9.551,r:4.2,fill:"#fff"})),pe||(pe=c.createElement("mask",{id:"nav-site-goals-icon_svg__a",width:13,height:13,x:3.551,y:-.449,fill:"#000",maskUnits:"userSpaceOnUse"},c.createElement("path",{fill:"#fff",d:"M3.551-.449h13v13h-13z"}),c.createElement("path",{d:"m11.71 4.254 1.875-.065-2.295 2.06-.91.182L7.92 8.89a1.75 1.75 0 1 1-.564-.733L9.65 5.701l.183-1.093 2-2.058z"}))),me||(me=c.createElement("path",{fill:"currentColor",d:"m11.71 4.254 1.875-.065-2.295 2.06-.91.182L7.92 8.89a1.75 1.75 0 1 1-.564-.733L9.65 5.701l.183-1.093 2-2.058z"})),he||(he=c.createElement("path",{fill:"#fff",d:"m11.71 4.254-.954-.07-.076 1.063 1.064-.037zm1.875-.065.64.713 1.96-1.76-2.633.09zM11.29 6.25l.187.939.257-.052.195-.175zm-.91.182-.187-.939-.285.057-.205.205zM7.92 8.89l-.677-.677-.45.45.241.589zM6.3 11.3v.958zm0-3.5v-.956zm1.055.356-.577.763.687.521.59-.63zm2.296-2.454.7.654.197-.211.047-.285zm.183-1.093-.686-.667-.209.215-.049.295zm2-2.058.955.069.189-2.62-1.83 1.884zm-.123 1.703.033.956 1.874-.064-.033-.957-.033-.956-1.874.064zm1.874-.065-.64-.712-2.294 2.06.639.712.64.712 2.294-2.06zM11.29 6.25l-.187-.939-.91.182.187.939.187.938.91-.181zm-.91.182-.677-.677-2.46 2.459.677.677.677.677 2.46-2.46zM7.92 8.89l-.886.362q.06.143.06.299h1.914a2.7 2.7 0 0 0-.202-1.023zm.13.66h-.956a.793.793 0 0 1-.793.794v1.914A2.707 2.707 0 0 0 9.008 9.55zM6.3 11.3v-.956a.793.793 0 0 1-.792-.793H3.594A2.707 2.707 0 0 0 6.3 12.258zM4.55 9.55h.958c0-.437.355-.792.793-.792V6.844A2.707 2.707 0 0 0 3.594 9.55zM6.3 7.8v.958c.179 0 .342.059.478.161l.577-.763.578-.763a2.7 2.7 0 0 0-1.632-.55zm1.055.356.7.654 2.295-2.454-.699-.654-.699-.654-2.295 2.454zm2.296-2.454.944.158.183-1.093-.944-.158-.944-.157-.183 1.092zm.183-1.093.687.667 2-2.058-.687-.667-.686-.667-2 2.058zm2-2.058-.955-.07-.123 1.704.955.069.955.069.123-1.703z",mask:"url(#nav-site-goals-icon_svg__a)"})));var be;function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},_e.apply(null,arguments)}const ke=e=>c.createElement("svg",_e({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 23 12"},e),be||(be=c.createElement("path",{fill:"currentColor",d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.622 12l6.9-6 4.6 4L20.7 3.42V6H23V0z"})));var ve,xe;function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Ne.apply(null,arguments)}const Ie=e=>c.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 16"},e),ve||(ve=c.createElement("path",{fill:"currentColor",d:"m18.378 4.543-1.232 1.854a8.02 8.02 0 0 1-.22 7.598H3.043A8.02 8.02 0 0 1 4.154 4.49 8.01 8.01 0 0 1 13.57 2.82l1.853-1.233A10.01 10.01 0 0 0 3.117 2.758a10.026 10.026 0 0 0-1.797 12.24A2 2 0 0 0 3.043 16h13.873a2 2 0 0 0 1.742-1.002 10.03 10.03 0 0 0-.27-10.465z"})),xe||(xe=c.createElement("path",{fill:"currentColor",d:"M8.572 11.399a2.003 2.003 0 0 0 2.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 0 0 0 2.837"})));var Ae;function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Te.apply(null,arguments)}const je=e=>c.createElement("svg",Te({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 16"},e),Ae||(Ae=c.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 0h3.971v16H7zM0 8h4v8H0zm18-3h-4v11h4z",clipRule:"evenodd"})));function Navigation(){const e=(0,q.Ay)(),t=(0,c.useRef)(),i=(0,B.A)(),n=function(){const e=(0,q.Ay)(),t=(0,F.A)();return(0,g.useSelect)(i=>{const n=t?i(x.oR).getViewableModules():null,o=i(x.oR).isKeyMetricsWidgetHidden(),s={modules:n||void 0};return Object.keys(te[e]).reduce((t,n)=>(n===$.SH&&o||i(ee.aO).isWidgetContextActive(te[e][n],s)&&t.push(n),t),[])})}(),{calculateScrollPosition:o,defaultChipID:s,findClosestSection:a,isValidChipID:d,scrollToChip:u,updateURLHash:p}=function({visibleSections:e}){const t=(0,K.dv)(),i=(0,F.A)(),n=(0,c.useCallback)(()=>e.includes($.SH)?$.SH:i?e[0]||"":$.OT,[i,e])(),o=(0,c.useCallback)(t=>e.includes(t),[e]),s=(0,c.useCallback)(e=>{globalThis.history.replaceState({},"",`#${e}`)},[]),r=(0,c.useCallback)(e=>e!==n?(0,X.YJ)(`#${e}`,t):0,[t,n]),a=(0,c.useCallback)(e=>{globalThis.scrollTo({top:r(e,t,n),behavior:"smooth"})},[t,r,n]),l=(0,c.useCallback)(t=>{const i=document.querySelector(".googlesitekit-entity-header")?.getBoundingClientRect?.()?.bottom,{bottom:o}=t?.current?.getBoundingClientRect?.()??{};let s,r=n;for(const t of e){const e=document.getElementById(t);if(!e)continue;const n=e.getBoundingClientRect().top-20-(i||o||0);n<0&&(void 0===s||s<n)&&(s=n,r=t)}return r},[n,e]);return{calculateScrollPosition:r,defaultChipID:n,findClosestSection:l,isValidChipID:o,scrollToChip:a,updateURLHash:s}}({visibleSections:n}),m=globalThis.location.hash?.substring(1),[h,y]=(0,c.useState)(m||void 0),[b,k]=(0,c.useState)(!1),[v,N]=(0,c.useState)(m),{setValue:I}=(0,g.useDispatch)(O.n),A=(0,c.useCallback)(({target:e})=>{const t=e.closest(".mdc-chip"),n=t?.dataset?.contextId;p(n),y(n),u(n),(0,_.sx)(`${i}_navigation`,"tab_select",n),setTimeout(()=>{I(O.F,n)},50)},[u,I,p,i]),T=(0,c.useCallback)(()=>{if(!t?.current)return;const{top:e}=t?.current?.getBoundingClientRect();if(0===globalThis.scrollY)k(!1);else{const t=document.querySelector(".googlesitekit-header")?.getBoundingClientRect?.()?.bottom;k(e===t)}},[]),j=(0,c.useCallback)(e=>{function n(e){I(O.F,void 0),N(e),y(void 0)}const o=a(t);if(h)h===o&&n(o);else{const{hash:t}=globalThis.location;o!==t?.substring(1)&&(e&&(0,_.sx)(`${i}_navigation`,"tab_scroll",o),p(o),n(o))}},[a,h,I,p,i]);(0,V.A)(()=>{if(!m)return N(s),void setTimeout(()=>p(s));const e=d(m)?m:s;N(e),I(O.F,e),setTimeout(()=>{const t=o(e);globalThis.scrollY!==t?u(e):I(O.F,void 0)},50)});const w=(0,c.useCallback)(e=>{T(),j(e)},[j,T]),S=(0,Q.A)(w,150);(0,W.A)("scroll",S);const M={[$.SH]:{label:(0,l.__)("Key metrics","google-site-kit"),icon:(0,f.jsx)(ge,{width:"18",height:"16"})},[$.OT]:{label:(0,l.__)("Traffic","google-site-kit"),icon:(0,f.jsx)(je,{width:"18",height:"16"})},[$.x2]:{label:(0,l.__)("Site goals","google-site-kit"),icon:(0,f.jsx)(ye,{width:"17",height:"17"})},[$.en]:{label:(0,l.__)("Content","google-site-kit"),icon:(0,f.jsx)(oe,{width:"18",height:"18"})},[$.Ej]:{label:(0,l.__)("Speed","google-site-kit"),icon:(0,f.jsx)(Ie,{width:"20",height:"16"})},[$.Gw]:{label:(0,l.__)("Monetization","google-site-kit"),icon:(0,f.jsx)(ke,{width:"18",height:"16"})}};return(0,f.jsx)("nav",{className:r()("mdc-chip-set","googlesitekit-navigation",`googlesitekit-navigation--${e}`,{"googlesitekit-navigation--is-sticky":b}),ref:t,children:n.map(e=>(0,f.jsx)(Z.Chip,{id:e,label:M[e].label,leadingIcon:M[e].icon,onClick:A,selected:v===e,"data-context-id":e},e))})}function DashboardNavigation(){const e=(0,F.A)(),t=(0,g.useSelect)(t=>e?t(x.oR).getViewableModules():null),i=(0,g.useSelect)(e=>e(x.oR).getKeyMetrics());return(0,f.jsx)(Y.A,{loading:void 0===t||void 0===i,width:"100%",smallHeight:"59px",height:"71px",children:(0,f.jsx)(Navigation,{})})}var we,Se;function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Me.apply(null,arguments)}const Ce=e=>c.createElement("svg",Me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),we||(we=c.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),Se||(Se=c.createElement("path",{fill:"currentColor",d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"})));var Ee=i(38432),De=i(83880),Oe=i(48276);const Re=function EntityHeader(){const e=(0,B.A)(),t=(0,q.Ay)(),i=(0,g.useSelect)(e=>e(D.O4).getCurrentEntityTitle()),n=(0,g.useSelect)(e=>e(D.O4).getCurrentEntityURL()),o=(0,c.useRef)(),[s,r]=(0,c.useState)(n),a=(0,c.useCallback)(()=>{if(!o.current)return;const e=o.current.clientWidth-40,t=globalThis.getComputedStyle(o.current.lastChild,null).getPropertyValue("font-size"),i=2*e/parseFloat(t);r((0,Oe.r0)(n,i))},[n]),d=(0,Q.A)(a,150);(0,W.A)("resize",d);const{navigateTo:u}=(0,g.useDispatch)(R.M),p=(0,g.useSelect)(e=>e(D.O4).getAdminURL("googlesitekit-dashboard")),h=(0,c.useCallback)(()=>{(0,_.sx)(`${e}_navigation`,"return_to_dashboard"),u(p)},[p,u,e]);return q.oE!==t||null===n||null===i?null:(0,f.jsxs)("div",{className:"googlesitekit-entity-header",children:[(0,f.jsx)("div",{className:"googlesitekit-entity-header__back",children:(0,f.jsx)(m.Button,{icon:(0,f.jsx)(Ce,{width:24,height:24}),"aria-label":(0,l.__)("Back to dashboard","google-site-kit"),onClick:h,text:!0,tertiary:!0,children:(0,l.__)("Back to dashboard","google-site-kit")})}),(0,f.jsxs)("div",{ref:o,className:"googlesitekit-entity-header__details",children:[(0,f.jsx)(De.A,{children:i}),(0,f.jsx)(Ee.A,{href:n,"aria-label":n,secondary:!0,external:!0,children:s})]})]})};var ze;function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Le.apply(null,arguments)}const Pe=e=>c.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 10"},e),ze||(ze=c.createElement("path",{fill:"currentColor",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.667S2.785 7.247 1.585 5C2.785 2.753 5.244 1.333 8 1.333M8 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-5m0 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.333M8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8s3.273-1.347 3.273-3S9.803 2 8 2"})));var Be=i(13606);function Description(){const e=(0,B.A)(),t=(0,g.useSelect)(e=>e(x.oR).hasCapability(x.ej)),i=(0,g.useSelect)(e=>e(D.O4).getProxySetupURL()),n=(0,g.useSelect)(e=>e(D.O4).getDocumentationLinkURL("dashboard-sharing")),{navigateTo:o}=(0,g.useDispatch)(R.M),s=(0,c.useCallback)(async t=>{t.preventDefault(),await Promise.all([(0,k.SO)("start_user_setup",!0),(0,_.sx)(`${e}_headerbar_viewonly`,"start_user_setup",i?"proxy":"custom-oauth")]),o(i)},[i,o,e]),r=(0,c.useCallback)(()=>{(0,_.sx)(`${e}_headerbar_viewonly`,"click_learn_more_link")},[e]),a=t?(0,l.__)("You can see stats from all shared Google services, but you can't make any changes. Sign in to connect more services and control sharing access.","google-site-kit"):(0,Be.A)((0,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:(0,f.jsx)(Ee.A,{href:n,onClick:r,"aria-label":(0,l.__)("Learn more about dashboard sharing","google-site-kit"),external:!0})});return(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)(De.A,{className:"googlesitekit-view-only-menu__signin",children:a}),t&&(0,f.jsx)(m.Button,{onClick:s,children:(0,l._x)("Sign in with Google","Service name","google-site-kit")})]})}var He=i(88273);function Service({module:e}){const t=(0,g.useSelect)(e=>e(x.oR).hasCapability(x.ej)),{name:i,owner:n}=(0,g.useSelect)(t=>t(He.i).getModule(e)||{}),o=(0,g.useSelect)(t=>t(He.i).getModuleIcon(e));return(0,f.jsxs)("li",{className:"googlesitekit-view-only-menu__service",children:[(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__service--icon",children:(0,f.jsx)(o,{height:26})}),(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__service--name",children:i}),t&&n?.login&&(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__service--owner",children:n.login})]})}function SharedServices({viewableModules:e}){return Array.isArray(e)?(0,f.jsx)("ul",{children:e.map(e=>(0,f.jsx)(Service,{module:e},e))}):null}Service.propTypes={module:o().string.isRequired},SharedServices.propTypes={viewableModules:o().arrayOf(o().string)};var Ue=i(11974);function Tracking(){const e=(0,B.A)();return(0,f.jsx)(Ue.A,{title:(0,l.__)("Help us improve Site Kit","google-site-kit"),description:(0,Be.A)((0,l.__)("Share anonymous usage data. All collected data is treated in accordance with the <a>Google Privacy Policy</a>","google-site-kit"),{a:(0,f.jsx)(Ee.A,{href:"https://policies.google.com/privacy",external:!0})}),trackEventCategory:`${e}_headerbar_viewonly`,layout:"stacked"})}var Ge=i(52696);function ManageEmailReports(){const{setValue:e}=(0,Ge.wA)(O.n);return(0,Ge.WM)(e=>{const t=e(x.oR).getViewableModules();if(void 0!==t)return t.includes("analytics-4")||t.includes("search-console")})?(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)(Divider,{}),(0,f.jsx)(MenuItem,{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__email-reporting",isInteractive:!1,children:(0,f.jsx)(m.Button,{className:"googlesitekit-view-only-menu__email-reporting-item",onClick:()=>e(L.Q,!0),icon:(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__email-reporting-item--icon",children:(0,f.jsx)(E.A,{width:"24"})}),tertiary:!0,children:(0,f.jsx)("span",{className:"googlesitekit-view-only-menu__email-reporting-item--name",children:(0,l.__)("Manage email reports","google-site-kit")})})})]}):null}var Fe=i(33052);function ViewOnlyMenu(){const e=(0,U.i)("proactiveUserEngagement"),[t,i]=(0,c.useState)(!1),n=(0,c.useRef)(),o=(0,B.A)();(0,u.A)(n,()=>i(!1)),(0,P.l)([p._f,p.wn],n,()=>i(!1));const s=(0,c.useCallback)(()=>{t||(0,_.sx)(`${o}_headerbar`,"open_viewonly"),i(!t)},[t,o]),a=(0,g.useSelect)(e=>e(x.oR).hasCapability(x.ej)),d=(0,g.useSelect)(e=>e(x.oR).getViewableModules());return(0,f.jsxs)("div",{ref:n,className:r()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":a}),children:[(0,f.jsx)(m.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",onClick:s,icon:(0,f.jsx)("span",{className:"mdc-button__icon","aria-hidden":"true",children:(0,f.jsx)(Pe,{className:"mdc-button__icon--image"})}),"aria-haspopup":"menu","aria-expanded":t,"aria-controls":"view-only-menu","aria-label":(0,l.__)("View only","google-site-kit"),tooltipEnterDelayInMS:500,text:!0,tooltip:!0,children:(0,l.__)("View only","google-site-kit")}),(0,f.jsxs)(m.Menu,{menuOpen:t,onSelected:s,id:"view-only-menu",nonInteractive:!0,children:[(0,f.jsx)(MenuSection,{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description",children:(0,f.jsx)(Description,{})}),Array.isArray(d)&&(0,f.jsx)(MenuWithHeading,{className:"googlesitekit-view-only-menu__list-item",heading:(0,f.jsx)(Fe.A,{as:"h4",size:"medium",type:"label",children:(0,l.__)("Shared services","google-site-kit")}),children:(0,f.jsx)(SharedServices,{viewableModules:d})}),e&&(0,f.jsx)(ManageEmailReports,{}),(0,f.jsx)(Divider,{}),(0,f.jsx)(MenuSection,{className:"googlesitekit-view-only-menu__list-item",children:(0,f.jsx)(Tracking,{})})]})]})}var Ye=i(8732),Ve=i(84730),We=i(89766);function CoreSiteBannerNotification({id:e,...t}){const{dismissNotification:i,acceptNotification:n}=(0,g.useDispatch)(D.O4),o=(0,c.useCallback)(()=>{n(e)},[e,n]),s=(0,c.useCallback)(()=>{i(e)},[e,i]);return(0,f.jsx)(We.A,{onCTAClick:o,onDismissClick:s,...t,id:e})}CoreSiteBannerNotification.propTypes={content:o().string,ctaLabel:o().string,ctaTarget:o().string,ctaURL:o().string,dismissLabel:o().string,dismissible:o().bool,gaTrackingEventArgs:o().object,id:o().string.isRequired,learnMoreLabel:o().string,learnMoreURL:o().string,title:o().string.isRequired},CoreSiteBannerNotification.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:(0,l.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""};const Ze=CoreSiteBannerNotification;const Qe=function CoreSiteBannerNotifications(){const e=(0,B.A)(),[t,i]=(0,c.useState)(!1),[n,o]=(0,c.useState)(!1),s=(0,c.useRef)(Date.now()),r=(0,g.useSelect)(e=>e(D.O4).isUsingProxy()&&!1===e(x.oR).areSurveysOnCooldown()?e(x.oR).getCurrentSurvey():null),[a,l]=(0,c.useState)([]),{registerNotification:d}=(0,g.useDispatch)(Ye.D),u=(0,g.useSelect)(e=>e(D.O4).getNotifications());return(0,c.useEffect)(()=>{const e=setTimeout(()=>{n||i(!0)},5e3);return()=>{clearTimeout(e)}},[n]),(0,c.useEffect)(()=>{Math.floor((Date.now()-s.current)/1e3)<5&&r&&o(!0)},[s,r,o]),(0,c.useEffect)(()=>{t&&!n&&u?.forEach(t=>{if(a.includes(t.id))return;const i={category:`${e}_remote-site-notification`,label:t.id};d(t.id,{Component:({Notification:e})=>(0,f.jsx)(e,{gaTrackingEventArgs:i,children:(0,f.jsx)(Ze,{...t,gaTrackingEventArgs:i})}),priority:t.priority,areaSlug:Ve.bI.HEADER,isDismissible:t.dismissible}),l(e=>(e.push(t.id),e))})},[e,n,u,d,a,t]),null};var $e=i(67510),qe=i(67438);function InternalServerError(){const e=(0,g.useSelect)(e=>e(D.O4).getInternalServerError());return e?(0,f.jsx)(qe.A,{id:"internal-server-error",children:(0,f.jsx)($e.A,{notificationID:"internal-server-error",type:$e.Q.ERROR,title:e.title,description:e.description})}):null}function LegacyNotifications(){const e=(0,F.A)(),t=(0,q.Ay)(),i=(0,g.useSelect)(e=>e(x.oR).isAuthenticated());return(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)(InternalServerError,{}),!e&&t===q.Oo&&i&&(0,f.jsx)(Qe,{})]})}var Xe=i(37834);function Header({children:e,subHeader:t,showNavigation:i}){const n=!!(0,q.Ay)(),o=(0,F.A)();!function(){const e=(0,B.A)(),t=(0,g.useSelect)(e=>e(D.O4).isUsingProxy()),i=(0,g.useSelect)(e=>e(D.O4).getSetupErrorMessage()),n=(0,U.i)("setupFlowRefresh");(0,c.useEffect)(()=>{n||i||void 0===t||async function(){const i=await(0,k.Gq)("start_user_setup"),n=await(0,k.Gq)("start_site_setup");i.cacheHit&&(await(0,k.LD)("start_user_setup"),(0,_.sx)(`${e}_setup`,"complete_user_setup",t?"proxy":"custom-oauth")),n.cacheHit&&(await(0,k.LD)("start_site_setup"),(0,_.sx)(`${e}_setup`,"complete_site_setup",t?"proxy":"custom-oauth"))}()},[n,e,t,i])}();const s=(0,g.useSelect)(e=>e(D.O4).getAdminURL("googlesitekit-dashboard")),u=(0,g.useSelect)(e=>e(x.oR).isAuthenticated()),[p,m]=(0,a.A)({childList:!0}),h=!!m.target?.childElementCount;return(0,f.jsxs)(c.Fragment,{children:[(0,f.jsx)("header",{className:r()("googlesitekit-header",{"googlesitekit-header--has-subheader":h,"googlesitekit-header--has-navigation":i}),children:(0,f.jsx)(G.xA,{children:(0,f.jsxs)(G.fI,{children:[(0,f.jsx)(G.fh,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0,children:(0,f.jsx)(Ee.A,{"aria-label":(0,l.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:s,children:(0,f.jsx)(d.A,{})})}),(0,f.jsxs)(G.fh,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0,children:[e,!u&&n&&o&&(0,f.jsx)(ViewOnlyMenu,{}),u&&!o&&(0,f.jsx)(UserMenu,{})]})]})})}),(0,f.jsx)("div",{className:"googlesitekit-subheader",ref:p,children:t}),i&&(0,f.jsx)(DashboardNavigation,{}),(0,f.jsx)(Re,{}),(0,f.jsx)(LegacyNotifications,{}),(0,f.jsx)(Xe.A,{areaSlug:Ve.bI.HEADER})]})}Header.displayName="Header",Header.propTypes={children:o().node,subHeader:o().element,showNavigation:o().bool},Header.defaultProps={children:null,subHeader:null};const Ke=Header},50304(e,t,i){i.d(t,{A:()=>IconWrapper});var n=i(62688),o=i.n(n),s=i(62540);function IconWrapper({children:e,marginLeft:t,marginRight:i}){return(0,s.jsx)("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:t,marginRight:i},children:e})}IconWrapper.propTypes={children:o().node.isRequired,marginLeft:o().number,marginRight:o().number}},52735(e,t,i){i.d(t,{A:()=>n});const n=(0,i(63696).createContext)(!1)},20762(e,t,i){i.d(t,{Ay:()=>r});var n=i(52735);const{Consumer:o,Provider:s}=n.A,r=s},38432(e,t,i){i.d(t,{A:()=>w});var n,o=i(4452),s=i.n(o),r=i(62688),a=i.n(r),l=i(39941),c=i(63696),g=i(82871);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},d.apply(null,arguments)}const u=e=>c.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),n||(n=c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{cx:6.5,cy:6.5,r:6.5,fill:"currentColor"}),c.createElement("path",{fill:"#FFF",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.46.46 0 0 0 .325-.135l3.037-3.038a.46.46 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.46.46 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var p;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},m.apply(null,arguments)}const h=e=>c.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),p||(p=c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{cx:6.5,cy:6.5,r:6.5,fill:"#FFF"}),c.createElement("path",{fill:"currentColor",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.46.46 0 0 0 .325-.135l3.037-3.038a.46.46 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.46.46 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var f;function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},y.apply(null,arguments)}const b=e=>c.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),f||(f=c.createElement("path",{d:"m12 20-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6z"})));var _=i(83366),k=i(50304),v=i(62540);const x="BUTTON",N="BUTTON_DISABLED",I="EXTERNAL_LINK",A="LINK",T="ROUTER_LINK",j=(0,c.forwardRef)((e,t)=>{const{"aria-label":i,secondary:n=!1,arrow:o=!1,back:r=!1,caps:a=!1,children:c,className:d="",danger:p=!1,disabled:m=!1,external:f=!1,hideExternalIndicator:y=!1,href:j="",inverse:w=!1,noFlex:S=!1,onClick:M,small:C=!1,standalone:E=!1,linkButton:D=!1,to:O,leadingIcon:R,trailingIcon:z,...L}=e;const P=j||O||!M?O?T:f?I:A:m?N:x;const B=P===x||P===N?"button":P===T?l.N_:"a",H=function(){let e;return P===I&&(e=(0,g._x)("(opens in a new tab)","screen reader text","google-site-kit")),P===N&&(e=(0,g._x)("(disabled)","screen reader text","google-site-kit")),e?i?`${i} ${e}`:"string"==typeof c?`${c} ${e}`:void 0:i}();let U=R,G=z;return r&&(U=(0,v.jsx)(b,{width:14,height:14})),f&&!y&&(G=(0,v.jsx)(_.A,{width:14,height:14})),o&&!w&&(G=(0,v.jsx)(u,{width:14,height:14})),o&&w&&(G=(0,v.jsx)(h,{width:14,height:14})),(0,v.jsxs)(B,{"aria-label":H,className:s()("googlesitekit-cta-link",d,{"googlesitekit-cta-link--secondary":n,"googlesitekit-cta-link--inverse":w,"googlesitekit-cta-link--small":C,"googlesitekit-cta-link--caps":a,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":m,"googlesitekit-cta-link--standalone":E,"googlesitekit-cta-link--link-button":D,"googlesitekit-cta-link--no-flex":!!S}),disabled:m,href:P!==A&&P!==I||m?void 0:j,onClick:M,rel:P===I?"noopener noreferrer":void 0,ref:t,target:P===I?"_blank":void 0,to:O,...L,children:[!!U&&(0,v.jsx)(k.A,{marginRight:5,children:U}),(0,v.jsx)("span",{className:"googlesitekit-cta-link__contents",children:c}),!!G&&(0,v.jsx)(k.A,{marginLeft:5,children:G})]})});j.propTypes={arrow:a().bool,back:a().bool,caps:a().bool,children:a().node,className:a().string,danger:a().bool,disabled:a().bool,external:a().bool,hideExternalIndicator:a().bool,href:a().string,inverse:a().bool,leadingIcon:a().node,linkButton:a().bool,noFlex:a().bool,onClick:a().func,small:a().bool,standalone:a().bool,to:a().string,trailingIcon:a().node};const w=j},45257(e,t,i){i.d(t,{A:()=>LoadingWrapper});var n=i(62688),o=i.n(n),s=i(4751),r=i(62540);function LoadingWrapper({loading:e,children:t,...i}){return e?(0,r.jsx)(s.A,{...i}):t}LoadingWrapper.propTypes={loading:o().bool,children:o().node,...s.A.propTypes}},44436(e,t,i){i.d(t,{A:()=>d});var n,o=i(82871),s=i(88933),r=i(63696);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}const l=e=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 80 21"},e),n||(n=r.createElement("path",{fill:"#5F6368",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.1zM69.985 3.117c0 .454-.167.853-.488 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.6 1.6 0 0 1-.488-1.175c0-.466.166-.854.488-1.176s.71-.488 1.175-.488c.455 0 .854.166 1.176.488.332.333.487.72.487 1.176m-.477 4.313v12.498h-2.351V7.43zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943q-1.014-.948-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.333M2.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.974q-.883-.781-3.094-1.564l-1.22-.432Q3.371 9.997 2.04 8.716C1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673S2.75 1.209 3.693.72C4.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.676-.91 1.032-.91 1.742c0 .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 6 0 0 1-2.495 1.919 8 8 0 0 1-3.116.621c-1.62 0-3.072-.466-4.358-1.408M15.969 3.449a1.95 1.95 0 0 1-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0 1 17.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 0 1-1.43.589c-.566-.012-1.043-.2-1.431-.588m-.067 2.595h2.994v13.883h-2.994zM25.406 19.85c-.544-.2-.987-.466-1.331-.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-.122q.35-.116.765-.399v2.917c-.599.277-1.32.41-2.173.41a5 5 0 0 1-1.753-.3M33.623 19.407a6.63 6.63 0 0 1-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.706s2.251-1.01 3.593-1.01c1.397 0 2.606.311 3.637.921a6.1 6.1 0 0 1 2.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.16 4.16 0 0 0 2.817 1.043c.854 0 1.597-.189 2.218-.588a4.27 4.27 0 0 0 1.508-1.597l2.528 1.198q-.981 1.713-2.561 2.694c-1.054.655-2.318.976-3.782.976q-2.046.033-3.66-.931m7.23-8.051a3.3 3.3 0 0 0-.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.296z"})));var c=i(55989),g=i(62540);const d=function Logo(){return(0,g.jsxs)("div",{className:"googlesitekit-logo","aria-hidden":"true",children:[(0,g.jsx)(s.A,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),(0,g.jsx)(l,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),(0,g.jsx)(c.A,{children:(0,o.__)("Site Kit by Google Logo","google-site-kit")})]})}},59865(e,t,i){i.d(t,{A:()=>p});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(52684),l=i(13606),c=i(82871),g=i(49383),d=i(85149),u=i(62540);function ModalDialog({className:e="",dialogActive:t=!1,handleCancel:i=null,onOpen:n=null,onClose:o=null,title:s=null,provides:p,handleConfirm:m,subtitle:h,confirmButton:f=null,notes:y=[],danger:b=!1,inProgress:_=!1,small:k=!1,medium:v=!1,buttonLink:x=null}){const N=`googlesitekit-dialog-description-${(0,a.A)(ModalDialog)}`,I=!(!p||!p.length);return(0,u.jsxs)(g.Dialog,{open:t,onOpen:n,onClose:o,"aria-describedby":I?N:void 0,tabIndex:"-1",className:r()(e,{"googlesitekit-dialog-sm":k,"googlesitekit-dialog-md":v}),children:[(0,u.jsxs)(g.DialogTitle,{children:[b&&(0,u.jsx)(d.A,{width:28,height:28}),s]}),h?(0,u.jsx)("p",{className:"mdc-dialog__lead",children:h}):[],(0,u.jsxs)(g.DialogContent,{children:[I&&(0,u.jsx)("section",{id:N,className:"mdc-dialog__provides",children:(0,u.jsx)("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive",children:p.map(e=>(0,u.jsx)("li",{className:"mdc-list-item",children:(0,u.jsx)("span",{className:"mdc-list-item__text",children:e})},e))})}),y.length>0&&(0,u.jsx)("section",{className:"mdc-dialog__notes",children:y.map((e,t)=>(0,u.jsxs)("p",{className:"mdc-dialog__note",children:["string"==typeof e&&(0,l.A)((0,c.sprintf)(/* translators: %s is replaced with some sub-note text. */ /* translators: %s is replaced with some sub-note text. */ (0,c.__)("<strong>Note:</strong> %s","google-site-kit"),e),{strong:(0,u.jsx)("strong",{})}),"function"==typeof e&&(0,u.jsx)(e,{})]},`note-${t}`))})]}),(0,u.jsxs)(g.DialogFooter,{children:[(0,u.jsx)(g.Button,{className:"mdc-dialog__cancel-button",onClick:i,tertiary:!0,children:(0,c.__)("Cancel","google-site-kit")}),x?(0,u.jsx)(g.Button,{href:x,onClick:m,target:"_blank",danger:b,children:f}):(0,u.jsx)(g.SpinnerButton,{onClick:m,danger:b,disabled:_,isSaving:_,children:f||(0,c.__)("Disconnect","google-site-kit")})]})]})}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:o().string,dialogActive:o().bool,handleDialog:o().func,handleConfirm:o().func.isRequired,onOpen:o().func,onClose:o().func,title:o().string,provides:o().arrayOf(o().string),confirmButton:o().string,notes:o().arrayOf(o().oneOfType([o().string,o().elementType])),danger:o().bool,small:o().bool,medium:o().bool,buttonLink:o().string};const p=ModalDialog},25797(e,t,i){i.d(t,{A:()=>_});var n,o=i(62688),s=i.n(o),r=i(4452),a=i.n(r),l=i(63696),c=i(19793);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},g.apply(null,arguments)}const warning_notice=e=>l.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=l.createElement("path",{fill:"currentColor",d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1m0 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-1-2h2V6h-2z"})));var d=i(42343),u=i(3749),p=i(62540);const m={[u.Q.NEW]:d.A,[u.Q.SUCCESS]:c.A,[u.Q.INFO]:warning_notice,[u.Q.WARNING]:warning_notice,[u.Q.ERROR]:warning_notice};function Icon({type:e}){const t=m[e]||warning_notice;return(0,p.jsx)(t,{width:24,height:24})}function Title({className:e,children:t}){return(0,p.jsx)("p",{className:a()("googlesitekit-notice__title",e),children:t})}function Description({className:e,children:t}){return(0,p.jsx)("p",{className:a()("googlesitekit-notice__description",e),children:t})}Icon.propTypes={type:s().oneOf(Object.values(u.Q))},Title.propTypes={className:s().string,children:s().node},Description.propTypes={className:s().string,children:s().node};var h=i(49383),f=i(83366);function CTAButton({label:e,disabled:t,inProgress:i,onClick:n,href:o,external:s=!1,hideExternalIndicator:r=!1}){let l;return s&&!r&&(l=(0,p.jsx)(f.A,{width:14,height:14})),(0,p.jsx)(h.SpinnerButton,{className:a()("googlesitekit-notice__cta",{"googlesitekit-notice__cta--spinner__running":i}),disabled:t,isSaving:i,onClick:n,href:o,target:s?"_blank":void 0,trailingIcon:l,children:e})}CTAButton.propTypes={label:s().string.isRequired,disabled:s().bool,inProgress:s().bool,onClick:s().func,href:s().string,external:s().bool,hideExternalIndicator:s().bool};var y=i(82871);function DismissButton({label:e=(0,y.__)("Got it","google-site-kit"),onClick:t,disabled:i,href:n,external:o=!1}){return(0,p.jsx)(h.Button,{onClick:t,disabled:i,href:n,target:o?"_blank":void 0,tertiary:!0,children:e})}DismissButton.propTypes={label:s().string,onClick:s().func.isRequired,disabled:s().bool,href:s().string,external:s().bool};const b=(0,l.forwardRef)(({className:e,title:t,description:i,dismissButton:n,ctaButton:o,type:s=u.Q.INFO,children:r,hideIcon:l},c)=>(0,p.jsx)("div",{className:"googlesitekit-notice-container",ref:c,children:(0,p.jsxs)("div",{className:a()("googlesitekit-notice",`googlesitekit-notice--${s}`,e),role:"status",children:[!l&&(0,p.jsx)("div",{className:"googlesitekit-notice__icon",children:(0,p.jsx)(Icon,{type:s})}),(0,p.jsxs)("div",{className:"googlesitekit-notice__content",children:[t&&(0,p.jsx)(Title,{children:t}),i&&(0,p.jsx)(Description,{children:i})]}),(n?.label||n?.onClick||o?.label&&(o?.onClick||o?.href)||r)&&(0,p.jsxs)("div",{className:"googlesitekit-notice__action",children:[r,(n?.label||n?.onClick)&&(0,p.jsx)(DismissButton,{label:n.label,onClick:n.onClick,disabled:n.disabled,href:n.href,external:n.external}),o?.label&&(o?.onClick||o?.href)&&(0,p.jsx)(CTAButton,{label:o.label,onClick:o.onClick,inProgress:o.inProgress,disabled:o.disabled,href:o.href,external:o.external,hideExternalIndicator:o.hideExternalIndicator})]})]})}));b.TYPES=u.Q,b.propTypes={className:s().string,title:s().oneOfType([s().string,s().object]),description:s().node,type:s().oneOf(Object.values(u.Q)),dismissButton:s().shape(DismissButton.propTypes),ctaButton:s().shape({...CTAButton.propTypes,label:s().string}),children:s().node,hideIcon:s().bool};const _=b},89766(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(67510),r=i(13047),a=i(62540);function NotificationFromServer({id:e,titleIcon:t,title:i,content:n,ctaLabel:o,ctaTarget:l,ctaURL:c,dismissible:g,dismissLabel:d,learnMoreLabel:u,learnMoreURL:p,onCTAClick:m,onDismissClick:h,gaTrackingEventArgs:f}){const y={expiresInSeconds:r.Jg};return(0,a.jsx)(s.A,{notificationID:e,type:s.Q.WARNING,titleIcon:t||void 0,title:i,description:n,learnMoreLink:p?{label:u,href:p}:void 0,ctaButton:{label:o,href:c,onClick:m,dismissOptions:y,external:"_blank"===l},dismissButton:g?{label:d,onClick:h,dismissOptions:y}:void 0,gaTrackingEventArgs:f})}NotificationFromServer.propTypes={id:o().string.isRequired,title:o().string.isRequired,content:o().node,ctaLabel:o().string,ctaTarget:o().string,ctaURL:o().string,dismissible:o().bool,dismissLabel:o().string,learnMoreLabel:o().string,learnMoreURL:o().string,onCTAClick:o().func,onDismissClick:o().func,gaTrackingEventArgs:o().object};const l=NotificationFromServer},11974(e,t,i){i.d(t,{A:()=>OptIn});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(13606),c=i(82871),g=i(50539),d=i(97345),u=i(65054),p=i(38432),m=i(62659),h=i(7076),f=i(49383),y=i(62540);function LayoutDefault({checkboxProps:e,label:t}){return(0,y.jsx)(f.Checkbox,{...e,children:t})}function LayoutStacked({checkboxProps:e,title:t,description:i}){return(0,y.jsxs)(a.Fragment,{children:[(0,y.jsx)(f.Checkbox,{...e,children:t}),(0,y.jsx)("div",{className:"googlesitekit-opt-in__description",children:i})]})}LayoutDefault.propTypes={checkboxProps:o().object.isRequired,label:o().node.isRequired},LayoutStacked.propTypes={checkboxProps:o().object.isRequired,title:o().node.isRequired,description:o().node.isRequired};const b="default",_="stacked";function OptIn({id:e="googlesitekit-opt-in",name:t="optIn",className:i,layout:n=b,title:o=null,description:s=null,trackEventCategory:f,trackEventAction:k="tracking_optin"}){const[v,x]=(0,a.useState)(),N=(0,g.useSelect)(e=>e(d.oR).isTrackingEnabled()),I=(0,g.useSelect)(e=>e(d.oR).getErrorForAction("setTrackingEnabled",[!N])),{setTrackingEnabled:A}=(0,g.useDispatch)(d.oR),T=(0,m.A)(),j=(0,a.useCallback)(async e=>{const{response:t,error:i}=await A(e);i?x(N):((0,u.M9)(t.enabled),t.enabled&&(0,u.sx)(f||T,k))},[N,A,f,k,T]);(0,a.useEffect)(()=>{void 0!==N&&void 0===v&&x(N)},[N,v]);const w=(0,h.d)(j,300),S=(0,a.useCallback)(e=>{const t=e.target.checked;x(t),w(t)},[w]),M=o??(0,y.jsx)("span",{children:(0,c.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")}),C=s??(0,l.A)((0,c.__)("<span>All collected data is treated in accordance with the <a>Google Privacy Policy</a></span>","google-site-kit"),{a:(0,y.jsx)(p.A,{href:"https://policies.google.com/privacy",external:!0},"link"),span:(0,y.jsx)("span",{})}),E={id:e,name:t,value:"1",checked:v,onChange:S,loading:void 0===N};return(0,y.jsxs)("div",{className:r()("googlesitekit-opt-in",i,n===_&&"googlesitekit-opt-in--layout-stacked"),children:[n===_?(0,y.jsx)(LayoutStacked,{checkboxProps:E,title:M,description:C}):(0,y.jsx)(LayoutDefault,{checkboxProps:E,label:(0,y.jsxs)(a.Fragment,{children:[M," ",C]})}),I?.message&&(0,y.jsx)("div",{className:"googlesitekit-error-text",children:I?.message})]})}OptIn.propTypes={id:o().string,name:o().string,className:o().string,title:o().node,description:o().node,layout:o().oneOf([b,_]),trackEventCategory:o().string}},94656(e,t,i){i.d(t,{A:()=>l});var n=i(47209),o=i(62688),s=i.n(o),r=i(63696),a=i(78325);function Portal({children:e,slug:t}){const[i]=(0,r.useState)(document.createElement("div"));return(0,n.A)(()=>{t&&i.classList.add(`googlesitekit-portal-${t}`);const e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(i),()=>e.removeChild(i)}),(0,a.createPortal)(e,i)}Portal.propTypes={slug:s().string,children:s().node},Portal.defaultProps={slug:"",children:null};const l=Portal},4751(e,t,i){i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(97513),l=i(62540);function PreviewBlock({className:e,width:t,height:i,shape:n,padding:o,smallWidth:s,smallHeight:c,tabletWidth:g,tabletHeight:d,desktopWidth:u,desktopHeight:p}){const m=(0,a.dv)(),h={width:{[a.mp]:s,[a.Lg]:g,[a.Fo]:u,[a.Qb]:u},height:{[a.mp]:c,[a.Lg]:d,[a.Fo]:p,[a.Qb]:u}};return(0,l.jsx)("div",{className:r()("googlesitekit-preview-block",e,{"googlesitekit-preview-block--padding":o}),style:{width:h.width[m]||t,height:h.height[m]||i},children:(0,l.jsx)("div",{className:r()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===n})})})}PreviewBlock.propTypes={className:o().string,width:o().string,height:o().string,shape:o().string,padding:o().bool,smallWidth:o().string,smallHeight:o().string,tabletWidth:o().string,tabletHeight:o().string,desktopWidth:o().string,desktopHeight:o().string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0};const c=PreviewBlock},88288(e,t,i){i.d(t,{A:()=>ProgressIndicator});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(62540);function ProgressIndicator({currentSegment:e=0,totalSegments:t=0,className:i}){return(0,a.jsxs)("div",{style:{gridTemplateColumns:`46px repeat(${t||1}, 1fr)`},className:o()("googlesitekit-progress-indicator",i),children:[(0,a.jsx)("div",{className:o()("googlesitekit-progress-indicator__segment")}),t>0&&Array.from(Array(e+1).keys()).map(i=>(0,a.jsx)("div",{className:o()("googlesitekit-progress-indicator__segment",{"googlesitekit-progress-indicator__segment--final":e+1===t})},i))]})}ProgressIndicator.propTypes={currentSegment:r().number,totalSegments:r().number,className:r().string}},82246(e,t,i){i.d(t,{A:()=>d});var n=i(62688),o=i.n(n),s=i(63696),r=i(81276),a=i(49383),l=i(59865),c=i(62540);let g=null;function RefocusableModalDialog({dialogActive:e=!1,refocusQuerySelector:t=null,...i}){const n=(0,s.useCallback)(()=>{setTimeout(()=>{const e=t?document.querySelector(t):g;e&&document.body.contains(e)&&e.focus(),t||(g=null)})},[t]),o=(0,r.A)(e);return(0,s.useEffect)(()=>(!0===o&&!1===e&&n(),()=>{n()}),[o,e,n]),(0,c.jsx)(l.A,{dialogActive:e,...i})}!function(){function e(e){const t=e.target.closest("button, a, input");t&&!t.classList.contains("mdc-dialog__cancel-button")&&(g=t)}"undefined"!=typeof globalThis&&globalThis.document&&!globalThis._googlesitekitModalFocusTrackerInitialized&&(globalThis.document.addEventListener("mousedown",e),globalThis.document.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||e(t)}),globalThis._googlesitekitModalFocusTrackerInitialized=!0)}(),RefocusableModalDialog.propTypes={dialogActive:o().bool,refocusQuerySelector:o().string,...a.Dialog.propTypes};const d=RefocusableModalDialog},19826(e,t,i){i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)(""),{Consumer:o,Provider:s}=n,r=n},63081(e,t,i){i.d(t,{A:()=>Root});var n=i(62688),o=i.n(n),s=i(44010),r=i(77105),a=i(63696),l=i(50539),c=i.n(l),g=i(82871),d=i(6730),u=i(19826),p=i(67510),m=i(13047),h=i(62540);class ErrorHandler extends a.Component{constructor(e){super(e),this.state={error:null,info:null,copied:!1}}componentDidCatch(e,t){globalThis.console.error("Caught an error:",e,t),this.setState({error:e,info:t}),(0,m.sx)("react_error",`handle_${this.context||"unknown"}_error`,`${e?.message}\n${t?.componentStack}`.slice(0,500))}render(){const{children:e,hideFilenamesInStack:t}=this.props,{error:i,info:n}=this.state;if(!i)return e;let o=n?.componentStack;return t&&o&&(o=o.replace(/\(.*\)/g,"(filtered)").replace(/at (.+) ?https?:\/\/.*/g,"at $1 (filtered)").replace(/at https?:\/\/.*/g,"").replace(/\n \n /g,"\n ")),(0,h.jsx)(p.A,{notificationID:"googlesitekit-error",className:"googlesitekit-error-handler",type:"error",title:(0,g.__)("Site Kit encountered an error","google-site-kit"),description:(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)(d.A,{message:i.message,componentStack:o}),(0,h.jsxs)("pre",{className:"googlesitekit-overflow-auto",children:[i.message,o]})]})})}}ErrorHandler.contextType=u.Ay,ErrorHandler.propTypes={children:o().node.isRequired};const f=ErrorHandler;var y=i(79961);const{Consumer:b,Provider:_}=y.A,k=_;var v=i(84895),x=i(82246),N=i(11999),I=i(70301),A=i(97345),T=i(78990),j=i(94656);const w=function AuthenticatedPermissionsModal(){const e=(0,l.useRegistry)(),t=(0,l.useSelect)(e=>e(A.oR).getPermissionScopeError()),i=(0,l.useSelect)(e=>e(A.oR).getUnsatisfiedScopes()),n=(0,l.useSelect)(e=>e(A.oR).getConnectURL({additionalScopes:t?.data?.scopes,redirectURL:t?.data?.redirectURL||globalThis.location.href,errorRedirectURL:t?.data?.errorRedirectURL})),{clearPermissionScopeError:o}=(0,l.useDispatch)(A.oR),{navigateTo:s}=(0,l.useDispatch)(I.M),{setValues:r}=(0,l.useDispatch)(N.s),c=(0,a.useCallback)(()=>{o()},[o]),d=(0,a.useCallback)(async()=>{r(A.$8,{permissionsError:t}),await(0,T.mR)(e),s(n)},[e,n,s,t,r]);return(0,a.useEffect)(()=>{!async function(){t?.data?.skipModal&&t?.data?.scopes?.length&&await d()}()},[d,t]),t?t?.data?.scopes?.length?t?.data?.skipModal||i&&t?.data?.scopes.every(e=>i.includes(e))?null:(0,h.jsx)(j.A,{children:(0,h.jsx)(x.A,{title:(0,g.__)("Additional Permissions Required","google-site-kit"),subtitle:t.message,confirmButton:(0,g.__)("Proceed","google-site-kit"),handleConfirm:d,handleCancel:c,onClose:c,dialogActive:!0,medium:!0})}):(globalThis.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",t),null):null};const S=function PermissionsModal(){return(0,l.useSelect)(e=>e(A.oR).isAuthenticated())?(0,h.jsx)(w,{}):null};const M=function RestoreSnapshots({children:e}){const t=(0,l.useRegistry)(),[i,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{i||(async()=>{await(0,T.P9)(t),n(!0)})()},[t,i]),i?e:null};var C=i(15844),E=i(62659),D=i(71264);function FeatureTours(){const e=(0,E.A)(),{triggerTourForView:t}=(0,l.useDispatch)(A.oR);(0,C.A)(()=>{t(e)});const i=(0,l.useSelect)(e=>e(A.oR).getCurrentTour());return(0,a.useEffect)(()=>{if(!i)return()=>{};const e=document.getElementById("js-googlesitekit-main-dashboard");if(!e)return()=>{};const t=new ResizeObserver(()=>{globalThis.dispatchEvent(new Event("resize"))});return t.observe(e),()=>{t.disconnect()}},[i]),i?(0,h.jsx)(D.Ay,{tourID:i.slug,steps:i.steps,gaEventCategory:i.gaEventCategory,isRepeatable:i.isRepeatable,callback:i.callback}):null}var O=i(20762),R=i(86582);function Root({children:e,registry:t,viewContext:i=null}){const n=s.D,[o]=(0,a.useState)({key:"Root",value:!0});return(0,h.jsx)(a.StrictMode,{children:(0,h.jsx)(O.Ay,{value:o,children:(0,h.jsx)(l.RegistryProvider,{value:t,children:(0,h.jsx)(k,{value:v.t,children:(0,h.jsx)(u.Kq,{value:i,children:(0,h.jsx)(r.A,{theme:n(),children:(0,h.jsxs)(f,{children:[(0,h.jsxs)(M,{children:[e,i&&(0,h.jsx)(FeatureTours,{})]}),(0,R.A)(i)&&(0,h.jsx)(S,{})]})})})})})})})}Root.propTypes={children:o().node,registry:o().object,viewContext:o().string.isRequired},Root.defaultProps={registry:c()}},62457(e,t,i){i.d(t,{A:()=>r});var n=i(62688),o=i.n(n),s=i(62540);function Spinner({isSaving:e,style:t={}}){return(0,s.jsx)("span",{className:"spinner",style:{display:e?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible",...t}})}Spinner.propTypes={isSaving:o().bool,style:o().object};const r=Spinner},83202(e,t,i){i.d(t,{A:()=>TourTooltip});var n=i(28056),o=i.n(n),s=i(4452),r=i.n(s),a=i(62688),l=i.n(a),c=i(82871),g=i(49383);var d=i(30805),u=i(72545),p=i(33052),m=i(62540);function TourTooltip({backProps:e,closeProps:t,index:i,primaryProps:s,size:a,step:l,tooltipProps:h}){const f=(0,d.i)("setupFlowRefresh"),y=a>1?function(e){return new Array(e??0).fill().map((e,t)=>t)}(a):[];function b(e){return r()("googlesitekit-tooltip-indicator",{active:e===i})}const _=f?10:14;return(0,m.jsx)("div",{className:r()("googlesitekit-tour-tooltip",l.className,{"googlesitekit-tour-tooltip--setupFlowRefresh":f}),...h,children:(0,m.jsxs)(o(),{className:"googlesitekit-tooltip-card",children:[(0,m.jsxs)("div",{className:"googlesitekit-tooltip-body",children:[(0,m.jsx)(p.A,{as:"h2",className:"googlesitekit-tooltip-title",size:"medium",type:"title",children:l.title}),(0,m.jsx)("div",{className:"googlesitekit-tooltip-content",children:l.content})]}),(0,m.jsxs)(n.CardActions,{className:"googlesitekit-tooltip-actions",children:[!f&&(0,m.jsx)("ul",{className:"googlesitekit-tooltip-indicators",children:y.map(e=>(0,m.jsx)("li",{className:b(e)},`indicator-${e}`))}),f&&(0,m.jsxs)("p",{className:"googlesitekit-tooltip-steps",children:[i+1," / ",a]}),(0,m.jsxs)("div",{className:"googlesitekit-tooltip-buttons",children:[0!==i&&(0,m.jsx)(g.Button,{className:"googlesitekit-tooltip-button",text:!f,tertiary:f,...e,children:e.title}),l.cta,s.title&&(0,m.jsx)(g.Button,{className:r()("googlesitekit-tooltip-button",{"googlesitekit-tooltip-button--primary":f}),text:!f,...s,children:s.title})]})]}),(0,m.jsx)(g.Button,{className:"googlesitekit-tooltip-close",icon:(0,m.jsx)(u.A,{width:_,height:_}),onClick:t.onClick,"aria-label":(0,c.__)("Close","google-site-kit"),text:!0,hideTooltipTitle:!0})]})})}TourTooltip.propTypes={backProps:l().object.isRequired,closeProps:l().object.isRequired,index:l().number.isRequired,isLastStep:l().bool.isRequired,primaryProps:l().object.isRequired,size:l().number.isRequired,step:l().shape({content:l().node,title:l().node,cta:l().oneOfType([l().element,l().bool]),className:l().string}).isRequired,tooltipProps:l().object.isRequired}},71264(e,t,i){i.d(t,{Ay:()=>TourTooltips,R0:()=>y,ei:()=>_});var n=i(15844),o=i(36703),s=i(62688),r=i.n(s),a=i(82871),l=i(50539),c=i(7972),g=i(97345),d=i(65054),u=i(83202),p=i(62659),m=i(84895),h=i(62540);const f=(0,m.G)("setupFlowRefresh"),y={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:f?"rgba(0, 0, 0, 0.25)":"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:f?"none":"2px solid #3c7251",backgroundColor:"#fff"}},b={back:(0,a.__)("Back","google-site-kit"),close:(0,a.__)("Close","google-site-kit"),last:(0,a.__)("Got it","google-site-kit"),next:(0,a.__)("Next","google-site-kit")},_={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)"}}},k="feature_tooltip_view",v="feature_tooltip_advance",x="feature_tooltip_return",N="feature_tooltip_dismiss",I="feature_tooltip_complete";function TourTooltips({steps:e,tourID:t,gaEventCategory:i,isRepeatable:s,callback:r}){const a=`${t}-step`,m=`${t}-run`,{setValue:A}=(0,l.useDispatch)(c.n),{dismissTour:T,receiveCurrentTour:j}=(0,l.useDispatch)(g.oR),w=(0,l.useRegistry)(),S=(0,p.A)(),M=(0,l.useSelect)(e=>e(c.n).getValue(a)||0),C=(0,l.useSelect)(e=>{const i=s||!1===e(g.oR).isTourDismissed(t);return e(c.n).getValue(m)&&i});function E(i){return`googlesitekit-showing-feature-tour--${t}-${e[i].slug||i}`}(0,n.A)(function(){globalThis.document.body.classList.add("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`,E(M)),A(m,!0)});const D=e.map(e=>({disableBeacon:!0,isFixed:!0,placement:"auto",...e})),O=f?{..._,styles:{..._.styles,floater:{filter:"drop-shadow(rgba(0, 0, 0, 0.25) 0px 4px 16px)"}}}:_;return(0,h.jsx)(o.Ay,{callback:function(n){!function({index:e,action:t,lifecycle:n,size:s,status:r,type:a}){const l=e+1,c="function"==typeof i?i(S):i;a===o.qY.TOOLTIP&&n===o.VD.TOOLTIP?(0,d.sx)(c,k,l):t===o.kl.CLOSE&&n===o.VD.COMPLETE?(0,d.sx)(c,N,l):t===o.kl.NEXT&&r===o.XQ.FINISHED&&a===o.qY.TOUR_END&&s===l&&(0,d.sx)(c,I,l),n===o.VD.COMPLETE&&r!==o.XQ.FINISHED&&(t===o.kl.PREV&&(0,d.sx)(c,x,l),t===o.kl.NEXT&&(0,d.sx)(c,v,l))}(n);const{action:l,index:c,status:g,step:u,type:p}=n,h=l===o.kl.CLOSE,f=!h&&[o.qY.STEP_AFTER,o.qY.TARGET_NOT_FOUND].includes(p),y=[o.XQ.FINISHED,o.XQ.SKIPPED].includes(g),b=h&&p===o.qY.STEP_AFTER,_=y||b;if(o.qY.STEP_BEFORE===p){let e=u.target;"string"==typeof u.target&&(e=globalThis.document.querySelector(u.target)),e?.scrollIntoView?.({block:"center"})}f?function(t,i){const n=t+(i===o.kl.PREV?-1:1);globalThis.document.body.classList.remove(E(t)),e[n]&&globalThis.document.body.classList.add(E(n)),A(a,n)}(c,l):_&&(globalThis.document.body.classList.remove("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`),e[M]&&globalThis.document.body.classList.remove(E(M)),s?(A(m,!1),A(a,null),j(null)):T(t)),r&&r(n,w)},floaterProps:O,locale:b,run:C,stepIndex:M,steps:D,styles:y,tooltipComponent:u.A,showProgress:!f,continuous:!0,disableOverlayClose:!0,disableScrolling:!0})}TourTooltips.propTypes={steps:r().arrayOf(r().object).isRequired,tourID:r().string.isRequired,gaEventCategory:r().oneOfType([r().string,r().func]).isRequired,isRepeatable:r().bool,callback:r().func}},83880(e,t,i){i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(97513),r=i(33052),a=i(8513),l=i(62540);function c({type:e=a.SZ,size:t,children:i,...n}){const o=(0,s.dv)();return(0,l.jsx)(r.A,{as:"p",type:e,size:t||(o===s.mp?a.Kk:a.Yw),...n,children:i})}c.propTypes={type:o().oneOf(a.tT),size:o().oneOf(a.oJ)}},8513(e,t,i){i.d(t,{Kk:()=>s,SZ:()=>n,Yw:()=>r,oJ:()=>a,tT:()=>o});const n="body",o=[n,"display","headline","label","title"],s="small",r="medium",a=[s,r,"large"]},33052(e,t,i){i.d(t,{A:()=>Typography});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(8513),l=i(62540);function Typography({className:e,type:t,size:i,as:n="span",children:o,...s}){return(0,l.jsx)(n,{className:r()("googlesitekit-typography",e,{[`googlesitekit-typography--${t}`]:t&&a.tT.includes(t),[`googlesitekit-typography--${i}`]:i&&a.oJ.includes(i)}),...s,children:o})}Typography.propTypes={className:o().string,type:o().oneOf(a.tT),size:o().oneOf(a.oJ),as:o().oneOfType([o().string,o().elementType])}},55989(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function VisuallyHidden({className:e,children:t,...i}){return t?(0,a.jsx)("span",{...i,className:r()("screen-reader-text",e),children:t}):null}VisuallyHidden.propTypes={className:o().string,children:o().node},VisuallyHidden.defaultProps={className:""};const l=VisuallyHidden},76729(e,t,i){i.d(t,{Q:()=>n});const n="emailReportingUserSettingsSelectionPanelOpened"},78307(e,t,i){i.d(t,{A:()=>HelpMenu});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(21795),l=i(63696),c=i(19266),g=i(82871),d=i(50539),u=i(49383),p=i(13047),m=i(38432),h=i(62659),f=i(30805),y=i(62540);function HelpMenuLink({children:e,href:t,gaEventLabel:i,onClick:n,icon:o}){const s=(0,h.A)(),r=(0,f.i)("setupFlowRefresh"),a=(0,l.useCallback)(async()=>{n?.(),i&&await(0,p.sx)(`${s}_headerbar_helpmenu`,r?"click_menu_item":"click_outgoing_link",i)},[n,i,s,r]);return(0,y.jsx)("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none",children:(0,y.jsx)(m.A,{className:"mdc-list-item__text",href:t,role:"menuitem",onClick:a,leadingIcon:o,external:!0,hideExternalIndicator:!0,children:e})})}HelpMenuLink.propTypes={children:r().node.isRequired,href:r().string,gaEventLabel:r().string,onClick:r().func};const b=HelpMenuLink;var _,k,v=i(88273),x=i(29785),N=i(97345),I=i(58718),A=i(12896),T=i(40194);function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},j.apply(null,arguments)}const w=e=>l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),_||(_=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M5 5.75h14c.69 0 1.25.56 1.25 1.25v9.161c0 .69-.56 1.25-1.25 1.25H6.633l-.219.213-2.664 2.597V7c0-.69.56-1.25 1.25-1.25Z"})),k||(k=l.createElement("path",{fill:"currentColor",d:"M11.5 8.5H13v4h-1.5zM11.5 13.5H13V15h-1.5z"})));var S,M,C;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},E.apply(null,arguments)}const D=e=>l.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),S||(S=l.createElement("circle",{cx:12,cy:11,r:8.25,stroke:"currentColor",strokeWidth:1.5})),M||(M=l.createElement("path",{fill:"currentColor",d:"m10 9 7-3-2.953 7.047L7 16z"})),C||(C=l.createElement("circle",{cx:12,cy:11,r:1,fill:"#fff"})));var O,R,z;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},L.apply(null,arguments)}const P=e=>l.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),O||(O=l.createElement("mask",{id:"support_svg__a",fill:"#fff"},l.createElement("path",{d:"M12 2a9 9 0 0 1 2.128 17.745C10.508 21.823 5 23 5 23c.023-.017 2.69-2.024 3.053-3.911A9 9 0 0 1 3 11a9 9 0 0 1 9-9"}))),R||(R=l.createElement("path",{fill:"currentColor",d:"M12 2V.5zm9.001 9h1.5zm-2.25 5.953 1.125.993zm-1.802 1.566.826 1.252zm-2.3 1.086.441 1.433zm-.521.14-.354-1.458-.207.05-.186.107zM5 23l-.901-1.2-5.441 4.089 6.655-1.422zm3.053-3.911 1.473.284.217-1.128-1.031-.504zm-1.001-.57-.826 1.252zm-1.704-1.457-1.109 1.01zM3 11H1.5zm9-9v1.5a7.5 7.5 0 0 1 7.501 7.5h3C22.501 5.2 17.799.5 12 .5zm9.001 9h-1.5a7.47 7.47 0 0 1-1.875 4.96l1.125.993 1.125.993A10.47 10.47 0 0 0 22.5 11zm-2.25 5.953-1.125-.992a7.6 7.6 0 0 1-1.503 1.305l.826 1.253.826 1.252a10.6 10.6 0 0 0 2.1-1.825zm-1.802 1.566-.826-1.253a7.5 7.5 0 0 1-1.915.905l.441 1.434.441 1.433a10.5 10.5 0 0 0 2.685-1.267zm-2.3 1.086-.44-1.434c-.131.04-.273.077-.434.116l.353 1.458.353 1.458c.19-.046.397-.1.61-.165zm-.521.14-.747-1.3c-1.661.953-3.814 1.728-5.609 2.271a47 47 0 0 1-2.864.767l-.17.039-.04.009-.01.002h-.002L5 23l.314 1.467h.002l.004-.002.015-.003.052-.011.193-.044a49.75 49.75 0 0 0 3.062-.82c1.864-.564 4.275-1.417 6.233-2.541zM5 23l.901 1.2c.041-.032.783-.592 1.576-1.412.735-.76 1.777-2.007 2.049-3.415l-1.473-.284-1.473-.284c-.092.478-.564 1.178-1.26 1.898-.637.659-1.239 1.111-1.221 1.098zm3.053-3.911.659-1.348q-.438-.213-.834-.475l-.826 1.253-.826 1.252q.565.37 1.168.665zm-1.001-.57.826-1.253c-.523-.344-1.001-.753-1.422-1.215l-1.108 1.01-1.109 1.011a10.5 10.5 0 0 0 1.987 1.699zm-1.704-1.457 1.108-1.011A7.47 7.47 0 0 1 4.5 11h-3c0 2.723 1.039 5.207 2.74 7.072zM3 11h1.5A7.5 7.5 0 0 1 12 3.5v-3C6.2.5 1.5 5.2 1.5 11z",mask:"url(#support_svg__a)"})),z||(z=l.createElement("path",{fill:"currentColor",d:"M11.796 16q.487 0 .818-.312.332-.31.332-.767 0-.456-.332-.767a1.15 1.15 0 0 0-.818-.312q-.486 0-.817.312a1 1 0 0 0-.332.768q0 .457.332.766.33.312.817.312m.11-8.527q.62 0 1.006.311.387.312.387.788 0 .333-.243.706-.243.374-.685.726-.707.58-1.028 1.069-.32.486-.32.965 0 .31.221.518a.8.8 0 0 0 .574.208q.333 0 .586-.208a.9.9 0 0 0 .32-.56q.066-.332.299-.633.231-.3.762-.778.707-.622.961-1.11T15 8.407q0-1.08-.839-1.743Q13.321 6 11.951 6q-.928 0-1.624.343-.696.342-1.204 1.026a.53.53 0 0 0-.1.498q.078.27.32.456a.8.8 0 0 0 .652.136q.365-.073.608-.385.243-.29.564-.445t.74-.156"})));var B,H,U;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},G.apply(null,arguments)}const F=e=>l.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),B||(B=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M19 8v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7z"})),H||(H=l.createElement("path",{fill:"currentColor",d:"M13.5 9V3L19 9z"})),U||(U=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M8.5 11.5h7M8.5 14.5h7M8.5 17.5H13"})));var Y;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},V.apply(null,arguments)}const W=e=>l.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},e),Y||(Y=l.createElement("path",{fill:"currentColor",d:"M9 16h2v-2H9zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-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-4"})));var Z,Q;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},$.apply(null,arguments)}const q=e=>l.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),Z||(Z=l.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M15.244 10.59a2.156 2.156 0 0 1 2.95-.755 2.145 2.145 0 0 1 .76 2.935l-3.039 5.022-.004.006a2.153 2.153 0 0 1-2.95.756v-.001a2.144 2.144 0 0 1-.757-2.94v-.002l3.036-5.014zM8.854 5.635a2.157 2.157 0 0 1 2.95-.756 2.144 2.144 0 0 1 .756 2.94l-.003.005-5.8 9.977a2.153 2.153 0 0 1-2.95.756 2.145 2.145 0 0 1-.757-2.94l.003-.007z"})),Q||(Q=l.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:1.5,d:"M4.887 14.595c1.18 0 2.135.955 2.135 2.13 0 1.176-.954 2.13-2.135 2.13a2.134 2.134 0 0 1-2.137-2.13c0-1.175.955-2.13 2.137-2.13Z"})));function HelpMenu({children:e}){const[t,i]=(0,l.useState)(!1),n=(0,l.useRef)(),s=(0,h.A)(),r=(0,f.i)("setupFlowRefresh");(0,a.A)(n,()=>i(!1)),(0,A.l)([c._f,c.wn],n,()=>i(!1));const m=(0,d.useSelect)(e=>e(v.i).isModuleActive(I.Py)),_=(0,l.useCallback)(()=>{t||(0,p.sx)(`${s}_headerbar`,"open_helpmenu"),i(!t)},[t,s]),k=(0,l.useCallback)(()=>{i(!1)},[]),j=(0,d.useSelect)(e=>e(x.O4).getDocumentationLinkURL("fix-common-issues")),{triggerOnDemandTour:S}=(0,d.useDispatch)(N.oR),M=(0,T.G)(),C=(0,l.useCallback)(()=>{S(M)},[S,M]),E=[{gaEventLabel:"fix_common_issues",href:j,children:(0,g.__)("Fix common issues","google-site-kit")},{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/",children:(0,g.__)("Read help docs","google-site-kit")},{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/",children:(0,g.__)("Get support","google-site-kit")},...m?[{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/",children:(0,g.__)("Get help with AdSense","google-site-kit")}]:[]],O=[{gaEventLabel:"browse_documentation",href:"https://sitekit.withgoogle.com/documentation/",icon:(0,y.jsx)(F,{width:24,height:24}),children:(0,g.__)("Browse documentation","google-site-kit")},{gaEventLabel:"get_support",href:"https://wordpress.org/support/plugin/google-site-kit/",icon:(0,y.jsx)(P,{width:24,height:24}),children:(0,g.__)("Get free support","google-site-kit")},{gaEventLabel:"start_tour",onClick:C,icon:(0,y.jsx)(D,{width:24,height:24}),children:(0,g.__)("Start a feature tour","google-site-kit")},{gaEventLabel:"send_feedback",href:"https://wordpress.org/support/plugin/google-site-kit/reviews/",icon:(0,y.jsx)(w,{width:24,height:24}),children:(0,g.__)("Send feedback","google-site-kit")},...m?[{gaEventLabel:"get_adsense_help",href:"https://support.google.com/adsense/",icon:(0,y.jsx)(q,{width:24,height:24}),children:(0,g.__)("Get help with AdSense","google-site-kit")}]:[]];return(0,y.jsxs)("div",{ref:n,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor",children:[(0,y.jsx)(u.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":t,"aria-label":(0,g.__)("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:(0,y.jsx)(W,{width:"20",height:"20"}),onClick:_,tooltipEnterDelayInMS:500,text:!0}),(0,y.jsxs)(u.Menu,{className:o()("googlesitekit-width-auto",{"googlesitekit-help-menu":r}),menuOpen:t,id:"googlesitekit-help-menu",onSelected:k,children:[e,(r?O:E).map((e,t)=>(0,y.jsx)(b,{...e},t))]})]})}HelpMenu.propTypes={children:r().node}},75662(e,t,i){i.d(t,{A:()=>h});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(10740),c=i(38432),g=i(33052),d=i(62540);class LayoutHeader extends a.Component{render(){const{title:e,badge:t,ctaLabel:i,ctaLink:n}=this.props,o=n?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return(0,d.jsx)("header",{className:"googlesitekit-layout__header",children:(0,d.jsx)(l.xA,{children:(0,d.jsxs)(l.fI,{children:[e&&(0,d.jsx)(l.fh,{...o,children:(0,d.jsxs)(g.A,{as:"h3",size:"small",type:"title",className:"googlesitekit-subheading-1 googlesitekit-layout__header-title",children:[e,t]})}),n&&(0,d.jsx)(l.fh,{smSize:4,lgSize:6,alignMiddle:!0,mdAlignRight:!0,children:(0,d.jsx)(c.A,{href:n,external:!0,children:i})})]})})})}}LayoutHeader.propTypes={title:o().string,badge:o().node,ctaLabel:o().string,ctaLink:o().string},LayoutHeader.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""};const u=LayoutHeader;var p=i(44148);class LayoutFooter extends a.Component{render(){const{ctaLabel:e,ctaLink:t,footerContent:i}=this.props;return(0,d.jsx)("footer",{className:"googlesitekit-layout__footer",children:(0,d.jsx)(l.xA,{children:(0,d.jsx)(l.fI,{children:(0,d.jsxs)(l.fh,{size:12,children:[t&&e&&(0,d.jsx)(p.A,{className:"googlesitekit-data-block__source",name:e,href:t,external:!0}),i]})})})})}}LayoutFooter.propTypes={ctaLabel:o().string,ctaLink:o().string};const m=LayoutFooter;class Layout extends a.Component{render(){const{header:e,footer:t,children:i,title:n,badge:o,headerCTALabel:s,headerCTALink:a,footerCTALabel:l,footerCTALink:c,footerContent:g,className:p,fill:h,relative:f,rounded:y=!1,transparent:b=!1,..._}=this.props;return(0,d.jsxs)("div",{className:r()("googlesitekit-layout",p,{"googlesitekit-layout--fill":h,"googlesitekit-layout--relative":f,"googlesitekit-layout--rounded":y,"googlesitekit-layout--transparent":b}),..._,children:[e&&(0,d.jsx)(u,{title:n,badge:o,ctaLabel:s,ctaLink:a}),i,t&&(0,d.jsx)(m,{ctaLabel:l,ctaLink:c,footerContent:g})]})}}Layout.propTypes={header:o().bool,footer:o().bool,children:o().node.isRequired,title:o().string,badge:o().node,headerCTALabel:o().string,headerCTALink:o().string,footerCTALabel:o().string,footerCTALink:o().string,footerContent:o().node,className:o().string,fill:o().bool,relative:o().bool,rounded:o().bool,transparent:o().bool},Layout.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1};const h=Layout},37834(e,t,i){i.d(t,{A:()=>Notifications});var n=i(62688),o=i.n(n),s=i(50539),r=i(62659),a=i(8732),l=i(84730),c=i(50532),g=i.n(c),d=i(67438),u=i(62540);const p=g()(e=>({id:e,Notification:m(e)(d.A)}));function m(e){return t=>{function WithNotificationID(i){return(0,u.jsx)(t,{...i,id:e})}return WithNotificationID.displayName="WithNotificationID",(t.displayName||t.name)&&(WithNotificationID.displayName+=`(${t.displayName||t.name})`),WithNotificationID}}function Notifications({areaSlug:e,groupID:t=l.He.DEFAULT}){const i=(0,r.A)(),n=(0,s.useSelect)(e=>e(a.D).getQueuedNotifications(i,t));if(void 0===n?.[0]||n?.[0]?.areaSlug!==e)return null;const{id:o,Component:c}=n[0],g={...p(o)};return(0,u.jsx)(c,{...g})}Notifications.propTypes={viewContext:o().string,areaSlug:o().string}},31675(e,t,i){i.d(t,{A:()=>ExitSetup});var n=i(62688),o=i.n(n),s=i(82871),r=i(90559),a=i(52696),l=i(29785),c=i(70301),g=i(13047),d=i(62540);function ExitSetup({gaTrackingEventArgs:e}){const t=(0,a.WM)(e=>(0,g.CZ)(e(l.O4).getAdminURL())),{navigateTo:i}=(0,a.wA)(c.M);return(0,d.jsx)(r.$n,{onClick:async function(){await(0,g.sx)(e.category,"setup_flow_v3_exit_setup",e.label),i(`${t}/plugins.php`)},tertiary:!0,children:(0,s.__)("Exit setup","google-site-kit")})}ExitSetup.propTypes={gaTrackingEventArgs:o().object.isRequired}},9246(e,t,i){i.d(t,{A:()=>UserInputSelectOptions});var n=i(62688),o=i.n(n),s=i(63696),r=i(19266),a=i(82871),l=i(50539),c=i(49383),g=i(97345),d=i(11999),u=i(70301),p=i(10740),m=i(65573),h=i(13047),f=i(62659),y=i(62540);function UserInputSelectOptions({slug:e,descriptions:t,options:i,max:n,next:o,showInstructions:b,alignLeftOptions:_,gaTrackingEventArgs:k}){const v=(0,f.A)(),x=(0,l.useSelect)(t=>t(g.oR).getUserInputSetting(e)||[]),N=(0,l.useSelect)(e=>e(g.oR).isSavingUserInputSettings(x)),I=(0,l.useSelect)(e=>e(u.M).isNavigating()),{setUserInputSetting:A}=(0,l.useDispatch)(g.oR),T=(0,s.useRef)();(0,s.useEffect)(()=>{if(!T?.current)return;function e(e){e&&setTimeout(()=>{e.focus()},50)}const t=1===n?"radio":"checkbox",i=T.current.querySelector(`input[type="${t}"]:checked`);if(i)e(i);else{e(T.current.querySelector(`input[type="${t}"]`))}},[n]);const{setValues:j}=(0,l.useDispatch)(d.s),w=(0,s.useCallback)(t=>{const{target:i}=t,{value:o,checked:s}=i,r=new Set([o,...x]);s||r.delete(o);const a=Array.from(r).slice(0,n);if(k)(0,h.sx)(k.category,k.action,a.join());else{const t=e===m.aq?"content_frequency_question_answer":`site_${e}_question_answer`;(0,h.sx)(`${v}_kmw`,t,a.join())}e===m.a3&&j(m.we,{[e]:x}),A(e,a)},[x,n,k,e,A,v,j]),S=(0,s.useCallback)(e=>{e.keyCode===r.Fm&&x.length>0&&x.length<=n&&!x.includes("")&&o&&"function"==typeof o&&o()},[x,o,n]),M={[n>1?"onChange":"onClick"]:w},C=1===n?c.Radio:c.Checkbox,E=Object.keys(i).map(o=>{if("sell_products_or_service"===o)return!1;const s={id:`${e}-${o}`,value:o,description:t?.[o],checked:x.includes(o),onKeyDown:S,alignLeft:_,...M};return n>1?(s.disabled=x.length>=n&&!x.includes(o),s.name=`${e}-${o}`):s.name=e,(N||I)&&(s.disabled=!0),(0,y.jsx)("div",{className:"googlesitekit-user-input__select-option",children:(0,y.jsx)(C,{...s,children:i[o]})},o)});return(0,y.jsxs)(p.fh,{className:"googlesitekit-user-input__select-options-wrapper",lgStart:6,lgSize:6,mdSize:8,smSize:4,children:[b&&(0,y.jsx)("p",{className:"googlesitekit-user-input__select-instruction",children:(0,y.jsx)("span",{children:(0,a.sprintf)(/* translators: %s: number of answers allowed. */ /* translators: %s: number of answers allowed. */ (0,a._n)("Select only %d answer","Select up to %d answers",n,"google-site-kit"),n)})}),(0,y.jsx)("div",{className:"googlesitekit-user-input__select-options",ref:T,children:E})]})}UserInputSelectOptions.propTypes={slug:o().string.isRequired,descriptions:o().shape({}),options:o().shape({}).isRequired,max:o().number,next:o().func,showInstructions:o().bool,alignLeftOptions:o().bool,gaTrackingEventArgs:o().object},UserInputSelectOptions.defaultProps={max:1,showInstructions:!1,alignLeftOptions:!1}},65573(e,t,i){i.d(t,{Ax:()=>c,B$:()=>y,Dc:()=>f,Fy:()=>h,KM:()=>a,Tk:()=>d,W:()=>l,a3:()=>s,aq:()=>r,b6:()=>g,cz:()=>p,oG:()=>m,we:()=>u});var n=i(82871),o=i(80);const s="purpose",r="postFrequency",a="goals",l=[s,r,a],c={[s]:1,[r]:1,[a]:3},g="googlesitekit-user-input-currently-editing",d="user_input_question_number",u="user_input_question_snapshot",p="user-input-legacy-site-purpose-dismissed-item",m={publish_blog:[o.nc.CONTACT,o.nc.GENERATE_LEAD,o.nc.SUBMIT_LEAD_FORM],publish_news:[o.nc.CONTACT,o.nc.GENERATE_LEAD,o.nc.SUBMIT_LEAD_FORM],monetize_content:[],sell_products_or_service:[o.nc.PURCHASE,o.nc.ADD_TO_CART],sell_products:[o.nc.PURCHASE,o.nc.ADD_TO_CART],provide_services:[o.nc.CONTACT,o.nc.GENERATE_LEAD,o.nc.SUBMIT_LEAD_FORM],share_portfolio:[o.nc.CONTACT,o.nc.GENERATE_LEAD,o.nc.SUBMIT_LEAD_FORM],other:[]};function h(){const e=(0,n.__)("Based on your answer, Site Kit will suggest the metrics you see on your dashboard to help you track how close you’re getting to your specific goals","google-site-kit");return[{title:(0,n.__)("What is the main purpose of this site?","google-site-kit"),description:e},{title:(0,n.__)("How often do you create new content for this site?","google-site-kit"),description:e},{title:(0,n.__)("What are your top 3 goals for this site?","google-site-kit"),description:e}]}function f(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:(0,n.__)("Sell products or services","google-site-kit"),sell_products:(0,n.__)("Sell products","google-site-kit"),provide_services:(0,n.__)("Provide services","google-site-kit"),monetize_content:(0,n.__)("Monetize content","google-site-kit"),publish_blog:(0,n.__)("Publish a blog","google-site-kit"),publish_news:(0,n.__)("Publish news content","google-site-kit"),share_portfolio:(0,n.__)("Portfolio or business card","google-site-kit"),other:(0,n.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_POST_FREQUENCY:{never:(0,n.__)("Never","google-site-kit"),daily:(0,n.__)("Daily","google-site-kit"),weekly:(0,n.__)("Weekly","google-site-kit"),monthly:(0,n.__)("Monthly","google-site-kit"),other:(0,n.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_GOALS:{retaining_visitors:(0,n.__)("Retain visitors, turn them into loyal readers or customers","google-site-kit"),improving_performance:(0,n.__)("Improve speed and performance","google-site-kit"),finding_new_topics:(0,n.__)("Find new topics to write about that connect with my audience","google-site-kit"),growing_audience:(0,n.__)("Grow my audience","google-site-kit"),expanding_business:(0,n.__)("Expand my business into new cities, states or markets","google-site-kit"),generating_revenue:(0,n.__)("Generate more revenue","google-site-kit"),generating_leads:(0,n.__)("Generate leads","google-site-kit"),help_better_rank:(0,n.__)("Help my content rank in a better position in Google search results","google-site-kit"),understanding_content_performance:(0,n.__)("Understand which content is performing best","google-site-kit"),encourage_to_post:(0,n.__)("Encouragement to post more frequently","google-site-kit"),other:(0,n.__)("Other","google-site-kit")}}}function y(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:(0,n.__)("E.g. selling products like devices, apparel, equipment, etc. or offering services like courses, consulting, tutoring, etc.","google-site-kit"),sell_products:(0,n.__)("E.g. selling devices, apparel, equipment, etc.","google-site-kit"),provide_services:(0,n.__)("E.g. offering courses, consulting, tutoring, etc.","google-site-kit"),monetize_content:(0,n.__)("Using display ads, affiliate links, sponsored content, etc.","google-site-kit"),publish_blog:(0,n.__)("Writing on a topic you’re passionate about, no focus on monetizing content","google-site-kit"),publish_news:(0,n.__)("E.g. local news, investigative pieces, interviews, etc.","google-site-kit"),share_portfolio:(0,n.__)("My website represents me or my company","google-site-kit"),other:void 0}}}},30845(e,t,i){i.d(t,{A:()=>o,j:()=>s});var n=i(82871);function o(e){return 0===e.length}function s(e,t=1){return 0===e.length?1===t?(0,n.__)("Please select an answer","google-site-kit"):(0,n.__)("Please select at least 1 answer","google-site-kit"):null}},33213(e,t,i){i.d(t,{I:()=>n});const n={WITH_ANALYTICS:"welcome-with-analytics",WITHOUT_ANALYTICS:"welcome-without-analytics"}},84895(e,t,i){i.d(t,{G:()=>o,t:()=>n});const n=new Set(globalThis?._googlesitekitBaseData?.enabledFeatures||[]);function o(e,t=n){return t instanceof Set&&t.has(e)}},90559(e,t,i){i.d(t,{$n:()=>z});var n=i(12786),o=i.n(n),s=i(91310),r=i.n(s),a=i(26805),l=i.n(a),c=i(65165),g=i.n(c),d=i(85135),u=i(32885),p=i(39525),m=i(4452),h=i.n(m),f=i(62688),y=i.n(f),b=i(62540);function Chip({id:e,label:t,onClick:i,selected:n,className:o,CheckMark:s=p.ChipCheckmark,disabled:r,...a}){return(0,b.jsx)(p.Chip,{chipCheckmark:(0,b.jsx)(s,{}),"data-chip-id":e,id:e,label:t,onClick:e=>{r||i?.(e)},selected:n,className:h()("googlesitekit-chip",o,{"googlesitekit-chip--disabled":r}),...a})}Chip.propTypes={id:y().string.isRequired,label:y().string.isRequired,onClick:y().func,selected:y().bool,className:y().string,CheckMark:y().elementType};var _=i(99578),k=i(47485),v=i(63696),x=i(10740);const N=(0,v.forwardRef)(({children:e,className:t,menuOpen:i,menuItems:n,onSelected:o,nonInteractive:s,id:r},a)=>{const[l,c]=(0,v.useState)(null),g=(0,v.useRef)(null),d=(0,k.A)(a,g),u=(0,v.useCallback)(e=>{const{detail:{index:t}}=e;o(t,e)},[o]);return(0,v.useEffect)(()=>{if(!g?.current)return()=>{};const e=new x.CR(g.current);return e.listen("MDCMenu:selected",u),e.quickOpen=!0,c(e),()=>{e.unlisten("MDCMenu:selected",u),e.destroy()}},[g,u,s]),(0,v.useEffect)(()=>{l&&(l.open=i,l.setDefaultFocusState(1))},[l,i]),(0,b.jsx)("div",{className:h()("mdc-menu","mdc-menu-surface",t),ref:d,children:(0,b.jsxs)("ul",{"aria-hidden":!i,"aria-orientation":"vertical",className:h()("mdc-list",{"mdc-list--non-interactive":s}),id:r,role:"menu",tabIndex:"-1",children:[!e&&n.map((e,t)=>(0,b.jsx)("li",{className:"mdc-list-item",role:"menuitem",children:(0,b.jsx)("span",{className:"mdc-list-item__text",children:e})},t)),e]})})});N.displayName="Menu",N.propTypes={className:y().string,children:y().node,menuOpen:y().bool.isRequired,menuItems:y().array,id:y().string.isRequired,onSelected:y().func,nonInteractive:y().bool},N.defaultProps={onSelected:()=>{},nonInteractive:!1};const I=N;var A=i(97513);function ProgressBar({className:e,small:t,compress:i,indeterminate:n,height:o,verticalSpacing:s,mobileVerticalSpacing:r,tabletVerticalSpacing:a,desktopVerticalSpacing:l,progress:c}){const g=(0,A.dv)();let d,u=s;A.mp===g&&void 0!==r?u=r:A.Lg===g&&void 0!==a?u=a:A.Qb!==g&&A.Fo!==g||void 0===l||(u=l),void 0!==u&&(d=0===u?0:Math.round(u/2));const p=c?`scaleX(${c})`:void 0;return(0,b.jsxs)("div",{role:"progressbar",style:{marginTop:d,marginBottom:d,...o&&{height:`${o}px`}},className:h()("mdc-linear-progress",e,{"mdc-linear-progress--indeterminate":n,"mdc-linear-progress--small":t,"mdc-linear-progress--compress":i}),children:[(0,b.jsx)("div",{className:"mdc-linear-progress__buffering-dots"}),(0,b.jsx)("div",{className:"mdc-linear-progress__buffer"}),(0,b.jsx)("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:p},children:(0,b.jsx)("span",{className:"mdc-linear-progress__bar-inner"})}),(0,b.jsx)("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar",children:(0,b.jsx)("span",{className:"mdc-linear-progress__bar-inner"})})]})}function Radio(e){const{id:t,name:i,value:n,checked:o=!1,disabled:s=!1,children:r,tabIndex:a,onKeyDown:l=null,onClick:c=null,onChange:g=null,alignLeft:d=!1,description:u}=e,p=(0,v.useCallback)(e=>{if(null!==e){const t=new x.$z(e),i=e.querySelector(".mdc-radio");i&&(t.input=new x.Si(i))}},[]);return(0,b.jsxs)("div",{className:"mdc-form-field",ref:p,children:[(0,b.jsxs)("div",{className:h()("mdc-radio",{"mdc-radio--disabled":s,"mdc-radio--align-left":d}),children:[(0,b.jsx)("input",{className:"mdc-radio__native-control",onClick:c,onKeyDown:l,type:"radio",id:t,name:i,value:n,checked:o,disabled:s,tabIndex:a,onChange:g,readOnly:!0}),(0,b.jsxs)("div",{className:"mdc-radio__background",children:[(0,b.jsx)("div",{className:"mdc-radio__outer-circle"}),(0,b.jsx)("div",{className:"mdc-radio__inner-circle"})]})]}),!u&&(0,b.jsx)("label",{htmlFor:t,children:r}),u&&(0,b.jsxs)("div",{className:"mdc-radio__content",children:[(0,b.jsx)("label",{htmlFor:t,children:r}),(0,b.jsx)("div",{className:"mdc-radio__description",children:u})]})]})}ProgressBar.propTypes={className:y().string,small:y().bool,compress:y().bool,indeterminate:y().bool,progress:y().number,height:y().number,verticalSpacing:y().number,mobileVerticalSpacing:y().number,tabletVerticalSpacing:y().number,desktopVerticalSpacing:y().number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0,height:4},Radio.propTypes={onClick:y().func,onKeyDown:y().func,onChange:y().func,id:y().string.isRequired,name:y().string.isRequired,value:y().string.isRequired,checked:y().bool,disabled:y().bool,children:y().string.isRequired,tabIndex:y().oneOfType([y().number,y().string]),description:y().node};var T=i(52684);var j=i(11763),w=i(19266);function Switch({onClick:e,label:t,checked:i,disabled:n,hideLabel:o}){const s=(0,T.A)(Switch),r=(0,v.useCallback)(e=>{null!==e&&x.P3.attachTo(e)},[]),a=(0,v.useCallback)(t=>{"function"==typeof e&&w.Fm===t.keyCode&&e(t)},[e]),l=`googlesitekit-switch-${s}`;return(0,b.jsxs)(v.Fragment,{children:[(0,b.jsxs)("div",{"aria-checked":i?"true":"false",className:h()("mdc-switch",{"mdc-switch--checked":i,"mdc-switch--disabled":n}),onClick:e,onKeyDown:a,role:"switch",ref:r,tabIndex:0,children:[(0,b.jsx)("div",{className:"mdc-switch__track",children:" "}),(0,b.jsx)("div",{className:"mdc-switch__thumb-underlay",children:(0,b.jsx)("div",{className:"mdc-switch__thumb",children:(0,b.jsx)("input",{type:"checkbox",id:l,className:"mdc-switch__native-control",role:"switch",checked:i,disabled:n,readOnly:!0})})})]}),(0,b.jsx)("label",{className:h()({"screen-reader-only":o}),htmlFor:l,children:t})]})}Switch.propTypes={id:y().string,onClick:y().func,label:y().node.isRequired,checked:y().bool,disabled:y().bool,hideLabel:y().bool},Switch.defaultProps={checked:!1,disabled:!1,hideLabel:!0};const S=Switch;var M=i(38748),C=i.n(M);function TextField({className:e,name:t,label:i,noLabel:n,outlined:o,textarea:s,leadingIcon:r,trailingIcon:a,helperText:l,id:c,inputType:g,value:d,size:u,maxLength:p,tabIndex:m,disabled:h,onChange:f,onKeyDown:y}){const _=(0,T.A)(TextField,"googlesitekit-textfield");return(0,b.jsx)(C(),{className:e,name:t,label:i,noLabel:n,outlined:o,textarea:s,leadingIcon:r,trailingIcon:a,helperText:l&&(0,b.jsx)(M.HelperText,{persistent:!0,children:l}),children:(0,b.jsx)(M.Input,{id:c||_,inputType:g,value:d,size:u,maxLength:p,tabIndex:m,disabled:h,onChange:f,onKeyDown:y})})}TextField.propTypes={className:y().string,name:y().string,label:y().string,noLabel:y().bool,outlined:y().bool,textarea:y().bool,leadingIcon:y().element,trailingIcon:y().oneOfType([y().bool,y().element]),helperText:y().oneOfType([y().bool,y().string]),id:y().string,inputType:y().string,value:y().oneOfType([y().string,y().number]),size:y().number,maxLength:y().number,tabIndex:y().oneOfType([y().number,y().string]),disabled:y().bool,onChange:y().func,onKeyDown:y().func};const E=TextField;var D=i(99573);const O={Button:d.A,Checkbox:u.A,Chip,CircularProgress:_.A,Dialog:o(),DialogTitle:n.DialogTitle,DialogContent:n.DialogContent,DialogFooter:n.DialogFooter,HelperText:M.HelperText,Menu:I,Option:s.Option,ProgressBar,Radio,Select:function Select({id:e,helperText:t,...i}){const n=(0,T.A)(Select,"googlesitekit-select");return(0,b.jsx)(r(),{id:e||n,helperText:t?(0,b.jsx)(s.SelectHelperText,{children:t}):void 0,...i})},SpinnerButton:j.A,SPINNER_POSITION:j.k,Switch:S,Tab:l(),TabBar:g(),TextField:E,Tooltip:D.A},R=O;void 0===globalThis.googlesitekit&&(globalThis.googlesitekit={}),globalThis.googlesitekit.components=R;const{Button:z,Checkbox:L,Chip:P,CircularProgress:B,Dialog:H,DialogTitle:U,DialogContent:G,DialogFooter:F,Menu:Y,Option:V,ProgressBar:W,Radio:Z,Select:Q,SpinnerButton:$,Switch:q,Tab:X,TabBar:K,TextField:J,HelperText:ee,Tooltip:te}=R},52696(e,t,i){i.d(t,{WM:()=>n.WM,wA:()=>n.wA,ws:()=>n.ws});var n=i(49057);void 0===globalThis.googlesitekit&&(globalThis.googlesitekit={}),globalThis.googlesitekit.data=n.Ay},22059(e,t,i){var n=i(131),o=i(78325),s=i(63081),r=i(17243),a=i(15844),l=i(63696),c=i(13606),g=i(82871),d=i(51568),u=i(50539),p=i(49383),m=i(70301),h=i(29785),f=i(97345),y=i(88273),b=i(22942),_=i(10740),k=i(80),v=i(49481),x=i(31675),N=i(31265),I=i(78307),A=i(75662),T=i(33052),j=i(83880),w=i(88288),S=i(9246),M=i(72572),C=i(30845),E=i(65573),D=i(37467),O=i(58588),R=i(62659),z=i(13047),L=i(25797),P=i(62540);function KeyMetricsSetupApp(){const e=(0,R.A)(),t=(0,O.A)(),i=(0,u.useSelect)(e=>e(h.O4).getAdminURL("googlesitekit-dashboard")),n=(0,u.useSelect)(e=>e(f.oR).getUserInputSettings()),o=(0,u.useSelect)(e=>e(f.oR).isSavingUserInputSettings(n)),s=(0,u.useSelect)(e=>e(f.oR).isFetchingSaveInitialSetupSettings({isAnalyticsSetupComplete:!0})||e(m.M).isNavigating()),B=(0,u.useSelect)(e=>e(y.i).isModuleConnected(b.L1)),H=(0,u.useSelect)(e=>void 0!==e(k.K9).getSettings()),U=(0,u.useSelect)(e=>e(f.oR).getErrorForAction("saveUserInputSettings",[])),G=(0,u.useSelect)(e=>e(f.oR).getErrorForAction("saveInitialSetupSettings",[{isAnalyticsSetupComplete:!0}])),F=(0,u.useSelect)(e=>e(f.oR).getUserInputSetting(E.a3)||[]),{saveUserInputSettings:Y,saveInitialSetupSettings:V,clearError:W}=(0,u.useDispatch)(f.oR);(0,u.useSelect)(e=>{e(k.K9).isGatheringData(),e(v.n).isGatheringData()});const Z=(0,u.useSelect)(e=>{const t=e(k.K9).isFetchingSyncAvailableCustomDimensions(),i=e(k.K9).isSyncingAudiences(),n=e(k.K9).hasFinishedResolution("isGatheringData"),o=e(v.n).hasFinishedResolution("isGatheringData");return t||i||!n||!o}),{navigateTo:Q}=(0,u.useDispatch)(m.M),[$]=(0,D.A)("showProgress"),q=!!$;(0,a.A)(()=>{q?(0,z.sx)(`${e}_setup`,"setup_flow_v3_view_key_metrics_step"):(0,z.sx)(e,"view_key_metrics_step")});const X=(0,l.useCallback)(async()=>{if((await V({isAnalyticsSetupComplete:!0})).error)return;const e=new URL(i);e.searchParams.set("notification",q?"initial_setup_success":"authentication_success"),q||e.searchParams.set("slug","analytics-4"),Q((0,d.F)(e.toString(),t))},[i,V,Q,t,q]),K=(0,l.useCallback)(async()=>{W("saveInitialSetupSettings",[{isAnalyticsSetupComplete:!0}]);(await Y()).error||await X()},[Y,X,W]),{fetchSyncAvailableCustomDimensions:J,syncAvailableAudiences:ee}=(0,u.useDispatch)(k.K9);(0,l.useEffect)(()=>{H&&(ee(),J())},[H,ee,J]);const te=(0,l.useCallback)(()=>{o||Z||(q?(0,z.sx)(`${e}_setup`,"setup_flow_v3_complete_key_metrics_step"):(0,z.sx)(e,"complete_key_metrics_step"),K())},[o,q,Z,K,e]);let ie;ie=q?{category:`${e}_setup`,action:"setup_flow_v3_select_key_metrics_answer"}:{category:e,action:"select_key_metrics_answer"};const{USER_INPUT_ANSWERS_PURPOSE:ne}=(0,E.Dc)(),{USER_INPUT_ANSWERS_PURPOSE:oe}=(0,E.B$)(),se=q?(0,P.jsx)(w.A,{totalSegments:6,currentSegment:4}):null,re=o||!U&&s||Z;return(0,P.jsxs)(l.Fragment,{children:[(0,P.jsxs)(N.A,{subHeader:se,children:[q&&(0,P.jsx)(x.A,{gaTrackingEventArgs:{category:`${e}_setup`,label:"key-metrics"}}),(0,P.jsx)(I.A,{})]}),(0,P.jsx)("div",{className:"googlesitekit-key-metrics-setup",children:(0,P.jsx)("div",{className:"googlesitekit-module-page",children:(0,P.jsx)(_.xA,{children:(0,P.jsx)(A.A,{rounded:!0,children:(0,P.jsx)(_.xA,{children:(0,P.jsx)(_.fI,{children:(0,P.jsxs)(_.fh,{size:12,children:[(0,P.jsx)(T.A,{as:"h1",type:"headline",size:"medium",className:"googlesitekit-key-metrics-setup__title",children:(0,g.__)("Tell us your main goal to get tailored metrics","google-site-kit")}),(0,P.jsxs)("div",{className:"googlesitekit-key-metrics-setup__heading",children:[(0,P.jsx)(T.A,{as:"h2",type:"body",size:"large",children:(0,g.__)("Which option most closely matches the purpose of your site?","google-site-kit")}),(0,P.jsx)(j.A,{className:"googlesitekit-key-metrics-setup__description",type:"body",size:"small",children:(0,c.A)((0,g.__)("Even if multiple options apply to your site, select the one that applies the most.<br />You can also answer or edit your response later in Settings.","google-site-kit"),{br:(0,P.jsx)("br",{})})})]}),(0,P.jsx)(S.A,{slug:E.a3,max:E.Ax[E.a3],options:(0,r.omit)(ne,"other"),descriptions:oe,gaTrackingEventArgs:ie}),G&&(0,P.jsx)("div",{className:"googlesitekit-user-input__error",children:(0,P.jsx)(L.A,{description:(0,g.__)("Something went wrong, please try again","google-site-kit"),type:L.A.TYPES.ERROR})}),!G&&!!U&&(0,P.jsx)("div",{className:"googlesitekit-user-input__error",children:(0,P.jsx)(L.A,{title:(0,g.__)("Saving your answer failed","google-site-kit"),description:(0,g.__)("Retry to save your answer, or continue without saving. You can always edit your answer in Settings later.","google-site-kit"),type:L.A.TYPES.ERROR})}),(0,P.jsxs)("div",{className:"googlesitekit-user-input__footer",children:[(0,P.jsx)(p.SpinnerButton,{onClick:te,isSaving:re,disabled:(0,C.A)(F)||Z,children:(0,g.__)("Complete setup","google-site-kit")}),U&&(0,P.jsx)(p.SpinnerButton,{onClick:X,isSaving:s,tertiary:!0,children:(0,g.__)("Continue without saving","google-site-kit")})]})]})})})})})})}),B&&(0,P.jsx)(M.A,{title:(0,g.__)("Google Analytics was successfully set up","google-site-kit")})]})}var B=i(20697);(0,n.A)(()=>{const e=document.getElementById("js-googlesitekit-key-metrics-setup");e&&(0,o.render)((0,P.jsx)(s.A,{viewContext:B.s3,children:(0,P.jsx)(KeyMetricsSetupApp,{})}),e)})},49993(e,t,i){i.d(t,{Gq:()=>d,IL:()=>h,LD:()=>p,SO:()=>u,a2:()=>o,xD:()=>m});var n=i(13047);const o="googlesitekit_",s=`${o}1.178.0_${globalThis._googlesitekitBaseData.storagePrefix}_`,r=["sessionStorage","localStorage"];let a,l=[...r];async function c(e){const t=globalThis[e];if(!t)return!1;try{const e="__storage_test__";return t.setItem(e,e),t.removeItem(e),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==t.length}}async function g(){if(void 0!==a)return a;for(const e of l)a||await c(e)&&(a=globalThis[e]);return void 0===a&&(a=null),a}async function d(e){const t=await g();if(t){const i=t.getItem(`${s}${e}`);if(i){const e=JSON.parse(i),{timestamp:t,ttl:n,value:o,isError:s}=e;if(t&&(!n||Math.round(Date.now()/1e3)-t<n))return{cacheHit:!0,value:o,isError:s}}}return{cacheHit:!1,value:void 0}}async function u(e,t,{ttl:i=n.Jg,timestamp:o=Math.round(Date.now()/1e3),isError:r=!1}={}){const a=await g();if(a)try{return a.setItem(`${s}${e}`,JSON.stringify({timestamp:o,ttl:i,value:t,isError:r})),!0}catch(e){return globalThis.console.warn("Encountered an unexpected storage error:",e),!1}return!1}async function p(e){const t=await g();if(t)try{const i=e.startsWith(o)?e:`${s}${e}`;return t.removeItem(i),!0}catch(e){return globalThis.console.warn("Encountered an unexpected storage error:",e),!1}return!1}async function m(){const e=await g();if(e)try{const t=[];for(let i=0;i<e.length;i++){const n=e.key(i);0===n.indexOf(o)&&t.push(n)}return t}catch(e){return globalThis.console.warn("Encountered an unexpected storage error:",e),[]}return[]}async function h(){if(await g()){const e=await m();for(const t of e)await p(t);return!0}return!1}},85135(e,t,i){i.d(t,{A:()=>f});var n=i(62688),o=i.n(n),s=i(47485),r=i(63696),a=i(82871),l=i(10740),c=i(4452),g=i.n(c),d=i(62540);const u=(0,r.forwardRef)(({children:e,href:t,text:i,className:n,danger:o,disabled:s,target:r,"aria-label":a,inverse:l,tertiary:c,callout:u,calloutStyle:p,...m},h)=>{const f=t&&!s?"a":"button";return(0,d.jsx)(f,{className:g()("mdc-button",n,{"mdc-button--raised":!i&&!c&&!u,"mdc-button--danger":o,"mdc-button--inverse":l,"mdc-button--tertiary":c,"mdc-button--callout":u,"mdc-button--callout-primary":u||"primary"===p,"mdc-button--callout-warning":"warning"===p,"mdc-button--callout-error":"error"===p}),href:s?void 0:t,ref:h,disabled:!!s,"aria-label":a,target:r||"_self",role:"a"===f?"button":void 0,...m,children:e})});u.propTypes={children:o().node,href:o().string,text:o().bool,className:o().string,danger:o().bool,disabled:o().bool,target:o().string,"aria-label":o().string,inverse:o().bool,tertiary:o().bool,callout:o().bool,calloutStyle:o().oneOf(["primary","warning","error"])};const p=u;var m=i(99573);function MaybeTooltip({children:e,disabled:t=!1,tooltip:i=!1,tooltipTitle:n=null,hasIconOnly:o=!1,tooltipEnterDelayInMS:s=100}){return!t&&(i&&n||o&&n)?(0,d.jsx)(m.A,{title:n,enterDelay:s,children:e}):e}MaybeTooltip.propTypes={children:o().node.isRequired,disabled:o().bool,tooltip:o().bool,tooltipTitle:o().oneOfType([o().string,o().element]),hasIconOnly:o().bool,tooltipEnterDelayInMS:o().number};const h=(0,r.forwardRef)(({children:e,href:t=null,text:i=!1,className:n="",danger:o=!1,disabled:c=!1,target:g,icon:u=null,trailingIcon:m=null,"aria-label":h,title:f=null,customizedTooltip:y=null,tooltip:b=!1,inverse:_=!1,hideTooltipTitle:k=!1,tooltipEnterDelayInMS:v=100,tertiary:x=!1,callout:N=!1,calloutStyle:I=null,...A},T)=>{const j=(0,r.useCallback)(e=>{null!==e&&l.Nv.attachTo(e)},[]),w=(0,s.A)(T,j);const S=k?null:f||y||h;return(0,d.jsx)(MaybeTooltip,{disabled:c,tooltip:b,tooltipTitle:S,hasIconOnly:!!u&&void 0===e,tooltipEnterDelayInMS:v,children:(0,d.jsxs)(p,{href:t,disabled:c,className:n,danger:o,text:i,tertiary:x,inverse:_,callout:N,calloutStyle:I,ref:w,"aria-label":function(){let t=h;if("_blank"!==g)return t;const i=(0,a._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof e&&(t=t||e),t?`${t} ${i}`:i}(),target:g||"_self",...A,children:[u,e&&(0,d.jsx)("span",{className:"mdc-button__label",children:e}),m]})})});h.propTypes={onClick:o().func,children:o().node,href:o().string,text:o().bool,className:o().string,danger:o().bool,disabled:o().bool,icon:o().element,trailingIcon:o().element,title:o().string,customizedTooltip:o().element,tooltip:o().bool,inverse:o().bool,hideTooltipTitle:o().bool,callout:o().bool,calloutStyle:o().oneOf(["primary","warning","error"])};const f=h},32885(e,t,i){i.d(t,{A:()=>Checkbox});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(62457),c=i(62540);function Checkbox(e){const{onChange:t,id:i,name:n,value:s,checked:r,disabled:g,children:d,tabIndex:u,onKeyDown:p,loading:m,alignLeft:h,description:f,badge:y}=e,b=y?(0,c.jsxs)("div",{className:"mdc-checkbox__label-wrapper",children:[(0,c.jsx)("label",{htmlFor:i,children:d}),y]}):(0,c.jsx)("label",{htmlFor:i,children:d});return(0,c.jsxs)("div",{className:"mdc-form-field",children:[(0,c.jsx)("div",{className:o()("mdc-checkbox",{"mdc-checkbox--disabled":g,"mdc-checkbox--align-left":h}),children:m?(0,c.jsx)(l.A,{style:{margin:"0"},isSaving:!0}):(0,c.jsxs)(a.Fragment,{children:[(0,c.jsx)("input",{className:"mdc-checkbox__native-control",type:"checkbox",id:i,name:n,value:s,checked:r,disabled:g,onChange:t,tabIndex:u,onKeyDown:p}),(0,c.jsxs)("div",{className:"mdc-checkbox__background",children:[(0,c.jsx)("svg",{className:"mdc-checkbox__checkmark",viewBox:"0 0 12 9",children:(0,c.jsx)("path",{className:"mdc-checkbox__checkmark-path",d:"M2.08301 5.28834L3.55703 7.29507C4.24647 8.23368 5.5034 8.23368 6.19285 7.29507L10.083 1.99902",fill:"none",stroke:"none"})}),(0,c.jsx)("div",{className:"mdc-checkbox__mixedmark"})]})]})}),!f&&b,f&&(0,c.jsxs)("div",{className:"mdc-checkbox__content",children:[b,(0,c.jsx)("div",{className:"mdc-checkbox__description",children:f})]})]})}Checkbox.propTypes={onChange:r().func.isRequired,onKeyDown:r().func,id:r().string.isRequired,name:r().string.isRequired,value:r().string.isRequired,checked:r().bool,disabled:r().bool,children:r().node.isRequired,tabIndex:r().oneOfType([r().number,r().string]),loading:r().bool,alignLeft:r().bool,description:r().node,badge:r().node},Checkbox.defaultProps={checked:!1,disabled:!1,tabIndex:void 0,onKeyDown:null,loading:!1,alignLeft:!1,description:""}},99578(e,t,i){i.d(t,{A:()=>CircularProgress});var n=i(75762),o=i(62540);function CircularProgress(e){return(0,o.jsx)(n.A,{...e})}},11763(e,t,i){i.d(t,{A:()=>SpinnerButton,k:()=>d});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(17243),l=i(85135),c=i(99578),g=i(62540);const d={BEFORE:"before",AFTER:"after"};function SpinnerButton(e){const{className:t,onClick:i=()=>{},isSaving:n=!1,spinnerPosition:o=d.AFTER,...s}=e,u=(0,a.pickBy)(s,e=>void 0!==e);return(0,g.jsx)(l.A,{className:r()(t,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":n,"googlesitekit-button-icon--spinner__before":o===d.BEFORE,"googlesitekit-button-icon--spinner__after":o===d.AFTER}),icon:n&&o===d.BEFORE?(0,g.jsx)(c.A,{size:14}):void 0,trailingIcon:n&&o===d.AFTER?(0,g.jsx)(c.A,{size:14}):void 0,onClick:i,...u})}SpinnerButton.propTypes={className:o().string,onClick:o().func,isSaving:o().bool,spinnerPosition:o().oneOf(Object.values(d))}},99573(e,t,i){i.d(t,{A:()=>Tooltip});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(90295),l=i(63696),c=i(62540);function Tooltip({children:e,popperClassName:t,tooltipClassName:i,onOpen:n,onClose:o,...s}){const g=(0,l.useRef)(!1),d=n?()=>{g.current||(g.current=!0,n?.())}:void 0,u=n?()=>{g.current=!1,o?.()}:o;return(0,c.jsx)(a.Ay,{classes:{popper:r()("googlesitekit-tooltip-popper",t),tooltip:r()("googlesitekit-tooltip",i)},onOpen:d,onClose:u,...s,arrow:!0,children:e})}Tooltip.propTypes={children:o().node,popperClassName:o().string,tooltipClassName:o().string,onOpen:o().func,onClose:o().func}},20697(e,t,i){i.d(t,{Ax:()=>s,CZ:()=>g,Ej:()=>I,Gw:()=>A,Is:()=>r,KK:()=>u,Nn:()=>j,OT:()=>v,SH:()=>k,Y$:()=>p,ZS:()=>a,bg:()=>f,en:()=>N,ep:()=>h,f7:()=>o,hi:()=>m,jU:()=>n,k$:()=>b,kz:()=>T,ly:()=>l,mo:()=>y,s3:()=>_,uR:()=>c,x2:()=>x,zx:()=>d});const n="mainDashboard",o="entityDashboard",s="mainDashboardViewOnly",r="entityDashboardViewOnly",a="userInput",l="activation",c="splash",g="adminBar",d="adminBarViewOnly",u="settings",p="adBlockingRecovery",m="wpDashboard",h="wpDashboardViewOnly",f="moduleSetup",y="metricSelection",b="wpBlockEditor",_="keyMetricsSetup",k="key-metrics",v="traffic",x="site-goals",N="content",I="speed",A="monetization",T=[n,o,s,r,a,c,u,f,y],j=[s,r,d,h]},78990(e,t,i){i.d(t,{P9:()=>y,k:()=>m,mR:()=>f});var n=i(32091),o=i.n(n),s=i(17243),r=i(50539),a=i.n(r),l=i(49993),c=i(13047);const g="CREATE_SNAPSHOT",d="DELETE_SNAPSHOT",u="RESTORE_SNAPSHOT",p="SET_STATE_FROM_SNAPSHOT";function m(e,{keysToSnapshot:t}={}){o()(e,"storeName is required to create a snapshot store.");const i={},n={*deleteSnapshot(){return yield{payload:{},type:d}},*restoreSnapshot(e={}){const{clearAfterRestore:t=!0}=e,{cacheHit:i,value:n}=yield{payload:{},type:u};return i&&(yield{payload:{snapshot:n},type:p},t&&(yield{payload:{},type:d})),i},*createSnapshot(){return yield{payload:{},type:g}}},a={[d]:()=>(0,l.LD)(`datastore::cache::${e}`),[g]:(0,r.createRegistryControl)(i=>()=>{const n=i.stores[e].store.getState(),o=t?.length>0?(0,s.pick)(n,t):n;return(0,l.SO)(`datastore::cache::${e}`,o)}),[u]:()=>(0,l.Gq)(`datastore::cache::${e}`,c.Jg)};return{initialState:i,actions:n,controls:a,reducer:function(e=i,{type:n,payload:o}){if(n===p){const{snapshot:i}=o,{error:n,...s}=i;return t?.length>0?{...e,...s}:s}return e}}}function h(e=a()){return Object.values(e.stores).filter(e=>Object.keys(e.getActions()).includes("restoreSnapshot"))}function f(e=a()){return Promise.all(h(e).map(e=>e.getActions().createSnapshot()))}function y(e=a()){return Promise.all(h(e).map(e=>e.getActions().restoreSnapshot()))}},49057(e,t,i){i.d(t,{Ay:()=>f,wA:()=>a.A,ws:()=>u.w,WM:()=>r.A});var n=i(66218),o=i(56805),s=i(78913),r=i(35470),a=i(63737),l=i(44319),c=i(45177),g=i(30043),d=i(66293),u=i(52721),p=i(8084),m=i(97241);const h=(0,n.I)({},globalThis.wp?.data);h.combineStores=p.o3,h.commonActions=p.jU,h.commonControls=p._5,h.commonStore=p.x0,h.createReducer=function(e){return(0,m.Ay)(e)},h.useInViewSelect=u.w,h.controls=o.n,h.createRegistryControl=s.b,h.createRegistrySelector=s.N,h.useSelect=r.A,h.useDispatch=a.A,h.useRegistry=l.A,h.withSelect=c.A,h.withDispatch=g.A,h.RegistryProvider=d.Ay;const f=h},8084(e,t,i){i.d(t,{$C:()=>j,RF:()=>T,WI:()=>I,_5:()=>v,jU:()=>k,o3:()=>_,x0:()=>N});var n=i(32091),o=i.n(n),s=i(50532),r=i.n(s),a=i(17243),l=i(78913);const c="GET_REGISTRY",g="AWAIT";function d(...e){const t=e.reduce((e,t)=>({...e,...t}),{}),i=x(e.reduce((e,t)=>[...e,...Object.keys(t)],[]));return o()(0===i.length,`collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ${i.join(", ")}. Check your data stores for duplicates.`),t}const u=d,p=d;function m(...e){const t=[...e];let i;return"function"!=typeof t[0]&&(i=t.shift()),(e=i,n={})=>t.reduce((e,t)=>t(e,n),e)}const h=d,f=d,y=d;function b(e){return e}function _(...e){const t=y(...e.map(e=>e.initialState||{}));return{initialState:t,controls:p(...e.map(e=>e.controls||{})),actions:u(...e.map(e=>e.actions||{})),reducer:m(t,...e.map(e=>e.reducer||b)),resolvers:h(...e.map(e=>e.resolvers||{})),selectors:f(...e.map(e=>e.selectors||{}))}}const k={getRegistry:()=>({payload:{},type:c}),*await(e){return{payload:{value:e},type:g}}},v={[c]:(0,l.b)(e=>()=>e),[g]:({payload:e})=>e.value};function x(e){const t=[],i={};for(let n=0;n<e.length;n++){const o=e[n];i[o]=i[o]>=1?i[o]+1:1,i[o]>1&&t.push(o)}return t}const N={actions:k,controls:v,reducer:b};function I(e){return t=>A(e(t))}const A=r()(e=>(0,a.mapValues)(e,(e,t)=>(...i)=>{const n=e(...i);return o()(void 0!==n,`${t}(...) is not resolved`),n}));function T(e,{negate:t=!1}={}){return{safeSelector:(0,l.N)(i=>(n,...o)=>{const s=!t,r=!!t;try{return e(i,n,...o),s}catch{return r}}),dangerousSelector:(0,l.N)(t=>(i,...n)=>{e(t,i,...n)})}}function j(e,t){return o()("function"==typeof e,"a validator function is required."),o()("function"==typeof t,"an action creator function is required."),o()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),(...i)=>(e(...i),t(...i))}},11999(e,t,i){i.d(t,{s:()=>n});const n="core/forms"},70301(e,t,i){i.d(t,{M:()=>n});const n="core/location"},29785(e,t,i){i.d(t,{O4:()=>n,OQ:()=>s,qc:()=>o});const n="core/site",o="primary",s="secondary"},7972(e,t,i){i.d(t,{F:()=>o,n:()=>n});const n="core/ui",o="activeContextID"},97345(e,t,i){i.d(t,{$8:()=>r,$Q:()=>p,BT:()=>D,CQ:()=>T,D1:()=>Z,DF:()=>W,GM:()=>A,GT:()=>b,GU:()=>Q,HA:()=>L,HD:()=>u,HP:()=>E,J5:()=>B,JF:()=>w,JK:()=>f,Ml:()=>h,SS:()=>O,UF:()=>g,UY:()=>F,Vl:()=>R,W6:()=>V,Xq:()=>j,YQ:()=>S,Yw:()=>G,dV:()=>C,dX:()=>I,ej:()=>c,em:()=>s,ep:()=>x,fu:()=>k,gC:()=>_,hz:()=>m,jx:()=>d,lV:()=>l,nH:()=>P,oR:()=>n,od:()=>a,p3:()=>y,pG:()=>N,qv:()=>o,qy:()=>M,t1:()=>Y,t7:()=>U,tB:()=>v,tK:()=>H,u_:()=>z});const n="core/user",o="connected_url_mismatch",s="__global",r="temporary_persist_permission_error",a="adblocker_active",l=["weekly","monthly","quarterly"],c="googlesitekit_authenticate",g="googlesitekit_setup",d="googlesitekit_view_dashboard",u="googlesitekit_manage_options",p="googlesitekit_read_shared_module_data",m="googlesitekit_manage_module_sharing_options",h="googlesitekit_delegate_module_sharing_management",f="googlesitekit_update_plugins",y="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",_="kmAnalyticsLeastEngagingPages",k="kmAnalyticsNewVisitors",v="kmAnalyticsPopularAuthors",x="kmAnalyticsPopularContent",N="kmAnalyticsPopularProducts",I="kmAnalyticsReturningVisitors",A="kmAnalyticsTopCities",T="kmAnalyticsTopCitiesDrivingLeads",j="kmAnalyticsTopCitiesDrivingAddToCart",w="kmAnalyticsTopCitiesDrivingPurchases",S="kmAnalyticsTopDeviceDrivingPurchases",M="kmAnalyticsTopConvertingTrafficSource",C="kmAnalyticsTopCountries",E="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",O="kmAnalyticsTopTrafficSource",R="kmAnalyticsTopTrafficSourceDrivingAddToCart",z="kmAnalyticsTopTrafficSourceDrivingLeads",L="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",B="kmAnalyticsVisitLength",H="kmAnalyticsTopReturningVisitorPages",U="kmSearchConsolePopularKeywords",G="kmAnalyticsVisitsPerVisitor",F="kmAnalyticsMostEngagingPages",Y="kmAnalyticsTopCategories",V=[y,b,_,k,v,x,N,I,Y,A,T,j,w,S,M,C,D,O,R,P,B,H,G,F,Y],W=[...V,U],Z="welcome-modal-with-tour",Q="welcome-modal-gathering-data"},88273(e,t,i){i.d(t,{U:()=>o,i:()=>n});const n="core/modules",o="insufficient_module_dependencies"},67438(e,t,i){i.d(t,{A:()=>Notification});var n=i(62688),o=i.n(n),s=i(63696),r=i(50539),a=i(7972),l=i(8732),c=i(37133);function g(e){return`notification/${e}/viewed`}function d(e){return(0,r.useSelect)(t=>!!t(a.n).getValue(g(e)),[e])}function ViewedStateObserver({id:e,observeRef:t,threshold:i}){const n=(0,c.A)(t,{threshold:i}),{setValue:o}=(0,r.useDispatch)(a.n),{markNotificationSeen:g}=(0,r.useDispatch)(l.D),u=!!n?.isIntersecting,p=d(e),m=(0,s.useRef)();function h(){m.current&&clearTimeout(m.current)}return(0,s.useEffect)(()=>(!p&&u?(h(),m.current=setTimeout(()=>{n?.isIntersecting&&(o(d.getKey(e),!0),g(e))},3e3)):!u&&m.current&&h(),()=>{h()}),[p,u,o,g,e,n]),null}d.getKey=g,ViewedStateObserver.propTypes={id:o().string,observeRef:o().object,threshold:o().number};var u=i(68761),p=i(62540);function Notification({id:e,className:t,gaTrackingEventArgs:i,children:n,onView:o}){const a=(0,s.useRef)(),c=d(e),g=(0,u.A)(e,i?.category,{viewAction:i?.viewAction}),[m,h]=(0,s.useState)(!1),f=(0,r.useSelect)(t=>t(l.D).getNotificationSeenDates(e)),{dismissNotification:y}=(0,r.useDispatch)(l.D);return(0,s.useEffect)(()=>{!m&&c&&(g.view(i?.label,i?.value),o?.(),h(!0)),f?.length>=3&&y(e,{skipHidingFromQueue:!0})},[c,g,m,i,o,f,y,e]),(0,p.jsxs)("section",{id:e,ref:a,className:t,children:[n,!c&&(0,p.jsx)(ViewedStateObserver,{id:e,observeRef:a,threshold:.5})]})}Notification.propTypes={id:o().string,className:o().string,gaTrackingEventArgs:o().shape({category:o().string,viewAction:o().string,label:o().string,value:o().string}),children:o().node,onView:o().func}},67510(e,t,i){i.d(t,{Q:()=>f,A:()=>BannerNotification});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(50539),l=i(8732),c=i(68761),g=i(83891),d=i(41671),u=i(71189),p=i(61983),m=i(10740);var h=i(62540);const f={INFO:"info",ERROR:"error",WARNING:"warning"};function BannerNotification({notificationID:e,type:t=f.INFO,learnMoreLink:i,dismissButton:n,ctaButton:s,gaTrackingEventArgs:r,...d}){const u=(0,c.A)(e,r?.category),{dismissNotification:p}=(0,a.useDispatch)(l.D);let y=d?.svg;return y||t===f.INFO||(y={desktop:void 0,mobile:void 0,verticalPosition:"center"},t===f.WARNING&&(y.desktop="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYwIiBoZWlnaHQ9IjIzNCIgdmlld0JveD0iMCAwIDM2MCAyMzQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03My4xMzAyIDE3MC42NjhDODkuMzcxOSAxODkuOTkgMTE1LjQ3NiAxOTUuMTEgMTMxLjg2NSAxODkuOTkxQzE1My4yNDYgMTgzLjMxMiAxNjYuNjcyIDE2Mi45NjcgMTg1LjUwMiAxNjAuNTQ0QzIwNC4zMzMgMTU4LjEyMSAyMTUuNDA2IDE2OC43MDYgMjM1Ljg5NyAxNzAuMjMzQzI1Ni4zODkgMTcxLjc2IDI4MS4yMzIgMTY3LjYzIDI5Mi43OTEgMTM3LjkzNUMzMDQuMzQ5IDEwOC4yMzkgMjkzLjk0OCA3OC4yMzIxIDI3MC4yMTQgNjQuMzYxNUMyNDYuNDgxIDUwLjQ5MDggMjMzLjI3MSA2Ni43Njk0IDIxMC41NjQgNjguMTIzN0MxODcuODU4IDY5LjQ3NzkgMTc4LjAyMyA0NS44NTI4IDE2MS4wMjMgNDQuMzUyOEMxNDQuMDIzIDQyLjg1MjggMTM0LjUyMyA0NS44NTMgMTI0LjUyMyA1OC44NTI5QzExNC41MjMgNzEuODUyOCAxMjAuMzcxIDg1Ljc2NDEgODkuNTIzNSA5OS44NTNDNTguNjc1OCAxMTMuOTQyIDU2Ljg4ODUgMTUxLjM0NSA3My4xMzAyIDE3MC42NjhaIiBmaWxsPSIjRkZFNEIxIi8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjcwNV8xNzY4NikiPgo8cmVjdCB4PSIxMTYuNTIzIiB5PSI1Ny45MTk5IiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOC41MzMiIHJ4PSI2Ljk4MjUyIiBmaWxsPSIjRUJFRUYwIi8+CjxtYXNrIGlkPSJtYXNrMF8yNzA1XzE3Njg2IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIxMTYiIHk9IjU3IiB3aWR0aD0iMTI5IiBoZWlnaHQ9IjEzMiI+CjxyZWN0IHg9IjExNi41MjMiIHk9IjU3LjkxOTkiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTMwLjEzMyIgcng9IjYuOTgyNTIiIGZpbGw9IiNERUUzRTYiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzI3MDVfMTc2ODYpIj4KPHJlY3QgeD0iMTI1LjA1NyIgeT0iMTE3LjY1MyIgd2lkdGg9IjExMC40IiBoZWlnaHQ9IjMwLjkzMzMiIHJ4PSIzLjc1MTI4IiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHg9IjEyNS4wNTciIHk9IjEwMy4yNTMiIHdpZHRoPSIxMTAuNCIgaGVpZ2h0PSIzMC45MzMzIiByeD0iMy43NTEyOCIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMjUuMDU3IiB5PSIxNTYuMDUzIiB3aWR0aD0iMTEwLjQiIGhlaWdodD0iMzAuOTMzMyIgcng9IjMuNzUxMjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjE4Ljk0NjUiIHJ4PSIyLjMxNTY5IiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAyMDMuNDU3IDk1LjYyNDkpIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC45NDY1IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMTYzLjk5IDk1LjYyNTcpIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC45NDY1IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMTI0LjUyMyA5NS42MjU3KSIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxwYXRoIGQ9Ik0xMTYuNTIzIDY0LjkzNTVDMTE2LjUyMyA2MS4wNzkyIDExOS42NSA1Ny45NTMgMTIzLjUwNiA1Ny45NTNIMjM3LjM4M0MyNDEuMjM5IDU3Ljk1MyAyNDQuMzY1IDYxLjA3OTIgMjQ0LjM2NSA2NC45MzU1VjY4LjUzM0gxMTYuNTIzVjY0LjkzNTVaIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSIxMjEuODEzIiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMjcuMTA0IiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMzIuNDM3IiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxjaXJjbGUgY3g9IjE4MC41MjMiIGN5PSIxMjAuODUzIiByPSIxNy4zNzkzIiBmaWxsPSIjNEUzMzAwIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIuNzU4NjIiLz4KPGNpcmNsZSBjeD0iMS42NTUxNyIgY3k9IjEuNjU1MTciIHI9IjEuNjU1MTciIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3OC44NjggMTE2Ljk5MSkiIGZpbGw9IiNGRkU0QjEiLz4KPHJlY3Qgd2lkdGg9IjMuMzEwMzQiIGhlaWdodD0iOS4zNzkzMSIgcng9IjEuNjU1MTciIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3OC44NjggMTI4LjU3NykiIGZpbGw9IiNGRkU0QjEiLz4KPGRlZnM+CjxmaWx0ZXIgaWQ9ImZpbHRlcjBfZF8yNzA1XzE3Njg2IiB4PSIxMDcuOTkiIHk9IjUxLjUxOTkiIHdpZHRoPSIxNDUuMDY3IiBoZWlnaHQ9IjE0Ni4xMzMiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeT0iMi4xMzMzMyIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjI2NjY3Ii8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xNSAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93XzI3MDVfMTc2ODYiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjcwNV8xNzY4NiIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPC9kZWZzPgo8L3N2Zz4K"),t===f.ERROR&&(y.desktop="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAwIiBoZWlnaHQ9IjIwMiIgdmlld0JveD0iMCAwIDQwMCAyMDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04NC44NTc1IDk3LjYxNjZDMTA1Ljg1NyAxMzQuMDIgMTUzLjIwMSAxMDYuMTIzIDE4MS4zNTcgMTE0LjU3MkMyMDkuNTEzIDEyMy4wMiAyMTMuNDY4IDE2MS41NDUgMjM1Ljg1NyAxNjkuOTI1QzI1OC4yNDUgMTc4LjMwNiAzMDMuMDY4IDE3MS41MTUgMzE2LjAwMiAxMzguMTM1QzMyOC45MzYgMTA0Ljc1NCAzMTIuMTY3IDgzLjY1MjkgMjg3LjY1MiA3Mi4xNjk0QzI2My4xMzYgNjAuNjg1OSAyNjguOTc2IDM2Ljc4MzYgMjM0LjE2NiAyNy44MDA5QzE5OS4zNTcgMTguODE4MiAxNzguNjY1IDQxLjI2NTEgMTQwLjE2NSAzMC43OTI3QzEwMS42NjUgMjAuMzIwNCA2My44NTc4IDYxLjIxMzEgODQuODU3NSA5Ny42MTY2WiIgZmlsbD0iI0ZGREVEMyIvPgo8ZyBmaWx0ZXI9InVybCgjZmlsdGVyMF9kXzI3MDVfMTc2MzMpIj4KPHJlY3QgeD0iMTI3LjY2NiIgeT0iMzcuODQxMSIgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjguMTk0IiByeD0iNi45ODI1MiIgZmlsbD0iI0VCRUVGMCIvPgo8bWFzayBpZD0ibWFzazBfMjcwNV8xNzYzMyIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMTI3IiB5PSIzNyIgd2lkdGg9IjEyOSIgaGVpZ2h0PSIxMzEiPgo8cmVjdCB4PSIxMjcuNjY2IiB5PSIzNy44NDExIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOS43OSIgcng9IjYuOTgyNTIiIGZpbGw9IiNERUUzRTYiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzI3MDVfMTc2MzMpIj4KPHJlY3QgeD0iMTM2LjIiIHk9Ijk3LjQxNjkiIHdpZHRoPSIxMTAuNCIgaGVpZ2h0PSIzMC44NTE4IiByeD0iMy43NTEyOCIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMzYuMiIgeT0iODMuMDU0NiIgd2lkdGg9IjExMC40IiBoZWlnaHQ9IjMwLjg1MTgiIHJ4PSIzLjc1MTI4IiBmaWxsPSIjRjNGNUY3Ii8+CjxwYXRoIGQ9Ik0xMzYuMiAxMzkuNDY3QzEzNi4yIDEzNy4zOTUgMTM3Ljg3OSAxMzUuNzE2IDEzOS45NTEgMTM1LjcxNkgyNDIuODQ5QzI0NC45MiAxMzUuNzE2IDI0Ni42IDEzNy4zOTUgMjQ2LjYgMTM5LjQ2N1YxNjUuOTM1SDEzNi4yVjEzOS40NjdaIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC44OTY2IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMjE0LjU5OSA3NS40NDY3KSIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMTguODk2NiIgcng9IjIuMzE1NjkiIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3NS4xMzMgNzUuNDQ3NikiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjE4Ljg5NjYiIHJ4PSIyLjMxNTY5IiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAxMzUuNjY2IDc1LjQ0NzYpIiBmaWxsPSIjRjNGNUY3Ii8+CjwvZz4KPHBhdGggZD0iTTEyNy42NjYgNDQuODU2N0MxMjcuNjY2IDQxLjAwMDQgMTMwLjc5MyAzNy44NzQyIDEzNC42NDkgMzcuODc0MkgyNDguNTI2QzI1Mi4zODIgMzcuODc0MiAyNTUuNTA4IDQxLjAwMDQgMjU1LjUwOCA0NC44NTY3VjQ4LjQyNjNIMTI3LjY2NlY0NC44NTY3WiIgZmlsbD0id2hpdGUiLz4KPHJlY3QgeD0iMTMyLjk1NiIgeT0iNDEuMzkxNSIgd2lkdGg9IjMuNTI2NjciIGhlaWdodD0iMy41MTczNyIgcng9IjEuNzU4NjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3QgeD0iMTM4LjI0NyIgeT0iNDEuMzkxNSIgd2lkdGg9IjMuNTI2NjciIGhlaWdodD0iMy41MTczNyIgcng9IjEuNzU4NjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3QgeD0iMTQzLjU4IiB5PSI0MS4zOTE1IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUxNzM3IiByeD0iMS43NTg2OCIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxjaXJjbGUgY3g9IjE5MS42NjYiIGN5PSIxMDAuOTE1IiByPSIxNi44IiBmaWxsPSIjQUM0MjIwIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIuNjY2NjciLz4KPHBhdGggZD0iTTE5Mi45MTQgOTMuOTgxOEgxOTAuNDE4QzE5MC4wOTIgOTMuOTgxOCAxODkuODQzIDk0LjI3MTQgMTg5Ljg5MSA5NC41OTM2TDE5MS4xMzkgMTAyLjk3M0MxOTEuMjI5IDEwMy41OCAxOTIuMTA0IDEwMy41OCAxOTIuMTk0IDEwMi45NzNMMTkzLjQ0MiA5NC41OTM2QzE5My40OSA5NC4yNzE0IDE5My4yNCA5My45ODE4IDE5Mi45MTQgOTMuOTgxOFoiIGZpbGw9IiNGRkRFRDMiLz4KPGNpcmNsZSBjeD0iMTkxLjY2NiIgY3k9IjEwNi43ODIiIHI9IjEuNiIgZmlsbD0iI0ZGREVEMyIvPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kXzI3MDVfMTc2MzMiIHg9IjExOS4xMzMiIHk9IjMxLjQ0MTEiIHdpZHRoPSIxNDUuMDY3IiBoZWlnaHQ9IjE0NS4yNjEiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeT0iMi4xMzMzMyIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjI2NjY3Ii8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xNSAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93XzI3MDVfMTc2MzMiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjcwNV8xNzYzMyIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPC9kZWZzPgo8L3N2Zz4K")),(0,h.jsx)("div",{className:o()("googlesitekit-banner-notification",`googlesitekit-banner-notification--${t}`),children:(0,h.jsx)(m.xA,{className:"googlesitekit-page-content",children:(0,h.jsx)(m.fI,{children:(0,h.jsx)(m.fh,{size:12,children:(0,h.jsx)(g.A,{learnMoreLink:i&&{...i,onClick:async function(e){u.clickLearnMore(r?.label,r?.value),await(i?.onClick?.(e))}},dismissButton:n&&{...n,onClick:async function(t){await(n?.onClick?.(t)),u.dismiss(r?.label,r?.value),p(e,{...n?.dismissOptions})}},ctaButton:s&&{...s,onClick:async function(t){u.confirm(r?.label,r?.value),await(s?.onClick?.(t)),s?.dismissOnClick&&p(e,{...s?.dismissOptions})}},svg:y,...d})})})})})}BannerNotification.propTypes={notificationID:r().string.isRequired,type:r().oneOf(Object.values(f)),titleIcon:r().node,title:r().string,description:r().oneOfType([r().string,r().node]),learnMoreLink:r().shape(d.A.propTypes),dismissButton:r().shape(p.A.propTypes),ctaButton:r().shape(u.A.propTypes),gaTrackingEventArgs:r().shape({category:r().string,label:r().string,value:r().number})}},84730(e,t,i){i.d(t,{Bp:()=>s,FQ:()=>r,He:()=>l,bI:()=>a,rq:()=>o,ui:()=>n});const n="warning-notification-gtg",o="gtg-setup-cta",s="setup-success-notification-site-kit",r={ERROR_HIGH:30,ERROR_LOW:60,WARNING:100,INFO:150,SETUP_CTA_HIGH:150,SETUP_CTA_LOW:200},a={HEADER:"notification-area-header",DASHBOARD_TOP:"notification-area-dashboard-top",OVERLAYS:"notification-area-overlays"},l={DEFAULT:"default",SETUP_CTAS:"setup-ctas"}},8732(e,t,i){i.d(t,{$:()=>s,D:()=>o});var n=i(20697);const o="core/notifications",s=[n.uR,n.jU,n.f7,n.Ax,n.Is]},68761(e,t,i){i.d(t,{A:()=>r});var n=i(63696),o=i(62659),s=i(13047);function r(e,t,{viewAction:i="view_notification",confirmAction:r="confirm_notification",dismissAction:a="dismiss_notification",clickLearnMoreAction:l="click_learn_more_link"}={}){const c=(0,o.A)(),g=t??`${c}_${e}`;return{view:(0,n.useCallback)((...e)=>(0,s.sx)(g,i,...e),[g,i]),confirm:(0,n.useCallback)((...e)=>(0,s.sx)(g,r,...e),[g,r]),dismiss:(0,n.useCallback)((...e)=>(0,s.sx)(g,a,...e),[g,a]),clickLearnMore:(0,n.useCallback)((...e)=>(0,s.sx)(g,l,...e),[g,l])}}},4169(e,t,i){i.d(t,{N$:()=>o,aO:()=>s,qB:()=>n});const n={BOXES:"boxes",COMPOSITE:"composite"},o={QUARTER:"quarter",HALF:"half",FULL:"full"},s="core/widgets"},59352(e,t,i){i.r(t),i.d(t,{CONTEXT_ENTITY_DASHBOARD_CONTENT:()=>g,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:()=>u,CONTEXT_ENTITY_DASHBOARD_SPEED:()=>d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:()=>c,CONTEXT_MAIN_DASHBOARD_CONTENT:()=>r,CONTEXT_MAIN_DASHBOARD_KEY_METRICS:()=>n,CONTEXT_MAIN_DASHBOARD_MONETIZATION:()=>l,CONTEXT_MAIN_DASHBOARD_SITE_GOALS:()=>o,CONTEXT_MAIN_DASHBOARD_SPEED:()=>a,CONTEXT_MAIN_DASHBOARD_TRAFFIC:()=>s,default:()=>p});const n="mainDashboardKeyMetrics",o="mainDashboardSiteGoals",s="mainDashboardTraffic",r="mainDashboardContent",a="mainDashboardSpeed",l="mainDashboardMonetization",c="entityDashboardTraffic",g="entityDashboardContent",d="entityDashboardSpeed",u="entityDashboardMonetization",p={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:n,CONTEXT_MAIN_DASHBOARD_SITE_GOALS:o,CONTEXT_MAIN_DASHBOARD_TRAFFIC:s,CONTEXT_MAIN_DASHBOARD_CONTENT:r,CONTEXT_MAIN_DASHBOARD_SPEED:a,CONTEXT_MAIN_DASHBOARD_MONETIZATION:l,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:c,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:d,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:u}},7551(e,t,i){i.d(t,{Ay:()=>a,Oo:()=>s,oE:()=>r});var n=i(20697),o=i(62659);const s=n.jU,r=n.f7;function a(){const e=(0,o.A)();return e===n.jU||e===n.Ax?s:e===n.f7||e===n.Is?r:null}},7076(e,t,i){i.d(t,{d:()=>r});var n=i(18117),o=i(17243),s=i(63696);function r(...e){const t=(0,n.MA)(()=>(0,o.debounce)(...e),e);return(0,s.useEffect)(()=>()=>t.cancel(),[t]),t}},30805(e,t,i){i.d(t,{i:()=>r});var n=i(63696),o=i(79961),s=i(84895);function r(e){const t=(0,n.useContext)(o.A);return(0,s.G)(e,t)}},68832(e,t,i){i.d(t,{A:()=>s});var n=i(35470),o=i(11999);function s(e,t){return(0,n.A)(i=>{const{getValue:n}=i(o.s);return n(e,t)},[e,t])}},58588(e,t,i){i.d(t,{A:()=>s});var n=i(63696),o=i(37467);function s(){const[e]=(0,o.A)("notification"),[t]=(0,o.A)("panel");return(0,n.useMemo)(()=>{const i={};return e&&(i.notification=e),t&&(i.panel=t),i},[e,t])}},85097(e,t,i){i.d(t,{W:()=>l});var n=i(79257),o=i(35470),s=i(63696),r=i(52735),a=i(7972);function l({sticky:e=!1}={}){const t=(0,s.useContext)(r.A),[i,l]=(0,s.useState)(!1),c=(0,o.A)(e=>e(a.n).getInViewResetCount()),g=(0,o.A)(e=>e(a.n).getValue("forceInView"));return(0,s.useEffect)(()=>{t.value&&!i&&l(!0)},[i,t,l]),(0,s.useEffect)(()=>{g&&l(!0)},[g]),(0,n.A)(()=>{l(!1)},[c]),!(!e||!i)||!!t.value}},52721(e,t,i){i.d(t,{w:()=>a});var n=i(35470),o=i(63696),s=i(85097);function r(){}function a(e,t){const i=(0,s.W)({sticky:!0}),a=(0,o.useRef)(),l=(0,o.useCallback)(e,t),c=(0,n.A)(i?l:r);return i&&(a.current=c),a.current}},12896(e,t,i){i.d(t,{l:()=>o});var n=i(78174);function o(e,t,i){(0,n.A)(i=>e.includes(i.keyCode)&&t.current.contains(i.target),i)}},37133(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696);const __WEBPACK_DEFAULT_EXPORT__=function(e,t){const[i,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{if(e.current&&"function"==typeof globalThis.IntersectionObserver){function i(e){o(e[e.length-1])}const n=new globalThis.IntersectionObserver(i,t);return n.observe(e.current),()=>{o(null),n.disconnect()}}return()=>{}},[e.current,t.threshold,t.root,t.rootMargin]),i}},37467(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(51568),s=i(82286);const __WEBPACK_DEFAULT_EXPORT__=function(e,t,i=globalThis){const[r,a]=(0,n.useState)((0,s.d)(i.location.href,e)||t);return[r,function(t){a(t);const n=(0,o.F)(i.location.href,{[e]:t});i.history.replaceState(null,"",n)}]}},62659(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(19826);const __WEBPACK_DEFAULT_EXPORT__=function(){return(0,n.useContext)(o.Ay)}},4124(e,t,i){i.d(t,{A:()=>s});var n=i(20697),o=i(62659);function s(){const e=(0,o.A)();return n.Nn.includes(e)}},10740(e,t,i){i.d(t,{$z:()=>o.$,CR:()=>a.C,Cf:()=>l.DialogContent,Es:()=>l.DialogFooter,Nv:()=>n.N,P3:()=>r.P,Si:()=>s.S,fI:()=>g.fI,fh:()=>g.fh,lG:()=>c.a,xA:()=>g.xA});var n=i(91046),o=i(3412),s=i(30454),r=i(26569),a=i(56655),l=i(12786),c=i.n(l),g=i(84984)},84984(e,t,i){i.d(t,{fh:()=>Cell,xA:()=>u,fI:()=>g});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function Cell(e){const{className:t,alignTop:i,alignMiddle:n,alignBottom:o,alignRight:s,alignLeft:l,smAlignRight:c,mdAlignRight:g,lgAlignRight:d,smSize:u,smStart:p,smOrder:m,mdSize:h,mdStart:f,mdOrder:y,lgSize:b,lgStart:_,lgOrder:k,size:v,children:x,...N}=e;return(0,a.jsx)("div",{...N,className:r()(t,"mdc-layout-grid__cell",{"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":n,"mdc-layout-grid__cell--align-bottom":o,"mdc-layout-grid__cell--align-right":s,"mdc-layout-grid__cell--align-left":l,"mdc-layout-grid__cell--align-right-phone":c,"mdc-layout-grid__cell--align-right-tablet":g,"mdc-layout-grid__cell--align-right-desktop":d,[`mdc-layout-grid__cell--span-${v}`]:12>=v&&v>0,[`mdc-layout-grid__cell--span-${b}-desktop`]:12>=b&&b>0,[`mdc-layout-grid__cell--start-${_}-desktop`]:12>=_&&_>0,[`mdc-layout-grid__cell--order-${k}-desktop`]:12>=k&&k>0,[`mdc-layout-grid__cell--span-${h}-tablet`]:8>=h&&h>0,[`mdc-layout-grid__cell--start-${f}-tablet`]:8>=f&&f>0,[`mdc-layout-grid__cell--order-${y}-tablet`]:8>=y&&y>0,[`mdc-layout-grid__cell--span-${u}-phone`]:4>=u&&u>0,[`mdc-layout-grid__cell--start-${p}-phone`]:4>=p&&p>0,[`mdc-layout-grid__cell--order-${m}-phone`]:4>=m&&m>0}),children:x})}Cell.propTypes={smSize:o().number,smStart:o().number,smOrder:o().number,mdSize:o().number,mdStart:o().number,mdOrder:o().number,lgSize:o().number,lgStart:o().number,lgOrder:o().number,size:o().number,alignTop:o().bool,alignMiddle:o().bool,alignBottom:o().bool,alignRight:o().bool,alignLeft:o().bool,smAlignRight:o().bool,mdAlignRight:o().bool,lgAlignRight:o().bool,className:o().string,children:o().node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0};var l=i(63696);const c=(0,l.forwardRef)(({className:e,children:t,...i},n)=>(0,a.jsx)("div",{ref:n,className:r()("mdc-layout-grid__inner",e),...i,children:t}));c.displayName="Row",c.propTypes={className:o().string,children:o().node},c.defaultProps={className:""};const g=c,d=(0,l.forwardRef)(({alignLeft:e,fill:t,className:i,children:n,collapsed:o,...s},l)=>(0,a.jsx)("div",{className:r()("mdc-layout-grid",i,{"mdc-layout-grid--align-left":e,"mdc-layout-grid--collapsed":o,"mdc-layout-grid--fill":t}),...s,ref:l,children:n}));d.displayName="Grid",d.propTypes={alignLeft:o().bool,fill:o().bool,className:o().string,collapsed:o().bool,children:o().node},d.defaultProps={className:""};const u=d},58718(e,t,i){i.d(t,{CX:()=>o,Py:()=>r,SM:()=>n,kj:()=>s});const n="adsense-connect-cta",o="adsense-connect-cta-tooltip-state",s="adsense-ga4-top-earnings-notice",r="adsense"},22942(e,t,i){i.d(t,{A_:()=>g,DF:()=>u,L1:()=>p,M0:()=>r,Mc:()=>a,Ok:()=>c,U9:()=>l,iW:()=>s,ue:()=>o,wq:()=>n,xR:()=>d});const n=1,o=2,s=3,r="enhanced-measurement-activation-banner-tooltip-state",a="enhanced-measurement-activation-banner-dismissed-item",l="_r.explorerCard..selmet",c="_r.explorerCard..seldim",g="_r..dataFilters",d="_r..nav",u="key-metrics-connect-ga4-cta-widget",p="analytics-4"},80(e,t,i){i.d(t,{CV:()=>w,Cu:()=>x,K9:()=>n,Kr:()=>h,Lf:()=>p,Oh:()=>r,PW:()=>j,Rx:()=>D,S9:()=>f,TQ:()=>d,Vt:()=>C,Wl:()=>k,ZC:()=>o,ZY:()=>a,_p:()=>E,ag:()=>m,aj:()=>u,bz:()=>S,dC:()=>A,dq:()=>M,f2:()=>c,fB:()=>T,fV:()=>I,iB:()=>g,kc:()=>l,mo:()=>b,nc:()=>N,rm:()=>v,to:()=>s,wo:()=>y,yn:()=>_});const n="modules/analytics-4",o="account_create",s="property_create",r="webdatastream_create",a="analyticsSetup",l=10,c=0,g="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",u="enhanced-measurement-enabled",p="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",h="analyticsCustomDimensionsCreate",f="https://www.googleapis.com/auth/analytics.edit",y="dashboardAllTrafficWidgetDimensionName",b="dashboardAllTrafficWidgetDimensionColor",_="dashboardAllTrafficWidgetDimensionValue",k="dashboardAllTrafficWidgetActiveRowIndex",v="dashboardAllTrafficWidgetLoaded",x={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},N={ADD_TO_CART:"add_to_cart",PURCHASE:"purchase",SUBMIT_LEAD_FORM:"submit_lead_form",GENERATE_LEAD:"generate_lead",CONTACT:"contact"},I=[N.CONTACT,N.GENERATE_LEAD,N.SUBMIT_LEAD_FORM],A=[N.PURCHASE,N.ADD_TO_CART],T={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",w="audienceTileCustomDimensionCreate",S="audience-selection-panel-expirable-new-badge-",M="audience",C="customDimension",E="property",D=[M,C,E]},49481(e,t,i){i.d(t,{f:()=>o,n:()=>n});const n="modules/search-console",o=0},51193(e,t,i){i.d(t,{Du:()=>u,GH:()=>a,Gp:()=>l,IS:()=>y,Jg:()=>g,N_:()=>_,O5:()=>b,Ql:()=>p,Qr:()=>m,XH:()=>f,r0:()=>c,sq:()=>h,tt:()=>d});var n=i(32091),o=i.n(n),s=i(17243),r=i(82871);const a="Invalid dateString parameter, it must be a string.",l='Invalid date range, it must be a string with the format "last-x-days".',c=60,g=60*c,d=24*g,u=7*d;function p(){function e(e){return(0,r.sprintf)(/* translators: %s: number of days */ /* translators: %s: number of days */ (0,r._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 m(e=""){if(!(0,s.isString)(e))return!1;if(3!==e.split("-").length)return!1;const t=new Date(e);return(0,s.isDate)(t)&&!isNaN(t)}function h(e){o()((0,s.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");const t=`${e.getMonth()+1}`,i=`${e.getDate()}`;return[e.getFullYear(),t.length<2?`0${t}`:t,i.length<2?`0${i}`:i].join("-")}function f(e){o()(m(e),a);const[t,i,n]=e.split("-");return new Date(t,i-1,n)}function y(e,t){return h(_(e,t*d))}function b(e){const t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function _(e,t){o()(m(e)||(0,s.isDate)(e)&&!isNaN(e),a);const i=m(e)?f(e).getTime():e.getTime();return new Date(i-1e3*t)}},49746(e,t,i){i.d(t,{Eo:()=>d,JK:()=>h,K5:()=>m,jq:()=>p,mK:()=>g});var n=i(17243),o=i(50532),s=i.n(o),r=i(82871);function a(e,t={}){const{formatUnit:i,formatDecimal:n}=function(e,t={}){const{hours:i,minutes:n,seconds:o}=l(e);return{hours:i,minutes:n,seconds:o,formatUnit(){const{unitDisplay:s="short",...a}=t,l={unitDisplay:s,...a,style:"unit"};return 0===e?p(o,{...l,unit:"second"}):(0,r.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,r._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?p(o,{...l,unit:"second"}):"",n?p(n,{...l,unit:"minute"}):"",i?p(i,{...l,unit:"hour"}):"").trim()},formatDecimal(){const t=(0,r.sprintf)( // translators: %s: number of seconds with "s" as the abbreviated unit. // translators: %s: number of seconds with "s" as the abbreviated unit. (0,r.__)("%ds","google-site-kit"),o);if(0===e)return t;const s=(0,r.sprintf)( // translators: %s: number of minutes with "m" as the abbreviated unit. // translators: %s: number of minutes with "m" as the abbreviated unit. (0,r.__)("%dm","google-site-kit"),n),a=(0,r.sprintf)( // translators: %s: number of hours with "h" as the abbreviated unit. // translators: %s: number of hours with "h" as the abbreviated unit. (0,r.__)("%dh","google-site-kit"),i);return(0,r.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,r._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",n?s:"",i?a:"").trim()}}}(e,t);try{return i()}catch{return n()}}function l(e){e=parseInt(e,10),Number.isNaN(e)&&(e=0);return{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}}function c(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e}function g(e){let t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:(0,n.isPlainObject)(e)&&(t={...e}),t}function d(e,t={}){e=(0,n.isFinite)(e)?e:Number(e),(0,n.isFinite)(e)||(console.warn("Invalid number",e,typeof e),e=0);const i=g(t),{style:o="metric"}=i;return"metric"===o?function(e){const t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in millions. // translators: %s: an abbreviated number in millions. (0,r.__)("%sM","google-site-kit"),p(c(e),e%10==0?{}:t)):1e4<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,r.__)("%sK","google-site-kit"),p(c(e))):1e3<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,r.__)("%sK","google-site-kit"),p(c(e),e%10==0?{}:t)):p(e,{signDisplay:"never",maximumFractionDigits:1})}(e):"duration"===o?a(e,i):"durationISO"===o?function(e){let{hours:t,minutes:i,seconds:n}=l(e);return n=("0"+n).slice(-2),i=("0"+i).slice(-2),t=("0"+t).slice(-2),"00"===t?`${i}:${n}`:`${t}:${i}:${n}`}(e):p(e,i)}const u=s()(console.warn);function p(e,t={}){const{locale:i=h(),...n}=t;try{return new Intl.NumberFormat(i,n).format(e)}catch(t){u(`Site Kit numberFormat error: Intl.NumberFormat( ${JSON.stringify(i)}, ${JSON.stringify(n)} ).format( ${typeof e} )`,t.message)}const o={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],r={};for(const[e,t]of Object.entries(n))o[e]&&t===o[e]||s.includes(e)||(r[e]=t);try{return new Intl.NumberFormat(i,r).format(e)}catch{return new Intl.NumberFormat(i).format(e)}}function m(e,t={}){const{locale:i=h(),style:n="long",type:o="conjunction"}=t;if(Intl.ListFormat){return new Intl.ListFormat(i,{style:n,type:o}).format(e)} /* translators: used between list items, there is a space after the comma. */const s=(0,r.__)(", ","google-site-kit");return e.join(s)}function h(e=globalThis){const t=(0,n.get)(e,["_googlesitekitLegacyData","locale"]);if(t){const e=t.match(/^(\w{2})?(_)?(\w{2})/);if(e&&e[0])return e[0].replace(/_/g,"-")}return e.navigator.language}},13047(e,t,i){i.d(t,{tt:()=>y.tt,Jg:()=>y.Jg,Gp:()=>y.Gp,GH:()=>y.GH,r0:()=>y.r0,Du:()=>y.Du,Zf:()=>w,Cn:()=>x,G7:()=>f,vH:()=>h,N_:()=>y.N_,zh:()=>M,mK:()=>g.mK,Ql:()=>y.Ql,vY:()=>v,sq:()=>y.sq,VZ:()=>N.VZ,JK:()=>g.JK,IS:()=>y.IS,pH:()=>N.pH,kf:()=>A,O5:()=>y.O5,Qr:()=>y.Qr,x6:()=>I,K5:()=>g.K5,S_:()=>m,dc:()=>N.dc,Eo:()=>g.Eo,jq:()=>g.jq,DK:()=>j.D,N9:()=>T,p9:()=>s.p,XH:()=>y.XH,Zm:()=>l,sx:()=>o.sx,BI:()=>o.BI,CZ:()=>s.C,BG:()=>S});var n=i(17243),o=i(65054),s=i(50477),r=i(10523),a=i.n(r);function l(e){return a()(JSON.stringify(c(e)))}function c(e){const t={};return Object.keys(e).sort().forEach(i=>{let n=e[i];n&&"object"==typeof n&&!Array.isArray(n)&&(n=c(n)),t[i]=n}),t}var g=i(49746);function d(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function u(e){return`<p>${e.replace(/\n{2,}/g,"</p><p>")}</p>`}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){const t=[d,u,p];let i=e;for(const e of t)i=e(i);return i}function h(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)]}function f(e){const t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t}var y=i(51193),b=i(30908),_=i(38017),k=i(62540);function v(e,t={}){if(Number.isNaN(Number(e)))return"";const{invertColor:i=!1}=t;return(0,b.Ay)((0,k.jsx)(_.A,{direction:e>0?"up":"down",invertColor:i}))}function x(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}var N=i(48276);function I(e){const t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function A(e){if("number"==typeof e)return!0;const t=(e||"").toString();return!!t&&!isNaN(t)}function T(e){return Array.isArray(e)?[...e].sort():e}var j=i(11193);function w(e,t){function i(e){return"0"===e||0===e}if(i(e)&&i(t))return 0;if(i(e)||Number.isNaN(e))return null;const n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}function S(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}}function M(e){if(!e)return"";const t=e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/(\\)/g,"");return(0,n.unescape)(t)}},86582(e,t,i){i.d(t,{A:()=>o});var n=i(20697);function o(e){return n.kz.includes(e)}},11193(e,t,i){i.d(t,{D:()=>s});var n=i(32091),o=i.n(n);function s(e,{dateRangeLength:t}){o()(Array.isArray(e),"report must be an array to partition."),o()(Number.isInteger(t)&&t>0,"dateRangeLength must be a positive integer.");const i=-1*t;return{currentRange:e.slice(i),compareRange:e.slice(2*i,i)}}},55465(e,t,i){i.d(t,{O:()=>o});var n=i(31234);const o=i.n(n)()(globalThis)},50477(e,t,i){i.d(t,{C:()=>s,p:()=>o});var n=i(55465);function o(e,t={}){return{__html:n.O.sanitize(e,t)}}function s(e){const t="object"==typeof e?e.toString():e;return t?.replace?.(/\/+$/,"")}},11883(e,t,i){i.d(t,{YJ:()=>s,Eq:()=>r});var n=i(97513),o=i(17243);function s(e,t){const i=document.querySelector(e);if(!i)return 0;const n=i.getBoundingClientRect().top,o=r(t);return n+globalThis.scrollY-o}function r(e){let t=function(e){let t=0;const i=document.querySelector(".googlesitekit-header");t=i&&"sticky"===globalThis.getComputedStyle(i).position?function(e){const t=document.querySelector(".googlesitekit-header");if(t){if(e===n.mp)return t.offsetHeight;const i=t.getBoundingClientRect().bottom;return i<0?0:i}return 0}(e):function(e){const t=document.querySelector("#wpadminbar");if(t&&e!==n.mp)return t.offsetHeight;return 0}(e);return t=function(e){return(0,o.isFinite)(e)?e:0}(t),t<0?0:t}(e);const i=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(i).reduce((e,t)=>e+t.offsetHeight,0),t}},65054(e,t,i){i.d(t,{M9:()=>I,sx:()=>x,BI:()=>N});var n=i(17243);const o="_googlesitekitDataLayer",s="data-googlesitekit-gtag";function r(e){return function(){e[o]=e[o]||[],e[o].push(arguments)}}var a=i(84895);const l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:c=[],isSiteKitScreen:g,trackingEnabled:d,trackingID:u,referenceSiteURL:p,userIDHash:m,isAuthenticated:h,userRoles:f}=globalThis._googlesitekitTrackingData||{},y={activeModules:c,trackingEnabled:d,trackingID:u,referenceSiteURL:p,userIDHash:m,isSiteKitScreen:g,userRoles:f,isAuthenticated:h,pluginVersion:"1.178.0"},{enableTracking:b,disableTracking:_,isTrackingEnabled:k,initializeSnippet:v,trackEvent:x,trackEventOnce:N}=function(e,t=globalThis,i=globalThis){const c={...l,...e};c.referenceSiteURL&&(c.referenceSiteURL=c.referenceSiteURL.toString().replace(/\/+$/,""));const g=function(e,t){const i=r(t);let n;const{activeModules:l,referenceSiteURL:c,userIDHash:g,userRoles:d=[],isAuthenticated:u,pluginVersion:p}=e;return function(){const{document:t}=globalThis;if(void 0===n&&(n=!!t.querySelector(`script[${s}]`)),n)return!1;n=!0;const r=d?.length?d.join(","):"";i("js",new Date),i("config",e.trackingID,{groups:"site_kit",send_page_view:e.isSiteKitScreen,domain:c,plugin_version:p||"",enabled_features:Array.from(a.t).join(","),active_modules:l.join(","),authenticated:u?"1":"0",user_properties:{user_roles:r,user_identifier:g}});const m=t.createElement("script");return m.setAttribute(s,""),m.async=!0,m.src=`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${o}`,t.head.appendChild(m),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${o}`}}}(c,t),d=function(e,t,i,n){const o=r(t);return async function(t,s,r,a){const{trackingEnabled:l}=e;if(!l)return null;i();const c={send_to:"site_kit",event_category:t,event_label:r,value:a};return new Promise(e=>{const i=setTimeout(function(){n.console.warn(`Tracking event "${s}" (category "${t}") took too long to fire.`),e()},1e3);function r(){clearTimeout(i),e()}o("event",s,{...c,event_callback:r}),n._gaUserPrefs?.ioo?.()&&r()})}}(c,t,g,i),u={};return{enableTracking:function(){c.trackingEnabled=!0},disableTracking:function(){c.trackingEnabled=!1},initializeSnippet:g,isTrackingEnabled:function(){return!!c.trackingEnabled},trackEvent:d,trackEventOnce:function(...e){const t=JSON.stringify(e);u[t]||(u[t]=(0,n.once)(d)),u[t](...e)}}}(y);function I(e){e?b():_()}g&&d&&v()},48276(e,t,i){i.d(t,{VZ:()=>s,dc:()=>r,pH:()=>o,r0:()=>a});var n=i(84024);function o(e){try{return new URL(e).pathname}catch{}return null}function s(e,t){try{return new URL(t,e).href}catch{}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function r(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(e,t){if(!(0,n.m)(e))return e;if(e.length<=t)return e;const i=new URL(e),o=e.replace(i.origin,"");if(o.length<t)return o;const s=o.length-Math.floor(t)+1;return"…"+o.substr(s)}},49383(e){e.exports=googlesitekit.components},50539(e){e.exports=googlesitekit.data},82871(e){e.exports=googlesitekit.i18n}},e=>{e.O(0,[660],()=>{return t=22059,e(e.s=t);var t});e.O()}]);
[+]
..
[-] 146-14c7e7fb4aa4ac50c311.js
[edit]
[-] 201-7f07b1f8a0c4733a0bd0.js
[edit]
[-] 314-78f708ec738779090f84.js
[edit]
[-] 315-10999111229d771cddc1.js
[edit]
[-] 379-77d19562846b6965319b.js
[edit]
[-] 590-695fc35f575d0203c096.js
[edit]
[-] 640-655cdd40c3e8e7242506.js
[edit]
[-] 909-f07466539fcb2ede760d.js
[edit]
[-] analytics-advanced-tracking-ec3ddfb411217bce5803.js
[edit]
[-] googlesitekit-activation-6df0e8c5a2092f0f0076.js
[edit]
[-] googlesitekit-ad-blocking-recovery-fbe06a609e35f0a4a683.js
[edit]
[-] googlesitekit-adminbar-a42543058a7c1e5d4d6f.js
[edit]
[-] googlesitekit-admin-pointers-tracking-24a7aef2b1109643baa9.js
[edit]
[-] googlesitekit-api-f6a1d481af25858dd1a0.js
[edit]
[-] googlesitekit-block-tracking-71bfaaa3cb1e1f902d0b.js
[edit]
[-] googlesitekit-components-e28e0fbf88266edd3ab6.js
[edit]
[-] googlesitekit-consent-mode-da15714e8829855bb7ce.js
[edit]
[-] googlesitekit-data-af9e836fbf5b0b1b11a8.js
[edit]
[-] googlesitekit-datastore-forms-e0bcc0f0a06d22145463.js
[edit]
[-] googlesitekit-datastore-location-66b28bc5667a350bb2f3.js
[edit]
[-] googlesitekit-datastore-site-7d1747c351e5b163e859.js
[edit]
[-] googlesitekit-datastore-ui-357c68935c4996893af3.js
[edit]
[-] googlesitekit-datastore-user-1f24e8e62a9152442ce3.js
[edit]
[-] googlesitekit-entity-dashboard-c34afee632c35a5b0b21.js
[edit]
[-] googlesitekit-events-provider-contact-form-7-08e8756782316cb65854.js
[edit]
[-] googlesitekit-events-provider-easy-digital-downloads-6f3a830f4e84342b04f0.js
[edit]
[-] googlesitekit-events-provider-mailchimp-55e506112a29131ad26e.js
[edit]
[-] googlesitekit-events-provider-ninja-forms-de64a20f79b99aba5219.js
[edit]
[-] googlesitekit-events-provider-optin-monster-fad3d5a89e2883db0a1d.js
[edit]
[-] googlesitekit-events-provider-popup-maker-4b3ee78127e8b950c3b3.js
[edit]
[-] googlesitekit-events-provider-woocommerce-a5f72561d6cdf416147d.js
[edit]
[-] googlesitekit-events-provider-wpforms-087b09462076035a76b2.js
[edit]
[-] googlesitekit-i18n-5a1db658648cbdfa2e58.js
[edit]
[-] googlesitekit-key-metrics-setup-c0401d7c1c273dd36caf.js
[edit]
[-] googlesitekit-main-dashboard-83ea9b01130ce90a42b7.js
[edit]
[-] googlesitekit-metric-selection-2291417eb95dd5d3383f.js
[edit]
[-] googlesitekit-modules-4fdf5676befa5951f97c.js
[edit]
[-] googlesitekit-modules-ads-093f9d5e5342dc4061d6.js
[edit]
[-] googlesitekit-modules-adsense-458f9484731f9afaa339.js
[edit]
[-] googlesitekit-modules-analytics-4-684176c25e524ba1ca3c.js
[edit]
[-] googlesitekit-modules-pagespeed-insights-bf5ad9a362afcd17e6cb.js
[edit]
[-] googlesitekit-modules-reader-revenue-manager-a92db641855ad478c976.js
[edit]
[-] googlesitekit-modules-search-console-c86628495c4d004d3c37.js
[edit]
[-] googlesitekit-modules-sign-in-with-google-98cc95d6cd994427ea10.js
[edit]
[-] googlesitekit-modules-tagmanager-eb2231c15cfa5990c0c5.js
[edit]
[-] googlesitekit-notifications-7499c54458036e1fff87.js
[edit]
[-] googlesitekit-polyfills-ce157741379ba7fef764.js
[edit]
[-] googlesitekit-settings-f234e3fa0b61ae33b799.js
[edit]
[-] googlesitekit-splash-a8526eec3f4205842388.js
[edit]
[-] googlesitekit-user-input-487f73f57e951262d1cf.js
[edit]
[-] googlesitekit-vendor-1604b65be3112b8dac04.js
[edit]
[-] googlesitekit-widgets-74df70ce2693396cc6cf.js
[edit]
[-] googlesitekit-wp-dashboard-844ce60b28c746d9db10.js
[edit]
[-] runtime-a3f442b3975b8a33d9bb.js
[edit]
[-] .htaccess.disabled
[edit]