kollapsminoriteten/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-splash-e27cc3...

34 lines
268 KiB
JavaScript
Raw Normal View History

2025-07-27 19:58:08 +02:00
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[28],{101:function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return TourTooltips}));var i=n(5),a=n.n(i),o=n(84),c=n(32),l=n(0),s=n.n(l),u=n(2),d=n(4),f=n(26),g=n(7),p=n(40),m=n(119),h=n(18);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var b={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},k={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},E={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)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",_="feature_tooltip_return",S="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),C=Object(d.useDispatch)(f.b).setValue,N=Object(d.useDispatch)(g.a).dismissTour,R=Object(d.useRegistry)(),A=Object(h.a)(),T=Object(d.useSelect)((function(e){return e(f.b).getValue(u)||0})),x=Object(d.useSelect)((function(e){return e(f.b).getValue(w)&&!1===e(g.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),C(w,!0)}));var L=n.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,s=t+1,u="function"==typeof l?l(A):l;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(p.b)(u,O,s):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(p.b)(u,S,s):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===s&&Object(p.b)(u,j,s),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(p.b)(u,_,s),n===c.a.NEXT&&Object(p.b)(u,y,s))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,f=n===c.a.CLOSE,g=!f&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),m=[c.d.FINISHED,c.d.SKIPPED].includes(a),h=f&&d===c.b.STEP_AFTER,v=m||h;if(c.b.STEP_BEFORE===d){var b,k,E=o.target;"string"==typeof o.target&&(E=e.document.querySelector(o.target)),null===(b=E)||void 0===b||null===(k=b.scrollIntoView)||void 0===k||k.call(b,{block:"center"})}g?function(e,t){C(u,e+(t===c.a.PREV?-1:1))}(r,n):v&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),N(i)),s&&s(t,R)},floaterProps:E,locale:k,run:x,stepIndex:T,steps:L,styles:b,tooltipComponent:m.a,continuous:!0,disableOverlayClose:!0,disableScrolling:!0,showProgress:!0})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(28),n(3))},104:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r,i=n(52),a=n.n(i),o=n(53),c=n.n(o),l=function(t){var n=e[t];if(!n)return!1;try{var r="__storage_test__";return n.setItem(r,r),n.removeItem(r),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==n.length}},s=function(){function NullStor
Object(o.__)("You revoked access to Site Kit for %s","google-site-kit"),i.a.toUnicode(new URL(_).hostname)),r=Object(o.__)('Site Kit will no longer have access to your account. If youd like to reconnect Site Kit, click "Sign in with Google" below to generate new credentials.',"google-site-kit")):h.b===w?(n=Object(o.__)("Reconnect Site Kit","google-site-kit"),r=Object(o.__)("Looks like the URL of your site has changed. In order to continue using Site Kit, youll need to reconnect, so that your plugin settings are updated with the new URL.","google-site-kit"),T=N):y?(n=Object(o.__)("Connect your Google account to Site Kit","google-site-kit"),r=Object(o.__)("Site Kit has already been configured by another admin of this site. To use Site Kit as well, sign in with your Google account which has access to Google services for this site (e.g. Google Analytics). Once you complete the 3 setup steps, youll see stats from all activated Google services.","google-site-kit"),A=!0):(n=Object(o.__)("Set up Site Kit","google-site-kit"),r=Object(o.__)("Get insights on how people find your site, as well as how to improve and monetize your sites content, directly in your WordPress dashboard","google-site-kit")),e.createElement("section",{className:"googlesitekit-setup__splash"},e.createElement(v.e,null,e.createElement(v.k,{className:"googlesitekit-setup__content"},e.createElement(v.a,{smSize:4,mdSize:8,lgSize:O?6:4,className:"googlesitekit-setup__icon"},O&&e.createElement(s.a,{width:"570",height:"336"}),!O&&e.createElement(u.a,{height:"167",width:"175"})),e.createElement(v.a,R,e.createElement("h1",{className:"googlesitekit-setup__title"},n),e.createElement("p",{className:"googlesitekit-setup__description"},!A&&r,A&&Object(a.a)(Object(o.sprintf)(/* translators: 1: The description. 2: The learn more link. */
Object(o.__)("%1$s <Link>%2$s</Link>","google-site-kit"),r,Object(o.__)("Learn more","google-site-kit")),{Link:e.createElement(d.a,{href:j,external:!0})})),T&&e.createElement(d.a,{href:T,external:!0},Object(o.__)("Get help","google-site-kit")),h.b===w&&C!==S&&e.createElement("p",null,Object(o.sprintf)(/* translators: %s: Previous Connected Proxy URL */
Object(o.__)("— Old URL: %s","google-site-kit"),C),e.createElement("br",null),Object(o.sprintf)(/* translators: %s: Connected Proxy URL */
Object(o.__)("— New URL: %s","google-site-kit"),S)),E&&!O&&e.createElement(f.a,null),e.createElement(g.a,null,k)))))}}).call(this,n(3))},1196:function(e,t,n){"use strict";var r=n(1);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M170.78 167.21c11.36-5.5 21.2 1.59 22.73 7",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:7}),o=r.createElement("ellipse",{cx:292.73,cy:307.44,rx:252.51,ry:10.01,fill:"#F1F3F4"}),c=r.createElement("path",{d:"M93.23 212.44c-6 6.78-17 9.12-25.62 8.24-14.77-1.52-23-11-28.38-24",stroke:"#4285F4",strokeLinejoin:"round",strokeWidth:7}),l=r.createElement("path",{d:"M93.23 212.44a24.66 24.66 0 01-11.81 7",stroke:"#1A73E8",strokeLinejoin:"round",strokeWidth:7}),s=r.createElement("path",{d:"M125.33 206.44L112.12 242a60 60 0 00.12 42.15l11.09 21.34h-14.22M125.33 206.44l-9.55 25.67M146.34 216.44v89h13.23M125.33 206.44a72.1 72.1 0 00-5.25 13.5M146.34 216.44v7",stroke:"#1967D2",strokeLinejoin:"round",strokeWidth:7}),u=r.createElement("path",{d:"M142.65 219.64a61.5 61.5 0 01-80.49-33l113.46-47.52a61.51 61.51 0 01-32.97 80.52z",fill:"#1A73E8"}),d=r.createElement("path",{d:"M146.93 202c7.74-4.34 12.25-12.92 12.66-22.39l-43.54 17.79",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),f=r.createElement("path",{d:"M385.07 137.93c18 7.48 43.08 2.83 56-12.14 11.22-13 11.51-31.12 6.34-46.75M322.39 152.05c-24.41 12-41.12 72.46-24.79 98M365.34 177.13c2.77 13.29 5.23 29.83 9.9 45.42",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:7}),g=r.createElement("path",{d:"M366 239.9l3.21 28.92a29.93 29.93 0 01-3.14 17L356 305.44h14.22M341.55 234.9v70.54h-13.23",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:7}),p=r.createElement("path",{stroke:"#EA8600",strokeLinejoin:"round",strokeWidth:7,d:"M366.02 239.9l1.16 10.44M341.55 234.9v15.44"}),m=r.createElement("path",{fill:"#F9AB00",d:"M396.25 159.92l3.18-81.94-81.94-3.17-3.18 81.94-3.18 81.94 81.95 3.18 3.17-81.95z"}),h=r.createElement("path",{d:"M335.08 118.92c5 15.13 20.44 24.7 38.06 14.51M340 115c-2.94 3.32-5.56 4.45-11.13 5.07",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),v=r.createElement("path",{d:"M326.51 226.26c9.21 1.09 46.63 9.81 36.62-24",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7}),b=r.createElement("path",{d:"M255.19 243.91c-1.95 22.25-1.06 43.25 6 61.53H277M227.09 243.91c-2 21.75-.54 42.43 6 61.53h-14.62",stroke:"#188038",strokeLinejoin:"round",strokeWidth:7}),k=r.createElement("path",{d:"M255.19 243.91a212.54 212.54 0 00-.86 22.78M227.09 243.91q-.75 8.16-.82 16.11",stroke:"#137333",strokeLinejoin:"round",strokeWidth:7}),E=r.createElement("path",{d:"M193.58 180c-2.07 8.2-14.68 10.84-20.68 15.6-1.52 1.21-3.64 2.28-4.66 4a5 5 0 00-.6 1.84",stroke:"#4285F4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:7}),O=r.createElement("path",{d:"M163.46 270.46c-9.77-6.25-16-20.14-13.11-31.58 2.53-9.9 14-22.34 23.45-25.13",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:7}),y=r.createElement("path",{fill:"#1E8E3E",d:"M256.35 176.56l-81.51-8.96-8.96 81.52 81.51 8.96 81.52 8.96 8.96-81.51-81.52-8.97z"}),_=r.createElement("path",{d:"M221.29 221.77C234.34 238 260 245 280.76 228.31",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5}),S=r.createElement("path",{d:"M486.65 220.21c17.35 10.79 35.85 29.69 49.2-6.29",stroke:"#E94235",strokeLinejoin:"round",strokeWidth:7}),j=r.createElement("path",{d:"M486.65 220.21c4.33 2.7 8.74 5.9 13.12 8.63",stroke:"#D93025",strokeLinejoin:"round",strokeWidth:7}),w=r.createElement("path",{d:"M392.08 212.43c2.38 17.25 3.91 37.24 0 54.26",stroke:"#E94235",strokeLinejoin:"round",strokeWidth:7}),C=r.createElement("path",{d:"M392.08 212.43c1 7.16 1.82 14.78 2.19 22.47",stroke:"#D93025",strokeLinejoin:"round",strokeWidth:7}),N=r.createElement("path",{stroke:"#C5221F",strokeLinejoin:"round",strokeWidth:7,d:"M430.17 218.39l-8.54 87.05h-22.3M469.93 218.39l-8.54 87.05h20.74"}),R=r.createElement("path",{stroke:"#B31412",strokeLinejoin:
Object(i.__)('<a href="%1$s">Click here</a> for more information, or to get more help, ask a question on our <a href="%2$s">support forum</a> and include the text of the original error message: %3$s',"google-site-kit"),m,"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})});case s.b:return e.createElement("p",null,Object(r.a)(Object(i.__)("Looks like the AMP CDN is restricted in your region, which could interfere with setup on the Site Kit service. <GetHelpLink />","google-site-kit"),{GetHelpLink:e.createElement(u.a,{errorCode:n})}));case s.g:return e.createElement("p",{dangerouslySetInnerHTML:Object(o.a)("\n\t\t\t\t\t\t".concat(Object(i.__)("Looks like your site is having a technical issue with connecting to the Site Kit authentication service.","google-site-kit"),"\n\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t").concat(Object(i.sprintf)(/* translators: 1: Support Forum URL, 2: Error message */
Object(i.__)('To get more help, ask a question on our <a href="%1$s">support forum</a> and include the text of the original error message: %2$s',"google-site-kit"),"https://wordpress.org/support/plugin/google-site-kit/","<br/>".concat(n)),"\n\t\t\t\t\t\t"),{ALLOWED_TAGS:["a","br"],ALLOWED_ATTR:["href"]})})}}}).call(this,n(3))},1203:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=function(e){var t=e.split(".");return(+t[0]<<24)+(+t[1]<<16)+(+t[2]<<8)+ +t[3]},i=function(e,t,n){return(r(e)&-1<<32-n)===r(t)}},1204:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Actions}));var r=n(1),i=n(2),a=n(4),o=n(11),c=n(223),l=n(696),s=n(13),u=n(7),d=n(33),f=n(452),g=n(18),p=n(9);function Actions(t){var n=t.proxySetupURL,m=t.onButtonClick,h=t.complete,v=t.inProgressFeedback,b=Object(g.a)(),k=Object(a.useDispatch)(u.a).dismissItem,E=Object(a.useDispatch)(d.a).navigateTo,O=Object(a.useSelect)((function(e){return e(s.c).hasConnectedAdmins()})),y=Object(a.useSelect)((function(e){return e(s.c).hasMultipleAdmins()})),_=Object(a.useSelect)((function(e){var t;return!!(null===(t=e(u.a).getViewableModules())||void 0===t?void 0:t.length)})),S=Object(a.useSelect)((function(e){return e(s.c).isResettable()})),j=Object(a.useSelect)((function(e){return e(s.c).getAdminURL("googlesitekit-dashboard")})),w=Object(r.useCallback)((function(){Promise.all([k(f.c),Object(p.I)(b,"skip_setup_to_viewonly")]).finally((function(){E(j)}))}),[j,k,E,b]);return e.createElement(r.Fragment,null,e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-start-setup-wrap"},e.createElement(o.Button,{className:"googlesitekit-start-setup",href:n,onClick:m,disabled:!h},Object(i._x)("Sign in with Google","Prompt to authenticate Site Kit with Google Account","google-site-kit")),v,y&&O&&_&&h&&e.createElement(o.Button,{onClick:w,tertiary:!0},Object(i.__)("Skip sign-in and view limited dashboard","google-site-kit")),!O&&S&&h&&e.createElement(l.a,null)))}}).call(this,n(3))},1205:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUsingProxyViewOnly}));var r=n(2),i=n(1),a=n(42),o=n(4),c=n(11),l=n(223),s=n(240),u=n(199),d=n(21),f=n(241),g=n(1206),p=n(452),m=n(7),h=n(13),v=n(33),b=n(17),k=n(9),E=n(18);function SetupUsingProxyViewOnly(){var t=Object(E.a)(),n=Object(o.useDispatch)(m.a).dismissItem,O=Object(o.useDispatch)(v.a).navigateTo,y=Object(o.useSelect)((function(e){return e(h.c).getAdminURL("googlesitekit-dashboard")})),_=Object(o.useSelect)((function(e){return e(h.c).getDocumentationLinkURL("dashboard-sharing")})),S=Object(i.useCallback)((function(){Promise.all([n(p.c),Object(k.I)(t,"confirm_viewonly")]).finally((function(){O(y)}))}),[y,n,O,t]);return y?e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement(f.a,null)),e.createElement("div",{className:"googlesitekit-setup"},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{size:12},e.createElement(u.a,{rounded:!0},e.createElement("section",{className:"googlesitekit-setup__splash"},e.createElement(b.e,null,e.createElement(b.k,{className:"googlesitekit-setup__content"},e.createElement(b.a,{smSize:4,mdSize:8,lgSize:4,lgOrder:2,className:"googlesitekit-setup__icon"},e.createElement(g.a,{width:398,height:280})),e.createElement(b.a,{smSize:4,mdSize:8,lgSize:8,lgOrder:1},e.createElement("h1",{className:"googlesitekit-setup__title"},Object(r.__)("View-only Dashboard Access","google-site-kit")),e.createElement("p",{className:"googlesitekit-setup__description"},Object(a.a)(Object(r.__)("An administrator has granted you access to view this site's dashboard to view stats from all shared Google services. <a>Learn more</a>","google-site-kit"),{a:e.createElement(d.a,{"aria-label":Object(r.__)("Learn more about dashboard sharing","google-site-kit"),href:_,external:!0})})),e.createElement("p",null,Object(r.__)("Get insights about how people find and use your site as well as how to improve and monetize your content, directly in your WordPress dashboard","google-site-kit")),e.createElement(l.a,null),e.createElement("div",{classNam
Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),j),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",onClick:g,disabled:R,tertiary:!0},Object(s.__)("Cancel","google-site-kit")),M?e.createElement(u.Button,{href:M,onClick:O,target:"_blank",danger:C},S):e.createElement(u.SpinnerButton,{onClick:O,danger:C,disabled:R,isSaving:R},S||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,onOpen:i.a.func,onClose:i.a.func,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(3))},143:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),o=n.n(a),c=n(42),l=n(2),s=n(21),u=n(39);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)(/* translators: %s: source link */
Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},150:function(e,t,n){"use strict";var r=n(1),i=Object(r.createContext)(!1);t.a=i},155:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notification}));var r=n(14),i=n.n(r),a=n(0),o=n.n(a),c=n(1),l=n(4),s=n(304),u=n(171),d=n(69),f=n(41);function Notification(t){var n=t.id,r=t.className,a=t.gaTrackingEventArgs,o=t.children,g=t.onView,p=Object(c.useRef)(),m=Object(u.a)(n),h=Object(d.a)(n,null==a?void 0:a.category,{viewAction:null==a?void 0:a.viewAction}),v=Object(c.useState)(!1),b=i()(v,2),k=b[0],E=b[1],O=Object(l.useSelect)((function(e){return e(f.a).getNotificationSeenDates(n)})),y=Object(l.useDispatch)(f.a).dismissNotification;return Object(c.useEffect)((function(){!k&&m&&(h.view(null==a?void 0:a.label,null==a?void 0:a.value),null==g||g(),E(!0)),(null==O?void 0:O.length)>=3&&y(n,{skipHidingFromQueue:!0})}),[m,h,k,a,g,O,y,n]),e.createElement("section",{id:n,ref:p,className:r},o,!m&&e.createElement(s.a,{id:n,observeRef:p,threshold:.5}))}Notification.propTypes={id:o.a.string,className:o.a.string,gaTrackingEventArgs:o.a.shape({category:o.a.string,viewAction:o.a.string,label:o.a.string,value:o.a.string}),children:o.a.node,onView:o.a.func}}).call(this,n(3))},159:function(e,t,n){"use strict";var r=n(1);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},164:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},165:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotification}));var r=n(20),i=n.n(r),a=n(5),o=n.n(a),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(14),f=n.n(d),g=n(0),p=n.n(g),m=n(10),h=n.n(m),v=n(210),b=n(222),k=n(84),E=n(1),O=n(115),y=n(4),_=n(17),S=n(94),j=n(37),w=n(23),C=n(214),N=n(215),R=n(216),A=n(217),T=n(218),x=n(80),L=n(124),z=n(120),M=n(33),D=n(219),P=n(90);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,m=t.description,I=t.dismiss,B=t.dismissExpires,F=void 0===B?0:B,H=t.format,V=void 0===H?"":H,W=t.id,U=t.isDismissible,G=void 0===U||U,K=t.learnMoreDescription,q=t.learnMoreLabel,X=t.learnMoreURL,Y=t.learnMoreTarget,$=void 0===Y?x.a.EXTERNAL:Y,J=t.logo,Q=t.module,Z=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,fe=t.smallWinImageSVGWidth,ge=void 0===fe?75:fe,pe=t.smallWinImageSVGHeight,me=void 0===pe?75:pe,he=t.mediumWinImageSVGWidth,ve=void 0===he?105:he,be=t.mediumWinImageSVGHeight,ke=void 0===be?105:be,Ee=t.rounded,Oe=void 0!==Ee&&Ee,ye=t.footer,_e=t.secondaryPane,Se=t.ctaComponent,je=Object(E.useState)(!1
Object(f.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(G=Object(f.sprintf)(/* translators: Account info text. 1: User's (full) name. */
Object(f.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(G=Object(f.sprintf)(/* translators: Account info text. 1: User's email address. */
Object(f.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:F,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(m.Button,{disabled:T,ref:H,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",onClick:K,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(f.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":I,"aria-controls":"user-menu","aria-label":T?void 0:Object(f.__)("Account","google-site-kit"),tooltipEnterDelayInMS:500,customizedTooltip:T?null:r.createElement("span",{"aria-label":G},r.createElement("strong",null,Object(f.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n),text:!0,tooltip:!0}),r.createElement(m.Menu,{className:"googlesitekit-user-menu",menuOpen:I,onSelected:X,id:"user-menu"},r.createElement("li",null,r.createElement(E.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(_.a,{width:"22"}),label:Object(f.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(f.__)("Disconnect","google-site-kit")})))),r.createElement(k.a,null,r.createElement(h.a,{dialogActive:z,handleConfirm:Y,handleCancel:U,onClose:U,title:Object(f.__)("Disconnect","google-site-kit"),subtitle:Object(f.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(f.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(28),n(3))},282:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),i=n(4),a=n(7);function Details(){var t=Object(i.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(i.useSelect)((function(e){return e(a.a).getFullName()})),o=Object(i.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(3))},283:function(e,t,n){"use strict";var r=n(1);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"currentColor"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},284:function(e,t,n){"use strict";var r=n(1);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"currentColor
Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(3))},299:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(42),i=n(2),a=n(223),o=n(18);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(3))},30:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},300:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LegacyNotifications}));var r=n(1),i=n(4),a=n(19),o=n(7),c=n(301),l=n(308),s=n(39),u=n(54),d=n(67),f=n(310);function LegacyNotifications(){var t=Object(s.a)(),n=Object(u.c)(),g=Object(i.useSelect)((function(e){return e(o.a).isAuthenticated()})),p=Object(i.useSelect)((function(e){return e(a.a).isModuleActive(d.d)}));return e.createElement(r.Fragment,null,e.createElement(f.a,null),!t&&n===u.b&&e.createElement(r.Fragment,null,p&&e.createElement(l.a,null),g&&e.createElement(c.a,null)))}}).call(this,n(3))},301:function(e,t,n){"use strict";(function(e){var r=n(14),i=n.n(r),a=n(1),o=n(4),c=n(13),l=n(7),s=n(41),u=n(302),d=n(51);t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],f=n[1],g=Object(a.useState)(!1),p=i()(g,2),m=p[0],h=p[1],v=Object(a.useRef)(Date.now()),b=Object(o.useSelect)((function(e){return e(c.c).isUsingProxy()&&!1===e(l.a).areSurveysOnCooldown()?e(l.a).getCurrentSurvey():null})),k=Object(a.useState)([]),E=i()(k,2),O=E[0],y=E[1],_=Object(o.useDispatch)(s.a).registerNotification,S=Object(o.useSelect)((function(e){return e(c.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){m||f(!0)}),5e3);return function(){clearTimeout(e)}}),[m]),Object(a.useEffect)((function(){Math.floor((Date.now()-v.current)/1e3)<5&&b&&h(!0)}),[v,b,h]),Object(a.useEffect)((function(){r&&!m&&(null==S||S.forEach((function(t){O.includes(t.id)||(_(t.id,{Component:function Component(){return e.createElement(u.a,t)},priority:t.priority,areaSlug:d.c.DASHBOARD_TOP,isDismissible:t.isDismissible}),y((function(e){return e.push(t.id),e})))})))}),[m,S,_,O,r]),null}}).call(this,n(3))},302:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(303),o=n(305),c=n(189),l=n(306),s=n(21);function NotificationFromServer(t){var n=t.id,r=t.title,i=t.content,u=t.ctaLabel,d=t.ctaTarget,f=t.ctaURL,g=t.dismissible,p=t.dismissLabel,m=t.learnMoreLabel,h=t.learnMoreURL;return e.createElement(a.a,{className:"googlesitekit-notification-from-server",id:n},e.createElement(o.a,{title:r,description:e.createElement(c.a,{learnMoreLink:e.createElement(s.a,{href:h,external:!0},m),text:i}),actions:e.createElement(l.a,{id:n,ctaLabel:u,ctaURL:f,ctaTarget:d,dismissLabel:g&&p?p:void 0,dismissExpires:1,dismissOnCTAClick:!0})}))}NotificationFromServer.propTypes={id:i.a.string.isRequired,title:i.a.string.isRequired,content:i.a.node,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissible:i.a.bool,dismissLabel:i.a.string,learnMoreLabel:i.a.string,learnMoreURL:i.a.string},t.a=NotificationFromServer}).call(this,n(3))},303:function(e,t,n){"use strict";var r=n(155);n.d(t,"a",(function(){return r.a}))},304:function(e,t,n){"use strict";n.d(t,"a",(function(){return ViewedStateObserver}));var r=n(0),i=n.n(r),a=n(1),o=n(4),c=n(26),l=n(41),s=n(255),u=n(171);function ViewedStateObserver(e){var t=e.id,n=e.observeRef,r=e.threshold,i=Object(s.a)(n,{threshold:r}),d=Object(o.useDispatch)(c.b).setValue,f=Object(o.useDispatch)(l.a).markNotificationSeen,g=!!(null==i?void 0:i.isIntersecting),p=Object(u.a)(t),m=Object(a.useRef)(),h=function(){m.current&&clearTimeout(m.current)};return Object(a.useEffect)((function(){return!p&&g?(h(),m.curre
Object(o.__)("%s (Please try again.)","google-site-kit"),w)),b||(w=Object(o.sprintf)(/* translators: $%s: Error message */
Object(o.__)("Error: %s","google-site-kit"),w));var C=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;C&&Object(c.a)(C)&&(w=Object(o.sprintf)(/* translators: 1: Original error message 2: Reconnect URL */
Object(o.__)('%1$s To fix this, <a href="%2$s">redo the plugin setup</a>.',"google-site-kit"),w,C));return e.createElement(u.a,{className:r,type:u.a.TYPES.ERROR,description:e.createElement("span",{dangerouslySetInnerHTML:Object(d.F)(w,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}),ctaButton:j?{label:Object(o.__)("Retry","google-site-kit"),onClick:S}:void 0,hideIcon:O})}ErrorNotice.propTypes={className:i.a.string,error:i.a.shape({message:i.a.string}),hasButton:i.a.bool,storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool,skipRetryMessage:i.a.bool,hideIcon:i.a.bool}}).call(this,n(3))},61:function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(28))},62:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(43);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},67:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o}));var r="adsense-connect-cta",i="adsense-connect-cta-tooltip-state",a="adsense-ga4-top-earnings-notice",o="adsense"},69:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),i=n(18),a=n(9);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.viewAction,c=void 0===o?"view_notification":o,l=n.confirmAction,s=void 0===l?"confirm_notification":l,u=n.dismissAction,d=void 0===u?"dismiss_notification":u,f=n.clickLearnMoreAction,g=void 0===f?"click_learn_more_link":f,p=Object(i.a)(),m=null!=t?t:"".concat(p,"_").concat(e),h=Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.I.apply(void 0,[m,c].concat(t))}),[m,c]),v=Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.I.apply(void 0,[m,s].concat(t))}),[m,s]),b=Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.I.apply(void 0,[m,d].concat(t))}),[m,d]),k=Object(r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.I.apply(void 0,[m,g].concat(t))}),[m,g]);return{view:h,confirm:v,dismiss:b,clickLearnMore:k}}},696:function(e,t,n){"use strict";(function(e,r){var i=n(6),a=n.n(i),o=n(16),c=n.n(o),l=n(14),s=n.n(l),u=n(2),d=n(1),f=n(42),g=n(57),p=n(129),m=n(4),h=n(142),v=n(37),b=n(75),k=n(21),E=n(13),O=n(33),y=n(40),_=n(18);t.a=function ResetButton(t){var n=t.children,i=Object(m.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=Object(m.useSelect)((function(e){return e(E.c).isDoingReset()})),l=Object(m.useSelect)((function(e){return e(O.a).isNavigatingTo(i||"")})),S=Object(d.useState)(!1),j=s()(S,2),w=j[0],C=j[1],N=Object(d.useState)(!1),R=s()(N,2),A=R[0],T=R[1],x=Object(p.a)(C,3e3);Object(d.useEffect)((function(){o||l?C(!0):x(!1)}),[o,l,x]),Object(d.useEffect)((function(){var t=function(e){g.c===e.keyCode&&T(!1)};return A&&e.addEventListener("keyup",t,!1),function(){A&&e.removeEventListener("keyup",t)}}),[A]);var L=Object(m.useDispatch)(E.c).reset,z=Object(m.useDispatch)(O.a).navigateTo,M=Object(_.a)(),D=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L();case 2:return e.next=4,Object(v.b)();case 4:return e.next=6,Object(y.b)(M,"reset_plugin");case 6:z(i);case 7:case"end":return e.stop()}}),e)}))),[z,i,L,M]),P=Object(d.useCallback)((function(){T(!0)}),[]),I=Object(d.useCallback)((function(){T(!1)}),[]);return r.createElement(d.Fragment,null,r.createElement(k.a
Object(y.__)("We found %d existing accounts. Please choose which one to use below.","google-site-kit"),r.length)};case 16:n.prev=16,n.t0=n.catch(0),t(n.t0.message),e.setState({loading:!1,errorCode:n.t0.code,errorMsg:n.t0.message});case 20:case"end":return n.stop()}}),n,null,[[0,16]])})))()}},{key:"insertPropertyToSearchConsole",value:(n=c()(a.a.mark((function e(t){var n,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]&&r[1],e.next=3,Object(S.set)("modules",w.a,"site",{siteURL:t});case 3:if(!n){e.next=6;break}return e.next=6,Object(C.I)("search_console_setup","add_new_sc_property");case 6:this.setState({loading:!1,connected:!0});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"submitPropertyEventHandler",value:function(){var e=this,t=this.state,n=t.selectedURL,r=t.errorCode,i=this.props.setErrorMessage;c()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.insertPropertyToSearchConsole(n,"no_property_matched"===r);case 3:i(""),e.props.searchConsoleSetup(n),t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),i(t.t0.message[0].message),e.setState({loading:!1,errorCode:t.t0.code,errorMsg:t.t0.message[0].message});case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))()}},{key:"handleURLSelect",value:function(e,t){this.setState({selectedURL:t.getAttribute("data-value")})}},{key:"matchedForm",value:function(){var e=this.state,t=e.sites,n=e.selectedURL;if(!t)return null;var i=t.map((function(e){var t=e.siteURL;return t.startsWith("sc-domain:")&&(t=Object(y.sprintf)(/* translators: %s: Search Console property domain name */
Object(y.__)("%s (domain property)","google-site-kit"),t.replace(/^sc-domain:/,""))),{label:t,value:e.siteURL}}));return r.createElement(_.Fragment,null,r.createElement("div",{className:"googlesitekit-setup-module__inputs"},r.createElement(j.Select,{name:"siteProperty",label:Object(y.__)("Choose URL","google-site-kit"),onEnhancedChange:this.handleURLSelect,options:i,value:n,enhanced:!0,outlined:!0})),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(j.Button,{onClick:this.submitPropertyEventHandler},Object(y.__)("Continue","google-site-kit"))))}},{key:"noSiteForm",value:function(){var e=this.state.siteURL;return r.createElement(_.Fragment,null,r.createElement("div",{className:"googlesitekit-setup-module__inputs"},r.createElement(j.TextField,{label:Object(y.__)("Website Address","google-site-kit"),name:"siteProperty",value:e,outlined:!0})),r.createElement("div",{className:"googlesitekit-wizard-step__action googlesitekit-wizard-step__action--justify"},r.createElement(j.Button,{onClick:this.submitPropertyEventHandler},Object(y.__)("Continue","google-site-kit"))))}},{key:"renderForm",value:function(){var e=this.state,t=e.loading,n=e.sites;return t?r.createElement(_.Fragment,null,r.createElement("p",null,Object(y.__)("Were locating your Search Console account.","google-site-kit")),r.createElement(j.ProgressBar,null)):0===n.length?this.noSiteForm():this.matchedForm()}},{key:"render",value:function(){var e=this.props,t=e.isAuthenticated,n=e.shouldSetup,i=this.state,a=i.errorMsg,o=i.connected;return!n||o?SearchConsole.connected():r.createElement("section",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console"},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-setup-module__title "},Object(y._x)("Search Console","Service name","google-site-kit")),a&&0<a.length&&r.createElement("p",{className:"googlesitekit-error-text"},a),t&&n&&this.renderForm())}}],[{key:"connected",value:function(){return r.createElement("section",{className:"googlesitekit-setup-module googlesitekit-setup-module--search-console"},r.createElement("h2",{className:" googlesitekit-heading-3 googlesitekit-setup-module__title "},Object(y._x)("Search Console","Service name","google-site-kit")),r.createElement("p",{className:"googlesitekit-setup-module__text--no-margin"},Object(y.__)("Your Search Console is set up with Site Kit.","google-site-kit")))}}]),SearchConsole}(_.Component);R.propTypes={isAuthenticated:O.a.bool.isRequired,shouldSetup:O.a.bool.isRequired,searchConsoleSetup:O.a.func.isRequired,setErrorMessage:O.a.func.isRequired},t.a=R}).call(this,n(28),n(3))},85:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(115);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="search-console"},87:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return N}));var r=n(14),i=n.n(r),a=n(36),o=n.n(a),c=n(5),l=n.n(c),s=n(22),u=n.n(s),d=n(15),f=n(66),g=n.n(f),p=n(2);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((f
Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,h(h({},o),{},{unit:"second"})):"",i?w(i,h(h({},o),{},{unit:"minute"})):"",r?w(r,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(p.sprintf)(
// translators: %s: number of seconds with "s" as the abbreviated unit.
Object(p.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(p.sprintf)(
// translators: %s: number of minutes with "m" as the abbreviated unit.
Object(p.__)("%dm","google-site-kit"),i),o=Object(p.sprintf)(
// translators: %s: number of hours with "h" as the abbreviated unit.
Object(p.__)("%dh","google-site-kit"),r);return Object(p.sprintf)(/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
Object(p._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(p.sprintf)(
// translators: %s: an abbreviated number in millions.
Object(p.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(p.sprintf)(
// translators: %s: an abbreviated number in thousands.
Object(p.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(p.sprintf)(
// translators: %s: an abbreviated number in thousands.
Object(p.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function _(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=_(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?y(e):"duration"===i?v(e,n):"durationISO"===i?b(e):w(e,n)}var j=g()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?N():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(a);d<f.length;d++){var g=i()(f[d],2),p=g[0],m=g[1];c[p]&&m===c[p]||(l.includes(p)||(s[p]=m))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?N():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:a,type:c});return l.format(e)}
/* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return e.join(s)},N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(28))},88:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(160),i=n.n(r)()(e)}).call(this,n(28))},89:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(10),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},9:function(e,t,n){"use strict";n.d(t,"I",(function(){return i.b})),n.d(t,"J",(function(){return i.c})),n.d(t,"F",(function(){return a.a})),n.d(t,"K",(function(){return a.b})),n.d(t,"H",(function(){return u})),n.d(t,"m",(function(){return d.a})),n.d(t,"B",(function(){return d.d})),n.d(t,"C",(function(){return d.e})),n.d(t,"y",(function(){return d.c})),n.d(t,"r",(function(){return d.b})),n.d(t,"z",(function(){return m})),n.d(t,"j",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return C})),n.d(t,"f",(function(){return N})),n.d(t,"n",(function(){return R})),n.d(t,"w",(function(){return A})),n.d(t,"p",(function(){return T})),n.d(t,"G",(function(){return x})),n.d(t,"s",(function(){return L})),n.d(t,"v",(function(){return z})),n.d(t,"k",(function(){return M})),n.d(t,"o",(function(){return D.b})),n.d(t,"h",(function(){return D.a})),n.d(t,"t",(function(){return P.b})),n.d(t,"q",(function(){return P.a})),n.d(t,"A",(function(){return P.c})),n.d(t,"x",(function(){return I})),n.d(t,"u",(function(){return B})),n.d(t,"E",(function(){return V})),n.d(t,"D",(function(){return W.a})),n.d(t,"g",(function(){return U})),n.d(t,"L",(function(){return G})),n.d(t,"l",(function(){return K}));var r=n(15),i=n(40),a=n(76),o=n(36),c=n.n(o),l=n(103),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(104);var d=n(87);function f(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function g(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function p(e){return e.replace(/\n/gi,"<br>")}function m(e){for(var t=e,n=0,r=[f,g,p];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},v=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},b=n(14),k=n.n(b),E=n(12),O=n.n(E),y=n(2),_="Invalid dateString parameter, it must be a string.",S='Invalid date range, it must be a string with the format "last-x-days".',j=60,w=60*j,C=24*w,N=7*C;function R(){var e=function(e){return Object(y.sprintf)(/* translators: %s: number of days */
Object(y._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 A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function T(e){O()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function x(e){O()(A(e),_);var t=e.split("-"),n=k()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function L(e,t){return T(M(e,t*C))}function z(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function M(e,t){O()(A(e)||Object(r.isDate)(e)&&!isNaN(e),_);var n=A(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var D=n(107),P=n(85);function I(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var F=n(27),H=n.n(F),V=function(e){return Array.isArray(e)?H()(e).sort():e},W=n(92);function U(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var G=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},90:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(14),i=n.n(r),a=n(196),o=n(138),c={},l=void 0===e?null:e,s=function(){return[e.innerWidth,e.innerHeight]},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=e.fps,n=e.leading,r=e.initialWidth,u=void 0===r?0:r,d=e.initialHeight,f=void 0===d?0:d,g=Object(a.a)("undefined"==typeof document?[u,f]:s,t,n),p=i()(g,2),m=p[0],h=p[1],v=function(){return h(s)};return Object(o.a)(l,"resize",v),Object(o.a)(l,"orientationchange",v),m},d=function(e){return u(e)[0]}}).call(this,n(28))},92:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(12),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},94:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(23),i=n(120);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(28))},97:function(e,t,n){"use strict";var r=n(1);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5.825 22l2.325-7.6L2 10h7.6L12 2l2.4 8H22l-6.15 4.4 2.325 7.6L12 17.3 5.825 22z",fill:"currentColor"}