"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[472],{41270(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s,r,a,l,c,g,u=i(63696);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 25 25"},e),u.createElement("mask",{id:"logo-g_svg__a",width:24,height:25,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},n||(n=u.createElement("path",{fill:"#E94FFF",d:"M23.496 9.86411H12.146V14.5218H18.6265C18.3477 16.0283 17.5047 17.3132 16.2245 18.1711C15.1478 18.8949 13.7638 19.3164 12.146 19.3164C9.01307 19.3164 6.35559 17.201 5.406 14.348C5.16553 13.6228 5.03299 12.8525 5.03299 12.0548C5.03299 11.257 5.16553 10.4853 5.406 9.76149C6.35559 6.90994 9.01307 4.79317 12.146 4.79317C13.9154 4.79317 15.5003 5.40344 16.7505 6.5966L20.2005 3.14163C18.1155 1.19453 15.3938 0 12.146 0C7.44181 0 3.36882 2.7024 1.38766 6.64038C0.569237 8.27004 0.107422 10.1077 0.107422 12.0561C0.107422 14.0046 0.569237 15.8422 1.38766 17.4719C3.36882 21.4126 7.44181 24.1136 12.146 24.1136C15.3951 24.1136 18.1305 23.045 20.124 21.2033C22.3989 19.1043 23.7064 15.9996 23.7064 12.3312C23.7064 11.476 23.634 10.6523 23.496 9.86548V9.86411Z"}))),u.createElement("g",{mask:"url(#logo-g_svg__a)"},u.createElement("g",{filter:"url(#logo-g_svg__b)"},u.createElement("g",{clipPath:"url(#logo-g_svg__c)"},u.createElement("foreignObject",{width:3314.49,height:3314.49,x:-1657.24,y:-1657.24,transform:"matrix(.0097 -.0097 .0097 .0097 11.78 11.807)"},u.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",style:{background:"conic-gradient(from 90deg,#ff4641 0deg,#ff4641 4.14555deg,#3186ff 39.154deg,#3186ff 72.0044deg,#00a5b7 96.7463deg,#0ebc5f 120.897deg,#0ebc5f 154.722deg,#6cc400 179.136deg,#fc0 203.588deg,#ffd314 226.915deg,#fc0 251.688deg,#ff6a2b 273.129deg,#fd4641 289.305deg,#ff4641 359.593deg,#ff4641 360deg)",height:"100%",width:"100%",opacity:1}})))),o||(o=u.createElement("g",{filter:"url(#logo-g_svg__d)"},u.createElement("ellipse",{cx:12.223,cy:12.348,fill:"#3186FF",rx:6.506,ry:3.419,transform:"rotate(24.447 12.223 12.348)"}))),s||(s=u.createElement("g",{filter:"url(#logo-g_svg__e)"},u.createElement("ellipse",{cx:28.264,cy:9.905,fill:"#3186FF",rx:8.969,ry:3.73}))),r||(r=u.createElement("g",{filter:"url(#logo-g_svg__f)"},u.createElement("ellipse",{cx:18.524,cy:7.499,fill:"#FF4641",rx:8.932,ry:2.867}))),a||(a=u.createElement("g",{filter:"url(#logo-g_svg__g)"},u.createElement("ellipse",{cx:23.669,cy:3.529,fill:"#FF5B8B",rx:8.932,ry:2.867}))),l||(l=u.createElement("g",{filter:"url(#logo-g_svg__h)"},u.createElement("ellipse",{cx:17.568,cy:11.91,fill:"#3186FF",rx:10.256,ry:3.749}))),c||(c=u.createElement("g",{filter:"url(#logo-g_svg__i)"},u.createElement("ellipse",{cx:18.415,cy:4.846,fill:"#FF4641",rx:5.472,ry:2.867,transform:"rotate(-28.66 18.415 4.846)"})))),g||(g=u.createElement("defs",null,u.createElement("filter",{id:"logo-g_svg__b",width:36.681,height:36.722,x:-6.022,y:-6.554,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:1.412})),u.createElement("filter",{id:"logo-g_svg__d",width:13.505,height:9.554,x:5.471,y:7.571,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:.331})),u.createElement("filter",{id:"logo-g_svg__e",width:35.584,height:25.104,x:10.473,y:-2.647,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:4.411})),u.createElement("filter",{id:"logo-g_svg__f",width:205.334,height:193.203,x:-84.143,y:-89.103,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:46.867})),u.createElement("filter",{id:"logo-g_svg__g",width:35.509,height:23.378,x:5.914,y:-8.16,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:4.411})),u.createElement("filter",{id:"logo-g_svg__h",width:22.475,height:9.462,x:6.331,y:7.179,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:.491})),u.createElement("filter",{id:"logo-g_svg__i",width:197.461,height:194.74,x:-80.314,y:-92.524,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},u.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),u.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),u.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1533",stdDeviation:46.867})),u.createElement("clipPath",{id:"logo-g_svg__c"},u.createElement("path",{d:"M-3.198 11.8068C-3.198 3.2263 3.74875 -3.72958 12.318 -3.72958C20.8872 -3.72958 27.834 3.22631 27.834 11.8068C27.834 20.3873 20.8872 27.3432 12.318 27.3432C3.74875 27.3432 -3.198 20.3873 -3.198 11.8068Z"})))))},72524(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;to.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.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM16.8059 9.592L17.3979 8.78606L15.7861 7.60206L15.1941 8.408L11.3039 13.704C11.1378 13.9302 10.944 14 10.7919 14C10.6399 14 10.4461 13.9302 10.28 13.704L8.80594 11.6973L8.21394 10.8914L6.60206 12.0754L7.19406 12.8813L8.66808 14.888C9.19137 15.6004 9.9708 16 10.7919 16C11.6131 16 12.3925 15.6005 12.9158 14.888L16.8059 9.592Z",clipRule:"evenodd"})))},23966(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;to.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.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z"})))},38623(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;to.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 12"},e),n||(n=o.createElement("g",{fill:"currentColor",fillRule:"evenodd"},o.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),o.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}))))},14565(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;to.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 12"},e),n||(n=o.createElement("g",{fill:"currentColor",fillRule:"evenodd"},o.createElement("path",{d:"M0 0H2V7H0zM0 10H2V12H0z"}))))},54399(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;to.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 21C4.45 21 3.975 20.8083 3.575 20.425C3.19167 20.025 3 19.55 3 19V5C3 4.45 3.19167 3.98333 3.575 3.6C3.975 3.2 4.45 3 5 3H12V5H5V19H19V12H21V19C21 19.55 20.8 20.025 20.4 20.425C20.0167 20.8083 19.55 21 19 21H5ZM9.7 15.7L8.3 14.3L17.6 5H14V3H21V10H19V6.4L9.7 15.7Z"})))},84543(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;to.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 23 22"},e),n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 22C9.97833 22 8.54833 21.7158 7.21 21.1475C5.87167 20.5608 4.7075 19.7725 3.7175 18.7825C2.7275 17.7925 1.93917 16.6283 1.3525 15.29C0.784167 13.9517 0.5 12.5217 0.5 11C0.5 9.47833 0.784167 8.04833 1.3525 6.71C1.93917 5.37167 2.7275 4.2075 3.7175 3.2175C4.7075 2.2275 5.87167 1.44833 7.21 0.879999C8.54833 0.293333 9.97833 0 11.5 0C13.0217 0 14.4517 0.293333 15.79 0.879999C17.1283 1.44833 18.2925 2.2275 19.2825 3.2175C20.2725 4.2075 21.0517 5.37167 21.62 6.71C22.2067 8.04833 22.5 9.47833 22.5 11C22.5 12.5217 22.2067 13.9517 21.62 15.29C21.0517 16.6283 20.2725 17.7925 19.2825 18.7825C18.2925 19.7725 17.1283 20.5608 15.79 21.1475C14.4517 21.7158 13.0217 22 11.5 22ZM11.5004 7.7C11.8121 7.7 12.0687 7.59917 12.2704 7.3975C12.4904 7.1775 12.6004 6.91167 12.6004 6.6C12.6004 6.28833 12.4904 6.03167 12.2704 5.83C12.0687 5.61 11.8121 5.5 11.5004 5.5C11.1887 5.5 10.9229 5.61 10.7029 5.83C10.5012 6.03167 10.4004 6.28833 10.4004 6.6C10.4004 6.91167 10.5012 7.1775 10.7029 7.3975C10.9229 7.59917 11.1887 7.7 11.5004 7.7ZM10.4004 16.5V9.9H12.6004V16.5H10.4004Z",clipRule:"evenodd"})))},49500(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;to.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 22L8.15 14.4L2 10H9.6L12 2L14.4 10H22L15.85 14.4L18.175 22L12 17.3L5.825 22Z"})))},84470(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;ts.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 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})))},62346(e,t,i){i.d(t,{A:()=>CTAButton});var n=i(49383),o=i(54399),s=i(97015);function CTAButton({ariaLabel:e,disabled:t=!1,external:i=!1,hideExternalIndicator:r=!1,href:a,inProgress:l=!1,label:c,onClick:g=()=>{}}){if(!c||!g&&!a)return null;let u;return i&&!r&&(u=s.createElement(o.A,{width:14,height:14})),s.createElement(n.SpinnerButton,{className:"googlesitekit-banner__cta","aria-label":e,disabled:t||l,isSaving:l,onClick:g,href:a,target:i?"_blank":void 0,trailingIcon:u},c)}},9084(e,t,i){i.d(t,{A:()=>DismissButton});var n=i(82871),o=i(49383),s=i(97015);function DismissButton({className:e,label:t=(0,n.__)("Maybe later","google-site-kit"),onClick:i,disabled:r,tertiary:a=!0}){return i?s.createElement(o.Button,{className:e,onClick:i,disabled:r,tertiary:a},t):null}},1473(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(82871),r=i(33359),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},55786(e,t,i){i.d(t,{A:()=>_});var n=i(4452),o=i.n(n),s=i(63696),r=i(73121),a=i(94711),l=i(69075),c=i(62346),g=i(62688),u=i.n(g),d=i(89795),p=i(1473),m=i(62540);function Description({className:e,description:t,learnMoreLink:i,additionalDescription:n,children:r}){return(0,m.jsxs)("div",{className:o()("googlesitekit-banner__description",e),children:[(0,s.isValidElement)(t)?t:"string"==typeof t?(0,m.jsx)("span",{dangerouslySetInnerHTML:(0,d.p9)(t,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}):t," ",i?.href&&(0,m.jsx)(p.A,{...i}),n&&(0,m.jsx)("div",{className:"googlesitekit-banner__additional-description",children:n}),r]})}Description.propTypes={className:u().string,description:u().oneOfType([u().string,u().node]),learnMoreLink:u().shape(p.A.propTypes),additionalDescription:u().oneOfType([u().string,u().node]),children:u().node};var h=i(9084);function Footer({className:e,children:t}){return(0,m.jsx)("div",{className:o()("googlesitekit-banner__footer",e),children:t})}function HelpText({className:e,children:t}){return(0,m.jsx)("p",{className:o()("googlesitekit-banner__help-text",e),children:t})}function Title({className:e,children:t}){return(0,m.jsx)("p",{className:o()("googlesitekit-banner__title",e),children:t})}function TitleIcon({className:e,children:t}){return(0,m.jsx)("div",{className:o()("googlesitekit-banner__title-icon",e),children:t})}Footer.propTypes={className:u().string,children:u().node},HelpText.propTypes={className:u().string,children:u().node},Title.propTypes={className:u().string,children:u().node},TitleIcon.propTypes={className:u().string,children:u().node};var f=i(97015);const _=(0,s.forwardRef)(({className:e,titleIcon:t,title:i,description:n,additionalDescription:s,errorText:g,helpText:u,learnMoreLink:d,dismissButton:p,ctaButton:m,svg:_,footer:y},k)=>{const I=function(e,t){const i=e===l.mp,n=e===l.Lg;return n&&t?.tablet?t.tablet:(i||n)&&t?.mobile?t.mobile:i||n||!t?.desktop?null:t.desktop}((0,l.dv)(),_),b=_?.verticalPosition?_.verticalPosition:"center";return f.createElement("div",{ref:k,className:o()("googlesitekit-banner",e)},f.createElement("div",{className:"googlesitekit-banner__content"},t&&f.createElement(TitleIcon,null,t),f.createElement(Title,null,i),f.createElement(Description,{description:n,learnMoreLink:d,additionalDescription:s}),u&&f.createElement(HelpText,null,u),g&&f.createElement(r.A,{type:a.L.ERROR,description:g}),f.createElement("div",{className:"googlesitekit-notice__action"},m&&f.createElement(c.A,m),p?.onClick&&f.createElement(h.A,p))),I&&f.createElement("div",{className:o()("googlesitekit-banner__svg-wrapper",{[`googlesitekit-banner__svg-wrapper--${b}`]:b}),style:{backgroundImage:`url(${I})`}}),y&&f.createElement(Footer,null,y))})},95149(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(82871),s=i(84024),r=i(50539),a=i(94711),l=i(89795),c=i(53923),g=i(73121),u=i(97015);const __WEBPACK_DEFAULT_EXPORT__=({className:e,error:t={},hasButton:i=!1,storeName:d,message:p=t?.message,title:m,noPrefix:h=!1,skipRetryMessage:f,hideIcon:_=!1})=>{const y=(0,r.useDispatch)(),k=(0,r.useSelect)(e=>d?e(d).getSelectorDataForError(t):null,[t,d]),I=(0,n.useCallback)(()=>{k&&y(k.storeName).invalidateResolution(k.name,k.args)},[y,k]);if(!p||(0,c.G)(t))return null;const b=i&&(0,c.vl)(t,k);let A=p;i||f||(A=(0,o.sprintf)(/* translators: %s: Error message from Google API. */ /* translators: %s: Error message from Google API. */ (0,o.__)("%s (Please try again.)","google-site-kit"),A)),h||(A=(0,o.sprintf)(/* translators: $%s: Error message */ /* translators: $%s: Error message */ (0,o.__)("Error: %s","google-site-kit"),A));const v=t.data?.reconnectURL;v&&(0,s.m)(v)&&(A=(0,o.sprintf)(/* translators: 1: Original error message 2: Reconnect URL */ /* translators: 1: Original error message 2: Reconnect URL */ (0,o.__)('%1$s To fix this, redo the plugin setup.',"google-site-kit"),A,v));return u.createElement(g.A,{className:e,type:a.L.ERROR,title:m,description:u.createElement("span",{dangerouslySetInnerHTML:(0,l.p9)(A,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}),ctaButton:b?{label:(0,o.__)("Retry","google-site-kit"),onClick:I}:void 0,hideIcon:_})}},18332(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(4452),o=i.n(n),s=i(97015);const __WEBPACK_DEFAULT_EXPORT__=({as:e="p",className:t,children:i})=>{const n=e;return s.createElement(n,{className:o()("googlesitekit-notice__description",t)},i)}},94711(e,t,i){i.d(t,{L:()=>n});let n=function(e){return e.NEW="new",e.SUCCESS="success",e.WARNING="warning",e.INFO="info",e.INFO_CIRCLE="info-circle",e.INFO_ALT="info-alt",e.INFO_ALT_2="info-alt-2",e.ERROR="error",e}({})},73121(e,t,i){i.d(t,{A:()=>v});var n=i(4452),o=i.n(n),s=i(63696),r=i(94711),a=i(62688),l=i.n(a),c=i(49383),g=i(54399),u=i(62540);function CTAButton({label:e,disabled:t,inProgress:i,onClick:n,href:s,external:r=!1,hideExternalIndicator:a=!1,tertiary:l=!1}){let d;return r&&!a&&(d=(0,u.jsx)(g.A,{width:14,height:14})),(0,u.jsx)(c.SpinnerButton,{className:o()("googlesitekit-notice__cta",{"googlesitekit-notice__cta--spinner__running":i}),disabled:t,isSaving:i,onClick:n,href:s,target:r?"_blank":void 0,trailingIcon:d,tertiary:l,children:e})}CTAButton.propTypes={label:l().string.isRequired,disabled:l().bool,inProgress:l().bool,onClick:l().func,href:l().string,external:l().bool,hideExternalIndicator:l().bool,tertiary:l().bool};var d=i(18332),p=i(82871),m=i(97015);const Notice_DismissButton=({label:e=(0,p.__)("Got it","google-site-kit"),onClick:t,disabled:i,href:n,external:s=!1,variant:r="text",icon:a,ariaLabel:l})=>m.createElement(c.Button,{className:o()({"googlesitekit-notice__dismiss":"icon"===r,"googlesitekit-notice__dismiss--icon":"icon"===r}),onClick:t,disabled:i,href:n,target:s?"_blank":void 0,tertiary:"icon"!==r,icon:"icon"===r?a:void 0,"aria-label":"icon"===r?l:void 0,hideTooltipTitle:"icon"===r},"icon"!==r?e:void 0);var h,f=i(72524),_=i(84543),y=i(49500);function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),h||(h=s.createElement("path",{fill:"currentColor",d:"M12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1ZM12 15C11.1716 15 10.5 15.6716 10.5 16.5C10.5 17.3284 11.1716 18 12 18C12.8284 18 13.5 17.3284 13.5 16.5C13.5 15.6716 12.8284 15 12 15ZM11 13H13V6H11V13Z"}))),I={[r.L.NEW]:y.A,[r.L.SUCCESS]:f.A,[r.L.INFO]:warning_notice,[r.L.INFO_CIRCLE]:_.A,[r.L.WARNING]:warning_notice,[r.L.ERROR]:warning_notice};function Icon({type:e}){const t=I[e]||warning_notice;return(0,u.jsx)(t,{width:24,height:24})}Icon.propTypes={type:l().oneOf(Object.values(r.L))};var b=i(97015);const Notice_Title=({className:e,children:t})=>b.createElement("p",{className:o()("googlesitekit-notice__title",e)},t);var A=i(97015);const v=(0,s.forwardRef)(({actionContent:e,className:t,title:i,description:n,dismissButton:s,ctaButton:a,type:l=r.L.INFO,children:c,hideIcon:g},u)=>{const p=function(e){return"icon"===e?.variant?!!e.icon&&!!e.ariaLabel&&(e.onClick||e.href):!!e?.label||!!e?.onClick||!!e?.href}(s),m=!!a?.label&&(a?.onClick||a?.href),h=!!e||p||m;return A.createElement("div",{className:"googlesitekit-notice-container",ref:u},A.createElement("div",{className:o()("googlesitekit-notice",`googlesitekit-notice--${l}`,t),role:"status"},!g&&A.createElement("div",{className:"googlesitekit-notice__icon"},A.createElement(Icon,{type:l})),A.createElement("div",{className:"googlesitekit-notice__content"},i&&A.createElement(Notice_Title,null,i),n&&A.createElement(d.A,null,n),c),h&&A.createElement("div",{className:"googlesitekit-notice__action"},e,p&&A.createElement(Notice_DismissButton,s||{}),m&&A.createElement(CTAButton,{label:a.label,onClick:a.onClick,inProgress:a.inProgress,disabled:a.disabled,href:a.href,external:a.external,hideExternalIndicator:a.hideExternalIndicator,tertiary:a.tertiary}))))})},68018(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(13606),c=i(82871),g=i(54843);var u=i(86374),d=i(8047),p=i(89795),m=i(33359),h=i(97015);function SourceLink({name:e="",href:t="",className:i="",external:n=!1}){const s=(0,u.A)(),r=(0,d.A)(),f=(0,a.useContext)(g.Ay),_=(0,a.useCallback)(()=>{f.slug&&s&&(0,p.sx)(`${s}_widget`,"click_source_link",f.slug)},[s,f]);return r?null:h.createElement("div",{className:o()("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"),`${e}`),{a:h.createElement(m.A,{key:"link",href:t,external:n,onClick:_})}))}SourceLink.propTypes={name:r().string,href:r().string,className:r().string,external:r().bool};const f=SourceLink},30694(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(68102),o=i(4452),s=i.n(o),r=i(97015);const __WEBPACK_DEFAULT_EXPORT__=({className:e,children:t,...i})=>t?r.createElement("span",(0,n.A)({},i,{className:s()("screen-reader-text",e)}),t):null},48922(e,t,i){i.d(t,{I:()=>n});const n={WITH_ANALYTICS:"welcome-with-analytics",WITHOUT_ANALYTICS:"welcome-without-analytics"}},8472(e,t,i){i.d(t,{G:()=>I});var n=i(50539),o=i(82871),s=i(2943),r=i(56278),a=i(48922);function l(e,t,i){return e?{slug:"dashboard-sharing",target:".googlesitekit-header",floaterProps:{target:".googlesitekit-view-only-menu",styles:{arrow:{margin:8}}},title:(0,o.__)("Get instant access to insights, no setup","google-site-kit"),content:t?(0,o.__)("See what’s been shared with you here, or sign in with Google to configure services and sharing access","google-site-kit"):(0,o.__)("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,o.__)("Share insights with your team","google-site-kit"),content:(0,o.__)("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 c(){return{target:".googlesitekit-widget--searchConsolePopularKeywords",floaterProps:{target:".googlesitekit-widget--searchConsolePopularKeywords .googlesitekit-table__wrapper"},title:(0,o.__)("Track how your site is doing on Search","google-site-kit"),content:(0,o.__)("Know what’s driving growth and bringing your site more visitors","google-site-kit"),offset:0,spotlightPadding:0,placement:"top",isResponsive:!0}}function g({isViewOnly:e,canAuthenticate:t,isAnalyticsConnected:i,isActivateAnalyticsNotificationPresent:n,isKeyMetricsWidgetPresent:g,isAudienceSegmentationWidgetPresent:u}){if(!i){const i=[{target:".googlesitekit-widget--searchFunnelGA4",floaterProps:{target:".googlesitekit-widget--searchFunnelGA4 .googlesitekit-widget__body"},title:(0,o.__)("Track Search traffic trends, identify baselines","google-site-kit"),content:(0,o.__)("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",isResponsive:!0},c(),l(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,o.__)("Want to know what people do once they land on your site?","google-site-kit"),content:(0,o.__)("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:a.I.WITHOUT_ANALYTICS,isRepeatable:!0,contexts:[s.jU,s.Ax],gaEventCategory:e=>`${e}_dashboard-tour-sc`,preloadWidgetAreas:[r.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY,r.AREA_MAIN_DASHBOARD_CONTENT_PRIMARY],steps:i}}return{slug:a.I.WITH_ANALYTICS,isRepeatable:!0,contexts:[s.jU,s.Ax],gaEventCategory:e=>`${e}_dashboard-tour-ga4`,preloadWidgetAreas:[r.AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY,r.AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY,r.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION,r.AREA_MAIN_DASHBOARD_CONTENT_PRIMARY],steps:[g&&{target:".googlesitekit-widget-area--mainDashboardKeyMetricsPrimary",floaterProps:{target:".googlesitekit-km-change-metrics-cta"},title:(0,o.__)("Your goals, measured and clear","google-site-kit"),content:(0,o.__)("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",isResponsive:!0},{target:".googlesitekit-widget--analyticsAllTrafficGA4",floaterProps:{target:".googlesitekit-widget--analyticsAllTraffic__user-count-chart"},title:(0,o.__)("Track traffic trends, identify baselines","google-site-kit"),content:(0,o.__)("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",isResponsive:!0},u&&{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,o.__)("Get to know your site visitors","google-site-kit"),content:(0,o.__)("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",isResponsive:!0},(!g||!u)&&c(),{target:".googlesitekit-widget--analyticsModulePopularPagesGA4",floaterProps:{target:".googlesitekit-table__head-item--pageviews .googlesitekit-table__head-item-title"},title:(0,o.__)("Discover your most popular and engaging content","google-site-kit"),content:(0,o.__)("Find out what your audience loves and double down on what resonates most","google-site-kit"),offset:25,spotlightPadding:0,placement:"top",isResponsive:!0},l(e,t,!0)].filter(Boolean)}}var u=i(9267),d=i(44191),p=i(16083),m=i(77760),h=i(57306),f=i(86374),_=i(8047),y=i(61356),k=i(37927);function I(){const e=(0,_.A)(),t=(0,f.A)(),i=(0,n.useSelect)(e=>e(d.oR).hasCapability(d.ej),[]),o=(0,n.useSelect)(e=>e(p.i).isModuleConnected(y.L1)&&e(d.oR).hasAccessToShareableModule(y.L1),[]),r=(0,n.useSelect)(e=>{if(t!==s.jU)return!1;const i=e(h.D).getQueuedNotifications(s.jU,m.He.DEFAULT);return i?.[0]?.id===m.$A},[t]),a=(0,n.useSelect)(e=>o&&!!e(u.O4).isKeyMetricsSetupCompleted()&&!e(d.oR).isKeyMetricsWidgetHidden(),[o]),l=(0,n.useSelect)(e=>o&&!!e(k.K9).isAudienceSegmentationSetupCompleted()&&!e(d.oR).isAudienceSegmentationWidgetHidden(),[o]);return g({isViewOnly:e,canAuthenticate:i,isAnalyticsConnected:!!o,isActivateAnalyticsNotificationPresent:r,isKeyMetricsWidgetPresent:a,isAudienceSegmentationWidgetPresent:l})}},23318(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)}},71562(e,t,i){var n=i(50037),o=i(78325),s=i(1713),r=i(63696),a=i(82871),l=i(49383),c=i(50539),g=i(81990),u=i(381),d=i(32936),p=i(98826),m=i(44191),h=i(63321),f=i(959),_=i(4452),y=i.n(_),k=i(62540);function ProgressSegments({currentSegment:e,totalSegments:t,className:i}){return(0,k.jsx)("div",{className:y()("googlesitekit-progress-segments",i),children:Array.from(Array(t).keys()).map(t=>(0,k.jsx)("div",{className:y()("googlesitekit-progress-segments__segment",{"googlesitekit-progress-segments__segment--active":t+1<=e})},t))})}var I=i(41619),b=i(9267),A=i(16083),v=i(69676),N=i(86374),C=i(61356),x=i(37927),E=i(89795),T=i(62688),M=i.n(T),S=i(13606),w=i(95149),j=i(71557),D=i(84470),R=i(93046),O=i(6166),L=i(86143),P=i(60652),B=i(42419);function UserInputQuestionInfo({slug:e,questionNumber:t}){const i=(0,c.useSelect)(e=>e(b.O4).hasMultipleAdmins()),n=(0,c.useSelect)(t=>t(m.oR).getUserInputSettingScope(e)),o=(0,c.useSelect)(t=>t(m.oR).getUserInputSettingAuthor(e)),s=(0,B.Fy)(),l=s[t-1]?.description||"";return(0,k.jsxs)(r.Fragment,{children:[(0,k.jsxs)(f.fh,{className:"googlesitekit-user-input__question-instructions",lgSize:6,mdSize:8,smSize:4,children:[l&&(0,k.jsx)("p",{className:"googlesitekit-user-input__question-instructions--description",children:l}),(0,k.jsx)(P.A,{className:"googlesitekit-non-desktop-display-none"})]}),(0,k.jsxs)(f.fh,{className:"googlesitekit-user-input__question-info",lgSize:5,mdSize:8,smSize:4,smOrder:3,children:[(0,k.jsx)(P.A,{className:"googlesitekit-desktop-display-none "}),"site"===n&&i&&(0,k.jsx)(O.A,{children:o?(0,a.__)("This answer can be edited by all Site Kit admins","google-site-kit"):(0,a.__)("Your answer to this question will apply to all Site Kit users. Any other admins with access to Site Kit can see and edit this response.","google-site-kit")}),(0,k.jsx)(L.A,{slug:e})]})]})}UserInputQuestionInfo.propTypes={slug:M().string.isRequired,questionNumber:M().number};var z=i(24203);function UserInputQuestionWrapper(e){const{children:t,slug:i,questionNumber:n,next:o,back:s,complete:r,error:g}=e,u=(0,c.useSelect)(e=>e(m.oR).getUserInputSetting(i)||[]),d=(0,c.useSelect)(e=>e(m.oR).getUserInputSettings()),p=(0,c.useSelect)(e=>e(m.oR).isSavingUserInputSettings(d)),h=(0,c.useSelect)(e=>e(I.M).isNavigating()),_=p||h;return(0,k.jsxs)("div",{className:"googlesitekit-user-input__question",children:[(0,k.jsx)("div",{className:"googlesitekit-user-input__question-contents",children:(0,k.jsx)(f.fI,{children:(0,k.jsx)(f.fh,{lgSize:12,mdSize:8,smSize:4,children:(0,k.jsxs)(f.fI,{children:[(0,k.jsx)(UserInputQuestionInfo,{slug:i,questionNumber:n}),t]})})})}),g&&(0,k.jsx)("div",{className:"googlesitekit-user-input__error",children:(0,k.jsx)(w.A,{error:g,Icon:D.A})}),(0,k.jsxs)("div",{className:"googlesitekit-user-input__footer googlesitekit-user-input__buttons",children:[(0,k.jsxs)("div",{className:"googlesitekit-user-input__footer-nav",children:[s&&(0,k.jsx)(l.Button,{className:"googlesitekit-user-input__buttons--back",onClick:s,tertiary:!0,children:(0,a.__)("Back","google-site-kit")}),o&&(0,k.jsx)(l.Button,{className:"googlesitekit-user-input__buttons--next",onClick:o,disabled:(0,z.A)(u),children:(0,a.__)("Next","google-site-kit")}),r&&(0,k.jsx)(j.A,{className:"googlesitekit-user-input__buttons--complete",onClick:r,isSaving:_,disabled:(0,z.A)(u),children:(0,S.A)((0,a.__)("Complete setup","google-site-kit"),{span:(0,k.jsx)("span",{className:"googlesitekit-user-input__responsive-text"})})})]}),(0,k.jsx)("div",{className:"googlesitekit-user-input__footer-cancel",children:(0,k.jsx)(R.A,{})})]})]})}UserInputQuestionWrapper.propTypes={slug:M().string.isRequired,questionNumber:M().number.isRequired,children:M().node,description:M().string,next:M().func,back:M().func,complete:M().func,error:M().object};var H=i(55012);function UserInputQuestionnaire(){const e=(0,N.A)(),[t,i]=(0,v.A)("question",B.W[0]),n=B.W.indexOf(t);-1===n&&i(B.W[0]);const[o,s]=(0,h.A)(B.Tk,"questionNumber"),a=void 0!==o?o:1,{saveUserInputSettings:l}=(0,c.useDispatch)(m.oR),{navigateTo:g}=(0,c.useDispatch)(I.M),u=(0,c.useSelect)(e=>e(b.O4).getAdminURL("googlesitekit-dashboard")),d=(0,c.useSelect)(e=>e(m.oR).getErrorForAction("saveUserInputSettings",[])),p=`${e}_kmw`;(0,r.useEffect)(()=>{let e;t===B.a3&&(e="site_purpose_question_view"),t===B.aq&&(e="content_frequency_question_view"),t===B.KM&&(e="site_goals_question_view"),e&&(0,E.sx)(p,e)},[t,p,e]);const{USER_INPUT_ANSWERS_PURPOSE:f,USER_INPUT_ANSWERS_GOALS:_,USER_INPUT_ANSWERS_POST_FREQUENCY:y}=(0,B.Dc)(),{USER_INPUT_ANSWERS_PURPOSE:T}=(0,B.B$)();function M(){globalThis.scrollTo({top:0,left:0,behavior:"smooth"})}const S=(0,r.useCallback)(()=>{(0,E.sx)(p,"question_advance",B.W[n]),i(B.W[n+1]),s(a+1),M()},[n,p,i,s,a]),w=(0,r.useCallback)(()=>{(0,E.sx)(p,"question_return",B.W[n]),i(B.W[n-1]),s(a-1),M()},[n,p,i,s,a]),j=(0,c.useSelect)(e=>e(A.i).isModuleConnected(C.L1)?e(x.K9).getUserInputPurposeConversionEvents():[]),{setUserInputSetting:D}=(0,c.useDispatch)(m.oR),R=(0,r.useCallback)(async()=>{(0,E.sx)(p,"summary_submit"),D("includeConversionEvents",j);if(!(await l()).error){const e=new URL(u);g(e.toString())}},[p,l,j,u,D,g]),O=(0,c.useSelect)(e=>e(m.oR).getUserInputSettings()),L=(0,c.useSelect)(e=>e(m.oR).isSavingUserInputSettings(O)),P=(0,c.useSelect)(e=>e(I.M).isNavigating()),z=L||P,U=(0,r.useCallback)(()=>{z||R()},[z,R]),F=(0,k.jsx)(ProgressSegments,{currentSegment:n+1,totalSegments:B.W.length,className:"googlesitekit-user-input__question--progress"});return(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"googlesitekit-user-input__question-progress",children:F}),n===B.W.indexOf(B.a3)&&(0,k.jsx)(UserInputQuestionWrapper,{slug:B.a3,questionNumber:1,next:S,error:d,children:(0,k.jsx)(H.A,{slug:B.a3,max:B.Ax[B.a3],options:f,descriptions:T,next:S,showInstructions:!0})}),n===B.W.indexOf(B.aq)&&(0,k.jsx)(UserInputQuestionWrapper,{slug:B.aq,questionNumber:2,next:S,back:w,error:d,children:(0,k.jsx)(H.A,{slug:B.aq,max:B.Ax[B.aq],options:y,next:S,showInstructions:!0})}),n===B.W.indexOf(B.KM)&&(0,k.jsx)(UserInputQuestionWrapper,{slug:B.KM,questionNumber:3,complete:U,back:w,error:d,children:(0,k.jsx)(H.A,{slug:B.KM,max:B.Ax[B.KM],options:_,next:U,showInstructions:!0})})]})}function UserInputApp(){const[e]=(0,h.A)(B.Tk,"questionNumber"),t=e||1,i=(0,B.Fy)(),n=i[t-1]?.title||"",o=(0,c.useSelect)(e=>(e(m.oR).getUserInputSettings(),e(m.oR).hasFinishedResolution("getUserInputSettings")));return(0,k.jsxs)(r.Fragment,{children:[(0,k.jsx)(g.A,{children:(0,k.jsx)(u.A,{})}),(0,k.jsx)("div",{className:"googlesitekit-user-input",children:(0,k.jsxs)("div",{className:"googlesitekit-module-page",children:[!o&&(0,k.jsx)(f.xA,{children:(0,k.jsx)(f.fI,{children:(0,k.jsx)(f.fh,{lgSize:12,mdSize:8,smSize:4,children:(0,k.jsx)(l.ProgressBar,{})})})}),o&&(0,k.jsx)(f.xA,{children:(0,k.jsxs)(d.A,{rounded:!0,children:[(0,k.jsxs)(f.xA,{className:"googlesitekit-user-input__header",children:[(0,k.jsx)(f.fI,{children:(0,k.jsx)(f.fh,{size:12,className:"googlesitekit-user-input__question-number",children:(0,a.sprintf)(/* translators: %d is replaced with the current page number (1, 2, or 3 etc.). */ /* translators: %d is replaced with the current page number (1, 2, or 3 etc.). */ (0,a.__)("%d / 3","google-site-kit"),t)})}),(0,k.jsx)(f.fI,{children:(0,k.jsx)(f.fh,{lgSize:12,children:(0,k.jsx)(p.A,{className:"googlesitekit-heading-3 googlesitekit-user-input__heading",title:n,fullWidth:!0})})})]}),(0,k.jsx)(f.xA,{className:"googlesitekit-user-input__content",children:(0,k.jsx)(f.fI,{children:(0,k.jsx)(f.fh,{lgSize:12,mdSize:8,smSize:4,children:(0,k.jsx)(UserInputQuestionnaire,{})})})})]})})]})})]})}var U=i(2943),F=i(97015);(0,n.A)(()=>{const e=document.getElementById("js-googlesitekit-user-input");e&&(0,o.render)(F.createElement(s.A,{viewContext:U.ZS},F.createElement(UserInputApp,null)),e)})},54843(e,t,i){i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)({}),{Consumer:o,Provider:s}=n,r=n},69075(e,t,i){i.d(t,{Fo:()=>s,Lg:()=>r,Qb:()=>o,dv:()=>l,mp:()=>a});var n=i(15761);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}},79238(e,t,i){i.d(t,{Ay:()=>a,Oo:()=>s,oE:()=>r});var n=i(2943),o=i(86374);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}},91703(e,t,i){i.d(t,{d:()=>r});var n=i(17243),o=i(18117),s=i(63696);function r(...e){const t=(0,o.MA)(()=>(0,n.debounce)(...e),e);return(0,s.useEffect)(()=>()=>t.cancel(),[t]),t}},66224(e,t,i){i.d(t,{i:()=>r});var n=i(63696),o=i(12927),s=i(23318);function r(e){const t=(0,n.useContext)(o.A);return(0,s.G)(e,t)}},63321(e,t,i){i.d(t,{A:()=>a});var n=i(63737),o=i(35470),s=i(63696),r=i(60081);function a(e,t){const{setValues:i}=(0,n.A)(r.s),a=(0,s.useCallback)(n=>{i(e,{[t]:n})},[i,e,t]);return[(0,o.A)(i=>{const{getValue:n}=i(r.s);return n(e,t)},[e,t]),a]}},66983(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)}},12054(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){const i=new globalThis.IntersectionObserver(function(e){o(e[e.length-1])},t);return i.observe(e.current),()=>{o(null),i.disconnect()}}return()=>{}},[e.current,t.threshold,t.root,t.rootMargin]),i}},69676(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=new URL(i.location.href),{hash:s}=n;n.hash="";const r=(0,o.F)(n.href,{[e]:t})+s;i.history.replaceState(null,"",r)}]}},86374(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(67324);const __WEBPACK_DEFAULT_EXPORT__=function(){return(0,n.useContext)(o.Ay)}},8047(e,t,i){i.d(t,{A:()=>s});var n=i(2943),o=i(86374);function s(){const e=(0,o.A)();return n.Nn.includes(e)}},15761(e,t,i){i.d(t,{SO:()=>a});var n=i(99123),o=i(55620);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,o._)("undefined"==typeof document?[i,r]:s,e,t);function c(){return l(s)}return(0,n.A)(window,"resize",c),(0,n.A)(window,"orientationchange",c),a}function a(e={}){return r(e)[0]}},959(e,t,i){i.d(t,{$z:()=>n.$,CR:()=>o.C,Cf:()=>r.DialogContent,Es:()=>r.DialogFooter,Nv:()=>l.N,P3:()=>c.P,Si:()=>s.S,fI:()=>g.fI,fh:()=>g.fh,lG:()=>a.a,xA:()=>g.xA});var n=i(3412),o=i(56655),s=i(30454),r=i(12786),a=i.n(r),l=i(91046),c=i(26569),g=i(65022)},65022(e,t,i){i.d(t,{fh:()=>a,xA:()=>m,fI:()=>u});var n=i(68102),o=i(4452),s=i.n(o),r=i(97015);const Cell=({className:e="",alignTop:t=!1,alignMiddle:i=!1,alignBottom:o=!1,alignRight:a=!1,alignLeft:l=!1,smAlignRight:c=!1,mdAlignRight:g=!1,lgAlignRight:u=!1,smSize:d=0,smStart:p=0,smOrder:m=0,mdSize:h=0,mdStart:f=0,mdOrder:_=0,lgSize:y=0,lgStart:k=0,lgOrder:I=0,size:b=0,children:A,...v})=>r.createElement("div",(0,n.A)({},v,{className:s()(e,"mdc-layout-grid__cell",{"mdc-layout-grid__cell--align-top":t,"mdc-layout-grid__cell--align-middle":i,"mdc-layout-grid__cell--align-bottom":o,"mdc-layout-grid__cell--align-right":a,"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":u,[`mdc-layout-grid__cell--span-${b}`]:12>=b&&b>0,[`mdc-layout-grid__cell--span-${y}-desktop`]:12>=y&&y>0,[`mdc-layout-grid__cell--start-${k}-desktop`]:12>=k&&k>0,[`mdc-layout-grid__cell--order-${I}-desktop`]:12>=I&&I>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-${_}-tablet`]:8>=_&&_>0,[`mdc-layout-grid__cell--span-${d}-phone`]:4>=d&&d>0,[`mdc-layout-grid__cell--start-${p}-phone`]:4>=p&&p>0,[`mdc-layout-grid__cell--order-${m}-phone`]:4>=m&&m>0})}),A);Cell.displayName="Cell";const a=Cell;var l=i(63696),c=i(97015);const g=(0,l.forwardRef)(({className:e="",children:t,...i},o)=>c.createElement("div",(0,n.A)({ref:o,className:s()("mdc-layout-grid__inner",e)},i),t));g.displayName="Row";const u=g;var d=i(97015);const p=(0,l.forwardRef)(({alignLeft:e=!1,fill:t=!1,className:i="",children:o,collapsed:r=!1,...a},l)=>d.createElement("div",(0,n.A)({className:s()("mdc-layout-grid",i,{"mdc-layout-grid--align-left":e,"mdc-layout-grid--collapsed":r,"mdc-layout-grid--fill":t})},a,{ref:l}),o));p.displayName="Grid";const m=p},37927(e,t,i){i.d(t,{CV:()=>T,Cu:()=>b,K9:()=>n,Kr:()=>m,Lf:()=>d,Oh:()=>r,PW:()=>E,Rx:()=>D,S9:()=>h,TQ:()=>g,Vt:()=>w,Wl:()=>k,ZC:()=>o,ZY:()=>a,_p:()=>j,ag:()=>p,aj:()=>u,bz:()=>M,dC:()=>C,dq:()=>S,fB:()=>x,fV:()=>N,iB:()=>c,kc:()=>l,mo:()=>_,nc:()=>v,pL:()=>A,rm:()=>I,to:()=>s,wo:()=>f,yn:()=>y});const n="modules/analytics-4",o="account_create",s="property_create",r="webdatastream_create",a="analyticsSetup",l=10,c="https://www.googleapis.com/auth/tagmanager.readonly",g="enhanced-measurement-form",u="enhanced-measurement-enabled",d="enhanced-measurement-should-dismiss-activation-banner",p="analyticsAccountCreate",m="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",f="dashboardAllTrafficWidgetDimensionName",_="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",k="dashboardAllTrafficWidgetActiveRowIndex",I="dashboardAllTrafficWidgetLoaded",b={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"},googlesitekit_event_provider:{parameterName:"googlesitekit_event_provider",displayName:"WordPress Event Provider",description:"Created by Site Kit: Plugin source that triggered a conversion event",scope:"EVENT"},googlesitekit_form_id:{parameterName:"googlesitekit_form_id",displayName:"WordPress Form ID",description:"Created by Site Kit: ID of the form that triggered a lead generation event",scope:"EVENT"}},A=Object.keys(b),v={ADD_TO_CART:"add_to_cart",PURCHASE:"purchase",SUBMIT_LEAD_FORM:"submit_lead_form",GENERATE_LEAD:"generate_lead",CONTACT:"contact"},N=[v.CONTACT,v.GENERATE_LEAD,v.SUBMIT_LEAD_FORM],C=[v.PURCHASE,v.ADD_TO_CART],x={"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"}}}}]}}]}}}}]}},E="audiencePermissionsSetup",T="audienceTileCustomDimensionCreate",M="audience-selection-panel-expirable-new-badge-",S="audience",w="customDimension",j="property",D=[S,w,j]},9783(e,t,i){i.d(t,{A:()=>l});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(62540);function ChangeArrow({direction:e,invertColor:t,width:i,height:n}){return(0,a.jsx)("svg",{className:o()("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:r().string,invertColor:r().bool,width:r().number,height:r().number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};const l=ChangeArrow},12927(e,t,i){i.d(t,{A:()=>s});var n=i(63696),o=i(23318);const s=(0,n.createContext)(o.t)},41873(e,t,i){i.d(t,{A:()=>GenericErrorHandlerActions});var n=i(62688),o=i.n(n),s=i(82871),r=i(33359),a=i(38021),l=i.n(a),c=i(63696),g=i(12417),u=i(1027),d=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?u.A:d.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}},81990(e,t,i){i.d(t,{A:()=>Qe});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(41814),l=i(63696),c=i(82871),g=i(50539),u=i(9267),d=i(44191),p=i(77760),m=i(79238),h=i(78371),f=i(89795),_=i(66224),y=i(86374);const k=g.useSelect;var I,b=i(8047),A=i(959),v=i(94375),N=i(39525),C=i(15844),x=i(31589),E=i(30521),T=i(2943),M=i(93746);function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},e),I||(I=l.createElement("path",{d:"M10.953 8.464h2.12c.22 0 .41-.081.573-.243a.785.785 0 0 0 .243-.574.782.782 0 0 0-.243-.573.782.782 0 0 0-.574-.244h-2.12a.785.785 0 0 0-.573.244.784.784 0 0 0-.243.573c0 .22.081.412.243.574a.787.787 0 0 0 .574.243Zm0 4.706h2.12c.22 0 .41-.082.573-.244a.782.782 0 0 0 .243-.573.785.785 0 0 0-.243-.574.784.784 0 0 0-.574-.243h-2.12c-.22 0-.41.081-.573.243a.787.787 0 0 0-.243.574c0 .22.081.411.243.573a.785.785 0 0 0 .574.244ZM6.79 9.32h1.712c.22 0 .411-.082.573-.244a.782.782 0 0 0 .244-.573V6.79a.782.782 0 0 0-.244-.573.784.784 0 0 0-.573-.243H6.79a.784.784 0 0 0-.573.243.784.784 0 0 0-.243.573v1.712c0 .22.081.411.243.573a.782.782 0 0 0 .573.244Zm0 4.704h1.712c.22 0 .411-.08.573-.242a.782.782 0 0 0 .244-.573v-1.712a.782.782 0 0 0-.244-.573.782.782 0 0 0-.573-.244H6.79a.782.782 0 0 0-.573.244.784.784 0 0 0-.243.573v1.712c0 .22.081.411.243.573a.784.784 0 0 0 .573.242ZM4.633 17c-.453 0-.839-.159-1.157-.476A1.577 1.577 0 0 1 3 15.367V4.633c0-.453.159-.839.476-1.157A1.577 1.577 0 0 1 4.633 3h10.734c.453 0 .839.159 1.157.476.317.318.476.704.476 1.157v10.734c0 .453-.159.839-.476 1.157a1.578 1.578 0 0 1-1.157.476H4.633Zm0-1.633h10.734V4.633H4.633v10.734Z"})));var j,D,R,O;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},e),j||(j=l.createElement("rect",{width:5.833,height:5.833,x:3,y:3,rx:1.167})),D||(D=l.createElement("rect",{width:5.833,height:5.833,x:11.167,y:3,rx:1.167})),R||(R=l.createElement("rect",{width:5.833,height:5.833,x:3,y:11.167,rx:1.167})),O||(O=l.createElement("rect",{width:5.833,height:5.833,x:11.167,y:11.167,rx:1.167})));var B;function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},e),B||(B=l.createElement("path",{d:"M2.313 14.375a.836.836 0 0 1-.25-.615c0-.243.083-.447.25-.614l3.75-3.75c.5-.5 1.1-.75 1.803-.75.7 0 1.295.25 1.78.75l.958.958a.777.777 0 0 0 .574.229c.229 0 .42-.076.572-.229l3.604-3.604h-1.228a.843.843 0 0 1-.615-.26.843.843 0 0 1-.26-.615.84.84 0 0 1 .26-.615.843.843 0 0 1 .615-.26h3.333c.236 0 .44.087.614.26a.84.84 0 0 1 .26.615v3.333a.843.843 0 0 1-.26.615.843.843 0 0 1-.614.26.84.84 0 0 1-.614-.26.841.841 0 0 1-.261-.615V7.979l-3.625 3.604c-.5.5-1.101.75-1.803.75-.7 0-1.295-.25-1.78-.75l-.98-.979a.752.752 0 0 0-.552-.229.748.748 0 0 0-.551.229L3.52 14.375a.823.823 0 0 1-.603.25.824.824 0 0 1-.606-.25Z"})));var U,F,G;function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},e),U||(U=l.createElement("path",{d:"M10 3c1.023 0 1.994.22 2.87.615l-.13.135-.053.322-.146.877-.71.758a4.667 4.667 0 1 0 2.316 2.156l.677-.676.963-.19.368-.333A7 7 0 1 1 10 3Z"})),F||(F=l.createElement("path",{d:"M12 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"})),G||(G=l.createElement("path",{d:"m15.76 3.856 2.042-.07-2.5 2.243-.992.199-4.563 4.563-.642-.642 4.412-4.715.198-1.19L15.895 2l-.135 1.856Z"})));var V;function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},e),V||(V=l.createElement("path",{d:"M8.668 12.938c.333.32.774.482 1.323.489.548.007.954-.19 1.218-.594l3.417-5.125c.139-.208.118-.402-.063-.583-.18-.18-.374-.202-.583-.063l-5.167 3.396c-.403.25-.61.642-.624 1.177-.014.535.146.97.479 1.303Zm-4.334 3.729c-.32 0-.618-.07-.895-.209a1.473 1.473 0 0 1-.646-.625 8.493 8.493 0 0 1-.834-1.989 8.207 8.207 0 0 1-.291-2.198c0-1.139.219-2.212.656-3.219a8.486 8.486 0 0 1 1.792-2.646A8.447 8.447 0 0 1 6.772 3.99a8.056 8.056 0 0 1 3.229-.657c.625 0 1.23.063 1.812.188a7.328 7.328 0 0 1 1.688.583.762.762 0 0 1 .458.604c.042.278-.041.535-.25.771a.821.821 0 0 1-.489.261.952.952 0 0 1-.573-.073 6.361 6.361 0 0 0-2.646-.584c-1.82 0-3.371.642-4.656 1.927-1.285 1.285-1.927 2.83-1.927 4.636 0 .57.083 1.135.25 1.698a7.43 7.43 0 0 0 .666 1.573h11.334a6.07 6.07 0 0 0 .687-1.615 6.768 6.768 0 0 0 .229-1.74c0-.43-.052-.87-.156-1.322a5.414 5.414 0 0 0-.469-1.282.82.82 0 0 1-.073-.583.874.874 0 0 1 .303-.479c.236-.18.486-.243.75-.188.263.056.458.216.583.48a9.51 9.51 0 0 1 .594 1.604 6.57 6.57 0 0 1 .218 1.708 8.518 8.518 0 0 1-.26 2.281 7.92 7.92 0 0 1-.844 2.052 1.451 1.451 0 0 1-.667.625c-.291.14-.59.209-.895.209H4.334Z"})));var $;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},e),$||($=l.createElement("path",{d:"M4.94 17a1.39 1.39 0 0 1-1.02-.418 1.39 1.39 0 0 1-.418-1.022V8.226c0-.403.14-.743.418-1.022a1.388 1.388 0 0 1 1.02-.418c.403 0 .744.14 1.022.418.279.279.418.62.418 1.022v7.334c0 .403-.14.744-.418 1.022A1.39 1.39 0 0 1 4.94 17Zm5.077-.002a1.39 1.39 0 0 1-1.022-.417 1.39 1.39 0 0 1-.418-1.022l-.016-11.12c0-.402.14-.743.418-1.021A1.39 1.39 0 0 1 10.001 3c.403 0 .743.14 1.022.418.278.278.418.619.418 1.02l.015 11.12c0 .403-.14.744-.418 1.023a1.39 1.39 0 0 1-1.021.418Zm5.045.002a1.39 1.39 0 0 1-1.022-.418 1.39 1.39 0 0 1-.418-1.022v-3.62c0-.403.14-.744.418-1.022a1.39 1.39 0 0 1 1.022-.418c.402 0 .742.14 1.02.418.279.278.418.619.418 1.021v3.621c0 .403-.14.744-.418 1.022a1.388 1.388 0 0 1-1.02.418Z"})));var J=i(69075),K=i(53475);var ee=i(58615),te=i(44390);const ie={[m.Oo]:{[T.SH]:te.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,[T.OT]:te.CONTEXT_MAIN_DASHBOARD_TRAFFIC,[T.x2]:te.CONTEXT_MAIN_DASHBOARD_SITE_GOALS,[T.en]:te.CONTEXT_MAIN_DASHBOARD_CONTENT,[T.Ej]:te.CONTEXT_MAIN_DASHBOARD_SPEED,[T.Gw]:te.CONTEXT_MAIN_DASHBOARD_MONETIZATION},[m.oE]:{[T.OT]:te.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,[T.en]:te.CONTEXT_ENTITY_DASHBOARD_CONTENT,[T.Ej]:te.CONTEXT_ENTITY_DASHBOARD_SPEED,[T.Gw]:te.CONTEXT_ENTITY_DASHBOARD_MONETIZATION}};var ne=i(62540);function Navigation(){const e=(0,m.Ay)(),t=(0,l.useRef)(),i=(0,y.A)(),n=function(){const e=(0,m.Ay)(),t=(0,b.A)();return(0,g.useSelect)(i=>{const n=t?i(d.oR).getViewableModules():null,o=i(d.oR).isKeyMetricsWidgetHidden(),s={modules:n||void 0};return Object.keys(ie[e]).reduce((t,n)=>(n===T.SH&&o||i(ee.aO).isWidgetContextActive(ie[e][n],s)&&t.push(n),t),[])})}(),{calculateScrollPosition:s,defaultChipID:r,findClosestSection:a,isValidChipID:u,scrollToChip:p,updateURLHash:h}=function({visibleSections:e}){const t=(0,J.dv)(),i=(0,b.A)(),n=(0,l.useCallback)(()=>e.includes(T.SH)?T.SH:i?e[0]||"":T.OT,[i,e])(),o=(0,l.useCallback)(t=>e.includes(t),[e]),s=(0,l.useCallback)(e=>{globalThis.history.replaceState({},"",`#${e}`)},[]),r=(0,l.useCallback)(e=>e!==n?(0,K.YJ)(`#${e}`,t):0,[t,n]),a=(0,l.useCallback)(e=>{globalThis.scrollTo({top:r(e,t,n),behavior:"smooth"})},[t,r,n]),c=(0,l.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{const t=e.closest(".mdc-chip"),n=t?.dataset?.contextId;h(n),I(n),p(n),(0,f.sx)(`${i}_navigation`,"tab_select",n),setTimeout(()=>{D(M.Fc,n)},50)},[p,D,h,i]),O=(0,l.useCallback)(()=>{if(!t?.current)return;const{top:e}=t?.current?.getBoundingClientRect();if(0===globalThis.scrollY)v(!1);else{const t=document.querySelector(".googlesitekit-header")?.getBoundingClientRect?.()?.bottom;v(e===t)}},[]),L=(0,l.useCallback)(e=>{function n(e){D(M.Fc,void 0),j(e),I(void 0)}const o=a(t);if(k)k===o&&n(o);else{const{hash:t}=globalThis.location;o!==t?.substring(1)&&(e&&(0,f.sx)(`${i}_navigation`,"tab_scroll",o),h(o),n(o))}},[a,k,D,h,i]);(0,C.A)(()=>{if(!_)return j(r),void setTimeout(()=>h(r));const e=u(_)?_:r;j(e),D(M.Fc,e),setTimeout(()=>{const t=s(e);globalThis.scrollY!==t?p(e):D(M.Fc,void 0)},50)});const B=(0,l.useCallback)(e=>{O(),L(e)},[L,O]),z=(0,E.A)(B,150);(0,x.A)("scroll",z);const U=20,F={[T.SH]:{label:(0,c.__)("Key metrics","google-site-kit"),icon:(0,ne.jsx)(P,{width:U,height:U})},[T.OT]:{label:(0,c.__)("Traffic","google-site-kit"),icon:(0,ne.jsx)(X,{width:U,height:U})},[T.x2]:{label:(0,c.__)("Site goals","google-site-kit"),icon:(0,ne.jsx)(Y,{width:U,height:U})},[T.en]:{label:(0,c.__)("Content","google-site-kit"),icon:(0,ne.jsx)(w,{width:U,height:U})},[T.Ej]:{label:(0,c.__)("Speed","google-site-kit"),icon:(0,ne.jsx)(Q,{width:U,height:U})},[T.Gw]:{label:(0,c.__)("Monetization","google-site-kit"),icon:(0,ne.jsx)(H,{width:U,height:U})}};return(0,ne.jsx)("nav",{className:o()("mdc-chip-set","googlesitekit-navigation",`googlesitekit-navigation--${e}`,{"googlesitekit-navigation--is-sticky":A}),ref:t,children:n.map(e=>(0,ne.jsx)(N.Chip,{id:e,label:F[e].label,leadingIcon:F[e].icon,onClick:R,selected:S===e,"data-context-id":e},e))})}function DashboardNavigation(){const e=(0,b.A)(),t=(0,g.useSelect)(t=>e?t(d.oR).getViewableModules():null),i=(0,g.useSelect)(e=>e(d.oR).getKeyMetrics());return(0,ne.jsx)(v.A,{loading:void 0===t||void 0===i,width:"100%",smallHeight:"59px",height:"71px",children:(0,ne.jsx)(Navigation,{})})}var oe,se,re=i(49383),ae=i(41619),le=i(65810);function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),oe||(oe=l.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),se||(se=l.createElement("path",{fill:"currentColor",d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"})));var ue=i(33359),de=i(6166);const pe=function EntityHeader(){const e=(0,y.A)(),t=(0,m.Ay)(),i=(0,g.useSelect)(e=>e(u.O4).getCurrentEntityTitle()),n=(0,g.useSelect)(e=>e(u.O4).getCurrentEntityURL()),o=(0,l.useRef)(),[s,r]=(0,l.useState)(n),a=(0,l.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,le.r0)(n,i))},[n]),d=(0,E.A)(a,150);(0,x.A)("resize",d);const{navigateTo:p}=(0,g.useDispatch)(ae.M),h=(0,g.useSelect)(e=>e(u.O4).getAdminURL("googlesitekit-dashboard")),_=(0,l.useCallback)(()=>{(0,f.sx)(`${e}_navigation`,"return_to_dashboard"),p(h)},[h,p,e]);return m.oE!==t||null===n||null===i?null:(0,ne.jsxs)("div",{className:"googlesitekit-entity-header",children:[(0,ne.jsx)("div",{className:"googlesitekit-entity-header__back",children:(0,ne.jsx)(re.Button,{icon:(0,ne.jsx)(ge,{width:24,height:24}),"aria-label":(0,c.__)("Back to dashboard","google-site-kit"),onClick:_,text:!0,tertiary:!0,children:(0,c.__)("Back to dashboard","google-site-kit")})}),(0,ne.jsxs)("div",{ref:o,className:"googlesitekit-entity-header__details",children:[(0,ne.jsx)(de.A,{children:i}),(0,ne.jsx)(ue.A,{href:n,"aria-label":n,secondary:!0,external:!0,children:s})]})]})};var me=i(60390),he=i(57306),fe=i(14352);function CoreSiteBannerNotification({id:e,ctaURL:t,ctaTarget:i,...n}){const[o,s]=(0,l.useState)(!1),{dismissNotification:r,acceptNotification:a}=(0,g.useDispatch)(u.O4),{dismissNotification:c}=(0,g.useDispatch)(he.D),d=(0,l.useCallback)(async n=>{t&&n.preventDefault(),s(!0);const{error:o}=await a(e);o||await c(e,{expiresInSeconds:f.Jg}),s(!1),!o&&t&&("_blank"!==i?window.location.assign(t):window.open(t,"_blank"))},[e,a,c,t,i]),p=(0,l.useCallback)(async()=>{await r(e)},[e,r]);return(0,ne.jsx)(fe.A,{onCTAClick:d,onDismissClick:p,ctaInProgress:o,...n,id:e,ctaURL:t,ctaTarget:i})}CoreSiteBannerNotification.propTypes={content:r().string,ctaLabel:r().string,ctaTarget:r().string,ctaURL:r().string,dismissLabel:r().string,dismissible:r().bool,gaTrackingEventArgs:r().object,id:r().string.isRequired,learnMoreLabel:r().string,learnMoreURL:r().string,title:r().string.isRequired},CoreSiteBannerNotification.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:(0,c.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""};const _e=CoreSiteBannerNotification;const ye=function CoreSiteBannerNotifications(){const e=(0,y.A)(),[t,i]=(0,l.useState)(!1),[n,o]=(0,l.useState)(!1),s=(0,l.useRef)(Date.now()),r=(0,g.useSelect)(e=>e(u.O4).isUsingProxy()&&!1===e(d.oR).areSurveysOnCooldown()?e(d.oR).getCurrentSurvey():null),[a,c]=(0,l.useState)([]),{registerNotification:m}=(0,g.useDispatch)(he.D),h=(0,g.useSelect)(e=>e(u.O4).getNotifications());return(0,l.useEffect)(()=>{const e=setTimeout(()=>{n||i(!0)},5e3);return()=>{clearTimeout(e)}},[n]),(0,l.useEffect)(()=>{Math.floor((Date.now()-s.current)/1e3)<5&&r&&o(!0)},[s,r,o]),(0,l.useEffect)(()=>{t&&!n&&h?.forEach(t=>{if(a.includes(t.id))return;const i={category:`${e}_remote-site-notification`,label:t.id};m(t.id,{Component:({Notification:e})=>(0,ne.jsx)(e,{gaTrackingEventArgs:i,children:(0,ne.jsx)(_e,{...t,gaTrackingEventArgs:i})}),priority:t.priority,areaSlug:p.bI.HEADER,isDismissible:t.dismissible}),c(e=>(e.push(t.id),e))})},[e,n,h,m,a,t]),null};var ke=i(76649),Ie=i(77119);const be="internal-server-error";function InternalServerError(){const e=(0,J.dv)(),t=(0,g.useSelect)(e=>e(u.O4).getInternalServerError());return(0,l.useEffect)(()=>{t&&globalThis.scrollTo({top:(0,K.YJ)(`#${be}`,e),behavior:"smooth"})},[t,e]),t?(0,ne.jsx)(Ie.A,{id:be,children:(0,ne.jsx)(ke.A,{notificationID:be,type:ke.Q.ERROR,title:t.title,description:t.description})}):null}function LegacyNotifications(){const e=(0,b.A)(),t=(0,m.Ay)(),i=(0,g.useSelect)(e=>e(d.oR).isAuthenticated());return(0,ne.jsxs)(l.Fragment,{children:[(0,ne.jsx)(InternalServerError,{}),!e&&t===m.Oo&&i&&(0,ne.jsx)(ye,{})]})}var Ae=i(52119),ve=i(21795),Ne=i(53328);function Divider({className:e}){return(0,ne.jsx)("li",{className:o()("mdc-list-divider",e),role:"separator"})}function MenuItem({id:e,className:t,role:i,isInteractive:n=!0,onClick:s,icon:r,label:a,description:l,trailing:c,children:g,itemClassName:u="googlesitekit-header-menu__item",iconClassName:d="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 f=g||(0,ne.jsxs)("div",{className:u,children:[r&&(0,ne.jsx)("div",{className:d,children:r}),a&&(0,ne.jsx)("span",{className:p,children:a}),l&&(0,ne.jsx)("span",{className:m,children:l}),c&&(0,ne.jsx)("span",{className:h,children:c})]}),_=void 0===i&&n?"menuitem":i,y=o()(t,{"mdc-list-item":n}),k="function"==typeof s;return(0,ne.jsx)("li",{id:e,className:y||void 0,role:_,children:k?(0,ne.jsx)("button",{type:"button",className:"googlesitekit-header-menu__item-button",onClick:s,children:f}):f})}function MenuSection({id:e,className:t,role:i,children:n}){return(0,ne.jsx)("li",{id:e,className:t,role:i,children:n})}function MenuWithHeading({heading:e,className:t,children:i}){return(0,ne.jsxs)(MenuSection,{className:t,children:[e,i]})}Divider.propTypes={className:r().string},MenuItem.propTypes={id:r().string,className:r().string,role:r().string,isInteractive:r().bool,onClick:r().func,icon:r().node,label:r().node,description:r().node,trailing:r().node,children:r().node,itemClassName:r().string,iconClassName:r().string,labelClassName:r().string,descriptionClassName:r().string,trailingClassName:r().string},MenuSection.propTypes={id:r().string,className:r().string,role:r().string,children:r().node},MenuWithHeading.propTypes={heading:r().node,className:r().string,children:r().node};var Ce,xe,Ee=i(14919),Te=i(39158),Me=i(63321),Se=i(66983),we=i(37927);function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),Ce||(Ce=l.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.7,d:"M11.7749 5.70139L12.355 5.12126C14.1306 3.34566 17.0094 3.34566 18.785 5.12126V5.12126C20.5606 6.89685 20.5606 9.77566 18.785 11.5513L18.1866 12.1497M5.68314 11.7931L5.12125 12.355C3.34566 14.1306 3.34565 17.0094 5.12125 18.785V18.785C6.89685 20.5606 9.77566 20.5606 11.5513 18.785L12.1314 18.2048"})),xe||(xe=l.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M8.54297 15.3632 9.66133 14.2448M15.3447 8.56146 14.2263 9.67982M5.10742 5.13412 18.7712 18.7979"})));var Re,Oe,Le,Pe,Be;function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",ze({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),Re||(Re=l.createElement("rect",{width:18,height:13,x:3,y:4,stroke:"currentColor",strokeWidth:1.5,rx:2})),Oe||(Oe=l.createElement("path",{fill:"currentColor",d:"M9 17H15V20H9z"})),Le||(Le=l.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:1.5,d:"M10 9H17M10 12H17"})),Pe||(Pe=l.createElement("circle",{cx:7,cy:9,r:1,fill:"currentColor"})),Be||(Be=l.createElement("circle",{cx:7,cy:12,r:1,fill:"currentColor"})));function Details(){const e=(0,g.useSelect)(e=>e(d.oR).getPicture()),t=(0,g.useSelect)(e=>e(d.oR).getFullName()),i=(0,g.useSelect)(e=>e(d.oR).getEmail());return(0,ne.jsxs)("div",{className:"googlesitekit-user-menu__details","aria-label":(0,c.__)("Google account","google-site-kit"),children:[!!e&&(0,ne.jsx)("img",{className:"googlesitekit-user-menu__details-avatar",src:e,alt:""}),(0,ne.jsxs)("div",{className:"googlesitekit-user-menu__details-info",children:[(0,ne.jsx)("p",{className:"googlesitekit-user-menu__details-info__name",children:t}),(0,ne.jsx)("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":(0,c.__)("Email","google-site-kit"),children:i})]})]})}function UserMenu(){const e=(0,g.useSelect)(e=>e(u.O4).getProxyPermissionsURL()),t=(0,g.useSelect)(e=>e(d.oR).getEmail()),i=(0,g.useSelect)(e=>e(d.oR).getPicture()),n=(0,g.useSelect)(e=>e(d.oR).getFullName()),o=(0,g.useSelect)(e=>e(u.O4).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})),[s]=(0,Me.A)(we.CV,"isAutoCreatingCustomDimensionsForAudience"),[r,a]=(0,l.useState)(!1),[p,m]=(0,l.useState)(!1),_=(0,l.useRef)(),k=(0,l.useRef)(),I=(0,y.A)(),{navigateTo:b}=(0,g.useDispatch)(ae.M);(0,ve.A)(_,()=>m(!1)),(0,Se.l)([Ne._f,Ne.wn],_,()=>{m(!1),k.current?.focus()});const A=(0,l.useCallback)(()=>{a(!1),m(!1)},[a,m]),v=(0,l.useCallback)(()=>{p||(0,f.sx)(`${I}_headerbar`,"open_usermenu"),m(!p)},[p,I]),N=(0,l.useCallback)(()=>{a(!r),m(!1)},[r]),C=(0,l.useCallback)(async(t,i)=>{const{detail:{item:n}}=i;switch(n?.id){case"manage-sites":e&&(await(0,f.sx)(`${I}_headerbar_usermenu`,"manage_sites"),b(e));break;case"disconnect":N();break;default:v()}},[e,v,N,b,I]),x=(0,l.useCallback)(async()=>{a(!1),await(0,h.IL)(),await(0,f.sx)(`${I}_headerbar_usermenu`,"disconnect_user"),b(o)},[o,b,I]);if(!t)return null;const E=function(e,t){return e&&t?(0,c.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,c.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),e,t):e&&!t?(0,c.sprintf)(/* translators: Account info text. 1: User's (full) name. */ /* translators: Account info text. 1: User's (full) name. */ (0,c.__)("Google Account for %1$s","google-site-kit"),e):!e&&t?(0,c.sprintf)(/* translators: Account info text. 1: User's email address. */ /* translators: Account info text. 1: User's email address. */ (0,c.__)("Google Account (Email: %1$s)","google-site-kit"),t):void 0}(n,t);return(0,ne.jsxs)(l.Fragment,{children:[(0,ne.jsxs)("div",{ref:_,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor",children:[(0,ne.jsx)(re.Button,{disabled:s,ref:k,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:v,icon:!!i&&(0,ne.jsx)("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true",children:(0,ne.jsx)("img",{className:"mdc-button__icon--image",src:i,alt:(0,c.__)("User Avatar","google-site-kit")})}),"aria-haspopup":"menu","aria-expanded":p,"aria-controls":"user-menu","aria-label":s?void 0:(0,c.__)("Account","google-site-kit"),tooltipEnterDelayInMS:500,customizedTooltip:s?null:(0,ne.jsxs)("span",{"aria-label":E,children:[(0,ne.jsx)("strong",{children:(0,c.__)("Google Account","google-site-kit")}),(0,ne.jsx)("br",{}),(0,ne.jsx)("br",{}),n,n&&(0,ne.jsx)("br",{}),t]}),text:!0,tooltip:!0}),(0,ne.jsxs)(re.Menu,{className:"googlesitekit-user-menu",menuOpen:p,onSelected:C,id:"user-menu",children:[(0,ne.jsx)(MenuSection,{children:(0,ne.jsx)(Details,{})}),!!e&&(0,ne.jsx)(MenuItem,{id:"manage-sites",icon:(0,ne.jsx)(He,{width:"24"}),label:(0,c.__)("Manage Sites","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"}),(0,ne.jsx)(MenuItem,{id:"disconnect",icon:(0,ne.jsx)(De,{width:"24"}),label:(0,c.__)("Disconnect","google-site-kit"),itemClassName:"googlesitekit-user-menu__item",iconClassName:"googlesitekit-user-menu__item-icon",labelClassName:"googlesitekit-user-menu__item-label"})]})]}),(0,ne.jsx)(Te.A,{children:(0,ne.jsx)(Ee.A,{dialogActive:r,handleConfirm:x,handleCancel:A,onClose:A,title:(0,c.__)("Disconnect","google-site-kit"),subtitle:(0,c.__)("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,c.__)("Disconnect","google-site-kit"),danger:!0,small:!0})})]})}var Ue,Fe=i(48406);function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 10"},e),Ue||(Ue=l.createElement("path",{fill:"currentColor",d:"M8 1.33333C10.7564 1.33333 13.2145 2.75333 14.4145 5C13.2145 7.24667 10.7564 8.66667 8 8.66667C5.24364 8.66667 2.78545 7.24667 1.58545 5C2.78545 2.75333 5.24364 1.33333 8 1.33333ZM8 0C4.36364 0 1.25818 2.07333 0 5C1.25818 7.92667 4.36364 10 8 10C11.6364 10 14.7418 7.92667 16 5C14.7418 2.07333 11.6364 0 8 0ZM8 3.33333C9.00364 3.33333 9.81818 4.08 9.81818 5C9.81818 5.92 9.00364 6.66667 8 6.66667C6.99636 6.66667 6.18182 5.92 6.18182 5C6.18182 4.08 6.99636 3.33333 8 3.33333ZM8 2C6.19636 2 4.72727 3.34667 4.72727 5C4.72727 6.65333 6.19636 8 8 8C9.80364 8 11.2727 6.65333 11.2727 5C11.2727 3.34667 9.80364 2 8 2Z"})));var Ye=i(13606);function Description(){const e=(0,y.A)(),t=(0,g.useSelect)(e=>e(d.oR).hasCapability(d.ej)),i=(0,g.useSelect)(e=>e(u.O4).getProxySetupURL()),n=(0,g.useSelect)(e=>e(u.O4).getDocumentationLinkURL("dashboard-sharing")),{navigateTo:o}=(0,g.useDispatch)(ae.M),s=(0,l.useCallback)(async t=>{t.preventDefault(),await Promise.all([(0,h.SO)("start_user_setup",!0),(0,f.sx)(`${e}_headerbar_viewonly`,"start_user_setup",i?"proxy":"custom-oauth")]),o(i)},[i,o,e]),r=(0,l.useCallback)(()=>{(0,f.sx)(`${e}_headerbar_viewonly`,"click_learn_more_link")},[e]),a=t?(0,c.__)("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,Ye.A)((0,c.__)("You can see stats from all shared Google services, but you can't make any changes. Learn more","google-site-kit"),{a:(0,ne.jsx)(ue.A,{href:n,onClick:r,"aria-label":(0,c.__)("Learn more about dashboard sharing","google-site-kit"),external:!0})});return(0,ne.jsxs)(l.Fragment,{children:[(0,ne.jsx)(de.A,{className:"googlesitekit-view-only-menu__signin",children:a}),t&&(0,ne.jsx)(re.Button,{onClick:s,children:(0,c._x)("Sign in with Google","Service name","google-site-kit")})]})}var Ve=i(16083);function Service({module:e}){const t=(0,g.useSelect)(e=>e(d.oR).hasCapability(d.ej)),{name:i,owner:n}=(0,g.useSelect)(t=>t(Ve.i).getModule(e)||{}),o=(0,g.useSelect)(t=>t(Ve.i).getModuleIcon(e));return(0,ne.jsxs)("li",{className:"googlesitekit-view-only-menu__service",children:[(0,ne.jsx)("span",{className:"googlesitekit-view-only-menu__service--icon",children:(0,ne.jsx)(o,{height:26})}),(0,ne.jsx)("span",{className:"googlesitekit-view-only-menu__service--name",children:i}),t&&n?.login&&(0,ne.jsx)("span",{className:"googlesitekit-view-only-menu__service--owner",children:n.login})]})}function SharedServices({viewableModules:e}){return Array.isArray(e)?(0,ne.jsx)("ul",{children:e.map(e=>(0,ne.jsx)(Service,{module:e},e))}):null}Service.propTypes={module:r().string.isRequired},SharedServices.propTypes={viewableModules:r().arrayOf(r().string)};var We=i(34244);function Tracking(){const e=(0,y.A)();return(0,ne.jsx)(We.A,{title:(0,c.__)("Help us improve Site Kit","google-site-kit"),description:(0,Ye.A)((0,c.__)("Share anonymous usage data. All collected data is treated in accordance with the Google Privacy Policy","google-site-kit"),{a:(0,ne.jsx)(ue.A,{href:"https://policies.google.com/privacy",external:!0})}),trackEventCategory:`${e}_headerbar_viewonly`,layout:"stacked"})}function ViewOnlyMenu(){const[e,t]=(0,l.useState)(!1),i=(0,l.useRef)(),n=(0,y.A)();(0,ve.A)(i,()=>t(!1)),(0,Se.l)([Ne._f,Ne.wn],i,()=>t(!1));const s=(0,l.useCallback)(()=>{e||(0,f.sx)(`${n}_headerbar`,"open_viewonly"),t(!e)},[e,n]),r=(0,g.useSelect)(e=>e(d.oR).hasCapability(d.ej)),a=(0,g.useSelect)(e=>e(d.oR).getViewableModules());return(0,ne.jsxs)("div",{ref:i,className:o()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":r}),children:[(0,ne.jsx)(re.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",onClick:s,icon:(0,ne.jsx)("span",{className:"mdc-button__icon","aria-hidden":"true",children:(0,ne.jsx)(Ze,{className:"mdc-button__icon--image"})}),"aria-haspopup":"menu","aria-expanded":e,"aria-controls":"view-only-menu","aria-label":(0,c.__)("View only","google-site-kit"),tooltipEnterDelayInMS:500,text:!0,tooltip:!0,children:(0,c.__)("View only","google-site-kit")}),(0,ne.jsxs)(re.Menu,{menuOpen:e,onSelected:s,id:"view-only-menu",nonInteractive:!0,children:[(0,ne.jsx)(MenuSection,{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description",children:(0,ne.jsx)(Description,{})}),Array.isArray(a)&&(0,ne.jsx)(MenuWithHeading,{className:"googlesitekit-view-only-menu__list-item",heading:(0,ne.jsx)(Fe.A,{as:"h4",size:"medium",type:"label",children:(0,c.__)("Shared services","google-site-kit")}),children:(0,ne.jsx)(SharedServices,{viewableModules:a})}),(0,ne.jsx)(Divider,{}),(0,ne.jsx)(MenuSection,{className:"googlesitekit-view-only-menu__list-item",children:(0,ne.jsx)(Tracking,{})})]})]})}function Header({children:e,subHeader:t,showNavigation:i}){const n=!!(0,m.Ay)(),s=(0,b.A)();!function(){const e=(0,y.A)(),t=k(e=>e(u.O4).isUsingProxy()),i=k(e=>e(u.O4).getSetupErrorMessage()),n=(0,_.i)("setupFlowRefresh");(0,l.useEffect)(()=>{n||i||void 0===t||async function(){const i=await(0,h.Gq)("start_user_setup"),n=await(0,h.Gq)("start_site_setup");i.cacheHit&&(await(0,h.LD)("start_user_setup"),(0,f.sx)(`${e}_setup`,"complete_user_setup",t?"proxy":"custom-oauth")),n.cacheHit&&(await(0,h.LD)("start_site_setup"),(0,f.sx)(`${e}_setup`,"complete_site_setup",t?"proxy":"custom-oauth"))}()},[n,e,t,i])}();const r=(0,g.useSelect)(e=>e(u.O4).getAdminURL("googlesitekit-dashboard")),I=(0,g.useSelect)(e=>e(d.oR).isAuthenticated()),[v,N]=(0,a.A)({childList:!0}),C=!!N.target?.childElementCount;return(0,ne.jsxs)(l.Fragment,{children:[(0,ne.jsx)("header",{className:o()("googlesitekit-header",{"googlesitekit-header--has-subheader":C,"googlesitekit-header--has-navigation":i}),children:(0,ne.jsx)(A.xA,{children:(0,ne.jsxs)(A.fI,{children:[(0,ne.jsx)(A.fh,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0,children:(0,ne.jsx)(ue.A,{"aria-label":(0,c.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:r,children:(0,ne.jsx)(me.A,{})})}),(0,ne.jsxs)(A.fh,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0,children:[e,!I&&n&&s&&(0,ne.jsx)(ViewOnlyMenu,{}),I&&!s&&(0,ne.jsx)(UserMenu,{})]})]})})}),(0,ne.jsx)("div",{className:"googlesitekit-subheader",ref:v,children:t}),i&&(0,ne.jsx)(DashboardNavigation,{}),(0,ne.jsx)(pe,{}),(0,ne.jsx)(LegacyNotifications,{}),(0,ne.jsx)(Ae.A,{areaSlug:p.bI.HEADER})]})}Header.displayName="Header",Header.propTypes={children:r().node,subHeader:r().element,showNavigation:r().bool},Header.defaultProps={children:null,subHeader:null};const Qe=Header},58274(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}},73757(e,t,i){i.d(t,{A:()=>n});const n=(0,i(63696).createContext)(!1)},45676(e,t,i){i.d(t,{Ay:()=>r});var n=i(73757);const{Consumer:o,Provider:s}=n.A,r=s},33359(e,t,i){i.d(t,{A:()=>T});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 u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;tc.createElement("svg",u({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:"#FFF"}),c.createElement("path",{fill:"currentColor",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.459.459 0 0 0 .325-.135l3.037-3.038a.459.459 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.462.462 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;tc.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:"currentColor"}),c.createElement("path",{fill:"#FFF",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.459.459 0 0 0 .325-.135l3.037-3.038a.459.459 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.462.462 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var f;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;tc.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),f||(f=c.createElement("path",{d:"M12 20L4 12L12 4L13.425 5.4L7.825 11H20V13H7.825L13.425 18.6L12 20Z"})));var k=i(54399),I=i(58274),b=i(62540);const A="BUTTON",v="BUTTON_DISABLED",N="EXTERNAL_LINK",C="LINK",x="ROUTER_LINK",E=(0,c.forwardRef)((e,t)=>{const{"aria-label":i,secondary:n=!1,arrow:o=!1,back:r=!1,caps:a=!1,children:c,className:u="",danger:p=!1,disabled:m=!1,external:f=!1,hideExternalIndicator:_=!1,href:E="",inverse:T=!1,noFlex:M=!1,onClick:S,small:w=!1,standalone:j=!1,linkButton:D=!1,to:R,leadingIcon:O,trailingIcon:L,...P}=e;const B=E||R||!S?R?x:f?N:C:m?v:A;const z=B===A||B===v?"button":B===x?l.N_:"a",H=function(){let e;return B===N&&(e=(0,g._x)("(opens in a new tab)","screen reader text","google-site-kit")),B===v&&(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=O,F=L;return r&&(U=(0,b.jsx)(y,{width:14,height:14})),f&&!_&&(F=(0,b.jsx)(k.A,{width:14,height:14})),o&&!T&&(F=(0,b.jsx)(h,{width:14,height:14})),o&&T&&(F=(0,b.jsx)(d,{width:14,height:14})),(0,b.jsxs)(z,{"aria-label":H,className:s()("googlesitekit-cta-link",u,{"googlesitekit-cta-link--secondary":n,"googlesitekit-cta-link--inverse":T,"googlesitekit-cta-link--small":w,"googlesitekit-cta-link--caps":a,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":m,"googlesitekit-cta-link--standalone":j,"googlesitekit-cta-link--link-button":D,"googlesitekit-cta-link--no-flex":!!M}),disabled:m,href:B!==C&&B!==N||m?void 0:E,onClick:S,rel:B===N?"noopener noreferrer":void 0,ref:t,target:B===N?"_blank":void 0,to:R,...P,children:[!!U&&(0,b.jsx)(I.A,{marginRight:5,children:U}),(0,b.jsx)("span",{className:"googlesitekit-cta-link__contents",children:c}),!!F&&(0,b.jsx)(I.A,{marginLeft:5,children:F})]})});E.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 T=E},94375(e,t,i){i.d(t,{A:()=>LoadingWrapper});var n=i(62688),o=i.n(n),s=i(31649),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}},60390(e,t,i){i.d(t,{A:()=>I});var n,o,s,r,a,l,c,g,u,d=i(82871),p=i(15761),m=i(41270),h=i(63696);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;th.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 29"},e),h.createElement("mask",{id:"logo-sitekit_svg__a",width:24,height:26,x:0,y:1,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},n||(n=h.createElement("path",{fill:"#E94FFF",d:"M23.496 11.8492H12.146V16.5069H18.6265C18.3477 18.0134 17.5047 19.2982 16.2245 20.1561C15.1478 20.88 13.7638 21.3014 12.146 21.3014C9.01307 21.3014 6.35559 19.186 5.406 16.3331C5.16553 15.6079 5.03299 14.8375 5.03299 14.0398C5.03299 13.2421 5.16553 12.4704 5.406 11.7465C6.35559 8.895 9.01307 6.77823 12.146 6.77823C13.9154 6.77823 15.5003 7.38849 16.7505 8.58166L20.2005 5.12669C18.1155 3.17959 15.3938 1.98506 12.146 1.98506C7.44181 1.98506 3.36882 4.68746 1.38766 8.62544C0.569237 10.2551 0.107422 12.0927 0.107422 14.0412C0.107422 15.9897 0.569237 17.8273 1.38766 19.4569C3.36882 23.3977 7.44181 26.0987 12.146 26.0987C15.3951 26.0987 18.1305 25.0301 20.124 23.1883C22.3989 21.0893 23.7064 17.9846 23.7064 14.3162C23.7064 13.461 23.634 12.6373 23.496 11.8505V11.8492Z"}))),h.createElement("g",{mask:"url(#logo-sitekit_svg__a)"},h.createElement("g",{filter:"url(#logo-sitekit_svg__b)"},h.createElement("g",{clipPath:"url(#logo-sitekit_svg__c)"},h.createElement("foreignObject",{width:3314.49,height:3314.49,x:-1657.24,y:-1657.24,transform:"matrix(.0097 -.0097 .0097 .0097 11.78 13.792)"},h.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",style:{background:"conic-gradient(from 90deg,#ff4641 0deg,#ff4641 4.14555deg,#3186ff 39.154deg,#3186ff 72.0044deg,#00a5b7 96.7463deg,#0ebc5f 120.897deg,#0ebc5f 154.722deg,#6cc400 179.136deg,#fc0 203.588deg,#ffd314 226.915deg,#fc0 251.688deg,#ff6a2b 273.129deg,#fd4641 289.305deg,#ff4641 359.593deg,#ff4641 360deg)",height:"100%",width:"100%",opacity:1}})))),o||(o=h.createElement("g",{filter:"url(#logo-sitekit_svg__d)"},h.createElement("ellipse",{cx:12.223,cy:14.333,fill:"#3186FF",rx:6.506,ry:3.419,transform:"rotate(24.447 12.223 14.333)"}))),s||(s=h.createElement("g",{filter:"url(#logo-sitekit_svg__e)"},h.createElement("ellipse",{cx:28.264,cy:11.89,fill:"#3186FF",rx:8.969,ry:3.73}))),r||(r=h.createElement("g",{filter:"url(#logo-sitekit_svg__f)"},h.createElement("ellipse",{cx:18.524,cy:9.484,fill:"#FF4641",rx:8.932,ry:2.867}))),a||(a=h.createElement("g",{filter:"url(#logo-sitekit_svg__g)"},h.createElement("ellipse",{cx:23.669,cy:5.514,fill:"#FF5B8B",rx:8.932,ry:2.867}))),l||(l=h.createElement("g",{filter:"url(#logo-sitekit_svg__h)"},h.createElement("ellipse",{cx:17.568,cy:13.895,fill:"#3186FF",rx:10.256,ry:3.749}))),c||(c=h.createElement("g",{filter:"url(#logo-sitekit_svg__i)"},h.createElement("ellipse",{cx:18.415,cy:6.831,fill:"#FF4641",rx:5.472,ry:2.867,transform:"rotate(-28.66 18.415 6.831)"})))),g||(g=h.createElement("path",{fill:"currentColor",d:"M37.5079 21.3541C36.7112 21.3541 35.9366 21.1918 35.1842 20.8672C34.4465 20.5279 33.7899 20.041 33.2145 19.4066C32.6538 18.7574 32.2481 17.9754 31.9973 17.0607L33.7899 16.3303C34.0407 17.2746 34.5055 18.0492 35.1842 18.6541C35.8628 19.259 36.6522 19.5615 37.5522 19.5615C38.4817 19.5615 39.2637 19.318 39.8981 18.8311C40.5325 18.3295 40.8497 17.6508 40.8497 16.7951C40.8497 16.0574 40.5768 15.4525 40.0309 14.9803C39.4997 14.4934 38.6219 14.0434 37.3973 13.6303L36.4014 13.2762C35.2801 12.8779 34.3653 12.3541 33.6571 11.7049C32.9489 11.0557 32.5948 10.1557 32.5948 9.00492C32.5948 8.25246 32.8014 7.55901 33.2145 6.92459C33.6276 6.27541 34.1956 5.75901 34.9186 5.37541C35.6563 4.9918 36.4825 4.8 37.3973 4.8C38.312 4.8 39.1087 4.96967 39.7874 5.30901C40.4809 5.64836 41.0268 6.06147 41.4251 6.54836C41.8383 7.03524 42.1186 7.51475 42.2661 7.98688L40.5178 8.73934C40.3555 8.17869 40.0161 7.68442 39.4997 7.25656C38.9833 6.81393 38.2973 6.59262 37.4415 6.59262C36.6301 6.59262 35.9366 6.82131 35.3612 7.27869C34.7858 7.73606 34.4981 8.31147 34.4981 9.00492C34.4981 9.62459 34.7415 10.1336 35.2284 10.532C35.7153 10.9156 36.453 11.277 37.4415 11.6164L38.4596 11.9705C39.8022 12.4574 40.8497 13.0697 41.6022 13.8074C42.3694 14.5303 42.753 15.5189 42.753 16.773C42.753 17.791 42.4874 18.6467 41.9563 19.3402C41.4399 20.0336 40.7833 20.5426 39.9866 20.8672C39.1899 21.1918 38.3637 21.3541 37.5079 21.3541ZM46.1965 7.72131C45.8276 7.72131 45.5104 7.58852 45.2448 7.32295C44.9793 7.05738 44.8465 6.74016 44.8465 6.37131C44.8465 6.00246 44.9793 5.68524 45.2448 5.41967C45.5104 5.1541 45.8276 5.02131 46.1965 5.02131C46.5653 5.02131 46.8825 5.1541 47.1481 5.41967C47.4137 5.68524 47.5465 6.00246 47.5465 6.37131C47.5465 6.74016 47.4137 7.05738 47.1481 7.32295C46.8973 7.58852 46.5801 7.72131 46.1965 7.72131ZM45.267 10.0229H47.126V21H45.267V10.0229ZM54.1582 21.177C53.7155 21.177 53.3024 21.1033 52.9188 20.9557C52.55 20.8082 52.2328 20.609 51.9672 20.3582C51.6721 20.0779 51.4508 19.7533 51.3032 19.3844C51.1705 19.0008 51.1041 18.5508 51.1041 18.0344V11.727H49.1565V10.0229H51.1041V6.74754H52.9631V10.0229H55.6631V11.727H52.9631V17.5697C52.9631 18.1893 53.0885 18.6467 53.3393 18.9418C53.5901 19.2664 53.9737 19.4287 54.4901 19.4287C54.9475 19.4287 55.3459 19.3254 55.6852 19.1189V20.9336C55.4491 21.0221 55.2205 21.0811 54.9991 21.1107C54.7926 21.1549 54.5123 21.177 54.1582 21.177ZM62.2568 21.3541C61.1945 21.3541 60.2428 21.1033 59.4019 20.6016C58.5756 20.1 57.9264 19.4066 57.4543 18.5213C56.9822 17.6361 56.7461 16.6328 56.7461 15.5115C56.7461 14.4492 56.9674 13.4754 57.4101 12.5902C57.8527 11.6902 58.4797 10.982 59.2912 10.4656C60.1174 9.93442 61.0617 9.66885 62.124 9.66885C63.1863 9.66885 64.1158 9.91229 64.9125 10.3992C65.724 10.8713 66.3437 11.5426 66.7715 12.4131C67.1994 13.2836 67.4133 14.2869 67.4133 15.423C67.4133 15.6295 67.3986 15.777 67.3691 15.8656H58.6494C58.6789 16.6918 58.8781 17.3926 59.2469 17.968C59.6158 18.5287 60.0732 18.9492 60.6191 19.2295C61.1797 19.5098 61.7551 19.65 62.3453 19.65C63.7322 19.65 64.8019 18.9713 65.5543 17.6139L67.2142 18.4107C66.742 19.2959 66.0855 20.0115 65.2445 20.5574C64.4183 21.0885 63.4224 21.3541 62.2568 21.3541ZM65.4215 14.2943C65.392 13.8516 65.2666 13.409 65.0453 12.9664C64.824 12.5238 64.4625 12.1475 63.9609 11.8377C63.474 11.5279 62.8469 11.3729 62.0797 11.3729C61.2535 11.3729 60.5379 11.6385 59.933 12.1697C59.3281 12.7008 58.9445 13.409 58.7822 14.2943H65.4215ZM75.0536 5.1541H76.9347V13.4975H77.0233L84.1716 5.1541H86.5618V5.24262L80.7192 12.0148L87.0044 20.9115V21H84.7028L79.4356 13.4533L76.9347 16.3525V21H75.0536V5.1541ZM89.5943 7.72131C89.2254 7.72131 88.9082 7.58852 88.6426 7.32295C88.3771 7.05738 88.2443 6.74016 88.2443 6.37131C88.2443 6.00246 88.3771 5.68524 88.6426 5.41967C88.9082 5.1541 89.2254 5.02131 89.5943 5.02131C89.9631 5.02131 90.2803 5.1541 90.5459 5.41967C90.8115 5.68524 90.9443 6.00246 90.9443 6.37131C90.9443 6.74016 90.8115 7.05738 90.5459 7.32295C90.2951 7.58852 89.9779 7.72131 89.5943 7.72131ZM88.6648 10.0229H90.5238V21H88.6648V10.0229ZM97.556 21.177C97.1133 21.177 96.7002 21.1033 96.3166 20.9557C95.9478 20.8082 95.6306 20.609 95.365 20.3582C95.0699 20.0779 94.8486 19.7533 94.701 19.3844C94.5683 19.0008 94.5019 18.5508 94.5019 18.0344V11.727H92.5543V10.0229H94.5019V6.74754H96.3609V10.0229H99.0609V11.727H96.3609V17.5697C96.3609 18.1893 96.4863 18.6467 96.7371 18.9418C96.9879 19.2664 97.3715 19.4287 97.8879 19.4287C98.3453 19.4287 98.7437 19.3254 99.083 19.1189V20.9336C98.8469 21.0221 98.6183 21.0811 98.3969 21.1107C98.1904 21.1549 97.9101 21.177 97.556 21.177Z"})),u||(u=h.createElement("defs",null,h.createElement("filter",{id:"logo-sitekit_svg__b",width:36.681,height:36.722,x:-6.022,y:-4.569,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:1.412})),h.createElement("filter",{id:"logo-sitekit_svg__d",width:13.505,height:9.554,x:5.471,y:9.556,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:.331})),h.createElement("filter",{id:"logo-sitekit_svg__e",width:35.584,height:25.104,x:10.473,y:-.662,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:4.411})),h.createElement("filter",{id:"logo-sitekit_svg__f",width:205.334,height:193.203,x:-84.143,y:-87.118,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:46.867})),h.createElement("filter",{id:"logo-sitekit_svg__g",width:35.509,height:23.378,x:5.914,y:-6.175,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:4.411})),h.createElement("filter",{id:"logo-sitekit_svg__h",width:22.475,height:9.462,x:6.331,y:9.164,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:.491})),h.createElement("filter",{id:"logo-sitekit_svg__i",width:197.461,height:194.74,x:-80.314,y:-90.539,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},h.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),h.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),h.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_4313_1531",stdDeviation:46.867})),h.createElement("clipPath",{id:"logo-sitekit_svg__c"},h.createElement("path",{d:"M-3.198 13.7919C-3.198 5.21136 3.74875 -1.74452 12.318 -1.74452C20.8872 -1.74452 27.834 5.21136 27.834 13.7919C27.834 22.3724 20.8872 29.3283 12.318 29.3283C3.74875 29.3283 -3.198 22.3724 -3.198 13.7919Z"})))));var y=i(30694),k=i(62540);const I=function Logo(){const e=(0,p.SO)()<450;return(0,k.jsxs)("div",{className:"googlesitekit-logo","aria-hidden":"true",children:[e&&(0,k.jsx)(m.A,{className:"googlesitekit-logo__logo-g",height:"25",width:"25"}),(0,k.jsx)(_,{className:"googlesitekit-logo__logo-sitekit",height:"29",width:"100"}),(0,k.jsx)(y.A,{children:(0,d.__)("Site Kit by Google Logo","google-site-kit")})]})}},14919(e,t,i){i.d(t,{A:()=>p});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(52684),l=i(13606),c=i(82871),g=i(49383),u=i(84470),d=i(62540);function ModalDialog({className:e="",dialogActive:t=!1,handleCancel:i=null,onOpen:n=null,onClose:s=null,title:r=null,provides:p,handleConfirm:m,subtitle:h,confirmButton:f=null,notes:_=[],danger:y=!1,inProgress:k=!1,small:I=!1,medium:b=!1,buttonLink:A=null}){const v=`googlesitekit-dialog-description-${(0,a.A)(ModalDialog)}`,N=!(!p||!p.length);return(0,d.jsxs)(g.Dialog,{open:t,onOpen:n,onClose:s,"aria-describedby":N?v:void 0,tabIndex:"-1",className:o()(e,{"googlesitekit-dialog-sm":I,"googlesitekit-dialog-md":b}),children:[(0,d.jsxs)(g.DialogTitle,{children:[y&&(0,d.jsx)(u.A,{width:28,height:28}),r]}),h?(0,d.jsx)("p",{className:"mdc-dialog__lead",children:h}):[],(0,d.jsxs)(g.DialogContent,{children:[N&&(0,d.jsx)("section",{id:v,className:"mdc-dialog__provides",children:(0,d.jsx)("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive",children:p.map(e=>(0,d.jsx)("li",{className:"mdc-list-item",children:(0,d.jsx)("span",{className:"mdc-list-item__text",children:e})},e))})}),_.length>0&&(0,d.jsx)("section",{className:"mdc-dialog__notes",children:_.map((e,t)=>(0,d.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.__)("Note: %s","google-site-kit"),e),{strong:(0,d.jsx)("strong",{})}),"function"==typeof e&&(0,d.jsx)(e,{})]},`note-${t}`))})]}),(0,d.jsxs)(g.DialogFooter,{children:[(0,d.jsx)(g.Button,{className:"mdc-dialog__cancel-button",onClick:i,tertiary:!0,children:(0,c.__)("Cancel","google-site-kit")}),A?(0,d.jsx)(g.Button,{href:A,onClick:m,target:"_blank",danger:y,children:f}):(0,d.jsx)(g.SpinnerButton,{onClick:m,danger:y,disabled:k,isSaving:k,children:f||(0,c.__)("Disconnect","google-site-kit")})]})]})}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:r().string,dialogActive:r().bool,handleDialog:r().func,handleConfirm:r().func.isRequired,onOpen:r().func,onClose:r().func,title:r().string,provides:r().arrayOf(r().string),confirmButton:r().string,notes:r().arrayOf(r().oneOfType([r().string,r().elementType])),danger:r().bool,small:r().bool,medium:r().bool,buttonLink:r().string};const p=ModalDialog},14352(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(76649),r=i(89795),a=i(62540);function NotificationFromServer({id:e,titleIcon:t,title:i,content:n,ctaLabel:o,ctaTarget:l,ctaURL:c,dismissible:g,dismissLabel:u,learnMoreLabel:d,learnMoreURL:p,onCTAClick:m,ctaInProgress:h,onDismissClick:f,gaTrackingEventArgs:_}){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:d,href:p}:void 0,ctaButton:{label:o,href:c,onClick:m,inProgress:h,dismissOptions:y,external:"_blank"===l},dismissButton:g?{label:u,onClick:f,dismissOptions:y}:void 0,gaTrackingEventArgs:_})}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,ctaInProgress:o().bool,onDismissClick:o().func,gaTrackingEventArgs:o().object};const l=NotificationFromServer},34244(e,t,i){i.d(t,{A:()=>OptIn});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(13606),c=i(82871),g=i(50539),u=i(33359),d=i(44191),p=i(91703),m=i(86374),h=i(42351),f=i(49383),_=i(62540);function LayoutDefault({checkboxProps:e,label:t}){return(0,_.jsx)(f.Checkbox,{...e,children:t})}function LayoutStacked({checkboxProps:e,title:t,description:i}){return(0,_.jsxs)(a.Fragment,{children:[(0,_.jsx)(f.Checkbox,{...e,children:t}),(0,_.jsx)("div",{className:"googlesitekit-opt-in__description",children:i})]})}LayoutDefault.propTypes={checkboxProps:r().object.isRequired,label:r().node.isRequired},LayoutStacked.propTypes={checkboxProps:r().object.isRequired,title:r().node.isRequired,description:r().node.isRequired};const y="default",k="stacked";function OptIn({id:e="googlesitekit-opt-in",name:t="optIn",className:i,layout:n=y,title:s=null,description:r=null,trackEventCategory:f,trackEventAction:I="tracking_optin"}){const[b,A]=(0,a.useState)(),v=(0,g.useSelect)(e=>e(d.oR).isTrackingEnabled()),N=(0,g.useSelect)(e=>e(d.oR).getErrorForAction("setTrackingEnabled",[!v])),{setTrackingEnabled:C}=(0,g.useDispatch)(d.oR),x=(0,m.A)(),E=(0,a.useCallback)(async e=>{const{response:t,error:i}=await C(e);i?A(v):((0,h.M9)(t.enabled),t.enabled&&(0,h.sx)(f||x,I))},[v,C,f,I,x]);(0,a.useEffect)(()=>{void 0!==v&&void 0===b&&A(v)},[v,b]);const T=(0,p.d)(E,300),M=(0,a.useCallback)(e=>{const t=e.target.checked;A(t),T(t)},[T]),S=s??(0,_.jsx)("span",{children:(0,c.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")}),w=r??(0,l.A)((0,c.__)("All collected data is treated in accordance with the Google Privacy Policy","google-site-kit"),{a:(0,_.jsx)(u.A,{href:"https://policies.google.com/privacy",external:!0},"link"),span:(0,_.jsx)("span",{})}),j={id:e,name:t,value:"1",checked:b,onChange:M,loading:void 0===v};return(0,_.jsxs)("div",{className:o()("googlesitekit-opt-in",i,n===k&&"googlesitekit-opt-in--layout-stacked"),children:[n===k?(0,_.jsx)(LayoutStacked,{checkboxProps:j,title:S,description:w}):(0,_.jsx)(LayoutDefault,{checkboxProps:j,label:(0,_.jsxs)(a.Fragment,{children:[S," ",w]})}),N?.message&&(0,_.jsx)("div",{className:"googlesitekit-error-text",children:N?.message})]})}OptIn.propTypes={id:r().string,name:r().string,className:r().string,title:r().node,description:r().node,layout:r().oneOf([y,k]),trackEventCategory:r().string}},98826(e,t,i){i.d(t,{A:()=>PageHeader});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(959),l=i(38623),c=i(14565),g=i(58274),u=i(48406),d=i(62540);function PageHeader(e){const{title:t,icon:i,className:n,status:s,statusText:r,fullWidth:p,children:m}=e,h=p?{size:12}:{smSize:4,mdSize:4,lgSize:6},f=""!==s||Boolean(m);return(0,d.jsx)("header",{className:"googlesitekit-page-header",children:(0,d.jsxs)(a.fI,{children:[t&&(0,d.jsxs)(a.fh,{...h,children:[i,(0,d.jsx)(u.A,{as:"h1",className:o()("googlesitekit-page-header__title",n),size:"medium",type:"title",children:t})]}),f&&(0,d.jsx)(a.fh,{smSize:4,mdSize:4,lgSize:6,alignBottom:!0,mdAlignRight:!0,children:(0,d.jsxs)("div",{className:"googlesitekit-page-header__details",children:[s&&(0,d.jsxs)("span",{className:o()("googlesitekit-page-header__status",`googlesitekit-page-header__status--${s}`),children:[r,(0,d.jsx)(g.A,{children:"connected"===s?(0,d.jsx)(l.A,{width:10,height:8}):(0,d.jsx)(c.A,{width:2,height:12})})]}),m]})})]})})}PageHeader.propTypes={title:r().string,icon:r().node,className:r().string,status:r().string,statusText:r().string,fullWidth:r().bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}},39158(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(47209),r=i(63696),a=i(78325);function Portal({children:e,slug:t}){const[i]=(0,r.useState)(document.createElement("div"));return(0,s.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:o().string,children:o().node},Portal.defaultProps={slug:"",children:null};const l=Portal},31649(e,t,i){i.d(t,{A:()=>c});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(69075),l=i(62540);function PreviewBlock({className:e,width:t,height:i,shape:n,padding:s,smallWidth:r,smallHeight:c,tabletWidth:g,tabletHeight:u,desktopWidth:d,desktopHeight:p}){const m=(0,a.dv)(),h={width:{[a.mp]:r,[a.Lg]:g,[a.Fo]:d,[a.Qb]:d},height:{[a.mp]:c,[a.Lg]:u,[a.Fo]:p,[a.Qb]:d}};return(0,l.jsx)("div",{className:o()("googlesitekit-preview-block",e,{"googlesitekit-preview-block--padding":s}),style:{width:h.width[m]||t,height:h.height[m]||i},children:(0,l.jsx)("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===n})})})}PreviewBlock.propTypes={className:r().string,width:r().string,height:r().string,shape:r().string,padding:r().bool,smallWidth:r().string,smallHeight:r().string,tabletWidth:r().string,tabletHeight:r().string,desktopWidth:r().string,desktopHeight:r().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},93112(e,t,i){i.d(t,{A:()=>u});var n=i(62688),o=i.n(n),s=i(81276),r=i(63696),a=i(49383),l=i(14919),c=i(62540);let g=null;function RefocusableModalDialog({dialogActive:e=!1,refocusQuerySelector:t=null,...i}){const n=(0,r.useCallback)(()=>{setTimeout(()=>{const e=t?document.querySelector(t):g;e&&document.body.contains(e)&&e.focus(),t||(g=null)})},[t]),o=(0,s.A)(e);return(0,r.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 u=RefocusableModalDialog},67324(e,t,i){i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)(""),{Consumer:o,Provider:s}=n,r=n},1713(e,t,i){i.d(t,{A:()=>Root});var n=i(44010),o=i(77105),s=i(62688),r=i.n(s),a=i(63696),l=i(50539),c=i.n(l),g=i(82871),u=i(41873),d=i(67324),p=i(76649),m=i(89795),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)(u.A,{message:i.message,componentStack:o}),(0,h.jsxs)("pre",{className:"googlesitekit-overflow-auto",children:[i.message,o]})]})})}}ErrorHandler.contextType=d.Ay,ErrorHandler.propTypes={children:r().node.isRequired};const f=ErrorHandler;var _=i(12927);const{Consumer:y,Provider:k}=_.A,I=k;var b=i(15844),A=i(44191),v=i(86374),N=i(42498);function FeatureTours(){const e=(0,v.A)(),{triggerTourForView:t}=(0,l.useDispatch)(A.oR);(0,b.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)(N.Ay,{tourID:i.slug,steps:i.steps,gaEventCategory:i.gaEventCategory,isRepeatable:i.isRepeatable,callback:i.callback}):null}var C=i(45676),x=i(39158),E=i(93112),T=i(46840),M=i(60081),S=i(41619);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)(S.M),{setValues:r}=(0,l.useDispatch)(M.s),c=(0,a.useCallback)(()=>{o()},[o]),u=(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 u()}()},[u,t]),t?t?.data?.scopes?.length?t?.data?.skipModal||i&&t?.data?.scopes.every(e=>i.includes(e))?null:(0,h.jsx)(x.A,{children:(0,h.jsx)(E.A,{title:(0,g.__)("Additional Permissions Required","google-site-kit"),subtitle:t.message,confirmButton:(0,g.__)("Proceed","google-site-kit"),handleConfirm:u,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 j=function PermissionsModal(){return(0,l.useSelect)(e=>e(A.oR).isAuthenticated())?(0,h.jsx)(w,{}):null};const D=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 R=i(23318),O=i(32048);function Root({children:e,registry:t,viewContext:i=null}){const s=n.D,[r]=(0,a.useState)({key:"Root",value:!0});return(0,h.jsx)(a.StrictMode,{children:(0,h.jsx)(C.Ay,{value:r,children:(0,h.jsx)(l.RegistryProvider,{value:t,children:(0,h.jsx)(I,{value:R.t,children:(0,h.jsx)(d.Kq,{value:i,children:(0,h.jsx)(o.A,{theme:s(),children:(0,h.jsxs)(f,{children:[(0,h.jsxs)(D,{children:[e,i&&(0,h.jsx)(FeatureTours,{})]}),(0,O.A)(i)&&(0,h.jsx)(j,{})]})})})})})})})}Root.propTypes={children:r().node,registry:r().object,viewContext:r().string.isRequired},Root.defaultProps={registry:c()}},57512(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),u=i(66224);var d=i(23966),p=i(48406),m=i(62540);function TourTooltip({backProps:e,closeProps:t,index:i,primaryProps:s,size:a,step:l,tooltipProps:h}){const f=(0,u.i)("setupFlowRefresh"),_=a>1?function(e){return new Array(e??0).fill().map((e,t)=>t)}(a):[];function y(e){return r()("googlesitekit-tooltip-indicator",{active:e===i})}const k=f?10:14;return(0,m.jsx)("div",{className:r()("googlesitekit-tour-tooltip",l.className,{"googlesitekit-tour-tooltip--no-title":!l.title,"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:[l.title&&(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:_.map(e=>(0,m.jsx)("li",{className:y(e)},`indicator-${e}`))}),f&&(0,m.jsx)("p",{className:"googlesitekit-tooltip-steps",children:a>1&&`${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)(d.A,{width:k,height:k}),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}},42498(e,t,i){i.d(t,{Ay:()=>TourTooltips,R0:()=>k,ei:()=>b});var n=i(62688),o=i.n(n),s=i(36703),r=i(15844),a=i(82871),l=i(50539),c=i(23318),g=i(93746),u=i(44191),d=i(69075),p=i(86374),m=i(53475),h=i(42351),f=i(57512),_=i(62540);const y=(0,c.G)("setupFlowRefresh"),k={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:y?"rgba(0, 0, 0, 0.25)":"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:y?"none":"2px solid #3c7251",backgroundColor:"#fff"}},I={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")},b={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)"}}},A={disableBeacon:!0,isFixed:!0,placement:"auto"},v={placement:"top",offset:0},N="feature_tooltip_view",C="feature_tooltip_advance",x="feature_tooltip_return",E="feature_tooltip_dismiss",T="feature_tooltip_complete";function TourTooltips({steps:e,tourID:t,gaEventCategory:i,isRepeatable:n,callback:o}){const a=`${t}-step`,c=`${t}-run`,{setValue:M}=(0,l.useDispatch)(g.nX),{dismissTour:S,receiveCurrentTour:w}=(0,l.useDispatch)(u.oR),j=(0,l.useRegistry)(),D=(0,p.A)(),R=(0,d.dv)(),O=(0,l.useSelect)(e=>e(g.nX).getValue(a)||0),L=(0,l.useSelect)(e=>{const i=n||!1===e(u.oR).isTourDismissed(t);return e(g.nX).getValue(c)&&i});function P(i){return`googlesitekit-showing-feature-tour--${t}-${e[i].slug||i}`}(0,r.A)(function(){globalThis.document.body.classList.add("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`,P(O)),M(c,!0)});const B=e.map(e=>e.isResponsive&&R===d.mp?{...A,...e,...v,floaterProps:{...e.floaterProps,target:e.target}}:{...A,...e}),z={...b.options,flip:{...b.options?.flip,padding:{bottom:0,top:(0,m.Jc)()}}},H=y?{...b.styles,floater:{filter:"drop-shadow(rgba(0, 0, 0, 0.25) 0px 4px 16px)"}}:b.styles,U={...b,options:z,styles:H};return(0,_.jsx)(s.Ay,{callback:function(r){!function({index:e,action:t,lifecycle:n,size:o,status:r,type:a}){const l=e+1,c="function"==typeof i?i(D):i;a===s.qY.TOOLTIP&&n===s.VD.TOOLTIP?(0,h.sx)(c,N,l):t===s.kl.CLOSE&&n===s.VD.COMPLETE?(0,h.sx)(c,E,l):t===s.kl.NEXT&&r===s.XQ.FINISHED&&a===s.qY.TOUR_END&&o===l&&(0,h.sx)(c,T,l),n===s.VD.COMPLETE&&r!==s.XQ.FINISHED&&(t===s.kl.PREV&&(0,h.sx)(c,x,l),t===s.kl.NEXT&&(0,h.sx)(c,C,l))}(r);const{action:l,index:g,status:u,step:d,type:p}=r,f=l===s.kl.CLOSE,_=!f&&[s.qY.STEP_AFTER,s.qY.TARGET_NOT_FOUND].includes(p),y=[s.XQ.FINISHED,s.XQ.SKIPPED].includes(u),k=f&&p===s.qY.STEP_AFTER,I=y||k;s.qY.STEP_BEFORE===p&&function(e){let t=e.target;if("string"==typeof e.target&&(t=globalThis.document.querySelector(e.target)),!(t instanceof Element))return;const i=document.querySelector(".__floater");if(!i)return;const n=t.getBoundingClientRect(),o=i.getBoundingClientRect(),s=window.scrollY+n.bottom,r=window.scrollY+n.top,a=window.scrollY+o.bottom,l=window.scrollY+o.top,c=Math.max(s,a),g=Math.min(r,l),u=c-g,d=window.innerHeight,p=(0,m.Jc)(),h=g+u/2-d/2-p/2;d>u+p+16?window.scrollTo({behavior:"smooth",top:h}):g===l||c===a?(i.style.scrollMarginBlock="8px",i.scrollIntoView({behavior:"smooth",block:g===l?"start":"end"})):(t.style.scrollMarginBlock="8px",t.scrollIntoView({behavior:"smooth",block:"start"}))}(d),_?function(t,i){const n=t+(i===s.kl.PREV?-1:1);globalThis.document.body.classList.remove(P(t)),e[n]&&globalThis.document.body.classList.add(P(n)),M(a,n)}(g,l):I&&(globalThis.document.body.classList.remove("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`),e[O]&&globalThis.document.body.classList.remove(P(O)),n?(M(c,!1),M(a,null),w(null)):S(t)),o&&o(r,j)},floaterProps:U,locale:I,run:L,stepIndex:O,steps:B,styles:k,tooltipComponent:f.A,showProgress:!y,continuous:!0,disableOverlayClose:!0,disableScrolling:!0})}TourTooltips.propTypes={steps:o().arrayOf(o().object).isRequired,tourID:o().string.isRequired,gaEventCategory:o().oneOfType([o().string,o().func]).isRequired,isRepeatable:o().bool,callback:o().func}},6166(e,t,i){i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(69075),r=i(63463),a=i(48406),l=i(62540);function c({type:e=r.SZ,size:t,children:i,...n}){const o=(0,s.dv)();return(0,l.jsx)(a.A,{as:"p",type:e,size:t||(o===s.mp?r.Kk:r.Yw),...n,children:i})}c.propTypes={type:o().oneOf(r.tT),size:o().oneOf(r.oJ)}},63463(e,t,i){i.d(t,{GD:()=>n,Kk:()=>a,SZ:()=>o,Yw:()=>l,oJ:()=>c,s7:()=>s,tT:()=>r});const n="headline",o="body",s="label",r=[o,"display",n,s,"title"],a="small",l="medium",c=[a,l,"large"]},48406(e,t,i){i.d(t,{A:()=>Typography});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63463),l=i(62540);function Typography({className:e,type:t,size:i,as:n="span",children:s,...r}){return(0,l.jsx)(n,{className:o()("googlesitekit-typography",e,{[`googlesitekit-typography--${t}`]:t&&a.tT.includes(t),[`googlesitekit-typography--${i}`]:i&&a.oJ.includes(i)}),...r,children:s})}Typography.propTypes={className:r().string,type:r().oneOf(a.tT),size:r().oneOf(a.oJ),as:r().oneOfType([r().string,r().elementType])}},381(e,t,i){i.d(t,{A:()=>HelpMenu});var n,o,s=i(4452),r=i.n(s),a=i(62688),l=i.n(a),c=i(21795),g=i(63696),u=i(82871),d=i(53328),p=i(49383),m=i(50539),h=i(8472),f=i(9267),_=i(44191),y=i(16083),k=i(66224),I=i(66983),b=i(86374),A=i(71796),v=i(61356),N=i(37927),C=i(48399),x=i(89795);function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=g.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M15.2441 10.5898C15.8489 9.56973 17.1698 9.23052 18.1934 9.83496H18.1943C19.215 10.4374 19.5534 11.7497 18.9541 12.7695L15.915 17.792 15.9111 17.7979C15.5096 18.4755 14.7937 18.8535 14.0547 18.8535 13.683 18.8535 13.3059 18.7576 12.9609 18.5537V18.5527C11.9381 17.9491 11.5997 16.633 12.2041 15.6123L12.2031 15.6113 15.2402 10.5967 15.2441 10.5898ZM8.85352 5.63477C9.45822 4.6142 10.7789 4.27444 11.8037 4.87891 12.8264 5.48282 13.1646 6.79923 12.5605 7.81836L12.5566 7.82422 6.75684 17.8008C6.35612 18.4775 5.6401 18.8564 4.90039 18.8564 4.52789 18.8564 4.15095 18.7601 3.80664 18.5566 2.78335 17.952 2.44586 16.6357 3.0498 15.6162L3.05273 15.6104 8.85352 5.63477Z"})),o||(o=g.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:1.5,d:"M4.88672 14.5947C6.06776 14.595 7.02246 15.5504 7.02246 16.7256C7.02231 17.9006 6.06766 18.8552 4.88672 18.8555C3.70557 18.8555 2.75016 17.9007 2.75 16.7256C2.75 15.5503 3.70548 14.5947 4.88672 14.5947Z"})));var M,S,w;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),M||(M=g.createElement("circle",{cx:12,cy:11,r:8.25,stroke:"currentColor",strokeWidth:1.5})),S||(S=g.createElement("path",{fill:"currentColor",d:"M10 9L17 6L14.0468 13.0468L7 16L10 9Z"})),w||(w=g.createElement("circle",{cx:12,cy:11,r:1,fill:"#fff"})));var R,O,L;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),R||(R=g.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M19 8L19 19C19 20.1046 18.1046 21 17 21L7 21C5.89543 21 5 20.1046 5 19L5 5C5 3.89543 5.89543 3 7 3L14 3L19 8Z"})),O||(O=g.createElement("path",{fill:"currentColor",d:"M13.5 9V3L19 9H13.5Z"})),L||(L=g.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M8.5 11.5H15.5M8.5 14.5H15.5M8.5 17.5H13"})));var z,H;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),z||(z=g.createElement("path",{stroke:"currentColor",strokeWidth:1.5,d:"M5 5.75H19C19.6904 5.75 20.25 6.30964 20.25 7V16.1611C20.25 16.8515 19.6904 17.4111 19 17.4111H6.63281L6.41406 17.624L3.75 20.2207V7C3.75 6.30964 4.30964 5.75 5 5.75Z"})),H||(H=g.createElement("path",{fill:"currentColor",d:"M11.5 8.5H13V12.5H11.5zM11.5 13.5H13V15H11.5z"})));var G;function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},e),G||(G=g.createElement("path",{fill:"currentColor",d:"M9 16H11V14H9V16ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM10 4C7.79 4 6 5.79 6 8H8C8 6.9 8.9 6 10 6C11.1 6 12 6.9 12 8C12 10 9 9.75 9 13H11C11 10.75 14 10.5 14 8C14 5.79 12.21 4 10 4Z"})));var V,W,Q;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;tg.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),V||(V=g.createElement("mask",{id:"support_svg__a",fill:"#fff"},g.createElement("path",{d:"M12 2C16.9707 2 21.001 6.02927 21.001 11C21.001 13.2824 20.1512 15.3666 18.751 16.9531C18.2234 17.5509 17.6171 18.078 16.9492 18.5186C16.2454 18.9827 15.4726 19.3514 14.6494 19.6045C14.478 19.6572 14.3035 19.7026 14.1279 19.7451C10.5087 21.8231 5 23 5 23C5.02317 22.9826 7.68924 20.9755 8.05273 19.0889C7.70616 18.9194 7.37158 18.7295 7.05176 18.5186C6.42449 18.1049 5.85202 17.6147 5.34766 17.0615C3.88944 15.462 3.00001 13.335 3 11C3 6.02937 7.02941 2.00017 12 2Z"}))),W||(W=g.createElement("path",{fill:"currentColor",d:"M12 2V0.5H11.9999L12 2ZM21.001 11L22.501 11V11H21.001ZM18.751 16.9531L19.8756 17.9457L19.8756 17.9457L18.751 16.9531ZM16.9492 18.5186L17.7751 19.7707L17.7751 19.7707L16.9492 18.5186ZM14.6494 19.6045L15.0902 21.0383L15.0903 21.0382L14.6494 19.6045ZM14.1279 19.7451L13.7745 18.2873L13.5666 18.3378L13.3811 18.4443L14.1279 19.7451ZM5 23L4.09897 21.8008L-1.34207 25.8888L5.3134 24.4669L5 23ZM8.05273 19.0889L9.52565 19.3726L9.74281 18.2455L8.7116 17.7413L8.05273 19.0889ZM7.05176 18.5186L6.22592 19.7707L6.22593 19.7708L7.05176 18.5186ZM5.34766 17.0615L4.23917 18.0721L4.23918 18.0721L5.34766 17.0615ZM3 11H1.5V11L3 11ZM12 2V3.5C16.1425 3.5 19.501 6.85791 19.501 11H21.001H22.501C22.501 5.20063 17.7989 0.5 12 0.5V2ZM21.001 11L19.501 11C19.501 12.903 18.794 14.6375 17.6263 15.9606L18.751 16.9531L19.8756 17.9457C21.5084 16.0957 22.501 13.6619 22.501 11L21.001 11ZM18.751 16.9531L17.6264 15.9605C17.1864 16.459 16.6806 16.8989 16.1233 17.2664L16.9492 18.5186L17.7751 19.7707C18.5537 19.2572 19.2604 18.6427 19.8756 17.9457L18.751 16.9531ZM16.9492 18.5186L16.1234 17.2664C15.5361 17.6537 14.8926 17.9604 14.2085 18.1707L14.6494 19.6045L15.0903 21.0382C16.0525 20.7423 16.9547 20.3118 17.7751 19.7707L16.9492 18.5186ZM14.6494 19.6045L14.2086 18.1707C14.0778 18.2109 13.9358 18.2482 13.7745 18.2873L14.1279 19.7451L14.4813 21.2029C14.6712 21.1569 14.8782 21.1034 15.0902 21.0383L14.6494 19.6045ZM14.1279 19.7451L13.3811 18.4443C11.72 19.398 9.56684 20.1727 7.77207 20.7162C6.88585 20.9845 6.10875 21.19 5.55454 21.3282C5.27775 21.3971 5.0574 21.4491 4.90781 21.4835C4.83304 21.5007 4.77602 21.5134 4.73853 21.5217C4.71979 21.5259 4.70594 21.5289 4.69721 21.5308C4.69285 21.5318 4.68976 21.5324 4.68798 21.5328C4.68709 21.533 4.68653 21.5331 4.6863 21.5332C4.68618 21.5332 4.68615 21.5332 4.6862 21.5332C4.68622 21.5332 4.68632 21.5332 4.68633 21.5332C4.68645 21.5331 4.6866 21.5331 5 23C5.3134 24.4669 5.31359 24.4669 5.31379 24.4668C5.31389 24.4668 5.31411 24.4667 5.31431 24.4667C5.31469 24.4666 5.31516 24.4665 5.31571 24.4664C5.31682 24.4662 5.31826 24.4659 5.32003 24.4655C5.32358 24.4647 5.32845 24.4637 5.33461 24.4623C5.34695 24.4596 5.36447 24.4558 5.38697 24.4508C5.43194 24.4409 5.4968 24.4263 5.57973 24.4073C5.74554 24.3692 5.98383 24.3129 6.28004 24.2391C6.87181 24.0916 7.69809 23.8731 8.64146 23.5874C10.5058 23.0229 12.9167 22.1702 14.8748 21.046L14.1279 19.7451ZM5 23L5.90103 24.1992C5.94203 24.1684 6.68443 23.6084 7.47742 22.7877C8.21163 22.0279 9.25427 20.7812 9.52565 19.3726L8.05273 19.0889L6.57982 18.8051C6.48771 19.2832 6.01557 19.9833 5.32007 20.7031C4.68337 21.362 4.08114 21.8142 4.09897 21.8008L5 23ZM8.05273 19.0889L8.7116 17.7413C8.42011 17.5988 8.14153 17.4404 7.87759 17.2664L7.05176 18.5186L6.22593 19.7708C6.60163 20.0185 6.99221 20.24 7.39386 20.4364L8.05273 19.0889ZM7.05176 18.5186L7.8776 17.2664C7.35464 16.9215 6.87703 16.5126 6.45613 16.0509L5.34766 17.0615L4.23918 18.0721C4.82701 18.7169 5.49434 19.2883 6.22592 19.7707L7.05176 18.5186ZM5.34766 17.0615L6.45614 16.0509C5.23983 14.7168 4.50001 12.9465 4.5 11L3 11L1.5 11C1.50002 13.7234 2.53905 16.2073 4.23917 18.0721L5.34766 17.0615ZM3 11H4.5C4.5 6.85785 7.8578 3.50014 12.0001 3.5L12 2L11.9999 0.5C6.20102 0.500195 1.5 5.20089 1.5 11H3Z",mask:"url(#support_svg__a)"})),Q||(Q=g.createElement("path",{fill:"currentColor",d:"M11.7959 16C12.1205 16 12.3931 15.8961 12.6137 15.6883C12.835 15.4812 12.9456 15.2256 12.9456 14.9215C12.9456 14.6168 12.835 14.3609 12.6137 14.1537C12.3931 13.9459 12.1205 13.8421 11.7959 13.8421C11.4721 13.8421 11.1999 13.9459 10.9793 14.1537C10.758 14.3609 10.6473 14.6168 10.6473 14.9215C10.6473 15.2256 10.758 15.4812 10.9793 15.6883C11.1999 15.8961 11.4721 16 11.7959 16ZM11.9062 7.4728C12.3192 7.4728 12.6543 7.5767 12.9117 7.78449C13.1698 7.99162 13.2988 8.25419 13.2988 8.57218C13.2988 8.79392 13.2178 9.02926 13.0559 9.27822C12.894 9.52717 12.6656 9.76916 12.3708 10.0042C11.8992 10.3912 11.5566 10.7474 11.3431 11.0727C11.1295 11.3973 11.0228 11.719 11.0228 12.0376C11.0228 12.2448 11.0967 12.4174 11.2444 12.5555C11.3915 12.6942 11.5828 12.7636 11.8182 12.7636C12.0395 12.7636 12.2347 12.6942 12.4037 12.5555C12.5734 12.4174 12.6801 12.2308 12.724 11.9958C12.7685 11.7747 12.8682 11.564 13.023 11.3635C13.1772 11.1623 13.431 10.9027 13.7846 10.5847C14.2562 10.1698 14.5768 9.80003 14.7465 9.47539C14.9155 9.15009 15 8.79392 15 8.40688C15 7.68723 14.7203 7.10634 14.1611 6.6642C13.6011 6.22139 12.8643 5.99999 11.9508 5.99999C11.3321 5.99999 10.7908 6.11417 10.327 6.34255C9.86318 6.57092 9.46192 6.91315 9.12324 7.36924C9.00516 7.52127 8.97193 7.68723 9.02354 7.86715C9.07516 8.04706 9.18192 8.19908 9.34384 8.32323C9.53546 8.46198 9.75252 8.50712 9.99505 8.45866C10.2383 8.4102 10.4408 8.28207 10.6028 8.07427C10.7647 7.88109 10.9528 7.73271 11.167 7.62914C11.3805 7.52492 11.6269 7.4728 11.9062 7.4728Z"})));var X=i(33359),J=i(62540);function HelpMenuLink({children:e,href:t,gaEventLabel:i,onClick:n,icon:o}){const s=(0,b.A)(),r=(0,k.i)("setupFlowRefresh"),a=(0,g.useCallback)(async()=>{n?.(),i&&await(0,x.sx)(`${s}_headerbar_helpmenu`,r?"click_menu_item":"click_outgoing_link",i)},[n,i,s,r]);return(0,J.jsx)("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none",children:(0,J.jsx)(X.A,{className:"mdc-list-item__text",href:t,role:"menuitem",onClick:a,leadingIcon:o,external:!0,hideExternalIndicator:!0,children:e})})}HelpMenuLink.propTypes={children:l().node.isRequired,href:l().string,gaEventLabel:l().string,onClick:l().func};const K=HelpMenuLink;function HelpMenu({children:e,showFeatureTour:t=!1}){const[i,n]=(0,g.useState)(!1),o=(0,g.useRef)(),s=(0,b.A)(),a=(0,k.i)("setupFlowRefresh");(0,c.A)(o,()=>n(!1)),(0,I.l)([d._f,d.wn],o,()=>n(!1));const l=(0,m.useSelect)(e=>e(y.i).isModuleActive(A.Py)),E=(0,m.useSelect)(e=>{if(!t||!a)return!1;return e(y.i).isModuleConnected(v.L1)?!1===e(N.K9).isGatheringData():!1===e(C.n).isGatheringData()},[t,a]),M=(0,g.useCallback)(()=>{i||(0,x.sx)(`${s}_headerbar`,"open_helpmenu"),n(!i)},[i,s]),S=(0,g.useCallback)(()=>{n(!1)},[]),w=(0,m.useSelect)(e=>e(f.O4).getDocumentationLinkURL("fix-common-issues")),{triggerOnDemandTour:j}=(0,m.useDispatch)(_.oR),R=(0,h.G)(),O=(0,g.useCallback)(()=>{j(R)},[j,R]),L=[{gaEventLabel:"fix_common_issues",href:w,children:(0,u.__)("Fix common issues","google-site-kit")},{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/",children:(0,u.__)("Read help docs","google-site-kit")},{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/",children:(0,u.__)("Get support","google-site-kit")},...l?[{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/",children:(0,u.__)("Get help with AdSense","google-site-kit")}]:[]],P=[{gaEventLabel:"browse_documentation",href:"https://sitekit.withgoogle.com/documentation/",icon:(0,J.jsx)(B,{width:24,height:24}),children:(0,u.__)("Browse documentation","google-site-kit")},{gaEventLabel:"get_support",href:"https://wordpress.org/support/plugin/google-site-kit/",icon:(0,J.jsx)(q,{width:24,height:24}),children:(0,u.__)("Get free support","google-site-kit")},...E?[{gaEventLabel:"start_tour",onClick:O,icon:(0,J.jsx)(D,{width:24,height:24}),children:(0,u.__)("Start a feature tour","google-site-kit")}]:[],{gaEventLabel:"send_feedback",href:"https://wordpress.org/support/plugin/google-site-kit/reviews/",icon:(0,J.jsx)(F,{width:24,height:24}),children:(0,u.__)("Send feedback","google-site-kit")},...l?[{gaEventLabel:"get_adsense_help",href:"https://support.google.com/adsense/",icon:(0,J.jsx)(T,{width:24,height:24}),children:(0,u.__)("Get help with AdSense","google-site-kit")}]:[]];return(0,J.jsxs)("div",{ref:o,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor",children:[(0,J.jsx)(p.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":i,"aria-label":(0,u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:(0,J.jsx)(Y,{width:"20",height:"20"}),onClick:M,tooltipEnterDelayInMS:500,text:!0}),(0,J.jsxs)(p.Menu,{className:r()("googlesitekit-width-auto",{"googlesitekit-help-menu":a}),menuOpen:i,id:"googlesitekit-help-menu",onSelected:S,children:[e,(a?P:L).map((e,t)=>(0,J.jsx)(K,{...e},t))]})]})}HelpMenu.propTypes={children:l().node,showFeatureTour:l().bool}},32936(e,t,i){i.d(t,{A:()=>h});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(68018),c=i(959),g=i(62540);class LayoutFooter extends a.Component{render(){const{ctaLabel:e,ctaLink:t,footerContent:i}=this.props;return(0,g.jsx)("footer",{className:"googlesitekit-layout__footer",children:(0,g.jsx)(c.xA,{children:(0,g.jsx)(c.fI,{children:(0,g.jsxs)(c.fh,{size:12,children:[t&&e&&(0,g.jsx)(l.A,{className:"googlesitekit-data-block__source",name:e,href:t,external:!0}),i]})})})})}}LayoutFooter.propTypes={ctaLabel:r().string,ctaLink:r().string};const u=LayoutFooter;var d=i(33359),p=i(48406);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,g.jsx)("header",{className:"googlesitekit-layout__header",children:(0,g.jsx)(c.xA,{children:(0,g.jsxs)(c.fI,{children:[e&&(0,g.jsx)(c.fh,{...o,children:(0,g.jsxs)(p.A,{as:"h3",size:"small",type:"title",className:"googlesitekit-subheading-1 googlesitekit-layout__header-title",children:[e,t]})}),n&&(0,g.jsx)(c.fh,{smSize:4,lgSize:6,alignMiddle:!0,mdAlignRight:!0,children:(0,g.jsx)(d.A,{href:n,external:!0,children:i})})]})})})}}LayoutHeader.propTypes={title:r().string,badge:r().node,ctaLabel:r().string,ctaLink:r().string},LayoutHeader.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""};const m=LayoutHeader;class Layout extends a.Component{render(){const{header:e,footer:t,children:i,title:n,badge:s,headerCTALabel:r,headerCTALink:a,footerCTALabel:l,footerCTALink:c,footerContent:d,className:p,fill:h,relative:f,rounded:_=!1,transparent:y=!1,...k}=this.props;return(0,g.jsxs)("div",{className:o()("googlesitekit-layout",p,{"googlesitekit-layout--fill":h,"googlesitekit-layout--relative":f,"googlesitekit-layout--rounded":_,"googlesitekit-layout--transparent":y}),...k,children:[e&&(0,g.jsx)(m,{title:n,badge:s,ctaLabel:r,ctaLink:a}),i,t&&(0,g.jsx)(u,{ctaLabel:l,ctaLink:c,footerContent:d})]})}}Layout.propTypes={header:r().bool,footer:r().bool,children:r().node.isRequired,title:r().string,badge:r().node,headerCTALabel:r().string,headerCTALink:r().string,footerCTALabel:r().string,footerCTALink:r().string,footerContent:r().node,className:r().string,fill:r().bool,relative:r().bool,rounded:r().bool,transparent:r().bool},Layout.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1};const h=Layout},52119(e,t,i){i.d(t,{A:()=>Notifications});var n=i(62688),o=i.n(n),s=i(50539),r=i(77760),a=i(57306),l=i(50532),c=i.n(l),g=i(77119),u=i(62540);const d=c()(e=>({id:e,Notification:p(e)(g.A)}));function p(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}}var m=i(86374);function Notifications({areaSlug:e,groupID:t=r.He.DEFAULT}){const i=(0,m.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:l}=n[0],c={...d(o)};return(0,u.jsx)(l,{...c})}Notifications.propTypes={viewContext:o().string,areaSlug:o().string}},93046(e,t,i){i.d(t,{A:()=>CancelUserInputButton});var n=i(62688),o=i.n(n),s=i(82871),r=i(49383),a=i(50539),l=i(41619),c=i(9267),g=i(62540);function CancelUserInputButton({disabled:e}){const t=(0,a.useSelect)(e=>e(c.O4).getAdminURL("googlesitekit-dashboard")),{navigateTo:i}=(0,a.useDispatch)(l.M);return(0,g.jsx)(r.Button,{className:"googlesitekit-user-input__buttons--cancel",onClick:()=>i(t),disabled:e,tertiary:!0,children:(0,s.__)("Cancel","google-site-kit")})}CancelUserInputButton.propTypes={disabled:o().bool}},86143(e,t,i){i.d(t,{A:()=>UserInputQuestionAuthor});var n=i(62688),o=i.n(n),s=i(82871),r=i(50539),a=i(6166),l=i(44191),c=i(62540);function UserInputQuestionAuthor({slug:e}){const t=(0,r.useSelect)(t=>t(l.oR).getUserInputSettingAuthor(e));return t&&t.photo&&t.login?(0,c.jsxs)("div",{className:"googlesitekit-user-input__author",children:[(0,c.jsx)(a.A,{children:(0,s.__)("This question has been answered by:","google-site-kit")}),(0,c.jsxs)("div",{className:"googlesitekit-user-input__author-info",children:[(0,c.jsx)("img",{alt:t.login,src:t.photo}),t.login]})]}):null}UserInputQuestionAuthor.propTypes={slug:o().string.isRequired}},60652(e,t,i){i.d(t,{A:()=>UserInputQuestionNotice});var n=i(4452),o=i.n(n),s=i(82871),r=i(62540);function UserInputQuestionNotice({className:e}){return(0,r.jsx)("p",{className:o()(e,"googlesitekit-user-input__question-notice"),children:(0,s.__)("You can always edit your answers later in Settings","google-site-kit")})}},55012(e,t,i){i.d(t,{A:()=>UserInputSelectOptions});var n=i(62688),o=i.n(n),s=i(63696),r=i(82871),a=i(53328),l=i(49383),c=i(50539),g=i(60081),u=i(41619),d=i(44191),p=i(86374),m=i(959),h=i(89795),f=i(42419),_=i(62540);function UserInputSelectOptions({slug:e,descriptions:t,options:i,max:n,next:o,showInstructions:y,alignLeftOptions:k,gaTrackingEventArgs:I}){const b=(0,p.A)(),A=(0,c.useSelect)(t=>t(d.oR).getUserInputSetting(e)||[]),v=(0,c.useSelect)(e=>e(d.oR).isSavingUserInputSettings(A)),N=(0,c.useSelect)(e=>e(u.M).isNavigating()),{setUserInputSetting:C}=(0,c.useDispatch)(d.oR),x=(0,s.useRef)();(0,s.useEffect)(()=>{if(!x?.current)return;function e(e){e&&setTimeout(()=>{e.focus()},50)}const t=1===n?"radio":"checkbox",i=x.current.querySelector(`input[type="${t}"]:checked`);if(i)e(i);else{e(x.current.querySelector(`input[type="${t}"]`))}},[n]);const{setValues:E}=(0,c.useDispatch)(g.s),T=(0,s.useCallback)(t=>{const{target:i}=t,{value:o,checked:s}=i,r=new Set([o,...A]);s||r.delete(o);const a=Array.from(r).slice(0,n);if(I)(0,h.sx)(I.category,I.action,a.join());else{const t=e===f.aq?"content_frequency_question_answer":`site_${e}_question_answer`;(0,h.sx)(`${b}_kmw`,t,a.join())}e===f.a3&&E(f.we,{[e]:A}),C(e,a)},[A,n,I,e,C,b,E]),M=(0,s.useCallback)(e=>{e.keyCode===a.Fm&&A.length>0&&A.length<=n&&!A.includes("")&&o&&"function"==typeof o&&o()},[A,o,n]),S={[n>1?"onChange":"onClick"]:T},w=1===n?l.Radio:l.Checkbox,j=Object.keys(i).map(o=>{if("sell_products_or_service"===o)return!1;const s={id:`${e}-${o}`,value:o,description:t?.[o],checked:A.includes(o),onKeyDown:M,alignLeft:k,...S};return n>1?(s.disabled=A.length>=n&&!A.includes(o),s.name=`${e}-${o}`):s.name=e,(v||N)&&(s.disabled=!0),(0,_.jsx)("div",{className:"googlesitekit-user-input__select-option",children:(0,_.jsx)(w,{...s,children:i[o]})},o)});return(0,_.jsxs)(m.fh,{className:"googlesitekit-user-input__select-options-wrapper",lgStart:6,lgSize:6,mdSize:8,smSize:4,children:[y&&(0,_.jsx)("p",{className:"googlesitekit-user-input__select-instruction",children:(0,_.jsx)("span",{children:(0,r.sprintf)(/* translators: %s: number of answers allowed. */ /* translators: %s: number of answers allowed. */ (0,r._n)("Select only %d answer","Select up to %d answers",n,"google-site-kit"),n)})}),(0,_.jsx)("div",{className:"googlesitekit-user-input__select-options",ref:x,children:j})]})}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}},42419(e,t,i){i.d(t,{Ax:()=>c,B$:()=>_,Dc:()=>f,Fy:()=>h,KM:()=>a,Tk:()=>u,W:()=>l,a3:()=>s,aq:()=>r,b6:()=>g,cz:()=>p,oG:()=>m,we:()=>d});var n=i(82871),o=i(37927);const s="purpose",r="postFrequency",a="goals",l=[s,r,a],c={[s]:1,[r]:1,[a]:3},g="googlesitekit-user-input-currently-editing",u="user_input_question_number",d="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 _(){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}}}},24203(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}},78371(e,t,i){i.d(t,{Gq:()=>u,IL:()=>h,LD:()=>p,SO:()=>d,a2:()=>o,xD:()=>m});var n=i(89795);const o="googlesitekit_",s=`${o}1.187.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 u(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)-tf});var n=i(47485),o=i(62688),s=i.n(o),r=i(63696),a=i(82871),l=i(959),c=i(98755),g=i(62540);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,g.jsx)(c.A,{title:n,enterDelay:s,children:e}):e}MaybeTooltip.propTypes={children:s().node.isRequired,disabled:s().bool,tooltip:s().bool,tooltipTitle:s().oneOfType([s().string,s().element]),hasIconOnly:s().bool,tooltipEnterDelayInMS:s().number};var u=i(4452),d=i.n(u);const p=(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,g.jsx)(f,{className:d()("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})});p.propTypes={children:s().node,href:s().string,text:s().bool,className:s().string,danger:s().bool,disabled:s().bool,target:s().string,"aria-label":s().string,inverse:s().bool,tertiary:s().bool,callout:s().bool,calloutStyle:s().oneOf(["primary","warning","error"])};const m=p,h=(0,r.forwardRef)(({children:e,href:t=null,text:i=!1,className:o="",danger:s=!1,disabled:c=!1,target:u,icon:d=null,trailingIcon:p=null,"aria-label":h,title:f=null,customizedTooltip:_=null,tooltip:y=!1,inverse:k=!1,hideTooltipTitle:I=!1,tooltipEnterDelayInMS:b=100,tertiary:A=!1,callout:v=!1,calloutStyle:N=null,...C},x)=>{const E=(0,r.useCallback)(e=>{null!==e&&l.Nv.attachTo(e)},[]),T=(0,n.A)(x,E);const M=I?null:f||_||h;return(0,g.jsx)(MaybeTooltip,{disabled:c,tooltip:y,tooltipTitle:M,hasIconOnly:!!d&&void 0===e,tooltipEnterDelayInMS:b,children:(0,g.jsxs)(m,{href:t,disabled:c,className:o,danger:s,text:i,tertiary:A,inverse:k,callout:v,calloutStyle:N,ref:T,"aria-label":function(){let t=h;if("_blank"!==u)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:u||"_self",...C,children:[d,e&&(0,g.jsx)("span",{className:"mdc-button__label",children:e}),p]})})});h.propTypes={onClick:s().func,children:s().node,href:s().string,text:s().bool,className:s().string,danger:s().bool,disabled:s().bool,icon:s().element,trailingIcon:s().element,title:s().string,customizedTooltip:s().element,tooltip:s().bool,inverse:s().bool,hideTooltipTitle:s().bool,callout:s().bool,calloutStyle:s().oneOf(["primary","warning","error"])};const f=h},22684(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})}},71557(e,t,i){i.d(t,{A:()=>SpinnerButton,k:()=>u});var n=i(4452),o=i.n(n),s=i(17243),r=i(62688),a=i.n(r),l=i(66476),c=i(22684),g=i(62540);const u={BEFORE:"before",AFTER:"after"};function SpinnerButton(e){const{className:t,onClick:i=()=>{},isSaving:n=!1,spinnerPosition:r=u.AFTER,...a}=e,d=(0,s.pickBy)(a,e=>void 0!==e);return(0,g.jsx)(l.A,{className:o()(t,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":n,"googlesitekit-button-icon--spinner__before":r===u.BEFORE,"googlesitekit-button-icon--spinner__after":r===u.AFTER}),icon:n&&r===u.BEFORE?(0,g.jsx)(c.A,{size:14}):void 0,trailingIcon:n&&r===u.AFTER?(0,g.jsx)(c.A,{size:14}):void 0,onClick:i,...d})}SpinnerButton.propTypes={className:a().string,onClick:a().func,isSaving:a().bool,spinnerPosition:a().oneOf(Object.values(u))}},98755(e,t,i){i.d(t,{A:()=>Tooltip});var n=i(50154),o=i(4452),s=i.n(o),r=i(62688),a=i.n(r),l=i(63696),c=i(62540);function Tooltip({children:e,popperClassName:t,tooltipClassName:i,onOpen:o,onClose:r,...a}){const g=(0,l.useRef)(!1),u=o?()=>{g.current||(g.current=!0,o?.())}:void 0,d=o?()=>{g.current=!1,r?.()}:r;return(0,c.jsx)(n.Ay,{classes:{popper:s()("googlesitekit-tooltip-popper",t),tooltip:s()("googlesitekit-tooltip",i)},onOpen:u,onClose:d,...a,arrow:!0,children:e})}Tooltip.propTypes={children:a().node,popperClassName:a().string,tooltipClassName:a().string,onOpen:a().func,onClose:a().func}},2943(e,t,i){i.d(t,{Ax:()=>s,CZ:()=>g,Ej:()=>C,Gw:()=>x,Is:()=>r,KK:()=>d,Nn:()=>T,OT:()=>A,SH:()=>b,Y$:()=>m,ZS:()=>a,bg:()=>_,en:()=>N,ep:()=>f,f7:()=>o,hi:()=>h,jU:()=>n,k$:()=>k,kz:()=>E,ly:()=>l,mo:()=>y,s3:()=>I,uR:()=>c,x2:()=>v,yI:()=>p,zx:()=>u});const n="mainDashboard",o="entityDashboard",s="mainDashboardViewOnly",r="entityDashboardViewOnly",a="userInput",l="activation",c="splash",g="adminBar",u="adminBarViewOnly",d="settings",p="featureDiscovery",m="adBlockingRecovery",h="wpDashboard",f="wpDashboardViewOnly",_="moduleSetup",y="metricSelection",k="wpBlockEditor",I="keyMetricsSetup",b="key-metrics",A="traffic",v="site-goals",N="content",C="speed",x="monetization",E=[n,o,s,r,a,c,d,p,_,y],T=[s,r,u,f]},46840(e,t,i){i.d(t,{P9:()=>_,k:()=>m,mR:()=>f});var n=i(32091),o=i.n(n),s=i(17243),r=i(50539),a=i.n(r),l=i(78371),c=i(89795);const g="CREATE_SNAPSHOT",u="DELETE_SNAPSHOT",d="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:u}},*restoreSnapshot(e={}){const{clearAfterRestore:t=!0}=e,{cacheHit:i,value:n}=yield{payload:{},type:d};return i&&(yield{payload:{snapshot:n},type:p},t&&(yield{payload:{},type:u})),i},*createSnapshot(){return yield{payload:{},type:g}}},a={[u]:()=>(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)}),[d]:()=>(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 _(e=a()){return Promise.all(h(e).map(e=>e.getActions().restoreSnapshot()))}},60081(e,t,i){i.d(t,{s:()=>n});const n="core/forms"},41619(e,t,i){i.d(t,{M:()=>n});const n="core/location"},9267(e,t,i){i.d(t,{O4:()=>n,OQ:()=>s,qc:()=>o});const n="core/site",o="primary",s="secondary"},93746(e,t,i){i.d(t,{Fc:()=>o,Yg:()=>s,nX:()=>n});const n="core/ui",o="activeContextID",s="forced-in-view-widget-areas"},44191(e,t,i){i.d(t,{$8:()=>r,$Q:()=>p,BT:()=>D,CQ:()=>x,D1:()=>W,DF:()=>V,GM:()=>C,GT:()=>y,GU:()=>Q,HA:()=>P,HD:()=>d,HP:()=>j,J5:()=>z,JF:()=>T,JK:()=>f,Ml:()=>h,SS:()=>R,UF:()=>g,UY:()=>G,Vl:()=>O,W6:()=>Y,Xq:()=>E,YQ:()=>M,Yw:()=>F,dV:()=>w,dX:()=>N,ej:()=>c,em:()=>s,ep:()=>A,fu:()=>I,gC:()=>k,hz:()=>m,jN:()=>$,jx:()=>u,lV:()=>l,nH:()=>B,oR:()=>n,od:()=>a,p3:()=>_,pG:()=>v,qv:()=>o,qy:()=>S,t1:()=>Z,t7:()=>U,tB:()=>b,tK:()=>H,u_:()=>L});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",u="googlesitekit_view_dashboard",d="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",_="kmAnalyticsAdSenseTopEarningContent",y="kmAnalyticsEngagedTrafficSource",k="kmAnalyticsLeastEngagingPages",I="kmAnalyticsNewVisitors",b="kmAnalyticsPopularAuthors",A="kmAnalyticsPopularContent",v="kmAnalyticsPopularProducts",N="kmAnalyticsReturningVisitors",C="kmAnalyticsTopCities",x="kmAnalyticsTopCitiesDrivingLeads",E="kmAnalyticsTopCitiesDrivingAddToCart",T="kmAnalyticsTopCitiesDrivingPurchases",M="kmAnalyticsTopDeviceDrivingPurchases",S="kmAnalyticsTopConvertingTrafficSource",w="kmAnalyticsTopCountries",j="kmAnalyticsTopPagesDrivingLeads",D="kmAnalyticsTopRecentTrendingPages",R="kmAnalyticsTopTrafficSource",O="kmAnalyticsTopTrafficSourceDrivingAddToCart",L="kmAnalyticsTopTrafficSourceDrivingLeads",P="kmAnalyticsTopTrafficSourceDrivingPurchases",B="kmAnalyticsPagesPerVisit",z="kmAnalyticsVisitLength",H="kmAnalyticsTopReturningVisitorPages",U="kmSearchConsolePopularKeywords",F="kmAnalyticsVisitsPerVisitor",G="kmAnalyticsMostEngagingPages",Z="kmAnalyticsTopCategories",Y=[_,y,k,I,b,A,v,N,Z,C,x,E,T,M,S,w,D,R,O,B,z,H,F,G,Z],V=[...Y,U],W="welcome-modal-with-tour",Q="welcome-modal-gathering-data",$="initial-setup-notification-timeout"},16083(e,t,i){i.d(t,{U:()=>o,i:()=>n});const n="core/modules",o="insufficient_module_dependencies"},77119(e,t,i){i.d(t,{A:()=>Notification});var n=i(62688),o=i.n(n),s=i(63696),r=i(50539),a=i(57306),l=i(58451),c=i(47339),g=i(93746),u=i(12054);function ViewedStateObserver({id:e,observeRef:t,threshold:i}){const n=(0,u.A)(t,{threshold:i}),{setValue:o}=(0,r.useDispatch)(g.nX),{markNotificationSeen:c}=(0,r.useDispatch)(a.D),d=!!n?.isIntersecting,p=(0,l.G)(e),m=(0,s.useRef)();function h(){m.current&&clearTimeout(m.current)}return(0,s.useEffect)(()=>(!p&&d?(h(),m.current=setTimeout(()=>{n?.isIntersecting&&(o(l.G.getKey(e),!0),c(e))},3e3)):!d&&m.current&&h(),()=>{h()}),[p,d,o,c,e,n]),null}ViewedStateObserver.propTypes={id:o().string,observeRef:o().object,threshold:o().number};var d=i(62540);function Notification({id:e,className:t,gaTrackingEventArgs:i,children:n,onView:o}){const g=(0,s.useRef)(),u=(0,l.G)(e),p=(0,c.A)(e,i?.category,{viewAction:i?.viewAction}),[m,h]=(0,s.useState)(!1),f=(0,r.useSelect)(t=>t(a.D).getNotificationSeenDates(e)),{dismissNotification:_}=(0,r.useDispatch)(a.D);return(0,s.useEffect)(()=>{!m&&u&&(p.view(i?.label,i?.value),o?.(),h(!0)),f?.length>=3&&_(e,{skipHidingFromQueue:!0})},[u,p,m,i,o,f,_,e]),(0,d.jsxs)("section",{id:e,ref:g,className:t,children:[n,!u&&(0,d.jsx)(ViewedStateObserver,{id:e,observeRef:g,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}},76649(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(55786),c=i(62346),g=i(9084),u=i(1473),d=i(57306),p=i(47339),m=i(959);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,...c}){const g=(0,p.A)(e,r?.category),{dismissNotification:u}=(0,a.useDispatch)(d.D);let _=c?.svg;return _||t===f.INFO||(_={desktop:void 0,mobile:void 0,verticalPosition:"center"},t===f.WARNING&&(_.desktop="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYwIiBoZWlnaHQ9IjIzNCIgdmlld0JveD0iMCAwIDM2MCAyMzQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03My4xMzAyIDE3MC42NjhDODkuMzcxOSAxODkuOTkgMTE1LjQ3NiAxOTUuMTEgMTMxLjg2NSAxODkuOTkxQzE1My4yNDYgMTgzLjMxMiAxNjYuNjcyIDE2Mi45NjcgMTg1LjUwMiAxNjAuNTQ0QzIwNC4zMzMgMTU4LjEyMSAyMTUuNDA2IDE2OC43MDYgMjM1Ljg5NyAxNzAuMjMzQzI1Ni4zODkgMTcxLjc2IDI4MS4yMzIgMTY3LjYzIDI5Mi43OTEgMTM3LjkzNUMzMDQuMzQ5IDEwOC4yMzkgMjkzLjk0OCA3OC4yMzIxIDI3MC4yMTQgNjQuMzYxNUMyNDYuNDgxIDUwLjQ5MDggMjMzLjI3MSA2Ni43Njk0IDIxMC41NjQgNjguMTIzN0MxODcuODU4IDY5LjQ3NzkgMTc4LjAyMyA0NS44NTI4IDE2MS4wMjMgNDQuMzUyOEMxNDQuMDIzIDQyLjg1MjggMTM0LjUyMyA0NS44NTMgMTI0LjUyMyA1OC44NTI5QzExNC41MjMgNzEuODUyOCAxMjAuMzcxIDg1Ljc2NDEgODkuNTIzNSA5OS44NTNDNTguNjc1OCAxMTMuOTQyIDU2Ljg4ODUgMTUxLjM0NSA3My4xMzAyIDE3MC42NjhaIiBmaWxsPSIjRkZFNEIxIi8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjcwNV8xNzY4NikiPgo8cmVjdCB4PSIxMTYuNTIzIiB5PSI1Ny45MTk5IiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOC41MzMiIHJ4PSI2Ljk4MjUyIiBmaWxsPSIjRUJFRUYwIi8+CjxtYXNrIGlkPSJtYXNrMF8yNzA1XzE3Njg2IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIxMTYiIHk9IjU3IiB3aWR0aD0iMTI5IiBoZWlnaHQ9IjEzMiI+CjxyZWN0IHg9IjExNi41MjMiIHk9IjU3LjkxOTkiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTMwLjEzMyIgcng9IjYuOTgyNTIiIGZpbGw9IiNERUUzRTYiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzI3MDVfMTc2ODYpIj4KPHJlY3QgeD0iMTI1LjA1NyIgeT0iMTE3LjY1MyIgd2lkdGg9IjExMC40IiBoZWlnaHQ9IjMwLjkzMzMiIHJ4PSIzLjc1MTI4IiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHg9IjEyNS4wNTciIHk9IjEwMy4yNTMiIHdpZHRoPSIxMTAuNCIgaGVpZ2h0PSIzMC45MzMzIiByeD0iMy43NTEyOCIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMjUuMDU3IiB5PSIxNTYuMDUzIiB3aWR0aD0iMTEwLjQiIGhlaWdodD0iMzAuOTMzMyIgcng9IjMuNzUxMjgiIGZpbGw9IiNGM0Y1RjciLz4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjE4Ljk0NjUiIHJ4PSIyLjMxNTY5IiB0cmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAyMDMuNDU3IDk1LjYyNDkpIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC45NDY1IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMTYzLjk5IDk1LjYyNTcpIiBmaWxsPSIjRjNGNUY3Ii8+CjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIxOC45NDY1IiByeD0iMi4zMTU2OSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgLTEgMTI0LjUyMyA5NS42MjU3KSIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxwYXRoIGQ9Ik0xMTYuNTIzIDY0LjkzNTVDMTE2LjUyMyA2MS4wNzkyIDExOS42NSA1Ny45NTMgMTIzLjUwNiA1Ny45NTNIMjM3LjM4M0MyNDEuMjM5IDU3Ljk1MyAyNDQuMzY1IDYxLjA3OTIgMjQ0LjM2NSA2NC45MzU1VjY4LjUzM0gxMTYuNTIzVjY0LjkzNTVaIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSIxMjEuODEzIiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMjcuMTA0IiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8cmVjdCB4PSIxMzIuNDM3IiB5PSI2MS40Nzk2IiB3aWR0aD0iMy41MjY2NyIgaGVpZ2h0PSIzLjUyNjY3IiByeD0iMS43NjMzMyIgZmlsbD0iI0YzRjVGNyIvPgo8L2c+CjxjaXJjbGUgY3g9IjE4MC41MjMiIGN5PSIxMjAuODUzIiByPSIxNy4zNzkzIiBmaWxsPSIjNEUzMzAwIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIuNzU4NjIiLz4KPGNpcmNsZSBjeD0iMS42NTUxNyIgY3k9IjEuNjU1MTciIHI9IjEuNjU1MTciIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3OC44NjggMTE2Ljk5MSkiIGZpbGw9IiNGRkU0QjEiLz4KPHJlY3Qgd2lkdGg9IjMuMzEwMzQiIGhlaWdodD0iOS4zNzkzMSIgcng9IjEuNjU1MTciIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDE3OC44NjggMTI4LjU3NykiIGZpbGw9IiNGRkU0QjEiLz4KPGRlZnM+CjxmaWx0ZXIgaWQ9ImZpbHRlcjBfZF8yNzA1XzE3Njg2IiB4PSIxMDcuOTkiIHk9IjUxLjUxOTkiIHdpZHRoPSIxNDUuMDY3IiBoZWlnaHQ9IjE0Ni4xMzMiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeT0iMi4xMzMzMyIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjI2NjY3Ii8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xNSAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93XzI3MDVfMTc2ODYiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjcwNV8xNzY4NiIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPC9kZWZzPgo8L3N2Zz4K"),t===f.ERROR&&(_.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)(l.A,{learnMoreLink:i&&{...i,onClick:async function(e){g.clickLearnMore(r?.label,r?.value),await(i?.onClick?.(e))}},dismissButton:n&&{...n,onClick:async function(t){await(n?.onClick?.(t)),g.dismiss(r?.label,r?.value),u(e,{...n?.dismissOptions})}},ctaButton:s&&{...s,onClick:async function(t){g.confirm(r?.label,r?.value),await(s?.onClick?.(t)),s?.dismissOnClick&&u(e,{...s?.dismissOptions})}},svg:_,...c})})})})})}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(u.A.propTypes),dismissButton:r().shape(g.A.propTypes),ctaButton:r().shape(c.A.propTypes),gaTrackingEventArgs:r().shape({category:r().string,label:r().string,value:r().number})}},77760(e,t,i){i.d(t,{$A:()=>r,Bp:()=>s,FQ:()=>l,He:()=>g,_N:()=>a,bI:()=>c,rq:()=>o,ui:()=>n});const n="warning-notification-gtg",o="gtg-setup-cta",s="setup-success-notification-site-kit",r="activate-analytics-notification",a="connect-more-services-notification",l={ERROR_HIGH:30,ERROR_LOW:60,WARNING:100,INFO:150,SETUP_CTA_WELCOME_MODAL:130,SETUP_CTA_SITE_GOALS_INTRO_MODAL:140,SETUP_CTA_HIGH:150,FEATURE_TOUR:160,SETUP_CTA_LOW:200},c={HEADER:"notification-area-header",DASHBOARD_TOP:"notification-area-dashboard-top",OVERLAYS:"notification-area-overlays",SPLASH_CONTENT:"notification-area-splash-content"},g={DEFAULT:"default",SETUP_CTAS:"setup-ctas",SETUP_MODALS:"setup-modals"}},57306(e,t,i){i.d(t,{$:()=>s,D:()=>o});var n=i(2943);const o="core/notifications",s=[n.uR,n.jU,n.f7,n.Ax,n.Is]},58451(e,t,i){i.d(t,{G:()=>r});var n=i(50539),o=i(93746);function s(e){return`notification/${e}/viewed`}function r(e){return(0,n.useSelect)(t=>!!t(o.nX).getValue(s(e)),[e])}r.getKey=s},47339(e,t,i){i.d(t,{A:()=>r});var n=i(63696),o=i(86374),s=i(89795);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])}}},58615(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"},56278(e,t,i){i.r(t),i.d(t,{AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:()=>d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:()=>m,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:()=>p,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:()=>u,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:()=>l,AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:()=>n,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:()=>g,AREA_MAIN_DASHBOARD_SITE_GOALS_PRIMARY:()=>o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:()=>c,AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION:()=>r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:()=>s,AREA_MAIN_DASHBOARD_TRAFFIC_READER_REVENUE_MANAGER:()=>a,default:()=>h});const n="mainDashboardKeyMetricsPrimary",o="mainDashboardSiteGoalsPrimary",s="mainDashboardTrafficPrimary",r="mainDashboardTrafficAudienceSegmentation",a="mainDashboardTrafficReaderRevenueManager",l="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",g="mainDashboardMonetizationPrimary",u="entityDashboardTrafficPrimary",d="entityDashboardContentPrimary",p="entityDashboardSpeedPrimary",m="entityDashboardMonetizationPrimary",h={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:n,AREA_MAIN_DASHBOARD_SITE_GOALS_PRIMARY:o,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_MAIN_DASHBOARD_TRAFFIC_READER_REVENUE_MANAGER:a,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:l,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:g,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:u,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:d,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:p,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:m}},44390(e,t,i){i.r(t),i.d(t,{CONTEXT_ENTITY_DASHBOARD_CONTENT:()=>g,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:()=>d,CONTEXT_ENTITY_DASHBOARD_SPEED:()=>u,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",u="entityDashboardSpeed",d="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:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},71796(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"},61356(e,t,i){i.d(t,{A_:()=>d,DF:()=>m,L1:()=>f,M0:()=>l,Mc:()=>c,NS:()=>o,Ok:()=>u,SW:()=>h,U9:()=>g,iW:()=>a,ue:()=>r,wq:()=>s,xR:()=>p});var n=i(82871);const o=(0,n.__)("A web data stream name is required.","google-site-kit"),s=1,r=2,a=3,l="enhanced-measurement-activation-banner-tooltip-state",c="enhanced-measurement-activation-banner-dismissed-item",g="_r.explorerCard..selmet",u="_r.explorerCard..seldim",d="_r..dataFilters",p="_r..nav",m="key-metrics-connect-ga4-cta-widget",h="analytics-4-setup-error",f="analytics-4"},48399(e,t,i){i.d(t,{n:()=>n});const n="modules/search-console"},3231(e,t,i){i.d(t,{Du:()=>d,GH:()=>a,Gp:()=>l,IS:()=>_,Jg:()=>g,N_:()=>k,O5:()=>y,Ql:()=>p,Qr:()=>m,XH:()=>f,r0:()=>c,sq:()=>h,tt:()=>u});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,u=24*g,d=7*u;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 _(e,t){return h(k(e,t*u))}function y(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 k(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)}},53923(e,t,i){i.d(t,{G:()=>a,HY:()=>c,SG:()=>l,db:()=>o,e4:()=>u,vl:()=>g});i(17243);var n=i(82871);const o="missing_required_scopes",s="insufficientPermissions",r="forbidden";function a(e){return e?.code===o}function l(e){return[s,r].includes(e?.data?.reason)}function c(e){return!!e?.data?.reconnectURL}function g(e,t){return!(!t?.storeName||l(e)||a(e)||c(e))}function u(e){return"internal_server_error"===e?.code?(0,n.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===e?.code?(0,n.__)("The server provided an invalid response","google-site-kit"):e?.message}},89700(e,t,i){i.d(t,{Eo:()=>u,JK:()=>h,K5:()=>m,jq:()=>p,mK:()=>g,n:()=>_,tO:()=>f});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 u(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 d=s()(console.warn);function p(e,t={}){const{locale:i=h(),...n}=t;try{return new Intl.NumberFormat(i,n).format(e)}catch(t){d(`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}function f(e,t={}){const{locale:i=h()}=t;try{return new Intl.DisplayNames([i],{type:"language"}).of(e)||e}catch{return e}}function _(e,t={}){const{locale:i=h()}=t;try{return new Intl.DisplayNames([i],{type:"region"}).of(e)||e}catch{return e}}},89795(e,t,i){i.d(t,{tt:()=>m.tt,Jg:()=>m.Jg,Gp:()=>m.Gp,GH:()=>m.GH,r0:()=>m.r0,Du:()=>m.Du,Zf:()=>C,Cn:()=>k,G7:()=>p,vH:()=>d,N_:()=>m.N_,zh:()=>E,mK:()=>a.mK,Ql:()=>m.Ql,vY:()=>y,sq:()=>m.sq,VZ:()=>I.VZ,JK:()=>a.JK,IS:()=>m.IS,pH:()=>I.pH,kf:()=>A,O5:()=>m.O5,Qr:()=>m.Qr,x6:()=>b,K5:()=>a.K5,S_:()=>u,dc:()=>I.dc,Eo:()=>a.Eo,jq:()=>a.jq,DK:()=>N.D,N9:()=>v,p9:()=>s.p,XH:()=>m.XH,Zm:()=>r.Z,sx:()=>o.sx,BI:()=>o.BI,CZ:()=>s.C,BG:()=>x});var n=i(17243),o=i(42351),s=i(23207),r=i(22115),a=i(89700);function l(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'$1')}function c(e){return`

${e.replace(/\n{2,}/g,"

")}

`}function g(e){return e.replace(/\n/gi,"
")}function u(e){const t=[l,c,g];let i=e;for(const e of t)i=e(i);return i}function d(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 p(e){const t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t}var m=i(3231),h=i(30908),f=i(9783),_=i(62540);function y(e,t={}){if(Number.isNaN(Number(e)))return"";const{invertColor:i=!1}=t;return(0,h.Ay)((0,_.jsx)(f.A,{direction:e>0?"up":"down",invertColor:i}))}function k(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}var I=i(65810);function b(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 v(e){return Array.isArray(e)?[...e].sort():e}var N=i(46655);function C(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 x(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}}function E(e){if(!e)return"";const t=e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/(\\)/g,"");return(0,n.unescape)(t)}},32048(e,t,i){i.d(t,{A:()=>o});var n=i(2943);function o(e){return n.kz.includes(e)}},46655(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)}}},78407(e,t,i){i.d(t,{O:()=>o});var n=i(31234);const o=i.n(n)()(globalThis)},23207(e,t,i){i.d(t,{C:()=>s,p:()=>o});var n=i(78407);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?.(/\/+$/,"")}},53475(e,t,i){i.d(t,{YJ:()=>s,Eq:()=>r,Jc:()=>a});var n=i(69075),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):a(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}function a(e){const t=document.querySelector("#wpadminbar");return t&&e!==n.mp?t.offsetHeight:0}},22115(e,t,i){i.d(t,{Z:()=>s});var n=i(10523),o=i.n(n);function s(e){return o()(JSON.stringify(r(e)))}function r(e){const t={};return Object.keys(e).sort().forEach(i=>{let n=e[i];n&&"object"==typeof n&&!Array.isArray(n)&&(n=r(n)),t[i]=n}),t}},42351(e,t,i){i.d(t,{M9:()=>N,sx:()=>A,BI:()=>v});var n=i(17243),o=i(23318);const s="_googlesitekitDataLayer",r="data-googlesitekit-gtag";function a(e){return function(){e[s]=e[s]||[],e[s].push(arguments)}}const l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:c=[],isSiteKitScreen:g,trackingEnabled:u,trackingID:d,referenceSiteURL:p,userIDHash:m,isAuthenticated:h,userRoles:f}=globalThis._googlesitekitTrackingData||{},_={activeModules:c,trackingEnabled:u,trackingID:d,referenceSiteURL:p,userIDHash:m,isSiteKitScreen:g,userRoles:f,isAuthenticated:h,pluginVersion:"1.187.0"},{enableTracking:y,disableTracking:k,isTrackingEnabled:I,initializeSnippet:b,trackEvent:A,trackEventOnce:v}=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=a(t);let n;const{activeModules:l,referenceSiteURL:c,userIDHash:g,userRoles:u=[],isAuthenticated:d,pluginVersion:p}=e;return function(){const{document:t}=globalThis;if(void 0===n&&(n=!!t.querySelector(`script[${r}]`)),n)return!1;n=!0;const a=u?.length?u.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(o.t).join(","),active_modules:l.join(","),authenticated:d?"1":"0",user_properties:{user_roles:a,user_identifier:g}});const m=t.createElement("script");return m.setAttribute(r,""),m.async=!0,m.src=`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${s}`,t.head.appendChild(m),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${s}`}}}(c,t),u=function(e,t,i,n){const o=a(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),d={};return{enableTracking:function(){c.trackingEnabled=!0},disableTracking:function(){c.trackingEnabled=!1},initializeSnippet:g,isTrackingEnabled:function(){return!!c.trackingEnabled},trackEvent:u,trackEventOnce:function(...e){const t=JSON.stringify(e);d[t]||(d[t]=(0,n.once)(u)),d[t](...e)}}}(_);function N(e){e?y():k()}g&&u&&b()},65810(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{e.O(0,[660],()=>{return t=71562,e(e.s=t);var t});e.O()}]); { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "wpify-woo/claim-form", "version": "1.0.0", "title": "Claim form", "category": "woocommerce", "description": "Form for customers to file a claim (reklamace).", "icon": "warning", "keywords": [ "claim", "reklamace", "warranty", "wpify" ], "textdomain": "wpify-woo", "supports": { "html": false, "align": true, "className": true }, "editorScript": "wpify-woo-withdrawal-claims-blocks" }/*! Select2 4.0.5 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" अक्षर को हटा दें";return t>1&&(n=t+" अक्षरों को हटा दें "),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया "+t+" या अधिक अक्षर दर्ज करें";return n},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(e){var t="आप केवल "+e.maximum+" आइटम का चयन कर सकते हैं";return t},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."}}}),{define:e.define,require:e.require}})();.flatpickr-calendar { background: transparent; opacity: 0; display: none; text-align: center; visibility: hidden; padding: 0; -webkit-animation: none; animation: none; direction: ltr; border: 0; font-size: 14px; line-height: 24px; border-radius: 5px; position: absolute; width: 307.875px; -webkit-box-sizing: border-box; box-sizing: border-box; -ms-touch-action: manipulation; touch-action: manipulation; background: #fff; -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08); box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08); } .flatpickr-calendar.open, .flatpickr-calendar.inline { opacity: 1; max-height: 640px; visibility: visible; } .flatpickr-calendar.open { display: inline-block; z-index: 99999; } .flatpickr-calendar.animate.open { -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); } .flatpickr-calendar.inline { display: block; position: relative; top: 2px; } .flatpickr-calendar.static { position: absolute; top: calc(100% + 2px); } .flatpickr-calendar.static.open { z-index: 999; display: block; } .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) { -webkit-box-shadow: none !important; box-shadow: none !important; } .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) { -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; } .flatpickr-calendar .hasWeeks .dayContainer, .flatpickr-calendar .hasTime .dayContainer { border-bottom: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .flatpickr-calendar .hasWeeks .dayContainer { border-left: 0; } .flatpickr-calendar.hasTime .flatpickr-time { height: 40px; border-top: 1px solid #e6e6e6; } .flatpickr-calendar.noCalendar.hasTime .flatpickr-time { height: auto; } .flatpickr-calendar:before, .flatpickr-calendar:after { position: absolute; display: block; pointer-events: none; border: solid transparent; content: ''; height: 0; width: 0; left: 22px; } .flatpickr-calendar.rightMost:before, .flatpickr-calendar.arrowRight:before, .flatpickr-calendar.rightMost:after, .flatpickr-calendar.arrowRight:after { left: auto; right: 22px; } .flatpickr-calendar.arrowCenter:before, .flatpickr-calendar.arrowCenter:after { left: 50%; right: 50%; } .flatpickr-calendar:before { border-width: 5px; margin: 0 -5px; } .flatpickr-calendar:after { border-width: 4px; margin: 0 -4px; } .flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after { bottom: 100%; } .flatpickr-calendar.arrowTop:before { border-bottom-color: #e6e6e6; } .flatpickr-calendar.arrowTop:after { border-bottom-color: #fff; } .flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after { top: 100%; } .flatpickr-calendar.arrowBottom:before { border-top-color: #e6e6e6; } .flatpickr-calendar.arrowBottom:after { border-top-color: #fff; } .flatpickr-calendar:focus { outline: 0; } .flatpickr-wrapper { position: relative; display: inline-block; } .flatpickr-months { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .flatpickr-months .flatpickr-month { background: transparent; color: rgba(0,0,0,0.9); fill: rgba(0,0,0,0.9); height: 34px; line-height: 1; text-align: center; position: relative; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; overflow: hidden; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; text-decoration: none; cursor: pointer; position: absolute; top: 0; height: 34px; padding: 10px; z-index: 3; color: rgba(0,0,0,0.9); fill: rgba(0,0,0,0.9); } .flatpickr-months .flatpickr-prev-month.flatpickr-disabled, .flatpickr-months .flatpickr-next-month.flatpickr-disabled { display: none; } .flatpickr-months .flatpickr-prev-month i, .flatpickr-months .flatpickr-next-month i { position: relative; } .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month, .flatpickr-months .flatpickr-next-month.flatpickr-prev-month { left: 0; } .flatpickr-months .flatpickr-prev-month.flatpickr-next-month, .flatpickr-months .flatpickr-next-month.flatpickr-next-month { right: 0; } .flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { color: #959ea9; } .flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: #f64747; } .flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg { width: 14px; height: 14px; } .flatpickr-months .flatpickr-prev-month svg path, .flatpickr-months .flatpickr-next-month svg path { -webkit-transition: fill 0.1s; transition: fill 0.1s; fill: inherit; } .numInputWrapper { position: relative; height: auto; } .numInputWrapper input, .numInputWrapper span { display: inline-block; } .numInputWrapper input { width: 100%; } .numInputWrapper input::-ms-clear { display: none; } .numInputWrapper input::-webkit-outer-spin-button, .numInputWrapper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; } .numInputWrapper span { position: absolute; right: 0; width: 14px; padding: 0 4px 0 2px; height: 50%; line-height: 50%; opacity: 0; cursor: pointer; border: 1px solid rgba(57,57,57,0.15); -webkit-box-sizing: border-box; box-sizing: border-box; } .numInputWrapper span:hover { background: rgba(0,0,0,0.1); } .numInputWrapper span:active { background: rgba(0,0,0,0.2); } .numInputWrapper span:after { display: block; content: ""; position: absolute; } .numInputWrapper span.arrowUp { top: 0; border-bottom: 0; } .numInputWrapper span.arrowUp:after { border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 4px solid rgba(57,57,57,0.6); top: 26%; } .numInputWrapper span.arrowDown { top: 50%; } .numInputWrapper span.arrowDown:after { border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid rgba(57,57,57,0.6); top: 40%; } .numInputWrapper span svg { width: inherit; height: auto; } .numInputWrapper span svg path { fill: rgba(0,0,0,0.5); } .numInputWrapper:hover { background: rgba(0,0,0,0.05); } .numInputWrapper:hover span { opacity: 1; } .flatpickr-current-month { font-size: 135%; line-height: inherit; font-weight: 300; color: inherit; position: absolute; width: 75%; left: 12.5%; padding: 7.48px 0 0 0; line-height: 1; height: 34px; /* Start Custom Elementor Code */ display: flex; justify-content: center; align-items: center; /* End Custom Elementor Code */ text-align: center; -webkit-transform: translate3d(0px, 0px, 0px); transform: translate3d(0px, 0px, 0px); } .flatpickr-current-month span.cur-month { font-family: inherit; font-weight: 700; color: inherit; display: inline-block; margin-left: 0.5ch; padding: 0; } .flatpickr-current-month span.cur-month:hover { background: rgba(0,0,0,0.05); } .flatpickr-current-month .numInputWrapper { width: 6ch; width: 7ch\0; display: inline-block; } .flatpickr-current-month .numInputWrapper span.arrowUp:after { border-bottom-color: rgba(0,0,0,0.9); } .flatpickr-current-month .numInputWrapper span.arrowDown:after { border-top-color: rgba(0,0,0,0.9); } .flatpickr-current-month input.cur-year { background: transparent; -webkit-box-sizing: border-box; box-sizing: border-box; color: inherit; cursor: text; padding: 0 0 0 0.5ch; margin: 0; display: inline-block; font-size: inherit; font-family: inherit; font-weight: 300; line-height: inherit; height: auto; border: 0; border-radius: 0; vertical-align: initial; -webkit-appearance: textfield; -moz-appearance: textfield; appearance: textfield; } .flatpickr-current-month input.cur-year:focus { outline: 0; } .flatpickr-current-month input.cur-year[disabled], .flatpickr-current-month input.cur-year[disabled]:hover { font-size: 100%; color: rgba(0,0,0,0.5); background: transparent; pointer-events: none; } .flatpickr-current-month .flatpickr-monthDropdown-months { appearance: menulist; background: transparent; border: none; border-radius: 0; box-sizing: border-box; color: inherit; cursor: pointer; font-size: inherit; font-family: inherit; font-weight: 300; height: auto; line-height: inherit; margin: -1px 0 0 0; outline: none; padding: 0 0 0 0.5ch; position: relative; vertical-align: initial; -webkit-box-sizing: border-box; -webkit-appearance: menulist; -moz-appearance: menulist; width: auto; } .flatpickr-current-month .flatpickr-monthDropdown-months:focus, .flatpickr-current-month .flatpickr-monthDropdown-months:active { outline: none; } .flatpickr-current-month .flatpickr-monthDropdown-months:hover { background: rgba(0,0,0,0.05); } .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month { background-color: transparent; outline: none; padding: 0; } .flatpickr-weekdays { background: transparent; text-align: center; overflow: hidden; width: 100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; height: 28px; } .flatpickr-weekdays .flatpickr-weekdaycontainer { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } span.flatpickr-weekday { cursor: default; font-size: 90%; background: transparent; color: rgba(0,0,0,0.54); line-height: 1; margin: 0; text-align: center; display: block; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; font-weight: bolder; } .dayContainer, .flatpickr-weeks { padding: 1px 0 0 0; } .flatpickr-days { position: relative; overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; width: 307.875px; } .flatpickr-days:focus { outline: 0; } .dayContainer { padding: 0; outline: 0; text-align: left; width: 307.875px; min-width: 307.875px; max-width: 307.875px; -webkit-box-sizing: border-box; box-sizing: border-box; display: inline-block; display: -ms-flexbox; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-wrap: wrap; -ms-flex-pack: justify; -webkit-justify-content: space-around; justify-content: space-around; -webkit-transform: translate3d(0px, 0px, 0px); transform: translate3d(0px, 0px, 0px); opacity: 1; } .dayContainer + .dayContainer { -webkit-box-shadow: -1px 0 0 #e6e6e6; box-shadow: -1px 0 0 #e6e6e6; } .flatpickr-day { background: none; border: 1px solid transparent; border-radius: 150px; -webkit-box-sizing: border-box; box-sizing: border-box; color: #393939; cursor: pointer; font-weight: 400; width: 14.2857143%; -webkit-flex-basis: 14.2857143%; -ms-flex-preferred-size: 14.2857143%; flex-basis: 14.2857143%; max-width: 39px; height: 39px; line-height: 39px; margin: 0; display: inline-block; position: relative; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; text-align: center; } .flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus { cursor: pointer; outline: 0; background: #e6e6e6; border-color: #e6e6e6; } .flatpickr-day.today { border-color: #959ea9; } .flatpickr-day.today:hover, .flatpickr-day.today:focus { border-color: #959ea9; background: #959ea9; color: #fff; } .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay { background: #569ff7; -webkit-box-shadow: none; box-shadow: none; color: #fff; border-color: #569ff7; } .flatpickr-day.selected.startRange, .flatpickr-day.startRange.startRange, .flatpickr-day.endRange.startRange { border-radius: 50px 0 0 50px; } .flatpickr-day.selected.endRange, .flatpickr-day.startRange.endRange, .flatpickr-day.endRange.endRange { border-radius: 0 50px 50px 0; } .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) { -webkit-box-shadow: -10px 0 0 #569ff7; box-shadow: -10px 0 0 #569ff7; } .flatpickr-day.selected.startRange.endRange, .flatpickr-day.startRange.startRange.endRange, .flatpickr-day.endRange.startRange.endRange { border-radius: 50px; } .flatpickr-day.inRange { border-radius: 0; -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; } .flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.notAllowed, .flatpickr-day.notAllowed.prevMonthDay, .flatpickr-day.notAllowed.nextMonthDay { color: rgba(57,57,57,0.3); background: transparent; border-color: transparent; cursor: default; } .flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { cursor: not-allowed; color: rgba(57,57,57,0.1); } .flatpickr-day.week.selected { border-radius: 0; -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7; box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7; } .flatpickr-day.hidden { visibility: hidden; } .rangeMode .flatpickr-day { margin-top: 1px; } .flatpickr-weekwrapper { float: left; } .flatpickr-weekwrapper .flatpickr-weeks { padding: 0 12px; -webkit-box-shadow: 1px 0 0 #e6e6e6; box-shadow: 1px 0 0 #e6e6e6; } .flatpickr-weekwrapper .flatpickr-weekday { float: none; width: 100%; line-height: 28px; } .flatpickr-weekwrapper span.flatpickr-day, .flatpickr-weekwrapper span.flatpickr-day:hover { display: block; width: 100%; max-width: none; color: rgba(57,57,57,0.3); background: transparent; cursor: default; border: none; } .flatpickr-innerContainer { display: block; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; } .flatpickr-rContainer { display: inline-block; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; } .flatpickr-time { text-align: center; outline: 0; display: block; height: 0; line-height: 40px; max-height: 40px; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .flatpickr-time:after { content: ""; display: table; clear: both; } .flatpickr-time .numInputWrapper { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; width: 40%; height: 40px; float: left; } .flatpickr-time .numInputWrapper span.arrowUp:after { border-bottom-color: #393939; } .flatpickr-time .numInputWrapper span.arrowDown:after { border-top-color: #393939; } .flatpickr-time.hasSeconds .numInputWrapper { width: 26%; } .flatpickr-time.time24hr .numInputWrapper { width: 49%; } .flatpickr-time input { background: transparent; -webkit-box-shadow: none; box-shadow: none; border: 0; border-radius: 0; text-align: center; margin: 0; padding: 0; height: inherit; line-height: inherit; color: #393939; font-size: 14px; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: textfield; -moz-appearance: textfield; appearance: textfield; } .flatpickr-time input.flatpickr-hour { font-weight: bold; } .flatpickr-time input.flatpickr-minute, .flatpickr-time input.flatpickr-second { font-weight: 400; } .flatpickr-time input:focus { outline: 0; border: 0; } .flatpickr-time .flatpickr-time-separator, .flatpickr-time .flatpickr-am-pm { height: inherit; float: left; line-height: inherit; color: #393939; font-weight: bold; width: 2%; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-align-self: center; -ms-flex-item-align: center; align-self: center; } .flatpickr-time .flatpickr-am-pm { outline: 0; width: 18%; cursor: pointer; text-align: center; font-weight: 400; } .flatpickr-time input:hover, .flatpickr-time .flatpickr-am-pm:hover, .flatpickr-time input:focus, .flatpickr-time .flatpickr-am-pm:focus { background: #eee; } .flatpickr-input[readonly] { cursor: pointer; } @-webkit-keyframes fpFadeInDown { from { opacity: 0; -webkit-transform: translate3d(0, -20px, 0); transform: translate3d(0, -20px, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @keyframes fpFadeInDown { from { opacity: 0; -webkit-transform: translate3d(0, -20px, 0); transform: translate3d(0, -20px, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } Smart Gamification https://validator.w3.org/feed/docs/rss2.html iOS App Installation Guide registration to the game registration process Android App Installation Guide modalità iscrizione iscrizione-al-gioco Guida all’installazione app iOS Guida all’installazione app Android Cookie Policy Home-it Home