PATH:
home
/
centosnipponia
/
public_html
/
nipponiacar
/
wp-content
/
plugins
/
google-site-kit
/
dist
/
assets
/
js
"use strict";(globalThis.__googlesitekit_webpackJsonp=globalThis.__googlesitekit_webpackJsonp||[]).push([[182],{37316(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 53"},e),n||(n=o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("path",{fill:"#F9AB00",d:"M48 46.376a6.63 6.63 0 0 1-2.18 4.952 6.47 6.47 0 0 1-5.11 1.625c-3.339-.495-5.789-3.433-5.708-6.848V6.891C34.925 3.475 37.379.537 40.72.045a6.47 6.47 0 0 1 5.102 1.631A6.63 6.63 0 0 1 48 6.622z"}),o.createElement("path",{fill:"#E37400",fillRule:"nonzero",d:"M6.5 40.002a6.5 6.5 0 0 1 4.594 1.901 6.5 6.5 0 0 1 1.906 4.6 6.5 6.5 0 0 1-1.906 4.596A6.5 6.5 0 0 1 6.5 53a6.5 6.5 0 0 1-4.594-1.9A6.5 6.5 0 0 1 0 46.501a6.5 6.5 0 0 1 1.905-4.6A6.5 6.5 0 0 1 6.5 40zM24.348 20.002c-3.62.197-6.429 3.256-6.346 6.908v17.644c0 4.79 2.092 7.696 5.16 8.314a6.5 6.5 0 0 0 5.442-1.358A6.61 6.61 0 0 0 31 46.4V26.605a6.62 6.62 0 0 0-1.912-4.668A6.52 6.52 0 0 0 24.459 20z"}))))},6205(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s,r,a,l,c,g,d,u,p,m,h,y,f=i(63696);function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},I.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>f.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 116 59"},e),n||(n=f.createElement("path",{fill:"#DEDEDE",d:"M86.66 6.101a22.4 22.4 0 0 1 6.226-1.09l.215 7.871a14.5 14.5 0 0 0-4.046.709z"})),o||(o=f.createElement("path",{fill:"#C6C6C6",d:"M75.423 14.275a22.54 22.54 0 0 1 10.57-7.945l2.628 7.41a14.66 14.66 0 0 0-6.871 5.164z"})),s||(s=f.createElement("path",{fill:"#F1F1F1",d:"M75.317 40.725a22.5 22.5 0 0 1-4.226-12.872 22.64 22.64 0 0 1 3.925-13l6.47 4.426a14.7 14.7 0 0 0-2.552 8.45c.035 3.01.995 5.932 2.747 8.367z"})),r||(r=f.createElement("path",{fill:"#959595",d:"M106.601 45.702a22.4 22.4 0 0 1-16.346 4.074 22.28 22.28 0 0 1-14.517-8.485l6.217-4.827a14.48 14.48 0 0 0 9.436 5.515 14.56 14.56 0 0 0 10.625-2.648z"})),a||(a=f.createElement("path",{fill:"#C7C7C7",d:"M93.59 5c4.673 0 9.223 1.466 13.013 4.194a22.37 22.37 0 0 1 8.129 11.018 22.624 22.624 0 0 1-7.567 25.067l-4.783-6.223a14.7 14.7 0 0 0 4.919-16.293 14.54 14.54 0 0 0-5.284-7.162 14.48 14.48 0 0 0-8.458-2.726z"})),l||(l=f.createElement("circle",{cx:83.5,cy:56.899,r:1.5,fill:"#959595"})),c||(c=f.createElement("circle",{cx:90.5,cy:56.899,r:1.5,fill:"#C7C7C7"})),g||(g=f.createElement("circle",{cx:97.5,cy:56.899,r:1.5,fill:"#DEDEDE"})),d||(d=f.createElement("circle",{cx:104.5,cy:56.899,r:1.5,fill:"#F1F1F1"})),u||(u=f.createElement("path",{stroke:"#ECE9F1",strokeLinecap:"round",strokeWidth:.937,d:"M.468 58.531h55.064"})),p||(p=f.createElement("path",{stroke:"#ECE9F1",strokeLinecap:"round",strokeWidth:.468,d:"M.234 44.765h55.532M.234 30.765h55.532M.234 16.766h55.532"})),m||(m=f.createElement("path",{fill:"url(#cta-graph-traffic_svg__a)",d:"M25.531 47.668c-4.138-1.288-5.95-4.746-9.87-5.24-4.053-.51-7.2 12.53-15.661 13.777V59h56V35.07c-2.25-.486-4.367-17.89-9.25-16.601-4.882 1.288-8.475 20.892-12.365 14.578-3.89-6.313-4.716 15.91-8.854 14.622",opacity:.08})),h||(h=f.createElement("path",{fill:"#B8B8B8",d:"M2.766 1.116.883 6.3h-.77L2.281.612h.496zM4.344 6.3 2.457 1.116 2.445.612h.496L5.117 6.3zm-.098-2.106v.618H1.051v-.618zM6.555.3v6h-.727v-6zM8.5.3v6h-.727v-6zm5.73 5.023v-3.25h.727V6.3h-.691zm.137-.89.301-.008q0 .421-.09.781a1.7 1.7 0 0 1-.281.617q-.194.262-.512.41a1.85 1.85 0 0 1-.77.145q-.308 0-.566-.09a1.1 1.1 0 0 1-.437-.277 1.3 1.3 0 0 1-.285-.489 2.4 2.4 0 0 1-.098-.722V2.073h.723v2.735q0 .285.062.472.066.184.176.293.113.105.25.149.14.043.289.043.46 0 .73-.176.27-.18.387-.48.12-.306.121-.676m4.153.746q0-.155-.07-.29-.067-.136-.278-.245-.207-.114-.625-.196a5 5 0 0 1-.637-.176 2 2 0 0 1-.48-.246q-.195-.144-.301-.34a.95.95 0 0 1-.106-.457q0-.25.11-.472.112-.223.316-.395.207-.171.496-.27.29-.097.645-.097.507 0 .867.18t.55.48q.192.297.192.66h-.722a.6.6 0 0 0-.106-.34.8.8 0 0 0-.3-.277 1 1 0 0 0-.481-.11q-.3 0-.488.095a.63.63 0 0 0-.27.23.58.58 0 0 0-.043.508q.043.09.148.168.106.074.297.14t.489.133q.519.117.855.282.336.163.5.402.165.238.164.578 0 .277-.117.508a1.1 1.1 0 0 1-.332.398 1.7 1.7 0 0 1-.516.258q-.297.09-.668.09-.558 0-.945-.2a1.46 1.46 0 0 1-.586-.515q-.2-.316-.2-.668h.727q.016.297.172.473a.9.9 0 0 0 .383.246q.226.07.45.07.296 0 .495-.078a.7.7 0 0 0 .31-.215.5.5 0 0 0 .105-.312m3.425 1.199a2.1 2.1 0 0 1-.8-.149 1.8 1.8 0 0 1-.614-.425q-.254-.274-.39-.649a2.4 2.4 0 0 1-.137-.82v-.164q0-.516.152-.918.153-.405.414-.688.262-.28.594-.425t.688-.145q.453 0 .78.156.333.157.544.438.21.278.312.656.102.375.102.82v.325h-3.156V3.8h2.433v-.055q-.016-.281-.117-.547a1 1 0 0 0-.312-.437q-.216-.172-.586-.172a.98.98 0 0 0-.809.41q-.149.202-.23.496-.082.292-.082.676v.164q0 .301.081.566.087.262.247.461.163.2.394.313.235.113.531.113.384 0 .649-.156.265-.157.465-.418l.437.348q-.137.207-.348.394t-.519.305a2 2 0 0 1-.723.117m3.211-3.64V6.3h-.722V2.073h.703zm1.32-.688-.003.672a1.827 1.827 0 0 0-.352-.031q-.25 0-.441.078a.9.9 0 0 0-.325.218 1 1 0 0 0-.21.336q-.075.192-.098.422l-.203.117q0-.382.074-.718.078-.336.238-.594.16-.262.407-.406a1.14 1.14 0 0 1 .914-.094m3.13 3.129a.6.6 0 0 0-.07-.29q-.068-.136-.278-.245-.207-.114-.625-.196a5 5 0 0 1-.637-.176 2 2 0 0 1-.48-.246q-.195-.144-.301-.34a.95.95 0 0 1-.106-.457q0-.25.11-.472.112-.223.316-.395.207-.171.496-.27.29-.097.645-.097.507 0 .867.18t.55.48q.192.297.192.66h-.723a.6.6 0 0 0-.105-.34.8.8 0 0 0-.3-.277 1 1 0 0 0-.481-.11q-.3 0-.488.095a.63.63 0 0 0-.27.23.58.58 0 0 0-.043.508q.043.09.148.168.106.074.297.14t.489.133q.519.117.855.282.335.163.5.402.164.238.164.578 0 .277-.117.508a1.1 1.1 0 0 1-.332.398 1.7 1.7 0 0 1-.516.258q-.297.09-.668.09-.558 0-.945-.2a1.46 1.46 0 0 1-.586-.515q-.2-.316-.2-.668h.727q.016.297.172.473a.9.9 0 0 0 .383.246q.226.07.45.07.296 0 .495-.078a.7.7 0 0 0 .309-.215.5.5 0 0 0 .105-.312"})),y||(y=f.createElement("defs",null,f.createElement("linearGradient",{id:"cta-graph-traffic_svg__a",x1:19.094,x2:19.094,y1:18.399,y2:66.554,gradientUnits:"userSpaceOnUse"},f.createElement("stop",{stopColor:"#4F4F4F"}),f.createElement("stop",{offset:1,stopColor:"#4F4F4F",stopOpacity:0})))))},69667(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 102 30"},e),n||(n=o.createElement("path",{stroke:"#CCC",strokeWidth:2,d:"m1 24.053 5-4.825 4 2.193 5.333-2.193 7.334 6.579 6-1.754 3-4.825 4.666 6.579 3.334-1.754L47.333 28 55 19.228l4.333 2.193 5.334-3.509 2 1.316h6L81.333 3 84 9.579l2.333-1.754L89 13.088l12-5.263"})))},19793(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m4.806 8.592.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296s-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16s1.6-.4 2.124-1.112z",clipRule:"evenodd"})))},72545(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"M14 1.41 12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7z"})))},83366(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{d:"M5 21a2 2 0 0 1-1.425-.575A2 2 0 0 1 3 19V5q0-.825.575-1.4Q4.175 3 5 3h7v2H5v14h14v-7h2v7q0 .825-.6 1.425Q19.825 21 19 21zm4.7-5.3-1.4-1.4L17.6 5H14V3h7v7h-2V6.4z"})))},42343(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o=i(63696);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"m5.825 22 2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3z"})))},85149(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n,o,s=i(63696);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r.apply(null,arguments)}const __WEBPACK_DEFAULT_EXPORT__=e=>s.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","aria-labelledby":"warning-title warning-desc",viewBox:"0 0 24 24"},e),n||(n=s.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),o||(o=s.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})))},41671(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(82871),r=i(38432),a=i(97015);const LearnMoreLink=({className:e,external:t=!0,href:i,label:n=(0,s.__)("Learn more","google-site-kit"),onClick:o=()=>{}})=>i?a.createElement(r.A,{href:i,className:e,onClick:o,external:t},n):null;LearnMoreLink.propTypes={href:o().string.isRequired,className:o().string,label:o().string,external:o().bool,onClick:o().func};const l=LearnMoreLink},3749(e,t,i){i.d(t,{Q:()=>n});let n=function(e){return e.NEW="new",e.SUCCESS="success",e.WARNING="warning",e.INFO="info",e.INFO_ALT="info-alt",e.INFO_ALT_2="info-alt-2",e.ERROR="error",e}({})},44148(e,t,i){i.d(t,{A:()=>y});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(13606),c=i(82871),g=i(38432),d=i(13047),u=i(4124),p=i(62659),m=i(92449);var h=i(97015);function SourceLink({name:e="",href:t="",className:i="",external:n=!1}){const o=(0,p.A)(),s=(0,u.A)(),y=(0,a.useContext)(m.Ay),f=(0,a.useCallback)(()=>{y.slug&&o&&(0,d.sx)(`${o}_widget`,"click_source_link",y.slug)},[o,y]);return s?null:h.createElement("div",{className:r()("googlesitekit-source-link",i)},(0,l.A)((0,c.sprintf)(/* translators: %s: source link */ /* translators: %s: source link */ (0,c.__)("Source: %s","google-site-kit"),`<a>${e}</a>`),{a:h.createElement(g.A,{key:"link",href:t,external:n,onClick:f})}))}SourceLink.propTypes={name:o().string,href:o().string,className:o().string,external:o().bool};const y=SourceLink},92449(e,t,i){i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)({}),{Consumer:o,Provider:s}=n,r=n},97513(e,t,i){i.d(t,{Fo:()=>s,Lg:()=>r,Qb:()=>o,dv:()=>l,mp:()=>a});var n=i(24355);const o="xlarge",s="desktop",r="tablet",a="small";function l(){const e=(0,n.SO)();return e>1280?o:e>960?s:e>600?r:a}},24355(e,t,i){i.d(t,{SO:()=>l,xJ:()=>a});var n=i(55620),o=i(99123);function s(){return[globalThis.innerWidth,globalThis.innerHeight]}function r({fps:e=60,leading:t=!1,initialWidth:i=0,initialHeight:r=0}={}){const[a,l]=(0,n._)("undefined"==typeof document?[i,r]:s,e,t);function c(){return l(s)}return(0,o.A)(window,"resize",c),(0,o.A)(window,"orientationchange",c),a}function a(e={}){return r(e)[1]}function l(e={}){return r(e)[0]}},13429(e,t,i){i.d(t,{A:()=>ActivateAnalyticsCTA});var n=i(62688),o=i.n(n),s=i(63560),r=i(63696),a=i(13606),l=i(82871),c=i(49383),g=i(50539),d=i(88273),u=i(80),p=i(22942),m=i(70301),h=i(97345),y=i(29785),f=i(65929),I=i(69831),k=i(7076),b=i(30805),N=i(68761),v=i(38432),j=i(37316),x=i(62540);function ActivateAnalyticsCTA({children:e,dismissedItemSlug:t,analyticsEventLabel:i}){const n=(0,r.useRef)(),o=(0,b.i)("setupFlowRefresh"),M=(0,N.A)("activate-analytics-cta",void 0,{viewAction:"view_cta",confirmAction:"confirm_cta",dismissAction:"dismiss_cta",clickLearnMoreAction:"click_learn_more_link"}),A=(0,g.useSelect)(e=>!!o&&e(h.oR).isItemDismissed(t)),_=(0,f.A)(p.L1),T=(0,I.A)(p.L1),S=(0,g.useSelect)(e=>e(d.i).isModuleActive(p.L1)),D=(0,g.useSelect)(e=>{const{isModuleAvailable:t}=e(d.i);return t(p.L1)&&!!e(u.K9)}),w=(0,g.useSelect)(e=>o?e(y.O4).getDocumentationLinkURL("ga4"):null),[C,E]=(0,r.useState)(!1),R=(0,g.useSelect)(e=>{if(!D)return!1;const t=e(u.K9).getAdminReauthURL();return!!t&&e(m.M).isNavigatingTo(t)}),L=(0,g.useSelect)(e=>!!D&&e(d.i).isFetchingSetModuleActivation(p.L1,!0)),z=(0,k.d)(E,3e3);(0,r.useEffect)(()=>{L||R?E(!0):z(!1)},[L,R,z]);const O=(0,s.A)(n,{threshold:.25}),[P,B]=(0,r.useState)(!1),G=!!O?.intersectionRatio;(0,r.useEffect)(()=>{G&&!P&&(M.view(i),B(!0))},[G,P,M,i]);const{dismissItem:U}=(0,g.useDispatch)(h.oR);const Z=S?T:_;return D&&Z?o&&A?null:o?(0,x.jsxs)("div",{className:"googlesitekit-activate-analytics-cta",ref:n,children:[(0,x.jsxs)("div",{className:"googlesitekit-activate-analytics-cta__top",children:[(0,x.jsx)("div",{className:"googlesitekit-activate-analytics-cta__icon",children:(0,x.jsx)(j.A,{width:28,height:31})}),(0,x.jsx)("p",{className:"googlesitekit-activate-analytics-cta__description",children:(0,a.A)((0,l.__)("See how many people visit your site from Search and track how you’re achieving your goals. <a>Learn more</a>","google-site-kit"),{a:(0,x.jsx)(v.A,{href:w,onClick:()=>{M.clickLearnMore(i)},external:!0})})})]}),(0,x.jsxs)("div",{className:"googlesitekit-activate-analytics-cta__actions",children:[(0,x.jsx)(c.Button,{className:"googlesitekit-activate-analytics-cta__button--secondary",onClick:function(){M.dismiss(i),U(t)},tertiary:!0,children:(0,l.__)("Maybe later","google-site-kit")}),(0,x.jsx)(c.SpinnerButton,{className:"googlesitekit-activate-analytics-cta__button--primary",onClick:()=>{Z(),M.confirm(i)},isSaving:C,disabled:C,children:S?(0,l.__)("Complete setup","google-site-kit"):(0,l.__)("Set up Analytics","google-site-kit")})]})]}):(0,x.jsxs)("div",{className:"googlesitekit-analytics-cta",children:[(0,x.jsx)("div",{className:"googlesitekit-analytics-cta__preview-graphs",children:e}),(0,x.jsxs)("div",{className:"googlesitekit-analytics-cta__details",children:[(0,x.jsx)("p",{className:"googlesitekit-analytics-cta--description",children:(0,l.__)("See how many people visit your site from Search and track how you’re achieving your goals","google-site-kit")}),(0,x.jsx)(c.SpinnerButton,{onClick:Z,isSaving:C,disabled:C,children:S?(0,l.__)("Complete setup","google-site-kit"):(0,l.__)("Set up Google Analytics","google-site-kit")})]})]}):null}ActivateAnalyticsCTA.propTypes={children:o().node,dismissedItemSlug:o().string.isRequired,analyticsEventLabel:o().string}},5855(e,t,i){i.d(t,{A:()=>g});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(62540);const c=(0,a.forwardRef)(({label:e,className:t,hasLeftSpacing:i=!1,...n},s)=>(0,l.jsx)("span",{ref:s,...n,className:o()("googlesitekit-badge",t,{"googlesitekit-badge--has-left-spacing":i}),children:e}));c.displayName="Badge",c.propTypes={label:r().string.isRequired,hasLeftSpacing:r().bool};const g=c},71189(e,t,i){i.d(t,{A:()=>CTAButton});var n=i(62688),o=i.n(n),s=i(49383),r=i(83366),a=i(62540);function CTAButton({label:e,ariaLabel:t,disabled:i,inProgress:n,onClick:o,href:l,external:c=!1,hideExternalIndicator:g=!1}){if(!e||!o&&!l)return null;let d;return c&&!g&&(d=(0,a.jsx)(r.A,{width:14,height:14})),(0,a.jsx)(s.SpinnerButton,{className:"googlesitekit-banner__cta","aria-label":t,disabled:i||n,isSaving:n,onClick:o,href:l,target:c?"_blank":void 0,trailingIcon:d,children:e})}CTAButton.propTypes={label:o().string,ariaLabel:o().string,disabled:o().bool,inProgress:o().bool,onClick:o().func,href:o().string,dismissOnClick:o().bool,dismissOptions:o().shape({expiresInSeconds:o().number,skipHidingFromQueue:o().bool})}},61983(e,t,i){i.d(t,{A:()=>DismissButton});var n=i(62688),o=i.n(n),s=i(82871),r=i(49383),a=i(62540);function DismissButton({className:e,label:t=(0,s.__)("Maybe later","google-site-kit"),onClick:i,disabled:n,tertiary:o=!0}){return i?(0,a.jsx)(r.Button,{className:e,onClick:i,disabled:n,tertiary:o,children:t}):null}DismissButton.propTypes={className:o().string,label:o().string,onClick:o().func,disabled:o().bool,tertiary:o().bool,dismissOptions:o().shape({expiresInSeconds:o().number,skipHidingFromQueue:o().bool})}},83891(e,t,i){i.d(t,{A:()=>y});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(97513),c=i(62540);function TitleIcon({className:e,children:t}){return(0,c.jsx)("div",{className:o()("googlesitekit-banner__title-icon",e),children:t})}function Title({className:e,children:t}){return(0,c.jsx)("p",{className:o()("googlesitekit-banner__title",e),children:t})}TitleIcon.propTypes={className:r().string,children:r().node},Title.propTypes={className:r().string,children:r().node};var g=i(13047),d=i(41671);function Description({className:e,description:t,learnMoreLink:i,additionalDescription:n,children:s}){return(0,c.jsxs)("div",{className:o()("googlesitekit-banner__description",e),children:[(0,a.isValidElement)(t)?t:"string"==typeof t?(0,c.jsx)("span",{dangerouslySetInnerHTML:(0,g.p9)(t,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}):t," ",i?.href&&(0,c.jsx)(d.A,{...i}),n&&(0,c.jsx)("div",{className:"googlesitekit-banner__additional-description",children:n}),s]})}function HelpText({className:e,children:t}){return(0,c.jsx)("p",{className:o()("googlesitekit-banner__help-text",e),children:t})}Description.propTypes={className:r().string,description:r().oneOfType([r().string,r().node]),learnMoreLink:r().shape(d.A.propTypes),additionalDescription:r().oneOfType([r().string,r().node]),children:r().node},HelpText.propTypes={className:r().string,children:r().node};var u=i(71189),p=i(61983);function Footer({className:e,children:t}){return(0,c.jsx)("div",{className:o()("googlesitekit-banner__footer",e),children:t})}Footer.propTypes={className:r().string,children:r().node};var m=i(25797);const h=(0,a.forwardRef)(({className:e,titleIcon:t,title:i,description:n,additionalDescription:s,errorText:r,helpText:a,learnMoreLink:g,dismissButton:d,ctaButton:h,svg:y,footer:f},I)=>{const k=(0,l.dv)(),b=k===l.mp||k===l.Lg;let N=null;b&&y?.mobile?N=y.mobile:!b&&y?.desktop&&(N=y.desktop);const v=y?.verticalPosition?y.verticalPosition:"center";return(0,c.jsxs)("div",{ref:I,className:o()("googlesitekit-banner",e),children:[(0,c.jsxs)("div",{className:"googlesitekit-banner__content",children:[t&&(0,c.jsx)(TitleIcon,{children:t}),(0,c.jsx)(Title,{children:i}),(0,c.jsx)(Description,{description:n,learnMoreLink:g,additionalDescription:s}),a&&(0,c.jsx)(HelpText,{children:a}),r&&(0,c.jsx)(m.A,{type:"error",description:r}),(0,c.jsxs)("div",{className:"googlesitekit-notice__action",children:[h&&(0,c.jsx)(u.A,{...h}),d?.onClick&&(0,c.jsx)(p.A,{...d})]})]}),N&&(0,c.jsx)("div",{className:o()("googlesitekit-banner__svg-wrapper",{[`googlesitekit-banner__svg-wrapper--${v}`]:v}),style:{backgroundImage:`url(${N})`}}),f&&(0,c.jsx)(Footer,{children:f})]})});h.propTypes={titleIcon:r().node,title:r().string,description:r().oneOfType([r().string,r().node]),additionalDescription:r().oneOfType([r().string,r().node]),errorText:r().string,helpText:r().string,learnMoreLink:r().shape(d.A.propTypes),dismissButton:r().shape(p.A.propTypes),ctaButton:r().shape(u.A.propTypes),svg:r().shape({desktop:r().elementType,mobile:r().elementType,verticalPosition:r().oneOf(["top","center","bottom"])}),footer:r().node};const y=h},38017(e,t,i){i.d(t,{A:()=>l});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function ChangeArrow({direction:e,invertColor:t,width:i,height:n}){return(0,a.jsx)("svg",{className:r()("googlesitekit-change-arrow",`googlesitekit-change-arrow--${e}`,{"googlesitekit-change-arrow--inverted-color":t}),width:i,height:n,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"})})}ChangeArrow.propTypes={direction:o().string,invertColor:o().bool,width:o().number,height:o().number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9};const l=ChangeArrow},63505(e,t,i){i.d(t,{A:()=>I});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(63696),l=i(13113),c=i(13047),g=i(62540);function Sparkline({sparkline:e,invertChangeColor:t}){let i=e;return i&&t&&(i=(0,a.cloneElement)(e,{invertChangeColor:t})),(0,g.jsx)("div",{className:"googlesitekit-data-block__sparkline",children:i})}Sparkline.propTypes={sparkline:o().element,invertChangeColor:o().bool};const d=Sparkline;var u=i(5855),p=i(82871),m=i(38017);function Change({change:e,changeDataUnit:t,period:i,invertChangeColor:n}){let o=e;return t&&(o="%"===t?(0,c.Eo)(e,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):(0,c.Eo)(e,t)),i&&(o=(0,p.sprintf)(i,o)),(0,g.jsxs)("div",{className:r()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!e}),children:[!!e&&(0,g.jsx)("span",{className:"googlesitekit-data-block__arrow",children:(0,g.jsx)(m.A,{direction:0<parseFloat(e)?"up":"down",invertColor:n})}),(0,g.jsx)("span",{className:"googlesitekit-data-block__value",children:o})]})}Change.propTypes={change:o().oneOfType([o().string,o().number]),changeDataUnit:o().oneOfType([o().string,o().bool]),period:o().string,invertChangeColor:o().bool};const h=Change;var y=i(44148),f=i(33052);function Content({title:e="",datapoint:t=null,datapointUnit:i="",change:n=null,changeDataUnit:o="",period:s="",source:r,sparkline:l,invertChangeColor:p=!1,gatheringData:m=!1,badge:I}){const k=void 0===t?t:(0,c.Eo)(t,i);return(0,g.jsxs)(a.Fragment,{children:[(0,g.jsxs)("div",{className:"googlesitekit-data-block__title-datapoint-wrapper",children:[(0,g.jsxs)(f.A,{as:"h3",size:"small",type:"title",className:" googlesitekit-subheading-1 googlesitekit-data-block__title ",children:[!0===I?(0,g.jsx)(u.A,{"aria-hidden":"true",className:"googlesitekit-badge--hidden",label:"X"}):I,(0,g.jsx)("span",{className:"googlesitekit-data-block__title-inner",children:e})]}),!m&&(0,g.jsx)("div",{className:"googlesitekit-data-block__datapoint",children:(0,g.jsx)("span",{className:"googlesitekit-data-block__datapoint--resize",children:k})})]}),!m&&l&&(0,g.jsx)(d,{sparkline:l,invertChangeColor:p}),!m&&(0,g.jsxs)("div",{className:"googlesitekit-data-block__change-source-wrapper",children:[(0,g.jsx)(h,{change:n,changeDataUnit:o,period:s,invertChangeColor:p}),r&&(0,g.jsx)(y.A,{className:"googlesitekit-data-block__source",name:r.name,href:r.link,external:r?.external})]})]})}function DataBlock({stat:e=null,className:t="",title:i="",datapoint:n=null,datapointUnit:o="",change:s=null,changeDataUnit:c="",context:d="default",period:u="",selected:p=!1,source:m,sparkline:h,handleStatSelection:y=null,invertChangeColor:f=!1,gatheringData:I=!1,gatheringDataNoticeStyle:k=l.v.DEFAULT,badge:b}){const N=(0,a.useCallback)(()=>{!I&&y&&y(e)},[I,y,e]),v=(0,a.useCallback)(e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),N())},[N]),j="button"===d,x=j?"button":"";return(0,g.jsxs)("div",{className:r()("googlesitekit-data-block",t,`googlesitekit-data-block--${d}`,{"googlesitekit-data-block--selected":p,"googlesitekit-data-block--is-gathering-data":I}),tabIndex:j&&!I?"0":"-1",role:y&&x,onClick:N,onKeyDown:v,"aria-disabled":I||void 0,"aria-label":y&&i,"aria-pressed":y&&p,children:[(0,g.jsx)(Content,{title:i,datapoint:n,datapointUnit:o,change:s,changeDataUnit:c,period:u,source:m,sparkline:h,invertChangeColor:f,gatheringData:I,badge:b}),I&&(0,g.jsx)(l.A,{style:k})]})}Content.propTypes={title:o().string,datapoint:o().oneOfType([o().string,o().number]),datapointUnit:o().string,change:o().oneOfType([o().string,o().number]),changeDataUnit:o().oneOfType([o().string,o().bool]),period:o().string,source:o().object,sparkline:o().element,invertChangeColor:o().bool,gatheringData:o().bool,badge:o().oneOfType([o().bool,o().node])},DataBlock.propTypes={stat:o().number,className:o().string,title:o().string,datapoint:o().oneOfType([o().string,o().number]),datapointUnit:o().string,change:o().oneOfType([o().string,o().number]),changeDataUnit:o().oneOfType([o().string,o().bool]),context:o().string,period:o().string,selected:o().bool,source:o().object,sparkline:o().element,handleStatSelection:o().func,invertChangeColor:o().bool,gatheringData:o().bool,gatheringDataNoticeStyle:o().oneOf(Object.values(l.v)),badge:o().oneOfType([o().bool,o().node])};const I=DataBlock},73198(e,t,i){i.d(t,{A:()=>ErrorNotice});var n=i(62688),o=i.n(n),s=i(63696),r=i(82871),a=i(84024),l=i(50539),c=i(13137),g=i(25797),d=i(13047),u=i(62540);function ErrorNotice({className:e,error:t,hasButton:i=!1,storeName:n,message:o=t.message,noPrefix:p=!1,skipRetryMessage:m,hideIcon:h=!1}){const y=(0,l.useDispatch)(),f=(0,l.useSelect)(e=>n?e(n).getSelectorDataForError(t):null),I=(0,s.useCallback)(()=>{y(f.storeName).invalidateResolution(f.name,f.args)},[y,f]);if(!o||(0,c.G)(t))return null;const k=i&&(0,c.vl)(t,f);let b=o;i||m||(b=(0,r.sprintf)(/* translators: %s: Error message from Google API. */ /* translators: %s: Error message from Google API. */ (0,r.__)("%s (Please try again.)","google-site-kit"),b)),p||(b=(0,r.sprintf)(/* translators: $%s: Error message */ /* translators: $%s: Error message */ (0,r.__)("Error: %s","google-site-kit"),b));const N=t?.data?.reconnectURL;N&&(0,a.m)(N)&&(b=(0,r.sprintf)(/* translators: 1: Original error message 2: Reconnect URL */ /* translators: 1: Original error message 2: Reconnect URL */ (0,r.__)('%1$s To fix this, <a href="%2$s">redo the plugin setup</a>.',"google-site-kit"),b,N));return(0,u.jsx)(g.A,{className:e,type:g.A.TYPES.ERROR,description:(0,u.jsx)("span",{dangerouslySetInnerHTML:(0,d.p9)(b,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}),ctaButton:k?{label:(0,r.__)("Retry","google-site-kit"),onClick:I}:void 0,hideIcon:h})}ErrorNotice.propTypes={className:o().string,error:o().shape({message:o().string}),hasButton:o().bool,storeName:o().string,message:o().string,noPrefix:o().bool,skipRetryMessage:o().bool,hideIcon:o().bool}},79961(e,t,i){i.d(t,{A:()=>s});var n=i(63696),o=i(84895);const s=(0,n.createContext)(o.t)},13113(e,t,i){i.d(t,{A:()=>g,v:()=>c});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(82871),l=i(62540);const c={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice({style:e}){return(0,l.jsx)("div",{className:r()("googlesitekit-gathering-data-notice",{[`googlesitekit-gathering-data-notice--has-style-${e}`]:!!e}),children:(0,l.jsx)("span",{children:(0,a.__)("Gathering data…","google-site-kit")})})}GatheringDataNotice.propTypes={style:o().oneOf(Object.values(c))};const g=GatheringDataNotice},6730(e,t,i){i.d(t,{A:()=>GenericErrorHandlerActions});var n=i(62688),o=i.n(n),s=i(82871),r=i(38432),a=i(38021),l=i.n(a),c=i(63696),g=i(12417),d=i(1027),u=i(65123),p=i(49383),m=i(62540);function ReportErrorButton({message:e,componentStack:t}){const[i,n]=(0,c.useState)(!1);return(0,m.jsx)(p.Button,{"aria-label":i?(0,s.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){l()(`\`\`\`\n${e}\n${t}\n\`\`\``),n(!0)},trailingIcon:(0,m.jsx)(g.A,{className:"mdc-button__icon",icon:i?d.A:u.A}),children:i?(0,s.__)("Copied to clipboard","google-site-kit"):(0,s.__)("Copy error contents","google-site-kit")})}ReportErrorButton.propTypes={message:o().string,componentStack:o().string};const h=ReportErrorButton;function GenericErrorHandlerActions({message:e,componentStack:t}){return(0,m.jsxs)("div",{className:"googlesitekit-generic-error-handler-actions",children:[(0,m.jsx)(h,{message:e,componentStack:t}),(0,m.jsx)(r.A,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,children:(0,s.__)("Report this problem","google-site-kit")})]})}GenericErrorHandlerActions.propTypes={message:o().string,componentStack:o().string}},50304(e,t,i){i.d(t,{A:()=>IconWrapper});var n=i(62688),o=i.n(n),s=i(62540);function IconWrapper({children:e,marginLeft:t,marginRight:i}){return(0,s.jsx)("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:t,marginRight:i},children:e})}IconWrapper.propTypes={children:o().node.isRequired,marginLeft:o().number,marginRight:o().number}},52735(e,t,i){i.d(t,{A:()=>n});const n=(0,i(63696).createContext)(!1)},20762(e,t,i){i.d(t,{Ay:()=>r});var n=i(52735);const{Consumer:o,Provider:s}=n.A,r=s},38432(e,t,i){i.d(t,{A:()=>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 d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},d.apply(null,arguments)}const u=e=>c.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),n||(n=c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{cx:6.5,cy:6.5,r:6.5,fill:"currentColor"}),c.createElement("path",{fill:"#FFF",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.46.46 0 0 0 .325-.135l3.037-3.038a.46.46 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.46.46 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var p;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},m.apply(null,arguments)}const h=e=>c.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 13"},e),p||(p=c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{cx:6.5,cy:6.5,r:6.5,fill:"#FFF"}),c.createElement("path",{fill:"currentColor",d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 0 0 .325.79.46.46 0 0 0 .325-.135l3.037-3.038a.46.46 0 0 0 0-.65L7.015 3.135a.46.46 0 0 0-.65.65L8.61 6.039H3.461a.46.46 0 0 0-.461.46c0 .254.207.462.461.462z"}),".")));var y;function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},f.apply(null,arguments)}const I=e=>c.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},e),y||(y=c.createElement("path",{d:"m12 20-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6z"})));var k=i(83366),b=i(50304),N=i(62540);const v="BUTTON",j="BUTTON_DISABLED",x="EXTERNAL_LINK",M="LINK",A="ROUTER_LINK",_=(0,c.forwardRef)((e,t)=>{const{"aria-label":i,secondary:n=!1,arrow:o=!1,back:r=!1,caps:a=!1,children:c,className:d="",danger:p=!1,disabled:m=!1,external:y=!1,hideExternalIndicator:f=!1,href:_="",inverse:T=!1,noFlex:S=!1,onClick:D,small:w=!1,standalone:C=!1,linkButton:E=!1,to:R,leadingIcon:L,trailingIcon:z,...O}=e;const P=_||R||!D?R?A:y?x:M:m?j:v;const B=P===v||P===j?"button":P===A?l.N_:"a",G=function(){let e;return P===x&&(e=(0,g._x)("(opens in a new tab)","screen reader text","google-site-kit")),P===j&&(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=L,Z=z;return r&&(U=(0,N.jsx)(I,{width:14,height:14})),y&&!f&&(Z=(0,N.jsx)(k.A,{width:14,height:14})),o&&!T&&(Z=(0,N.jsx)(u,{width:14,height:14})),o&&T&&(Z=(0,N.jsx)(h,{width:14,height:14})),(0,N.jsxs)(B,{"aria-label":G,className:s()("googlesitekit-cta-link",d,{"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":C,"googlesitekit-cta-link--link-button":E,"googlesitekit-cta-link--no-flex":!!S}),disabled:m,href:P!==M&&P!==x||m?void 0:_,onClick:D,rel:P===x?"noopener noreferrer":void 0,ref:t,target:P===x?"_blank":void 0,to:R,...O,children:[!!U&&(0,N.jsx)(b.A,{marginRight:5,children:U}),(0,N.jsx)("span",{className:"googlesitekit-cta-link__contents",children:c}),!!Z&&(0,N.jsx)(b.A,{marginLeft:5,children:Z})]})});_.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=_},59865(e,t,i){i.d(t,{A:()=>p});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(52684),l=i(13606),c=i(82871),g=i(49383),d=i(85149),u=i(62540);function ModalDialog({className:e="",dialogActive:t=!1,handleCancel:i=null,onOpen:n=null,onClose:o=null,title:s=null,provides:p,handleConfirm:m,subtitle:h,confirmButton:y=null,notes:f=[],danger:I=!1,inProgress:k=!1,small:b=!1,medium:N=!1,buttonLink:v=null}){const j=`googlesitekit-dialog-description-${(0,a.A)(ModalDialog)}`,x=!(!p||!p.length);return(0,u.jsxs)(g.Dialog,{open:t,onOpen:n,onClose:o,"aria-describedby":x?j:void 0,tabIndex:"-1",className:r()(e,{"googlesitekit-dialog-sm":b,"googlesitekit-dialog-md":N}),children:[(0,u.jsxs)(g.DialogTitle,{children:[I&&(0,u.jsx)(d.A,{width:28,height:28}),s]}),h?(0,u.jsx)("p",{className:"mdc-dialog__lead",children:h}):[],(0,u.jsxs)(g.DialogContent,{children:[x&&(0,u.jsx)("section",{id:j,className:"mdc-dialog__provides",children:(0,u.jsx)("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive",children:p.map(e=>(0,u.jsx)("li",{className:"mdc-list-item",children:(0,u.jsx)("span",{className:"mdc-list-item__text",children:e})},e))})}),f.length>0&&(0,u.jsx)("section",{className:"mdc-dialog__notes",children:f.map((e,t)=>(0,u.jsxs)("p",{className:"mdc-dialog__note",children:["string"==typeof e&&(0,l.A)((0,c.sprintf)(/* translators: %s is replaced with some sub-note text. */ /* translators: %s is replaced with some sub-note text. */ (0,c.__)("<strong>Note:</strong> %s","google-site-kit"),e),{strong:(0,u.jsx)("strong",{})}),"function"==typeof e&&(0,u.jsx)(e,{})]},`note-${t}`))})]}),(0,u.jsxs)(g.DialogFooter,{children:[(0,u.jsx)(g.Button,{className:"mdc-dialog__cancel-button",onClick:i,tertiary:!0,children:(0,c.__)("Cancel","google-site-kit")}),v?(0,u.jsx)(g.Button,{href:v,onClick:m,target:"_blank",danger:I,children:y}):(0,u.jsx)(g.SpinnerButton,{onClick:m,danger:I,disabled:k,isSaving:k,children:y||(0,c.__)("Disconnect","google-site-kit")})]})]})}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:o().string,dialogActive:o().bool,handleDialog:o().func,handleConfirm:o().func.isRequired,onOpen:o().func,onClose:o().func,title:o().string,provides:o().arrayOf(o().string),confirmButton:o().string,notes:o().arrayOf(o().oneOfType([o().string,o().elementType])),danger:o().bool,small:o().bool,medium:o().bool,buttonLink:o().string};const p=ModalDialog},25797(e,t,i){i.d(t,{A:()=>k});var n,o=i(62688),s=i.n(o),r=i(4452),a=i.n(r),l=i(63696),c=i(19793);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},g.apply(null,arguments)}const warning_notice=e=>l.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),n||(n=l.createElement("path",{fill:"currentColor",d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1m0 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-1-2h2V6h-2z"})));var d=i(42343),u=i(3749),p=i(62540);const m={[u.Q.NEW]:d.A,[u.Q.SUCCESS]:c.A,[u.Q.INFO]:warning_notice,[u.Q.WARNING]:warning_notice,[u.Q.ERROR]:warning_notice};function Icon({type:e}){const t=m[e]||warning_notice;return(0,p.jsx)(t,{width:24,height:24})}function Title({className:e,children:t}){return(0,p.jsx)("p",{className:a()("googlesitekit-notice__title",e),children:t})}function Description({className:e,children:t}){return(0,p.jsx)("p",{className:a()("googlesitekit-notice__description",e),children:t})}Icon.propTypes={type:s().oneOf(Object.values(u.Q))},Title.propTypes={className:s().string,children:s().node},Description.propTypes={className:s().string,children:s().node};var h=i(49383),y=i(83366);function CTAButton({label:e,disabled:t,inProgress:i,onClick:n,href:o,external:s=!1,hideExternalIndicator:r=!1}){let l;return s&&!r&&(l=(0,p.jsx)(y.A,{width:14,height:14})),(0,p.jsx)(h.SpinnerButton,{className:a()("googlesitekit-notice__cta",{"googlesitekit-notice__cta--spinner__running":i}),disabled:t,isSaving:i,onClick:n,href:o,target:s?"_blank":void 0,trailingIcon:l,children:e})}CTAButton.propTypes={label:s().string.isRequired,disabled:s().bool,inProgress:s().bool,onClick:s().func,href:s().string,external:s().bool,hideExternalIndicator:s().bool};var f=i(82871);function DismissButton({label:e=(0,f.__)("Got it","google-site-kit"),onClick:t,disabled:i,href:n,external:o=!1}){return(0,p.jsx)(h.Button,{onClick:t,disabled:i,href:n,target:o?"_blank":void 0,tertiary:!0,children:e})}DismissButton.propTypes={label:s().string,onClick:s().func.isRequired,disabled:s().bool,href:s().string,external:s().bool};const I=(0,l.forwardRef)(({className:e,title:t,description:i,dismissButton:n,ctaButton:o,type:s=u.Q.INFO,children:r,hideIcon:l},c)=>(0,p.jsx)("div",{className:"googlesitekit-notice-container",ref:c,children:(0,p.jsxs)("div",{className:a()("googlesitekit-notice",`googlesitekit-notice--${s}`,e),role:"status",children:[!l&&(0,p.jsx)("div",{className:"googlesitekit-notice__icon",children:(0,p.jsx)(Icon,{type:s})}),(0,p.jsxs)("div",{className:"googlesitekit-notice__content",children:[t&&(0,p.jsx)(Title,{children:t}),i&&(0,p.jsx)(Description,{children:i})]}),(n?.label||n?.onClick||o?.label&&(o?.onClick||o?.href)||r)&&(0,p.jsxs)("div",{className:"googlesitekit-notice__action",children:[r,(n?.label||n?.onClick)&&(0,p.jsx)(DismissButton,{label:n.label,onClick:n.onClick,disabled:n.disabled,href:n.href,external:n.external}),o?.label&&(o?.onClick||o?.href)&&(0,p.jsx)(CTAButton,{label:o.label,onClick:o.onClick,inProgress:o.inProgress,disabled:o.disabled,href:o.href,external:o.external,hideExternalIndicator:o.hideExternalIndicator})]})]})}));I.TYPES=u.Q,I.propTypes={className:s().string,title:s().oneOfType([s().string,s().object]),description:s().node,type:s().oneOf(Object.values(u.Q)),dismissButton:s().shape(DismissButton.propTypes),ctaButton:s().shape({...CTAButton.propTypes,label:s().string}),children:s().node,hideIcon:s().bool};const k=I},64515(e,t,i){function Null(){return null}i.d(t,{A:()=>Null})},94656(e,t,i){i.d(t,{A:()=>l});var n=i(47209),o=i(62688),s=i.n(o),r=i(63696),a=i(78325);function Portal({children:e,slug:t}){const[i]=(0,r.useState)(document.createElement("div"));return(0,n.A)(()=>{t&&i.classList.add(`googlesitekit-portal-${t}`);const e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(i),()=>e.removeChild(i)}),(0,a.createPortal)(e,i)}Portal.propTypes={slug:s().string,children:s().node},Portal.defaultProps={slug:"",children:null};const l=Portal},4751(e,t,i){i.d(t,{A:()=>c});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(97513),l=i(62540);function PreviewBlock({className:e,width:t,height:i,shape:n,padding:o,smallWidth:s,smallHeight:c,tabletWidth:g,tabletHeight:d,desktopWidth:u,desktopHeight:p}){const m=(0,a.dv)(),h={width:{[a.mp]:s,[a.Lg]:g,[a.Fo]:u,[a.Qb]:u},height:{[a.mp]:c,[a.Lg]:d,[a.Fo]:p,[a.Qb]:u}};return(0,l.jsx)("div",{className:r()("googlesitekit-preview-block",e,{"googlesitekit-preview-block--padding":o}),style:{width:h.width[m]||t,height:h.height[m]||i},children:(0,l.jsx)("div",{className:r()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===n})})})}PreviewBlock.propTypes={className:o().string,width:o().string,height:o().string,shape:o().string,padding:o().bool,smallWidth:o().string,smallHeight:o().string,tabletWidth:o().string,tabletHeight:o().string,desktopWidth:o().string,desktopHeight:o().string},PreviewBlock.defaultProps={className:void 0,width:"100px",height:"100px",shape:"square",padding:!1,smallWidth:void 0,smallHeight:void 0,tabletWidth:void 0,tabletHeight:void 0,desktopWidth:void 0,desktopHeight:void 0};const c=PreviewBlock},75110(e,t,i){i.d(t,{A:()=>PreviewGraph});var n,o=i(62688),s=i.n(o),r=i(63696);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},a.apply(null,arguments)}const l=e=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 6"},e),n||(n=r.createElement("path",{fill:"currentColor",d:"m0 3.01.443.387 1.755-1.534v3.344h.628V1.863L4.578 3.4l.446-.39L2.512.811z"})));var c=i(33052),g=i(62540);function PreviewGraph({title:e,GraphSVG:t,showIcons:i}){return(0,g.jsxs)("div",{className:"googlesitekit-analytics-cta__preview-graph",children:[(0,g.jsx)(c.A,{as:"h3",size:"small",type:"body",className:"googlesitekit-analytics-cta__preview-graph--title",children:e}),(0,g.jsx)("div",{children:(0,g.jsx)(t,{})}),i&&(0,g.jsxs)("div",{className:"googlesitekit-analytics-cta__preview-graph--icons",children:[(0,g.jsx)(l,{className:"googlesitekit-analytics-cta__preview-graph--up-arrow"}),(0,g.jsx)("span",{className:"googlesitekit-analytics-cta__preview-graph--bar"})]})]})}PreviewGraph.propTypes={title:s().string.isRequired,GraphSVG:s().elementType.isRequired,showIcons:s().bool},PreviewGraph.defaultProps={showIcons:!0}},97591(e,t,i){i.d(t,{A:()=>RecoverableModules});var n=i(62688),o=i.n(n),s=i(82871),r=i(50539),a=i(88273),l=i(12317),c=i(62540);function RecoverableModules({moduleSlugs:e}){const t=(0,r.useSelect)(t=>{const i=t(a.i).getModules();if(void 0!==i)return e.map(e=>i[e].name)});if(void 0===t)return null;const i=1===t.length?(0,s.sprintf)(/* translators: %s: Module name */ /* translators: %s: Module name */ (0,s.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),t[0]):(0,s.sprintf)(/* translators: %s: List of module names */ /* translators: %s: List of module names */ (0,s.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),t.join((0,s._x)(", ","Recoverable modules","google-site-kit")));return(0,c.jsx)(l.A,{title:(0,s.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:o().arrayOf(o().string).isRequired}},82246(e,t,i){i.d(t,{A:()=>d});var n=i(62688),o=i.n(n),s=i(63696),r=i(81276),a=i(49383),l=i(59865),c=i(62540);let g=null;function RefocusableModalDialog({dialogActive:e=!1,refocusQuerySelector:t=null,...i}){const n=(0,s.useCallback)(()=>{setTimeout(()=>{const e=t?document.querySelector(t):g;e&&document.body.contains(e)&&e.focus(),t||(g=null)})},[t]),o=(0,r.A)(e);return(0,s.useEffect)(()=>(!0===o&&!1===e&&n(),()=>{n()}),[o,e,n]),(0,c.jsx)(l.A,{dialogActive:e,...i})}!function(){function e(e){const t=e.target.closest("button, a, input");t&&!t.classList.contains("mdc-dialog__cancel-button")&&(g=t)}"undefined"!=typeof globalThis&&globalThis.document&&!globalThis._googlesitekitModalFocusTrackerInitialized&&(globalThis.document.addEventListener("mousedown",e),globalThis.document.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||e(t)}),globalThis._googlesitekitModalFocusTrackerInitialized=!0)}(),RefocusableModalDialog.propTypes={dialogActive:o().bool,refocusQuerySelector:o().string,...a.Dialog.propTypes};const d=RefocusableModalDialog},44192(e,t,i){i.d(t,{A:()=>ReportError});var n=i(62688),o=i.n(n),s=i(17243),r=i(63696),a=i(82871),l=i(81375),c=i(50539),g=i(88273),d=i(13137),u=i(31012),p=i(55465),m=i(12317),h=i(1641),y=i(4124),f=i(73198),I=i(62540);function ReportError({moduleSlug:e,error:t}){const i=(0,y.A)(),n=(0,c.useSelect)(t=>t(g.i).getModule(e)),o=Array.isArray(t)?t:[t];let k;function b(e){return(0,d.SG)(e)?i?(k=(0,a.sprintf)(/* translators: %s: module name */ /* translators: %s: module name */ (0,a.__)("Access lost to %s","google-site-kit"),n?.name),(0,a.sprintf)(/* translators: %s: module name */ /* translators: %s: module name */ (0,a.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),n?.name)):(k=(0,a.sprintf)(/* translators: %s: module name */ /* translators: %s: module name */ (0,a.__)("Insufficient permissions in %s","google-site-kit"),n?.name),(0,u.c)(e.message,n)):(0,d.e4)(e)}const N=(0,s.uniqWith)(o.map(e=>({...e,message:b(e),reconnectURL:e.data?.reconnectURL?(0,l.m)(e.data.reconnectURL,"code"):void 0})),(e,t)=>e.message===t.message&&e.reconnectURL===t.reconnectURL),v=o.some(e=>(0,d.SG)(e));v||1!==N.length?!v&&N.length>1&&(k=(0,a.sprintf)(/* translators: %s: module name */ /* translators: %s: module name */ (0,a.__)("Data errors in %s","google-site-kit"),n?.name)):k=(0,a.sprintf)(/* translators: %s: module name */ /* translators: %s: module name */ (0,a.__)("Data error in %s","google-site-kit"),n?.name);const j=(0,I.jsx)(r.Fragment,{children:N.map(e=>{const t=e?.data?.reconnectURL;return t?(0,I.jsx)(f.A,{error:e,message:e.message},e.message):(0,I.jsx)("p",{children:p.O.sanitize(e.message,{ALLOWED_TAGS:[]})},e.message)})});return(0,I.jsx)(m.A,{title:k,description:j,error:!0,children:(0,I.jsx)(h.A,{moduleSlug:e,error:t})})}ReportError.propTypes={moduleSlug:o().string.isRequired,error:o().oneOfType([o().arrayOf(o().object),o().object]).isRequired}},1641(e,t,i){i.d(t,{A:()=>ReportErrorActions});var n=i(62688),o=i.n(n),s=i(63696),r=i(13606),a=i(82871),l=i(50539),c=i(49383),g=i(29785),d=i(88273),u=i(13137),p=i(4124),m=i(38432),h=i(62540);function ReportErrorActions(e){const{moduleSlug:t,error:i,GetHelpLink:n,hideGetHelpLink:o,buttonVariant:y,onRetry:f,onRequestAccess:I,getHelpClassName:k,RequestAccessButton:b,RetryButton:N}=e,v=(0,p.A)(),j=(0,l.useSelect)(e=>e(d.i).getModuleStoreName(t)),x=(0,l.useSelect)(e=>"function"==typeof e(j)?.getServiceEntityAccessURL?e(j).getServiceEntityAccessURL():null),M=Array.isArray(i)?i:[i],A=(0,l.useSelect)(e=>M.map(t=>{const i=e(j)?.getSelectorDataForError(t);return{...t,selectorData:i}})),_=A?.filter(e=>(0,u.vl)(e,e.selectorData)&&"getReport"===e.selectorData.name),T=!!_.length,S=(0,l.useSelect)(e=>{const i={...T?_[0]:M[0]};return(0,u.SG)(i)&&(i.code=`${t}_insufficient_permissions`),e(g.O4).getErrorTroubleshootingLinkURL(i)}),D=(0,l.useDispatch)(),w=M.some(e=>(0,u.SG)(e)),C=(0,s.useCallback)(()=>{_.forEach(e=>{const{selectorData:t}=e;D(t.storeName).invalidateResolution(t.name,t.args)}),f?.()},[D,_,f]),E=x&&w&&!v;return(0,h.jsxs)("div",{className:"googlesitekit-report-error-actions",children:[E&&("function"==typeof b?(0,h.jsx)(b,{requestAccessURL:x}):(0,h.jsx)(c.Button,{onClick:I,href:x,target:"_blank",danger:"danger"===y,tertiary:"tertiary"===y,children:(0,a.__)("Request access","google-site-kit")})),T&&(0,h.jsxs)(s.Fragment,{children:["function"==typeof N?(0,h.jsx)(N,{handleRetry:C}):(0,h.jsx)(c.Button,{onClick:C,danger:"danger"===y,tertiary:"tertiary"===y,children:(0,a.__)("Retry","google-site-kit")}),!o&&(0,h.jsx)("span",{className:"googlesitekit-error-retry-text",children:(0,r.A)((0,a.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:(0,h.jsx)(m.A,{href:S,external:!0,hideExternalIndicator:!0,children:(0,a.__)("Get help","google-site-kit")})})})]}),!T&&!o&&(0,h.jsx)("div",{className:k,children:"function"==typeof n?(0,h.jsx)(n,{linkURL:S}):(0,h.jsx)(m.A,{href:S,external:!0,hideExternalIndicator:!0,children:(0,a.__)("Get help","google-site-kit")})})]})}ReportErrorActions.propTypes={moduleSlug:o().string.isRequired,error:o().oneOfType([o().arrayOf(o().object),o().object]).isRequired,GetHelpLink:o().elementType,hideGetHelpLink:o().bool,buttonVariant:o().string,onRetry:o().func,onRequestAccess:o().func,getHelpClassName:o().string,RequestAccessButton:o().elementType,RetryButton:o().elementType}},15118(e,t,i){i.d(t,{A:()=>ReportZero});var n=i(62688),o=i.n(n),s=i(82871),r=i(50539),a=i(88273),l=i(12317),c=i(62540);function ReportZero({moduleSlug:e}){const t=(0,r.useSelect)(t=>t(a.i).getModule(e));return(0,c.jsx)(l.A,{title:(0,s.sprintf)(/* translators: %s: Module name */ /* translators: %s: Module name */ (0,s.__)("%s Gathering Data","google-site-kit"),t?.name),description:(0,s.sprintf)(/* translators: %s: Module name */ /* translators: %s: Module name */ (0,s.__)("%s data is not yet available, please check back later","google-site-kit"),t?.name)})}ReportZero.propTypes={moduleSlug:o().string.isRequired}},19826(e,t,i){i.d(t,{Ay:()=>r,Kq:()=>s});const n=(0,i(63696).createContext)(""),{Consumer:o,Provider:s}=n,r=n},63081(e,t,i){i.d(t,{A:()=>Root});var n=i(62688),o=i.n(n),s=i(44010),r=i(77105),a=i(63696),l=i(50539),c=i.n(l),g=i(82871),d=i(6730),u=i(19826),p=i(67510),m=i(13047),h=i(62540);class ErrorHandler extends a.Component{constructor(e){super(e),this.state={error:null,info:null,copied:!1}}componentDidCatch(e,t){globalThis.console.error("Caught an error:",e,t),this.setState({error:e,info:t}),(0,m.sx)("react_error",`handle_${this.context||"unknown"}_error`,`${e?.message}\n${t?.componentStack}`.slice(0,500))}render(){const{children:e,hideFilenamesInStack:t}=this.props,{error:i,info:n}=this.state;if(!i)return e;let o=n?.componentStack;return t&&o&&(o=o.replace(/\(.*\)/g,"(filtered)").replace(/at (.+) ?https?:\/\/.*/g,"at $1 (filtered)").replace(/at https?:\/\/.*/g,"").replace(/\n \n /g,"\n ")),(0,h.jsx)(p.A,{notificationID:"googlesitekit-error",className:"googlesitekit-error-handler",type:"error",title:(0,g.__)("Site Kit encountered an error","google-site-kit"),description:(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)(d.A,{message:i.message,componentStack:o}),(0,h.jsxs)("pre",{className:"googlesitekit-overflow-auto",children:[i.message,o]})]})})}}ErrorHandler.contextType=u.Ay,ErrorHandler.propTypes={children:o().node.isRequired};const y=ErrorHandler;var f=i(79961);const{Consumer:I,Provider:k}=f.A,b=k;var N=i(84895),v=i(82246),j=i(11999),x=i(70301),M=i(97345),A=i(78990),_=i(94656);const T=function AuthenticatedPermissionsModal(){const e=(0,l.useRegistry)(),t=(0,l.useSelect)(e=>e(M.oR).getPermissionScopeError()),i=(0,l.useSelect)(e=>e(M.oR).getUnsatisfiedScopes()),n=(0,l.useSelect)(e=>e(M.oR).getConnectURL({additionalScopes:t?.data?.scopes,redirectURL:t?.data?.redirectURL||globalThis.location.href,errorRedirectURL:t?.data?.errorRedirectURL})),{clearPermissionScopeError:o}=(0,l.useDispatch)(M.oR),{navigateTo:s}=(0,l.useDispatch)(x.M),{setValues:r}=(0,l.useDispatch)(j.s),c=(0,a.useCallback)(()=>{o()},[o]),d=(0,a.useCallback)(async()=>{r(M.$8,{permissionsError:t}),await(0,A.mR)(e),s(n)},[e,n,s,t,r]);return(0,a.useEffect)(()=>{!async function(){t?.data?.skipModal&&t?.data?.scopes?.length&&await d()}()},[d,t]),t?t?.data?.scopes?.length?t?.data?.skipModal||i&&t?.data?.scopes.every(e=>i.includes(e))?null:(0,h.jsx)(_.A,{children:(0,h.jsx)(v.A,{title:(0,g.__)("Additional Permissions Required","google-site-kit"),subtitle:t.message,confirmButton:(0,g.__)("Proceed","google-site-kit"),handleConfirm:d,handleCancel:c,onClose:c,dialogActive:!0,medium:!0})}):(globalThis.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",t),null):null};const S=function PermissionsModal(){return(0,l.useSelect)(e=>e(M.oR).isAuthenticated())?(0,h.jsx)(T,{}):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,A.P9)(t),n(!0)})()},[t,i]),i?e:null};var w=i(15844),C=i(62659),E=i(71264);function FeatureTours(){const e=(0,C.A)(),{triggerTourForView:t}=(0,l.useDispatch)(M.oR);(0,w.A)(()=>{t(e)});const i=(0,l.useSelect)(e=>e(M.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)(E.Ay,{tourID:i.slug,steps:i.steps,gaEventCategory:i.gaEventCategory,isRepeatable:i.isRepeatable,callback:i.callback}):null}var R=i(20762),L=i(86582);function Root({children:e,registry:t,viewContext:i=null}){const n=s.D,[o]=(0,a.useState)({key:"Root",value:!0});return(0,h.jsx)(a.StrictMode,{children:(0,h.jsx)(R.Ay,{value:o,children:(0,h.jsx)(l.RegistryProvider,{value:t,children:(0,h.jsx)(b,{value:N.t,children:(0,h.jsx)(u.Kq,{value:i,children:(0,h.jsx)(r.A,{theme:n(),children:(0,h.jsxs)(y,{children:[(0,h.jsxs)(D,{children:[e,i&&(0,h.jsx)(FeatureTours,{})]}),(0,L.A)(i)&&(0,h.jsx)(S,{})]})})})})})})})}Root.propTypes={children:o().node,registry:o().object,viewContext:o().string.isRequired},Root.defaultProps={registry:c()}},83202(e,t,i){i.d(t,{A:()=>TourTooltip});var n=i(28056),o=i.n(n),s=i(4452),r=i.n(s),a=i(62688),l=i.n(a),c=i(82871),g=i(49383);var d=i(30805),u=i(72545),p=i(33052),m=i(62540);function TourTooltip({backProps:e,closeProps:t,index:i,primaryProps:s,size:a,step:l,tooltipProps:h}){const y=(0,d.i)("setupFlowRefresh"),f=a>1?function(e){return new Array(e??0).fill().map((e,t)=>t)}(a):[];function I(e){return r()("googlesitekit-tooltip-indicator",{active:e===i})}const k=y?10:14;return(0,m.jsx)("div",{className:r()("googlesitekit-tour-tooltip",l.className,{"googlesitekit-tour-tooltip--setupFlowRefresh":y}),...h,children:(0,m.jsxs)(o(),{className:"googlesitekit-tooltip-card",children:[(0,m.jsxs)("div",{className:"googlesitekit-tooltip-body",children:[(0,m.jsx)(p.A,{as:"h2",className:"googlesitekit-tooltip-title",size:"medium",type:"title",children:l.title}),(0,m.jsx)("div",{className:"googlesitekit-tooltip-content",children:l.content})]}),(0,m.jsxs)(n.CardActions,{className:"googlesitekit-tooltip-actions",children:[!y&&(0,m.jsx)("ul",{className:"googlesitekit-tooltip-indicators",children:f.map(e=>(0,m.jsx)("li",{className:I(e)},`indicator-${e}`))}),y&&(0,m.jsxs)("p",{className:"googlesitekit-tooltip-steps",children:[i+1," / ",a]}),(0,m.jsxs)("div",{className:"googlesitekit-tooltip-buttons",children:[0!==i&&(0,m.jsx)(g.Button,{className:"googlesitekit-tooltip-button",text:!y,tertiary:y,...e,children:e.title}),l.cta,s.title&&(0,m.jsx)(g.Button,{className:r()("googlesitekit-tooltip-button",{"googlesitekit-tooltip-button--primary":y}),text:!y,...s,children:s.title})]})]}),(0,m.jsx)(g.Button,{className:"googlesitekit-tooltip-close",icon:(0,m.jsx)(u.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}},71264(e,t,i){i.d(t,{Ay:()=>TourTooltips,R0:()=>f,ei:()=>k});var n=i(15844),o=i(36703),s=i(62688),r=i.n(s),a=i(82871),l=i(50539),c=i(7972),g=i(97345),d=i(65054),u=i(83202),p=i(62659),m=i(84895),h=i(62540);const y=(0,m.G)("setupFlowRefresh"),f={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")},k={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)"}}},b="feature_tooltip_view",N="feature_tooltip_advance",v="feature_tooltip_return",j="feature_tooltip_dismiss",x="feature_tooltip_complete";function TourTooltips({steps:e,tourID:t,gaEventCategory:i,isRepeatable:s,callback:r}){const a=`${t}-step`,m=`${t}-run`,{setValue:M}=(0,l.useDispatch)(c.n),{dismissTour:A,receiveCurrentTour:_}=(0,l.useDispatch)(g.oR),T=(0,l.useRegistry)(),S=(0,p.A)(),D=(0,l.useSelect)(e=>e(c.n).getValue(a)||0),w=(0,l.useSelect)(e=>{const i=s||!1===e(g.oR).isTourDismissed(t);return e(c.n).getValue(m)&&i});function C(i){return`googlesitekit-showing-feature-tour--${t}-${e[i].slug||i}`}(0,n.A)(function(){globalThis.document.body.classList.add("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`,C(D)),M(m,!0)});const E=e.map(e=>({disableBeacon:!0,isFixed:!0,placement:"auto",...e})),R=y?{...k,styles:{...k.styles,floater:{filter:"drop-shadow(rgba(0, 0, 0, 0.25) 0px 4px 16px)"}}}:k;return(0,h.jsx)(o.Ay,{callback:function(n){!function({index:e,action:t,lifecycle:n,size:s,status:r,type:a}){const l=e+1,c="function"==typeof i?i(S):i;a===o.qY.TOOLTIP&&n===o.VD.TOOLTIP?(0,d.sx)(c,b,l):t===o.kl.CLOSE&&n===o.VD.COMPLETE?(0,d.sx)(c,j,l):t===o.kl.NEXT&&r===o.XQ.FINISHED&&a===o.qY.TOUR_END&&s===l&&(0,d.sx)(c,x,l),n===o.VD.COMPLETE&&r!==o.XQ.FINISHED&&(t===o.kl.PREV&&(0,d.sx)(c,v,l),t===o.kl.NEXT&&(0,d.sx)(c,N,l))}(n);const{action:l,index:c,status:g,step:u,type:p}=n,h=l===o.kl.CLOSE,y=!h&&[o.qY.STEP_AFTER,o.qY.TARGET_NOT_FOUND].includes(p),f=[o.XQ.FINISHED,o.XQ.SKIPPED].includes(g),I=h&&p===o.qY.STEP_AFTER,k=f||I;if(o.qY.STEP_BEFORE===p){let e=u.target;"string"==typeof u.target&&(e=globalThis.document.querySelector(u.target)),e?.scrollIntoView?.({block:"center"})}y?function(t,i){const n=t+(i===o.kl.PREV?-1:1);globalThis.document.body.classList.remove(C(t)),e[n]&&globalThis.document.body.classList.add(C(n)),M(a,n)}(c,l):k&&(globalThis.document.body.classList.remove("googlesitekit-showing-feature-tour",`googlesitekit-showing-feature-tour--${t}`),e[D]&&globalThis.document.body.classList.remove(C(D)),s?(M(m,!1),M(a,null),_(null)):A(t)),r&&r(n,T)},floaterProps:R,locale:I,run:w,stepIndex:D,steps:E,styles:f,tooltipComponent:u.A,showProgress:!y,continuous:!0,disableOverlayClose:!0,disableScrolling:!0})}TourTooltips.propTypes={steps:r().arrayOf(r().object).isRequired,tourID:r().string.isRequired,gaEventCategory:r().oneOfType([r().string,r().func]).isRequired,isRepeatable:r().bool,callback:r().func}},8513(e,t,i){i.d(t,{Kk:()=>s,SZ:()=>n,Yw:()=>r,oJ:()=>a,tT:()=>o});const n="body",o=[n,"display","headline","label","title"],s="small",r="medium",a=[s,r,"large"]},33052(e,t,i){i.d(t,{A:()=>Typography});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(8513),l=i(62540);function Typography({className:e,type:t,size:i,as:n="span",children:o,...s}){return(0,l.jsx)(n,{className:r()("googlesitekit-typography",e,{[`googlesitekit-typography--${t}`]:t&&a.tT.includes(t),[`googlesitekit-typography--${i}`]:i&&a.oJ.includes(i)}),...s,children:o})}Typography.propTypes={className:o().string,type:o().oneOf(a.tT),size:o().oneOf(a.oJ),as:o().oneOfType([o().string,o().elementType])}},12317(e,t,i){i.d(t,{A:()=>d});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(49383),l=i(38432),c=i(33052),g=i(62540);function CTA({title:e,headerText:t,headerContent:i,description:n,ctaLink:o,ctaLabel:s,ctaLinkExternal:d,ctaType:u,error:p,onClick:m,"aria-label":h,children:y}){return(0,g.jsxs)("div",{className:r()("googlesitekit-cta",{"googlesitekit-cta--error":p}),children:[(t||i)&&(0,g.jsxs)("div",{className:"googlesitekit-cta__header",children:[t&&(0,g.jsx)(c.A,{as:"h2",size:"small",type:"label",className:"googlesitekit-cta__header_text",children:t}),i]}),(0,g.jsxs)("div",{className:"googlesitekit-cta__body",children:[e&&(0,g.jsx)(c.A,{as:"h3",size:"small",type:"title",className:"googlesitekit-cta__title",children:e}),n&&"string"==typeof n&&(0,g.jsx)("p",{className:"googlesitekit-cta__description",children:n}),n&&"string"!=typeof n&&(0,g.jsx)("div",{className:"googlesitekit-cta__description",children:n}),s&&"button"===u&&(0,g.jsx)(a.Button,{"aria-label":h,href:o,onClick:m,children:s}),s&&"link"===u&&(0,g.jsx)(l.A,{href:o,onClick:m,"aria-label":h,external:d,hideExternalIndicator:d,arrow:!0,children:s}),y]})]})}CTA.propTypes={title:o().string.isRequired,headerText:o().string,description:o().oneOfType([o().string,o().node]),ctaLink:o().string,ctaLinkExternal:o().bool,ctaLabel:o().string,ctaType:o().string,"aria-label":o().string,error:o().bool,onClick:o().func,children:o().node,headerContent:o().node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:()=>{}};const d=CTA},84895(e,t,i){i.d(t,{G:()=>o,t:()=>n});const n=new Set(globalThis?._googlesitekitBaseData?.enabledFeatures||[]);function o(e,t=n){return t instanceof Set&&t.has(e)}},99680(e,t,i){var n=i(17243),o=i(131),s=i(78325),r=i(13047),a=i(63081),l=i(63696),c=i(82871),g=i(50539),d=i(38432),u=i(10740),p=i(29785),m=i(97345),h=i(63505),y=i(4751),f=i(13113),I=i(49481),k=i(16312),b=i(11193),N=i(62540);const v=function AdminBarImpressions({WidgetReportError:e}){const t=(0,g.useSelect)(e=>e(I.n).isGatheringData()),i=(0,g.useSelect)(e=>e(p.O4).getCurrentEntityURL()),{compareStartDate:n,endDate:o}=(0,g.useSelect)(e=>e(m.oR).getDateRangeDates({compare:!0,offsetDays:I.f})),s=(0,g.useSelect)(e=>e(m.oR).getDateRangeNumberOfDays()),a={startDate:n,endDate:o,dimensions:"date",url:i,reportID:"adminbar_admin-bar-impressions_component_reportArgs"},l=(0,g.useSelect)(e=>e(I.n).getReport(a)),d=(0,g.useSelect)(e=>e(I.n).hasFinishedResolution("getReport",[a])),u=(0,g.useSelect)(e=>e(I.n).getErrorForSelector("getReport",[a]));if(!d||void 0===t)return(0,N.jsx)(y.A,{width:"auto",height:"59px"});if(u)return(0,N.jsx)(e,{moduleSlug:"search-console",error:u});const{compareRange:v,currentRange:j}=(0,b.D)(l,{dateRangeLength:s}),x=(0,k.A)(j,"impressions"),M=(0,k.A)(v,"impressions"),A=(0,r.Zf)(M,x),_={gatheringData:t,gatheringDataNoticeStyle:f.v.SMALL};return(0,N.jsx)(h.A,{className:"overview-total-impressions",title:(0,c.__)("Total Impressions","google-site-kit"),datapoint:x,change:A,changeDataUnit:"%",..._})};const j=function AdminBarClicks({WidgetReportError:e}){const t=(0,g.useSelect)(e=>e(I.n).isGatheringData()),i=(0,g.useSelect)(e=>e(p.O4).getCurrentEntityURL()),{compareStartDate:n,endDate:o}=(0,g.useSelect)(e=>e(m.oR).getDateRangeDates({compare:!0,offsetDays:I.f})),s=(0,g.useSelect)(e=>e(m.oR).getDateRangeNumberOfDays()),a={startDate:n,endDate:o,dimensions:"date",url:i,reportID:"adminbar_admin-bar-clicks_component_reportArgs"},l=(0,g.useSelect)(e=>e(I.n).getReport(a)),d=(0,g.useSelect)(e=>e(I.n).hasFinishedResolution("getReport",[a])),u=(0,g.useSelect)(e=>e(I.n).getErrorForSelector("getReport",[a]));if(!d||void 0===t)return(0,N.jsx)(y.A,{width:"auto",height:"59px"});if(u)return(0,N.jsx)(e,{moduleSlug:"search-console",error:u});const{compareRange:v,currentRange:j}=(0,b.D)(l,{dateRangeLength:s}),x=(0,k.A)(j,"clicks"),M=(0,k.A)(v,"clicks"),A=(0,r.Zf)(M,x),_={gatheringData:t,gatheringDataNoticeStyle:f.v.SMALL};return(0,N.jsx)(h.A,{className:"overview-total-clicks",title:(0,c.__)("Total Clicks","google-site-kit"),datapoint:x,change:A,changeDataUnit:"%",..._})};var x=i(80);const M=function AdminBarUniqueVisitorsGA4({WidgetReportError:e}){const t=(0,g.useSelect)(e=>e(x.K9).isGatheringData()),i=(0,g.useSelect)(e=>e(p.O4).getCurrentEntityURL()),n={...(0,g.useSelect)(e=>e(m.oR).getDateRangeDates({compare:!0,offsetDays:x.f2})),metrics:[{name:"totalUsers"}],url:i,reportID:"adminbar_admin-bar-unique-visitors-ga4_component_reportArgs"},o=(0,g.useSelect)(e=>e(x.K9).getReport(n)),s=(0,g.useSelect)(e=>e(x.K9).hasFinishedResolution("getReport",[n])),a=(0,g.useSelect)(e=>e(x.K9).getErrorForSelector("getReport",[n]));if(!s||void 0===t)return(0,N.jsx)(y.A,{width:"auto",height:"59px"});if(a)return(0,N.jsx)(e,{moduleSlug:"analytics-4",error:a});const l=o?.totals?.[0]?.metricValues?.[0]?.value,d=o?.totals?.[1]?.metricValues?.[0]?.value,u={gatheringData:t,gatheringDataNoticeStyle:f.v.SMALL};return(0,N.jsx)(h.A,{className:"overview-total-users",title:(0,c.__)("Total Users","google-site-kit"),datapoint:l,change:(0,r.Zf)(d,l),changeDataUnit:"%",...u})};const A=function AdminBarSessionsGA4({WidgetReportError:e}){const t=(0,g.useSelect)(e=>e(x.K9).isGatheringData()),i=(0,g.useSelect)(e=>e(p.O4).getCurrentEntityURL()),n={...(0,g.useSelect)(e=>e(m.oR).getDateRangeDates({compare:!0,offsetDays:x.f2})),dimensions:[{name:"date"}],limit:10,metrics:[{name:"sessions"}],url:i,reportID:"adminbar_admin-bar-sessions-ga4_component_reportArgs"},o=(0,g.useSelect)(e=>e(x.K9).getReport(n)),s=(0,g.useSelect)(e=>e(x.K9).hasFinishedResolution("getReport",[n])),a=(0,g.useSelect)(e=>e(x.K9).getErrorForSelector("getReport",[n])),l={gatheringData:t,gatheringDataNoticeStyle:f.v.SMALL};if(!s||void 0===t)return(0,N.jsx)(y.A,{width:"auto",height:"59px"});if(a)return(0,N.jsx)(e,{moduleSlug:"analytics-4",error:a});const{totals:d}=o,u=d?.[0]?.metricValues?.[0]?.value,I=d?.[1]?.metricValues?.[0]?.value,k=u,b=(0,r.Zf)(I,u);return(0,N.jsx)(h.A,{className:"overview-total-sessions",title:(0,c.__)("Total Sessions","google-site-kit"),datapoint:k,change:b,changeDataUnit:"%",...l})};var _=i(6205),T=i(69667),S=i(13429),D=i(75110),w=i(30805);function AdminBarActivateAnalyticsCTA(){return(0,w.i)("setupFlowRefresh")?(0,N.jsx)(S.A,{analyticsEventLabel:"admin_bar",dismissedItemSlug:"analytics-setup-cta-admin-bar"}):(0,N.jsxs)(S.A,{dismissedItemSlug:"analytics-setup-cta-admin-bar",children:[(0,N.jsx)(D.A,{title:(0,c.__)("Traffic","google-site-kit"),GraphSVG:_.A,showIcons:!1}),(0,N.jsx)(D.A,{title:(0,c.__)("Unique visitors from Search","google-site-kit"),GraphSVG:T.A})]})}var C=i(88273),E=i(21213),R=i(32803),L=i(22942);const z=(0,E.WP)("adminBarImpressions")(v),O=(0,E.WP)("adminBarClicks")(j),P=(0,E.WP)("adminBarUniqueVisitors")(M),B=(0,E.WP)("adminBarSessions")(A);function AdminBarWidgets(){const e=(0,g.useSelect)(e=>e(C.i).isModuleAvailable(L.L1)),t=(0,g.useSelect)(e=>e(C.i).isModuleConnected(L.L1)),i=(0,g.useSelect)(e=>e(C.i).isModuleActive(L.L1)),n=(0,g.useSelect)(e=>e(m.oR).hasAccessToShareableModule(L.L1)),o=(0,g.useSelect)(e=>e(m.oR).hasAccessToShareableModule(R.Y)),s=n?{lg:3,md:2}:{lg:6,md:4},r=o?{lg:3,md:2}:{lg:6,md:4};return(0,N.jsxs)(u.fI,{children:[o&&(0,N.jsxs)(l.Fragment,{children:[(0,N.jsx)(u.fh,{lgSize:s.lg,mdSize:s.md,children:(0,N.jsx)(z,{})}),(0,N.jsx)(u.fh,{lgSize:s.lg,mdSize:s.md,children:(0,N.jsx)(O,{})})]}),t&&i&&n&&(0,N.jsxs)(l.Fragment,{children:[(0,N.jsx)(u.fh,{lgSize:r.lg,mdSize:r.md,children:(0,N.jsx)(P,{})}),(0,N.jsx)(u.fh,{lgSize:r.lg,mdSize:r.md,children:(0,N.jsx)(B,{})})]}),e&&(!t||!i)&&(0,N.jsx)(u.fh,{lgSize:6,mdSize:4,children:(0,N.jsx)(AdminBarActivateAnalyticsCTA,{})})]})}var G=i(62659);function AdminBarApp(){const e=(0,G.A)(),t=(0,g.useSelect)(e=>e(p.O4).getCurrentEntityURL()),i=(0,g.useSelect)(e=>e(p.O4).getCurrentEntityTitle()),n=(0,g.useSelect)(e=>e(p.O4).getAdminURL("googlesitekit-dashboard",{permaLink:t})),o=(0,g.useSelect)(e=>e(m.oR).getDateRangeNumberOfDays()),s=(0,l.useCallback)(async()=>{await(0,r.sx)(e,"open_urldetails"),document.location.assign(n)},[n,e]);return n&&t?(0,N.jsxs)(l.Fragment,{children:[(0,N.jsx)(u.xA,{children:(0,N.jsxs)(u.fI,{children:[(0,N.jsxs)(u.fh,{size:3,alignMiddle:!0,children:[(0,N.jsx)("div",{className:"googlesitekit-adminbar__subtitle",children:(0,c.__)("Stats for","google-site-kit")}),(0,N.jsxs)("div",{className:"googlesitekit-adminbar__title",children:[i?(0,r.zh)(i):t,(0,N.jsx)("p",{className:"googlesitekit-adminbar__title--date-range",children:(0,c.sprintf)(/* translators: %s: number of days */ /* translators: %s: number of days */ (0,c._n)("over the last %s day","over the last %s days",o,"google-site-kit"),o)})]})]}),(0,N.jsx)(u.fh,{mdSize:8,lgSize:7,alignMiddle:!0,children:(0,N.jsx)(AdminBarWidgets,{})}),(0,N.jsx)(u.fh,{size:2,alignMiddle:!0,children:(0,N.jsx)(d.A,{className:"googlesitekit-adminbar__link",href:"#",onClick:s,children:(0,c.__)("More details","google-site-kit")})})]})}),(0,N.jsx)(d.A,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:s,children:(0,c.__)("More details","google-site-kit")})]}):null}var U=i(20697);const Z=(0,n.once)(()=>{const e=document.getElementById("js-googlesitekit-adminbar-modules");if(e){const{viewOnly:t}=e.dataset,i=t?U.zx:U.CZ;(0,s.render)((0,N.jsx)(a.A,{viewContext:i,children:(0,N.jsx)(AdminBarApp,{})}),e),(0,r.sx)(i,"view_urlsummary")}});(0,o.A)(()=>{const e=document.getElementById("wp-admin-bar-google-site-kit");e&&(e.addEventListener("mouseover",Z,{once:!0}),e.addEventListener("focusin",Z,{once:!0}))})},49993(e,t,i){i.d(t,{Gq:()=>d,IL:()=>h,LD:()=>p,SO:()=>u,a2:()=>o,xD:()=>m});var n=i(13047);const o="googlesitekit_",s=`${o}1.178.0_${globalThis._googlesitekitBaseData.storagePrefix}_`,r=["sessionStorage","localStorage"];let a,l=[...r];async function c(e){const t=globalThis[e];if(!t)return!1;try{const e="__storage_test__";return t.setItem(e,e),t.removeItem(e),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==t.length}}async function g(){if(void 0!==a)return a;for(const e of l)a||await c(e)&&(a=globalThis[e]);return void 0===a&&(a=null),a}async function d(e){const t=await g();if(t){const i=t.getItem(`${s}${e}`);if(i){const e=JSON.parse(i),{timestamp:t,ttl:n,value:o,isError:s}=e;if(t&&(!n||Math.round(Date.now()/1e3)-t<n))return{cacheHit:!0,value:o,isError:s}}}return{cacheHit:!1,value:void 0}}async function u(e,t,{ttl:i=n.Jg,timestamp:o=Math.round(Date.now()/1e3),isError:r=!1}={}){const a=await g();if(a)try{return a.setItem(`${s}${e}`,JSON.stringify({timestamp:o,ttl:i,value:t,isError:r})),!0}catch(e){return globalThis.console.warn("Encountered an unexpected storage error:",e),!1}return!1}async function p(e){const t=await g();if(t)try{const i=e.startsWith(o)?e:`${s}${e}`;return t.removeItem(i),!0}catch(e){return globalThis.console.warn("Encountered an unexpected storage error:",e),!1}return!1}async function m(){const e=await g();if(e)try{const t=[];for(let i=0;i<e.length;i++){const n=e.key(i);0===n.indexOf(o)&&t.push(n)}return t}catch(e){return globalThis.console.warn("Encountered an unexpected storage error:",e),[]}return[]}async function h(){if(await g()){const e=await m();for(const t of e)await p(t);return!0}return!1}},20697(e,t,i){i.d(t,{Ax:()=>s,CZ:()=>g,Ej:()=>x,Gw:()=>M,Is:()=>r,KK:()=>u,Nn:()=>_,OT:()=>N,SH:()=>b,Y$:()=>p,ZS:()=>a,bg:()=>y,en:()=>j,ep:()=>h,f7:()=>o,hi:()=>m,jU:()=>n,k$:()=>I,kz:()=>A,ly:()=>l,mo:()=>f,s3:()=>k,uR:()=>c,x2:()=>v,zx:()=>d});const n="mainDashboard",o="entityDashboard",s="mainDashboardViewOnly",r="entityDashboardViewOnly",a="userInput",l="activation",c="splash",g="adminBar",d="adminBarViewOnly",u="settings",p="adBlockingRecovery",m="wpDashboard",h="wpDashboardViewOnly",y="moduleSetup",f="metricSelection",I="wpBlockEditor",k="keyMetricsSetup",b="key-metrics",N="traffic",v="site-goals",j="content",x="speed",M="monetization",A=[n,o,s,r,a,c,u,y,f],_=[s,r,d,h]},78990(e,t,i){i.d(t,{P9:()=>f,k:()=>m,mR:()=>y});var n=i(32091),o=i.n(n),s=i(17243),r=i(50539),a=i.n(r),l=i(49993),c=i(13047);const g="CREATE_SNAPSHOT",d="DELETE_SNAPSHOT",u="RESTORE_SNAPSHOT",p="SET_STATE_FROM_SNAPSHOT";function m(e,{keysToSnapshot:t}={}){o()(e,"storeName is required to create a snapshot store.");const i={},n={*deleteSnapshot(){return yield{payload:{},type:d}},*restoreSnapshot(e={}){const{clearAfterRestore:t=!0}=e,{cacheHit:i,value:n}=yield{payload:{},type:u};return i&&(yield{payload:{snapshot:n},type:p},t&&(yield{payload:{},type:d})),i},*createSnapshot(){return yield{payload:{},type:g}}},a={[d]:()=>(0,l.LD)(`datastore::cache::${e}`),[g]:(0,r.createRegistryControl)(i=>()=>{const n=i.stores[e].store.getState(),o=t?.length>0?(0,s.pick)(n,t):n;return(0,l.SO)(`datastore::cache::${e}`,o)}),[u]:()=>(0,l.Gq)(`datastore::cache::${e}`,c.Jg)};return{initialState:i,actions:n,controls:a,reducer:function(e=i,{type:n,payload:o}){if(n===p){const{snapshot:i}=o,{error:n,...s}=i;return t?.length>0?{...e,...s}:s}return e}}}function h(e=a()){return Object.values(e.stores).filter(e=>Object.keys(e.getActions()).includes("restoreSnapshot"))}function y(e=a()){return Promise.all(h(e).map(e=>e.getActions().createSnapshot()))}function f(e=a()){return Promise.all(h(e).map(e=>e.getActions().restoreSnapshot()))}},11999(e,t,i){i.d(t,{s:()=>n});const n="core/forms"},70301(e,t,i){i.d(t,{M:()=>n});const n="core/location"},29785(e,t,i){i.d(t,{O4:()=>n,OQ:()=>s,qc:()=>o});const n="core/site",o="primary",s="secondary"},7972(e,t,i){i.d(t,{F:()=>o,n:()=>n});const n="core/ui",o="activeContextID"},97345(e,t,i){i.d(t,{$8:()=>r,$Q:()=>p,BT:()=>E,CQ:()=>A,D1:()=>F,DF:()=>V,GM:()=>M,GT:()=>I,GU:()=>Q,HA:()=>O,HD:()=>u,HP:()=>C,J5:()=>B,JF:()=>T,JK:()=>y,Ml:()=>h,SS:()=>R,UF:()=>g,UY:()=>W,Vl:()=>L,W6:()=>H,Xq:()=>_,YQ:()=>S,Yw:()=>Z,dV:()=>w,dX:()=>x,ej:()=>c,em:()=>s,ep:()=>v,fu:()=>b,gC:()=>k,hz:()=>m,jx:()=>d,lV:()=>l,nH:()=>P,oR:()=>n,od:()=>a,p3:()=>f,pG:()=>j,qv:()=>o,qy:()=>D,t1:()=>Y,t7:()=>U,tB:()=>N,tK:()=>G,u_:()=>z});const n="core/user",o="connected_url_mismatch",s="__global",r="temporary_persist_permission_error",a="adblocker_active",l=["weekly","monthly","quarterly"],c="googlesitekit_authenticate",g="googlesitekit_setup",d="googlesitekit_view_dashboard",u="googlesitekit_manage_options",p="googlesitekit_read_shared_module_data",m="googlesitekit_manage_module_sharing_options",h="googlesitekit_delegate_module_sharing_management",y="googlesitekit_update_plugins",f="kmAnalyticsAdSenseTopEarningContent",I="kmAnalyticsEngagedTrafficSource",k="kmAnalyticsLeastEngagingPages",b="kmAnalyticsNewVisitors",N="kmAnalyticsPopularAuthors",v="kmAnalyticsPopularContent",j="kmAnalyticsPopularProducts",x="kmAnalyticsReturningVisitors",M="kmAnalyticsTopCities",A="kmAnalyticsTopCitiesDrivingLeads",_="kmAnalyticsTopCitiesDrivingAddToCart",T="kmAnalyticsTopCitiesDrivingPurchases",S="kmAnalyticsTopDeviceDrivingPurchases",D="kmAnalyticsTopConvertingTrafficSource",w="kmAnalyticsTopCountries",C="kmAnalyticsTopPagesDrivingLeads",E="kmAnalyticsTopRecentTrendingPages",R="kmAnalyticsTopTrafficSource",L="kmAnalyticsTopTrafficSourceDrivingAddToCart",z="kmAnalyticsTopTrafficSourceDrivingLeads",O="kmAnalyticsTopTrafficSourceDrivingPurchases",P="kmAnalyticsPagesPerVisit",B="kmAnalyticsVisitLength",G="kmAnalyticsTopReturningVisitorPages",U="kmSearchConsolePopularKeywords",Z="kmAnalyticsVisitsPerVisitor",W="kmAnalyticsMostEngagingPages",Y="kmAnalyticsTopCategories",H=[f,I,k,b,N,v,j,x,Y,M,A,_,T,S,D,w,E,R,L,P,B,G,Z,W,Y],V=[...H,U],F="welcome-modal-with-tour",Q="welcome-modal-gathering-data"},88273(e,t,i){i.d(t,{U:()=>o,i:()=>n});const n="core/modules",o="insufficient_module_dependencies"},67510(e,t,i){i.d(t,{Q:()=>y,A:()=>BannerNotification});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(50539),l=i(8732),c=i(68761),g=i(83891),d=i(41671),u=i(71189),p=i(61983),m=i(10740);var h=i(62540);const y={INFO:"info",ERROR:"error",WARNING:"warning"};function BannerNotification({notificationID:e,type:t=y.INFO,learnMoreLink:i,dismissButton:n,ctaButton:s,gaTrackingEventArgs:r,...d}){const u=(0,c.A)(e,r?.category),{dismissNotification:p}=(0,a.useDispatch)(l.D);let f=d?.svg;return f||t===y.INFO||(f={desktop:void 0,mobile:void 0,verticalPosition:"center"},t===y.WARNING&&(f.desktop="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYwIiBoZWlnaHQ9IjIzNCIgdmlld0JveD0iMCAwIDM2MCAyMzQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03My4xMzAyIDE3MC42NjhDODkuMzcxOSAxODkuOTkgMTE1LjQ3NiAxOTUuMTEgMTMxLjg2NSAxODkuOTkxQzE1My4yNDYgMTgzLjMxMiAxNjYuNjcyIDE2Mi45NjcgMTg1LjUwMiAxNjAuNTQ0QzIwNC4zMzMgMTU4LjEyMSAyMTUuNDA2IDE2OC43MDYgMjM1Ljg5NyAxNzAuMjMzQzI1Ni4zODkgMTcxLjc2IDI4MS4yMzIgMTY3LjYzIDI5Mi43OTEgMTM3LjkzNUMzMDQuMzQ5IDEwOC4yMzkgMjkzLjk0OCA3OC4yMzIxIDI3MC4yMTQgNjQuMzYxNUMyNDYuNDgxIDUwLjQ5MDggMjMzLjI3MSA2Ni43Njk0IDIxMC41NjQgNjguMTIzN0MxODcuODU4IDY5LjQ3NzkgMTc4LjAyMyA0NS44NTI4IDE2MS4wMjMgNDQuMzUyOEMxNDQuMDIzIDQyLjg1MjggMTM0LjUyMyA0NS44NTMgMTI0LjUyMyA1OC44NTI5QzExNC41MjMgNzEuODUyOCAxMjAuMzcxIDg1Ljc2NDEgODkuNTIzNSA5OS44NTNDNTguNjc1OCAxMTMuOTQyIDU2Ljg4ODUgMTUxLjM0NSA3My4xMzAyIDE3MC42NjhaIiBmaWxsPSIjRkZFNEIxIi8+Cj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gaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93XzI3MDVfMTc2MzMiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjcwNV8xNzYzMyIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPC9kZWZzPgo8L3N2Zz4K")),(0,h.jsx)("div",{className:o()("googlesitekit-banner-notification",`googlesitekit-banner-notification--${t}`),children:(0,h.jsx)(m.xA,{className:"googlesitekit-page-content",children:(0,h.jsx)(m.fI,{children:(0,h.jsx)(m.fh,{size:12,children:(0,h.jsx)(g.A,{learnMoreLink:i&&{...i,onClick:async function(e){u.clickLearnMore(r?.label,r?.value),await(i?.onClick?.(e))}},dismissButton:n&&{...n,onClick:async function(t){await(n?.onClick?.(t)),u.dismiss(r?.label,r?.value),p(e,{...n?.dismissOptions})}},ctaButton:s&&{...s,onClick:async function(t){u.confirm(r?.label,r?.value),await(s?.onClick?.(t)),s?.dismissOnClick&&p(e,{...s?.dismissOptions})}},svg:f,...d})})})})})}BannerNotification.propTypes={notificationID:r().string.isRequired,type:r().oneOf(Object.values(y)),titleIcon:r().node,title:r().string,description:r().oneOfType([r().string,r().node]),learnMoreLink:r().shape(d.A.propTypes),dismissButton:r().shape(p.A.propTypes),ctaButton:r().shape(u.A.propTypes),gaTrackingEventArgs:r().shape({category:r().string,label:r().string,value:r().number})}},8732(e,t,i){i.d(t,{$:()=>s,D:()=>o});var n=i(20697);const o="core/notifications",s=[n.uR,n.jU,n.f7,n.Ax,n.Is]},68761(e,t,i){i.d(t,{A:()=>r});var n=i(63696),o=i(62659),s=i(13047);function r(e,t,{viewAction:i="view_notification",confirmAction:r="confirm_notification",dismissAction:a="dismiss_notification",clickLearnMoreAction:l="click_learn_more_link"}={}){const c=(0,o.A)(),g=t??`${c}_${e}`;return{view:(0,n.useCallback)((...e)=>(0,s.sx)(g,i,...e),[g,i]),confirm:(0,n.useCallback)((...e)=>(0,s.sx)(g,r,...e),[g,r]),dismiss:(0,n.useCallback)((...e)=>(0,s.sx)(g,a,...e),[g,a]),clickLearnMore:(0,n.useCallback)((...e)=>(0,s.sx)(g,l,...e),[g,l])}}},73963(e,t,i){i.d(t,{A:()=>g});var n=i(4452),o=i.n(n),s=i(62688),r=i.n(s),a=i(63696),l=i(62540);const c=(0,a.forwardRef)(({children:e,className:t,widgetSlug:i,noPadding:n,Header:s,Footer:r},a)=>(0,l.jsxs)("div",{className:o()("googlesitekit-widget",`googlesitekit-widget--${i}`,{"googlesitekit-widget--no-padding":n},{"googlesitekit-widget--with-header":s},t),ref:a,children:[s&&(0,l.jsx)("div",{className:"googlesitekit-widget__header",children:(0,l.jsx)(s,{})}),(0,l.jsx)("div",{className:"googlesitekit-widget__body",children:e}),r&&(0,l.jsx)("div",{className:"googlesitekit-widget__footer",children:(0,l.jsx)(r,{})})]}));c.defaultProps={children:void 0,noPadding:!1},c.propTypes={children:r().node,widgetSlug:r().string.isRequired,noPadding:r().bool,Header:r().elementType,Footer:r().elementType};const g=c},79754(e,t,i){i.d(t,{A:()=>WidgetNull});var n=i(62688),o=i.n(n),s=i(96820),r=i(64515),a=i(62540);const l={};function WidgetNull({widgetSlug:e}){return(0,s.A)(e,r.A,l),(0,a.jsx)(r.A,{})}WidgetNull.propTypes={widgetSlug:o().string.isRequired,...r.A.propTypes}},79266(e,t,i){i.d(t,{A:()=>WidgetRecoverableModules});var n=i(62688),o=i.n(n),s=i(63696),r=i(96820),a=i(97591),l=i(62540);function WidgetRecoverableModules({widgetSlug:e,moduleSlugs:t,...i}){const n=(0,s.useMemo)(()=>({moduleSlug:[...t].sort().join(","),moduleSlugs:t}),[t]);return(0,r.A)(e,a.A,n),(0,l.jsx)(a.A,{moduleSlugs:t,...i})}WidgetRecoverableModules.propTypes={widgetSlug:o().string.isRequired,...a.A.propTypes}},4169(e,t,i){i.d(t,{N$:()=>o,aO:()=>s,qB:()=>n});const n={BOXES:"boxes",COMPOSITE:"composite"},o={QUARTER:"quarter",HALF:"half",FULL:"full"},s="core/widgets"},96820(e,t,i){i.d(t,{A:()=>r});var n=i(63696),o=i(50539),s=i(4169);function r(e,t,i){const{setWidgetState:r,unsetWidgetState:a}=(0,o.useDispatch)(s.aO);(0,n.useEffect)(()=>(r(e,t,i),()=>{a(e,t,i)}),[e,t,i,r,a])}},21213(e,t,i){i.d(t,{c1:()=>k,V8:()=>v,WP:()=>N});var n=i(50532),o=i.n(n),s=i(73963),r=i(62688),a=i.n(r),l=i(63696),c=i(96820),g=i(15118),d=i(62540);function WidgetReportZero({widgetSlug:e,moduleSlug:t,...i}){const n=(0,l.useMemo)(()=>({moduleSlug:t}),[t]);return(0,c.A)(e,g.A,n),(0,d.jsx)(g.A,{moduleSlug:t,...i})}WidgetReportZero.propTypes={widgetSlug:a().string.isRequired,...g.A.propTypes};var u=i(44192);function WidgetReportError({widgetSlug:e,...t}){return(0,d.jsx)(u.A,{...t})}WidgetReportError.propTypes={widgetSlug:a().string.isRequired,...u.A.propTypes};var p=i(79754),m=i(79266),h=i(17064),y=i(52684),f=i(50539),I=i(7972);function WPDashboardReportError({moduleSlug:e,error:t}){const i=(0,y.A)(WPDashboardReportError,"WPDashboardReportError"),{setValue:n}=(0,f.useDispatch)(I.n),o=t.message,s=(0,f.useSelect)(t=>t(I.n).getValue(`WPDashboardReportError-${e}-${o}`));return(0,h.A)(()=>{n(`WPDashboardReportError-${e}-${o}`,i)},()=>{n(`WPDashboardReportError-${e}-${o}`,void 0)}),s!==i?null:(0,d.jsx)(u.A,{moduleSlug:e,error:t})}WPDashboardReportError.propTypes={moduleSlug:a().string.isRequired,error:a().object.isRequired};const k=o()(e=>({widgetSlug:e,Widget:b(e)(s.A),WidgetRecoverableModules:b(e)(m.A),WidgetReportZero:b(e)(WidgetReportZero),WidgetReportError:b(e)(WidgetReportError),WidgetNull:b(e)(p.A)}));function b(e){return t=>{const i=(0,l.forwardRef)((i,n)=>(0,d.jsx)(t,{...i,ref:n,widgetSlug:e}));return i.displayName="WithWidgetSlug",(t.displayName||t.name)&&(i.displayName+=`(${t.displayName||t.name})`),i}}function N(e){const t=k(e);return e=>{function DecoratedComponent(i){return(0,d.jsx)(e,{...i,...t})}return DecoratedComponent.displayName="WithWidgetComponentProps",(e.displayName||e.name)&&(DecoratedComponent.displayName+=`(${e.displayName||e.name})`),DecoratedComponent}}function v(e){return t=>{function DecoratedComponent(i){return(0,d.jsx)(t,{...i,WPDashboardReportError:b(e)(WPDashboardReportError)})}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+=`(${t.displayName||t.name})`),DecoratedComponent}}},65929(e,t,i){i.d(t,{A:()=>u});var n=i(63696),o=i(50539),s=i(29785),r=i(97345),a=i(88273),l=i(70301),c=i(49993),g=i(65054),d=i(62659);function u(e){const t=(0,d.A)(),i=(0,o.useSelect)(t=>t(a.i).getModule(e)),u=(0,o.useSelect)(e=>e(r.oR).hasCapability(r.HD)),{activateModule:p}=(0,o.useDispatch)(a.i),{navigateTo:m}=(0,o.useDispatch)(l.M),{setInternalServerError:h}=(0,o.useDispatch)(s.O4),y=(0,n.useCallback)(async()=>{const{error:i,response:n}=await p(e);i?h({id:`${e}-setup-error`,description:i.message}):(await(0,g.sx)(`${t}_widget-activation-cta`,"activate_module",e),await(0,c.SO)("module_setup",e,{ttl:300}),m(n.moduleReauthURL))},[p,e,m,h,t]);return i?.name&&u?y:null}},69831(e,t,i){i.d(t,{A:()=>l});var n=i(63696),o=i(50539),s=i(97345),r=i(88273),a=i(70301);function l(e){const t=(0,o.useSelect)(e=>e(s.oR).hasCapability(s.HD)),i=(0,o.useSelect)(t=>t(r.i).getModuleStoreName(e)),l=(0,o.useSelect)(e=>e(i)?.getAdminReauthURL()),{navigateTo:c}=(0,o.useDispatch)(a.M),g=(0,n.useCallback)(()=>c(l),[l,c]);return l&&t?g:null}},7076(e,t,i){i.d(t,{d:()=>r});var n=i(18117),o=i(17243),s=i(63696);function r(...e){const t=(0,n.MA)(()=>(0,o.debounce)(...e),e);return(0,s.useEffect)(()=>()=>t.cancel(),[t]),t}},30805(e,t,i){i.d(t,{i:()=>r});var n=i(63696),o=i(79961),s=i(84895);function r(e){const t=(0,n.useContext)(o.A);return(0,s.G)(e,t)}},62659(e,t,i){i.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=i(63696),o=i(19826);const __WEBPACK_DEFAULT_EXPORT__=function(){return(0,n.useContext)(o.Ay)}},4124(e,t,i){i.d(t,{A:()=>s});var n=i(20697),o=i(62659);function s(){const e=(0,o.A)();return n.Nn.includes(e)}},10740(e,t,i){i.d(t,{$z:()=>o.$,CR:()=>a.C,Cf:()=>l.DialogContent,Es:()=>l.DialogFooter,Nv:()=>n.N,P3:()=>r.P,Si:()=>s.S,fI:()=>g.fI,fh:()=>g.fh,lG:()=>c.a,xA:()=>g.xA});var n=i(91046),o=i(3412),s=i(30454),r=i(26569),a=i(56655),l=i(12786),c=i.n(l),g=i(84984)},84984(e,t,i){i.d(t,{fh:()=>Cell,xA:()=>u,fI:()=>g});var n=i(62688),o=i.n(n),s=i(4452),r=i.n(s),a=i(62540);function Cell(e){const{className:t,alignTop:i,alignMiddle:n,alignBottom:o,alignRight:s,alignLeft:l,smAlignRight:c,mdAlignRight:g,lgAlignRight:d,smSize:u,smStart:p,smOrder:m,mdSize:h,mdStart:y,mdOrder:f,lgSize:I,lgStart:k,lgOrder:b,size:N,children:v,...j}=e;return(0,a.jsx)("div",{...j,className:r()(t,"mdc-layout-grid__cell",{"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":n,"mdc-layout-grid__cell--align-bottom":o,"mdc-layout-grid__cell--align-right":s,"mdc-layout-grid__cell--align-left":l,"mdc-layout-grid__cell--align-right-phone":c,"mdc-layout-grid__cell--align-right-tablet":g,"mdc-layout-grid__cell--align-right-desktop":d,[`mdc-layout-grid__cell--span-${N}`]:12>=N&&N>0,[`mdc-layout-grid__cell--span-${I}-desktop`]:12>=I&&I>0,[`mdc-layout-grid__cell--start-${k}-desktop`]:12>=k&&k>0,[`mdc-layout-grid__cell--order-${b}-desktop`]:12>=b&&b>0,[`mdc-layout-grid__cell--span-${h}-tablet`]:8>=h&&h>0,[`mdc-layout-grid__cell--start-${y}-tablet`]:8>=y&&y>0,[`mdc-layout-grid__cell--order-${f}-tablet`]:8>=f&&f>0,[`mdc-layout-grid__cell--span-${u}-phone`]:4>=u&&u>0,[`mdc-layout-grid__cell--start-${p}-phone`]:4>=p&&p>0,[`mdc-layout-grid__cell--order-${m}-phone`]:4>=m&&m>0}),children:v})}Cell.propTypes={smSize:o().number,smStart:o().number,smOrder:o().number,mdSize:o().number,mdStart:o().number,mdOrder:o().number,lgSize:o().number,lgStart:o().number,lgOrder:o().number,size:o().number,alignTop:o().bool,alignMiddle:o().bool,alignBottom:o().bool,alignRight:o().bool,alignLeft:o().bool,smAlignRight:o().bool,mdAlignRight:o().bool,lgAlignRight:o().bool,className:o().string,children:o().node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0};var l=i(63696);const c=(0,l.forwardRef)(({className:e,children:t,...i},n)=>(0,a.jsx)("div",{ref:n,className:r()("mdc-layout-grid__inner",e),...i,children:t}));c.displayName="Row",c.propTypes={className:o().string,children:o().node},c.defaultProps={className:""};const g=c,d=(0,l.forwardRef)(({alignLeft:e,fill:t,className:i,children:n,collapsed:o,...s},l)=>(0,a.jsx)("div",{className:r()("mdc-layout-grid",i,{"mdc-layout-grid--align-left":e,"mdc-layout-grid--collapsed":o,"mdc-layout-grid--fill":t}),...s,ref:l,children:n}));d.displayName="Grid",d.propTypes={alignLeft:o().bool,fill:o().bool,className:o().string,collapsed:o().bool,children:o().node},d.defaultProps={className:""};const u=d},22942(e,t,i){i.d(t,{A_:()=>g,DF:()=>u,L1:()=>p,M0:()=>r,Mc:()=>a,Ok:()=>c,U9:()=>l,iW:()=>s,ue:()=>o,wq:()=>n,xR:()=>d});const n=1,o=2,s=3,r="enhanced-measurement-activation-banner-tooltip-state",a="enhanced-measurement-activation-banner-dismissed-item",l="_r.explorerCard..selmet",c="_r.explorerCard..seldim",g="_r..dataFilters",d="_r..nav",u="key-metrics-connect-ga4-cta-widget",p="analytics-4"},80(e,t,i){i.d(t,{CV:()=>T,Cu:()=>v,K9:()=>n,Kr:()=>h,Lf:()=>p,Oh:()=>r,PW:()=>_,Rx:()=>E,S9:()=>y,TQ:()=>d,Vt:()=>w,Wl:()=>b,ZC:()=>o,ZY:()=>a,_p:()=>C,ag:()=>m,aj:()=>u,bz:()=>S,dC:()=>M,dq:()=>D,f2:()=>c,fB:()=>A,fV:()=>x,iB:()=>g,kc:()=>l,mo:()=>I,nc:()=>j,rm:()=>N,to:()=>s,wo:()=>f,yn:()=>k});const n="modules/analytics-4",o="account_create",s="property_create",r="webdatastream_create",a="analyticsSetup",l=10,c=0,g="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",u="enhanced-measurement-enabled",p="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",h="analyticsCustomDimensionsCreate",y="https://www.googleapis.com/auth/analytics.edit",f="dashboardAllTrafficWidgetDimensionName",I="dashboardAllTrafficWidgetDimensionColor",k="dashboardAllTrafficWidgetDimensionValue",b="dashboardAllTrafficWidgetActiveRowIndex",N="dashboardAllTrafficWidgetLoaded",v={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"}},j={ADD_TO_CART:"add_to_cart",PURCHASE:"purchase",SUBMIT_LEAD_FORM:"submit_lead_form",GENERATE_LEAD:"generate_lead",CONTACT:"contact"},x=[j.CONTACT,j.GENERATE_LEAD,j.SUBMIT_LEAD_FORM],M=[j.PURCHASE,j.ADD_TO_CART],A={"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"}}}}]}}]}}}}]}},_="audiencePermissionsSetup",T="audienceTileCustomDimensionCreate",S="audience-selection-panel-expirable-new-badge-",D="audience",w="customDimension",C="property",E=[D,w,C]},32803(e,t,i){i.d(t,{Y:()=>n});const n="search-console"},49481(e,t,i){i.d(t,{f:()=>o,n:()=>n});const n="modules/search-console",o=0},51193(e,t,i){i.d(t,{Du:()=>u,GH:()=>a,Gp:()=>l,IS:()=>f,Jg:()=>g,N_:()=>k,O5:()=>I,Ql:()=>p,Qr:()=>m,XH:()=>y,r0:()=>c,sq:()=>h,tt:()=>d});var n=i(32091),o=i.n(n),s=i(17243),r=i(82871);const a="Invalid dateString parameter, it must be a string.",l='Invalid date range, it must be a string with the format "last-x-days".',c=60,g=60*c,d=24*g,u=7*d;function p(){function e(e){return(0,r.sprintf)(/* translators: %s: number of days */ /* translators: %s: number of days */ (0,r._n)("Last %s day","Last %s days",e,"google-site-kit"),e)}return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function m(e=""){if(!(0,s.isString)(e))return!1;if(3!==e.split("-").length)return!1;const t=new Date(e);return(0,s.isDate)(t)&&!isNaN(t)}function h(e){o()((0,s.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");const t=`${e.getMonth()+1}`,i=`${e.getDate()}`;return[e.getFullYear(),t.length<2?`0${t}`:t,i.length<2?`0${i}`:i].join("-")}function y(e){o()(m(e),a);const[t,i,n]=e.split("-");return new Date(t,i-1,n)}function f(e,t){return h(k(e,t*d))}function I(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)?y(e).getTime():e.getTime();return new Date(i-1e3*t)}},13137(e,t,i){i.d(t,{G:()=>a,HY:()=>c,SG:()=>l,db:()=>o,e4:()=>d,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 d(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}},49746(e,t,i){i.d(t,{Eo:()=>d,JK:()=>h,K5:()=>m,jq:()=>p,mK:()=>g});var n=i(17243),o=i(50532),s=i.n(o),r=i(82871);function a(e,t={}){const{formatUnit:i,formatDecimal:n}=function(e,t={}){const{hours:i,minutes:n,seconds:o}=l(e);return{hours:i,minutes:n,seconds:o,formatUnit(){const{unitDisplay:s="short",...a}=t,l={unitDisplay:s,...a,style:"unit"};return 0===e?p(o,{...l,unit:"second"}):(0,r.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,r._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?p(o,{...l,unit:"second"}):"",n?p(n,{...l,unit:"minute"}):"",i?p(i,{...l,unit:"hour"}):"").trim()},formatDecimal(){const t=(0,r.sprintf)( // translators: %s: number of seconds with "s" as the abbreviated unit. // translators: %s: number of seconds with "s" as the abbreviated unit. (0,r.__)("%ds","google-site-kit"),o);if(0===e)return t;const s=(0,r.sprintf)( // translators: %s: number of minutes with "m" as the abbreviated unit. // translators: %s: number of minutes with "m" as the abbreviated unit. (0,r.__)("%dm","google-site-kit"),n),a=(0,r.sprintf)( // translators: %s: number of hours with "h" as the abbreviated unit. // translators: %s: number of hours with "h" as the abbreviated unit. (0,r.__)("%dh","google-site-kit"),i);return(0,r.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ (0,r._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),o?t:"",n?s:"",i?a:"").trim()}}}(e,t);try{return i()}catch{return n()}}function l(e){e=parseInt(e,10),Number.isNaN(e)&&(e=0);return{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}}function c(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e}function g(e){let t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:(0,n.isPlainObject)(e)&&(t={...e}),t}function d(e,t={}){e=(0,n.isFinite)(e)?e:Number(e),(0,n.isFinite)(e)||(console.warn("Invalid number",e,typeof e),e=0);const i=g(t),{style:o="metric"}=i;return"metric"===o?function(e){const t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in millions. // translators: %s: an abbreviated number in millions. (0,r.__)("%sM","google-site-kit"),p(c(e),e%10==0?{}:t)):1e4<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,r.__)("%sK","google-site-kit"),p(c(e))):1e3<=e?(0,r.sprintf)( // translators: %s: an abbreviated number in thousands. // translators: %s: an abbreviated number in thousands. (0,r.__)("%sK","google-site-kit"),p(c(e),e%10==0?{}:t)):p(e,{signDisplay:"never",maximumFractionDigits:1})}(e):"duration"===o?a(e,i):"durationISO"===o?function(e){let{hours:t,minutes:i,seconds:n}=l(e);return n=("0"+n).slice(-2),i=("0"+i).slice(-2),t=("0"+t).slice(-2),"00"===t?`${i}:${n}`:`${t}:${i}:${n}`}(e):p(e,i)}const u=s()(console.warn);function p(e,t={}){const{locale:i=h(),...n}=t;try{return new Intl.NumberFormat(i,n).format(e)}catch(t){u(`Site Kit numberFormat error: Intl.NumberFormat( ${JSON.stringify(i)}, ${JSON.stringify(n)} ).format( ${typeof e} )`,t.message)}const o={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],r={};for(const[e,t]of Object.entries(n))o[e]&&t===o[e]||s.includes(e)||(r[e]=t);try{return new Intl.NumberFormat(i,r).format(e)}catch{return new Intl.NumberFormat(i).format(e)}}function m(e,t={}){const{locale:i=h(),style:n="long",type:o="conjunction"}=t;if(Intl.ListFormat){return new Intl.ListFormat(i,{style:n,type:o}).format(e)} /* translators: used between list items, there is a space after the comma. */const s=(0,r.__)(", ","google-site-kit");return e.join(s)}function h(e=globalThis){const t=(0,n.get)(e,["_googlesitekitLegacyData","locale"]);if(t){const e=t.match(/^(\w{2})?(_)?(\w{2})/);if(e&&e[0])return e[0].replace(/_/g,"-")}return e.navigator.language}},13047(e,t,i){i.d(t,{tt:()=>f.tt,Jg:()=>f.Jg,Gp:()=>f.Gp,GH:()=>f.GH,r0:()=>f.r0,Du:()=>f.Du,Zf:()=>T,Cn:()=>v,G7:()=>y,vH:()=>h,N_:()=>f.N_,zh:()=>D,mK:()=>g.mK,Ql:()=>f.Ql,vY:()=>N,sq:()=>f.sq,VZ:()=>j.VZ,JK:()=>g.JK,IS:()=>f.IS,pH:()=>j.pH,kf:()=>M,O5:()=>f.O5,Qr:()=>f.Qr,x6:()=>x,K5:()=>g.K5,S_:()=>m,dc:()=>j.dc,Eo:()=>g.Eo,jq:()=>g.jq,DK:()=>_.D,N9:()=>A,p9:()=>s.p,XH:()=>f.XH,Zm:()=>l,sx:()=>o.sx,BI:()=>o.BI,CZ:()=>s.C,BG:()=>S});var n=i(17243),o=i(65054),s=i(50477),r=i(10523),a=i.n(r);function l(e){return a()(JSON.stringify(c(e)))}function c(e){const t={};return Object.keys(e).sort().forEach(i=>{let n=e[i];n&&"object"==typeof n&&!Array.isArray(n)&&(n=c(n)),t[i]=n}),t}var g=i(49746);function d(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function u(e){return`<p>${e.replace(/\n{2,}/g,"</p><p>")}</p>`}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){const t=[d,u,p];let i=e;for(const e of t)i=e(i);return i}function h(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]}function y(e){const t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t}var f=i(51193),I=i(30908),k=i(38017),b=i(62540);function N(e,t={}){if(Number.isNaN(Number(e)))return"";const{invertColor:i=!1}=t;return(0,I.Ay)((0,b.jsx)(k.A,{direction:e>0?"up":"down",invertColor:i}))}function v(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}var j=i(48276);function x(e){const t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function M(e){if("number"==typeof e)return!0;const t=(e||"").toString();return!!t&&!isNaN(t)}function A(e){return Array.isArray(e)?[...e].sort():e}var _=i(11193);function T(e,t){function i(e){return"0"===e||0===e}if(i(e)&&i(t))return 0;if(i(e)||Number.isNaN(e))return null;const n=(t-e)/e;return Number.isNaN(n)||!Number.isFinite(n)?null:n}function S(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}}function D(e){if(!e)return"";const t=e.replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(t)).replace(/(\\)/g,"");return(0,n.unescape)(t)}},31012(e,t,i){i.d(t,{c:()=>r});var n=i(82871),o=i(32803),s=i(22942);function r(e="",t={}){const{slug:i="",name:r="",owner:a={}}=t||{};if(!i||!r)return e;let l="",c="";return s.L1===i?e.match(/account/i)?l=(0,n.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?l=(0,n.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(l=(0,n.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):o.Y===i&&(l=(0,n.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),l||(l=(0,n.sprintf)(/* translators: %s: module name */ /* translators: %s: module name */ (0,n.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),r)),a&&a.login&&(c=(0,n.sprintf)(/* translators: %s: owner name */ /* translators: %s: owner name */ (0,n.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),a.login)),c||(c=(0,n.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),`${l} ${c}`}},86582(e,t,i){i.d(t,{A:()=>o});var n=i(20697);function o(e){return n.kz.includes(e)}},11193(e,t,i){i.d(t,{D:()=>s});var n=i(32091),o=i.n(n);function s(e,{dateRangeLength:t}){o()(Array.isArray(e),"report must be an array to partition."),o()(Number.isInteger(t)&&t>0,"dateRangeLength must be a positive integer.");const i=-1*t;return{currentRange:e.slice(i),compareRange:e.slice(2*i,i)}}},55465(e,t,i){i.d(t,{O:()=>o});var n=i(31234);const o=i.n(n)()(globalThis)},50477(e,t,i){i.d(t,{C:()=>s,p:()=>o});var n=i(55465);function o(e,t={}){return{__html:n.O.sanitize(e,t)}}function s(e){const t="object"==typeof e?e.toString():e;return t?.replace?.(/\/+$/,"")}},16312(e,t,i){i.d(t,{A:()=>o});var n=i(17243);function o(e,t){return(0,n.sumBy)(e,t)||0}},65054(e,t,i){i.d(t,{M9:()=>x,sx:()=>v,BI:()=>j});var n=i(17243);const o="_googlesitekitDataLayer",s="data-googlesitekit-gtag";function r(e){return function(){e[o]=e[o]||[],e[o].push(arguments)}}var a=i(84895);const l={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};const{activeModules:c=[],isSiteKitScreen:g,trackingEnabled:d,trackingID:u,referenceSiteURL:p,userIDHash:m,isAuthenticated:h,userRoles:y}=globalThis._googlesitekitTrackingData||{},f={activeModules:c,trackingEnabled:d,trackingID:u,referenceSiteURL:p,userIDHash:m,isSiteKitScreen:g,userRoles:y,isAuthenticated:h,pluginVersion:"1.178.0"},{enableTracking:I,disableTracking:k,isTrackingEnabled:b,initializeSnippet:N,trackEvent:v,trackEventOnce:j}=function(e,t=globalThis,i=globalThis){const c={...l,...e};c.referenceSiteURL&&(c.referenceSiteURL=c.referenceSiteURL.toString().replace(/\/+$/,""));const g=function(e,t){const i=r(t);let n;const{activeModules:l,referenceSiteURL:c,userIDHash:g,userRoles:d=[],isAuthenticated:u,pluginVersion:p}=e;return function(){const{document:t}=globalThis;if(void 0===n&&(n=!!t.querySelector(`script[${s}]`)),n)return!1;n=!0;const r=d?.length?d.join(","):"";i("js",new Date),i("config",e.trackingID,{groups:"site_kit",send_page_view:e.isSiteKitScreen,domain:c,plugin_version:p||"",enabled_features:Array.from(a.t).join(","),active_modules:l.join(","),authenticated:u?"1":"0",user_properties:{user_roles:r,user_identifier:g}});const m=t.createElement("script");return m.setAttribute(s,""),m.async=!0,m.src=`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${o}`,t.head.appendChild(m),{scriptTagSrc:`https://www.googletagmanager.com/gtag/js?id=${e.trackingID}&l=${o}`}}}(c,t),d=function(e,t,i,n){const o=r(t);return async function(t,s,r,a){const{trackingEnabled:l}=e;if(!l)return null;i();const c={send_to:"site_kit",event_category:t,event_label:r,value:a};return new Promise(e=>{const i=setTimeout(function(){n.console.warn(`Tracking event "${s}" (category "${t}") took too long to fire.`),e()},1e3);function r(){clearTimeout(i),e()}o("event",s,{...c,event_callback:r}),n._gaUserPrefs?.ioo?.()&&r()})}}(c,t,g,i),u={};return{enableTracking:function(){c.trackingEnabled=!0},disableTracking:function(){c.trackingEnabled=!1},initializeSnippet:g,isTrackingEnabled:function(){return!!c.trackingEnabled},trackEvent:d,trackEventOnce:function(...e){const t=JSON.stringify(e);u[t]||(u[t]=(0,n.once)(d)),u[t](...e)}}}(f);function x(e){e?I():k()}g&&d&&N()},48276(e,t,i){i.d(t,{VZ:()=>s,dc:()=>r,pH:()=>o,r0:()=>a});var n=i(84024);function o(e){try{return new URL(e).pathname}catch{}return null}function s(e,t){try{return new URL(t,e).href}catch{}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function r(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function a(e,t){if(!(0,n.m)(e))return e;if(e.length<=t)return e;const i=new URL(e),o=e.replace(i.origin,"");if(o.length<t)return o;const s=o.length-Math.floor(t)+1;return"…"+o.substr(s)}},49383(e){e.exports=googlesitekit.components},50539(e){e.exports=googlesitekit.data},82871(e){e.exports=googlesitekit.i18n}},e=>{e.O(0,[660],()=>{return t=99680,e(e.s=t);var t});e.O()}]);
[+]
..
[-] 146-14c7e7fb4aa4ac50c311.js
[edit]
[-] 201-7f07b1f8a0c4733a0bd0.js
[edit]
[-] 314-78f708ec738779090f84.js
[edit]
[-] 315-10999111229d771cddc1.js
[edit]
[-] 379-77d19562846b6965319b.js
[edit]
[-] 590-695fc35f575d0203c096.js
[edit]
[-] 640-655cdd40c3e8e7242506.js
[edit]
[-] 909-f07466539fcb2ede760d.js
[edit]
[-] analytics-advanced-tracking-ec3ddfb411217bce5803.js
[edit]
[-] googlesitekit-activation-6df0e8c5a2092f0f0076.js
[edit]
[-] googlesitekit-ad-blocking-recovery-fbe06a609e35f0a4a683.js
[edit]
[-] googlesitekit-adminbar-a42543058a7c1e5d4d6f.js
[edit]
[-] googlesitekit-admin-pointers-tracking-24a7aef2b1109643baa9.js
[edit]
[-] googlesitekit-api-f6a1d481af25858dd1a0.js
[edit]
[-] googlesitekit-block-tracking-71bfaaa3cb1e1f902d0b.js
[edit]
[-] googlesitekit-components-e28e0fbf88266edd3ab6.js
[edit]
[-] googlesitekit-consent-mode-da15714e8829855bb7ce.js
[edit]
[-] googlesitekit-data-af9e836fbf5b0b1b11a8.js
[edit]
[-] googlesitekit-datastore-forms-e0bcc0f0a06d22145463.js
[edit]
[-] googlesitekit-datastore-location-66b28bc5667a350bb2f3.js
[edit]
[-] googlesitekit-datastore-site-7d1747c351e5b163e859.js
[edit]
[-] googlesitekit-datastore-ui-357c68935c4996893af3.js
[edit]
[-] googlesitekit-datastore-user-1f24e8e62a9152442ce3.js
[edit]
[-] googlesitekit-entity-dashboard-c34afee632c35a5b0b21.js
[edit]
[-] googlesitekit-events-provider-contact-form-7-08e8756782316cb65854.js
[edit]
[-] googlesitekit-events-provider-easy-digital-downloads-6f3a830f4e84342b04f0.js
[edit]
[-] googlesitekit-events-provider-mailchimp-55e506112a29131ad26e.js
[edit]
[-] googlesitekit-events-provider-ninja-forms-de64a20f79b99aba5219.js
[edit]
[-] googlesitekit-events-provider-optin-monster-fad3d5a89e2883db0a1d.js
[edit]
[-] googlesitekit-events-provider-popup-maker-4b3ee78127e8b950c3b3.js
[edit]
[-] googlesitekit-events-provider-woocommerce-a5f72561d6cdf416147d.js
[edit]
[-] googlesitekit-events-provider-wpforms-087b09462076035a76b2.js
[edit]
[-] googlesitekit-i18n-5a1db658648cbdfa2e58.js
[edit]
[-] googlesitekit-key-metrics-setup-c0401d7c1c273dd36caf.js
[edit]
[-] googlesitekit-main-dashboard-83ea9b01130ce90a42b7.js
[edit]
[-] googlesitekit-metric-selection-2291417eb95dd5d3383f.js
[edit]
[-] googlesitekit-modules-4fdf5676befa5951f97c.js
[edit]
[-] googlesitekit-modules-ads-093f9d5e5342dc4061d6.js
[edit]
[-] googlesitekit-modules-adsense-458f9484731f9afaa339.js
[edit]
[-] googlesitekit-modules-analytics-4-684176c25e524ba1ca3c.js
[edit]
[-] googlesitekit-modules-pagespeed-insights-bf5ad9a362afcd17e6cb.js
[edit]
[-] googlesitekit-modules-reader-revenue-manager-a92db641855ad478c976.js
[edit]
[-] googlesitekit-modules-search-console-c86628495c4d004d3c37.js
[edit]
[-] googlesitekit-modules-sign-in-with-google-98cc95d6cd994427ea10.js
[edit]
[-] googlesitekit-modules-tagmanager-eb2231c15cfa5990c0c5.js
[edit]
[-] googlesitekit-notifications-7499c54458036e1fff87.js
[edit]
[-] googlesitekit-polyfills-ce157741379ba7fef764.js
[edit]
[-] googlesitekit-settings-f234e3fa0b61ae33b799.js
[edit]
[-] googlesitekit-splash-a8526eec3f4205842388.js
[edit]
[-] googlesitekit-user-input-487f73f57e951262d1cf.js
[edit]
[-] googlesitekit-vendor-1604b65be3112b8dac04.js
[edit]
[-] googlesitekit-widgets-74df70ce2693396cc6cf.js
[edit]
[-] googlesitekit-wp-dashboard-844ce60b28c746d9db10.js
[edit]
[-] runtime-a3f442b3975b8a33d9bb.js
[edit]
[-] .htaccess.disabled
[edit]